MACH ETH - User Manual
MACH SYSTEMS s.r.o.
Page
14
of
20
The user sends a protocol message with id 0xFE to enter the bootloader. Selection of
bootloader type is done by Data0 byte. After setting this byte to 0, the device will
enter the system bootloader. If the byte is set to 1 device will enter the Ethernet
bootloader. More details about protocol in
MACH-ETH Communication Protocol
5.6
Firmware Download with Cube Programmer
The STM32CubeProgrammer application can be used for flashing firmware over the system
bootloader. The application is available from [3].
Steps for uploading a firmware:
1.
Open
STM32CubeProgrammer
application (see download link above)
2.
Turn the device off
3.
Enter the system bootloader as described in 5.5
4.
Connect one of the following ports to the PC:
a.
Micro USB cable (this also powers the device)
b.
RS-232 over pins 6, 9 and 5 (RxD, TxD and Gnd, respectively)
5.
Further, the steps are very similar for all the ports. In the
STM32CubeProgrammer
:
a.
Click on the refresh arrows button to see available ports
b.
Select the interface (USB or UART)
c.
Select the correct port