Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| test-and-measurement:analog-discovery-pro-3x50:linux-mode [2022/09/12 15:26] – changed forum.digilentinc.com to forum.digilent.com jeff.greenberg_ni.com | test-and-measurement:analog-discovery-pro-3x50:linux-mode [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Getting Started in Linux Mode with the Analog Discovery Pro (ADP3450/ | ||
| + | ~~TechArticle~~ | ||
| + | The Analog Discovery Pro (ADP3450/ | ||
| + | ---- | ||
| + | ===== Inventory ===== | ||
| + | |||
| + | {{section> | ||
| + | Note: The latest Linux image is only require if you intend to update the device' | ||
| + | |||
| + | ===== Guide ===== | ||
| + | ==== 1. Connect to the Device from a Serial Terminal ==== | ||
| + | |||
| + | This step establishes a serial connection which will be used in later steps. While you may see messages printed during Standard mode boot, no relevant messages will be sent or received until the device boots into Linux mode. | ||
| + | --> Connect through a Serial Terminal # | ||
| + | <WRAP group> <WRAP half column> | ||
| + | Make sure that the Analog Discovery Pro is plugged in, powered on, and connected to a host computer via a USB cable. | ||
| + | Connect a serial terminal program, such as PuTTY or Tera Term, to the serial port associated with the Analog Discovery Pro at 115200 baud, 8 bits, 1 stop bit, and no parity. | ||
| + | |||
| + | **Note:** // | ||
| + | </ | ||
| + | <columns 100% 55% 45%> | ||
| + | {{ reference: | ||
| + | < | ||
| + | {{ reference: | ||
| + | </ | ||
| + | </ | ||
| + | <-- | ||
| + | |||
| + | ---- | ||
| + | ==== 2. Update Linux Mode (Optional) ==== | ||
| + | |||
| + | While the Analog Discovery Pro ships with a fully functional Linux image included, you may want to update it. Updating your image ensures that you have access to the latest preinstalled packages, drivers, and software that Digilent ships within the image. | ||
| + | |||
| + | --> Update Linux Mode (Optional) # | ||
| + | <WRAP group> <WRAP half column> | ||
| + | You can check to see if your device already has the latest Linux image //after booting into Linux//. Run the following command in the serial terminal and compare it to the latest version listed in the Inventory section. < | ||
| + | If your version is out of date, Digilent recommends updating it before doing anything else in Linux mode, as the process of updating the image will erase work you might have saved in previous sessions. | ||
| + | |||
| + | If you are not on the latest version, or simply want to refresh to a known state, extract the files from the Linux image ZIP download, linked in the Inventory section, above. | ||
| + | Copy the // | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | ---- | ||
| + | <WRAP group> <WRAP half column> | ||
| + | Connect the drive to any of the four USB host ports on the back of the device. | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | ---- | ||
| + | <WRAP group>< | ||
| + | In order to transfer the new image to the device, it will be put into Linux Recovery mode. With the Analog Discovery Pro connected to the host computer by USB, open the WaveForms application. If the Device Manager hasn't opened yet, then select Settings -> Device Manager. | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | ---- | ||
| + | <WRAP group> <WRAP half column> | ||
| + | In the Device Manager, make sure that your Analog Discovery Pro is // | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | ---- | ||
| + | <WRAP group> <WRAP half column> | ||
| + | Returning to the serial terminal, once Linux has booted on the device, enter the login and password below: | ||
| + | |||
| + | |<50% 25% 25%>| | ||
| + | ^ login: | root | | ||
| + | ^ password: | root | | ||
| + | |||
| + | Run the '' | ||
| + | |||
| + | **Note**: //This will erase all data from the device eMMC flash!// | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | <-- | ||
| + | |||
| + | ---- | ||
| + | ==== 3. Switch Modes and Boot into Linux ==== | ||
| + | WaveForms will be used to switch the device from the default Standard mode into Linux mode. This step shows how to perform this mode switch and boot the device. | ||
| + | |||
| + | --> Switch Modes and Boot into Linux # | ||
| + | <WRAP group>< | ||
| + | With the Analog Discovery Pro connected to the host computer by USB, open the WaveForms application. If the Device Manager hasn't opened yet, then select Settings -> Device Manager. | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | ---- | ||
| + | <WRAP group> <WRAP half column> | ||
| + | In the Device Manager, make sure that your Analog Discovery Pro is // | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | <-- | ||
| + | |||
| + | ---- | ||
| + | ==== 4. Log in to Linux for the First Time ==== | ||
| + | |||
| + | Check the serial terminal to view boot messages. When the device is done booting, you will be met with a login prompt. | ||
| + | --> Log in to Linux for the First Time # | ||
| + | <WRAP group>< | ||
| + | Once the device boots, enter the username and password below: | ||
| + | |||
| + | |<50% 25% 25%>| | ||
| + | ^ username: | digilent | | ||
| + | ^ password: | digilent | | ||
| + | |||
| + | **Important!** //This username and password is default to all Analog Discovery Pro devices. In general, but ESPECIALLY if you intend to connect your device to the internet, you should replace this account with your own, change the password, and/or restrict its permissions.// | ||
| + | |||
| + | Note that upon login, a " | ||
| + | </ | ||
| + | {{ reference: | ||
| + | </ | ||
| + | <-- | ||
| + | |||
| + | ---- | ||
| + | ===== Next Steps ===== | ||
| + | |||
| + | You can find an example of Linux mode in action in the [[test-and-measurement: | ||
| + | |||
| + | For more information on using Ethernet and WiFi from the Linux mode terminal, ending with updating packages through '' | ||
| + | |||
| + | ---- | ||
| + | ===== Other Resources ===== | ||
| + | |||
| + | Check out the [[start|Analog Discovery Pro Resource Center]] for more guides on using your device. | ||
| + | |||
| + | More information on WaveForms SDK can be found on its [[software: | ||
| + | |||
| + | For technical support, please visit the [[https:// | ||

