Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
university:tools:m1k:firmware-upgrade [01 Mar 2018 10:36] – Add a troubleshooting section and remove the manual upgrade section for now. Alexandra Trifanuniversity:tools:m1k:firmware-upgrade [08 Feb 2021 16:58] (current) – update links to libsmu wiki page Alexandra Trifan
Line 1: Line 1:
 ===== ADALM1000 Firmware Upgrade Procedures ===== ===== ADALM1000 Firmware Upgrade Procedures =====
  
-The firmware on the device can be upgraded directly from Pixelpulse.+The firmware on the device can be upgraded using the smu executable or directly from Pixelpulse
 + 
 +==== Update using the smu executable ==== 
 + 
 +The ''smu'' executable (part of the [[university:tools:m1k:libsmu|libsmu]] library) provides some basic functionalities . In the following image you can see these functionalities and their corresponding call arguments: 
 +<WRAP box bggreen><wrap info>This specifies any shell prompt running on the target</wrap> 
 +<xterm> 
 +C:\WINDOWS\system32> **smu** 
 +smu: utility for managing M1K devices 
 + 
 + -h, --help                   print this help message and exit 
 + --version                    show libsmu version 
 + -l, --list-devices           list supported devices currently attached to the system 
 + -p, --hotplug-devices        simple session device hotplug testing 
 + -s, --stream-samples         stream samples to stdout from a single attached device 
 + -d, --display-calibration    display calibration data from all attached devices 
 + -r, --reset-calibration      reset calibration data to the defaults on all attached devices 
 + -w, --write-calibration <cal file> write calibration data to a single attached device 
 + -f, --flash <firmware image> flash firmware image to a single attached device 
 +</xterm> 
 +</WRAP> 
 + 
 +As you can see in the above, the ''smu'' application provides an option for flashing a firmware to an ADALM1000 board (the ''-f'' or ''--flash'' option). Before running this command, you must first download the firmware image from [[https://github.com/analogdevicesinc/m1k-fw/releases|m1k-fw]] project. We recommend to always use the latest firmware release in order to be able to access all supported features. You should download the m1000.bin file. 
 + 
 +After downloading the firmware binary, run the following command in your OS specific preferred terminal: 
 +<xterm> 
 +C:\WINDOWS\system32> **smu -f /path/to/m1000.bin** 
 +</xterm> 
 + 
 +After installing ''libsmu, the smu executable's path is automatically added in the system path. If you build libsmu manually, you can find the smu executable in the build folder, under /src/cli
  
 ==== Automatic update from Pixelpulse ==== ==== Automatic update from Pixelpulse ====
university/tools/m1k/firmware-upgrade.1519897012.txt.gz · Last modified: 01 Mar 2018 10:36 by Alexandra Trifan