Vendor: OLIMEX
Source on GitHub: OLIMEX_H407

Installation instructions

STM32 via ST-Link

Nucleo and Discovery boards typically include a built-in ST-Link programmer.

A .bin or .hex file can be flashed using st-flash.

# Optional erase to clear existing filesystem.
st-flash erase

# Flash .bin
st-flash write firmware.bin 0x08000000
# or, flash .hex
st-flash --format ihex write firmware.hex

A .hex file can be flashed using STM32 Cube Programmer.

STM32_Programmer.sh -c port=SWD -d firmware.hex -hardRst

STM32 via DFU

Boards with USB support can also be programmed via the ST DFU bootloader, using e.g. dfu-util or pydfu.py.

To enter the bootloader the BOOT0 pin can be connected to VCC during reset, or you can use machine.bootloader() from the MicroPython REPL.

dfu-util --alt 0 -D firmware.dfu


Nightly builds

v1.17-212-g23a150789 (2021-11-30) .dfu [.hex]
v1.17-207-g97a7cc243 (2021-11-29) .dfu [.hex]
v1.17-205-gde8dc4bad (2021-11-26) .dfu [.hex]
v1.17-202-ge99f7b6d2 (2021-11-25) .dfu [.hex]