-
Notifications
You must be signed in to change notification settings - Fork 1
Firmware Updates
Pascal Roobrouck edited this page Jul 22, 2025
·
1 revision
The firmware of the device can be updated in two ways:
- via the SWD debug port, using an ST-Link interface.
- via the USB port.
Note : the mini datalogger has no USB port, it only allows firmware updates via the SWD port.
In order to update the firmware, on your PC, you will need the STM32CubeProgrammer application. It can be obtained for free from ST-MicroElectronics
The datalogger firmware can be easily found on github. You need the .elf file.
Step-by-step procedure for upgrading the firmware via USB :
- connect the datalogger to your PC with a USB cable. This will create a serial port, note the number of this port (COMxx)
- while powered via USB, reset the datalogger with a paperclip. This puts the datalogger in 'bootloader' mode
- open STM32CubeProgrammer, and at the top-right, select UART and the correct COM port, then 'Connect'. The log should show proper connection.
- on the left, select the 'programming' icon (second from top), and browse to the .elf file
- click 'Start Programming'- follow the green progress-bar until programming is completed
- at top right, 'Disconnect' the datalogger
- remove USB cable from datalogger.
- with no USB cable present, reset datalogger with a paperclip. It will restart in normal operation mode.
Note : after reset, when the datalogger detects USB power, it boots in bootloader mode. With no USB power present, it boots in normal mode.
Tip : in STM32CubeProgrammer, you can scan for UART ports. After connecting the datalogger, scan again, the port with is added is the one from the datalogger.