H407

Vendor: OLIMEX
Source on GitHub: stm32/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

Firmware

Releases

v1.23.0 (2024-06-02) .dfu / [.hex] / [Release notes] (latest)
v1.22.2 (2024-02-22) .dfu / [.hex] / [Release notes]
v1.22.1 (2024-01-05) .dfu / [.hex] / [Release notes]
v1.22.0 (2023-12-27) .dfu / [.hex] / [Release notes]
v1.21.0 (2023-10-05) .dfu / [.hex] / [Release notes]
v1.20.0 (2023-04-26) .dfu / [.hex] / [Release notes]
v1.19.1 (2022-06-18) .dfu / [.hex] / [Release notes]
v1.18 (2022-01-17) .dfu / [.hex] / [Release notes]

Preview builds

v1.24.0-preview.409.g82e69df33 (2024-10-10) .dfu / [.hex]
v1.24.0-preview.408.g05ac69329 (2024-10-10) .dfu / [.hex]
v1.24.0-preview.407.g197becbdc (2024-10-09) .dfu / [.hex]
v1.24.0-preview.395.ge5eeaa7df (2024-10-09) .dfu / [.hex]
v1.23.0-5.g3613ad962 (2024-05-31) .dfu / [.hex]
(These are automatic builds of the development branch for the next release)