Firmware Download With Cube Programmer - MACH SYSTEMS MACH-ETH User Manual

Table of Contents

Advertisement

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
Specification.

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
MACH SYSTEMS s.r.o.
MACH-ETH Communication Protocol
www.machsystems.cz
info@machsystems.cz
MACH ETH - User Manual
Page 14 of 20

Advertisement

Table of Contents
loading

Related Products for MACH SYSTEMS MACH-ETH

Table of Contents