EasyManua.ls Logo

Asus AAEON UP Xtreme UP-WHL01 - Flashing DFU Firmware File on STM Board on Linux; Flashing Firmware File on STM Board Using Stm32 Cubeprogrammer; Stm32 F042 K6; Stm32 F103 C8

Asus AAEON UP Xtreme UP-WHL01
104 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CEC Client Installation 17
CEC Client Installation Supplemental Appendix for UP Xtreme
2.8 Flashing DFU firmware file on STM board on Linux
2.8.1 STM32f042k6
This section details how to load the DFU firmware file onto STM32f042k6 MCU on
Linux. First, install the required software tool from Terminal using the command:
sudo apt-get install dfu-util
After installing the dfu-util software tool, use the following procedure to conduct the
firmware upgrade and load the upgraded firmware file using dfu-util onto the board’s
MCU on Linux software platform.
Switch the device to DFU Mode using the command “bootloader” sent through the
CDC interface. Restart the device.
Use the following command to drop the DFU firmware file onto the STM board:
sudo dfu-util -vvv -a 0 -e -t 2048 -s :force:mass-
erase:leave -D STM32F042K6_Firmware.dfu
After uploading the file, it is necessary to reset the device.
2.8.2 STM32f103c8
An ST-Link debugger needs to be put in place to lower the firmware. Firmware is
loaded via the bootloader using the following command:
sudo dfu-util -a 0 -D stm32f103c8_firmware.bin
2.9 Flashing Firmware File on STM Board using STM32CubeProgrammer
STM32CubeProgrammer is an all-in-one multi-OS software tool for programming
STM32 products. It provides an easy-to-use and efficient environment for reading,
writing and verifying device memory through both the debug interface (JTAG and
SWD) and the bootloader interface (UART, USB DFU, I 2 C, SPI, CAN).

Table of Contents

Related product manuals