STM32H7

SoCs in the STM32H7 series are based on ARM Cortex-M7 CPUs.

Target name

SoC

Probe

STM32H7

STM32H7xx

SWD

STM32H7_STLink

STM32H7xx

ST-LINK/V3

STM32H7_DualBank

STM32H7xx

SWD

STM32H7_DualBank_STLink

STM32H7xx

ST-LINK/V3

Supported Debug Probes

  • The built-in SWD probe of the PLT.

  • ST-LINK/V2.

  • USB-DFU using ROM bootloader.

Example PLTcloud Projects

Dual-Bank STM32H7 MCUs

PLT-OS v1.10.x supports STM32H7_DualBank_STLink and STM32H7_DualBank targets to program STM32H7-based DUTs with dual-bank flash configuration over SWD.

Example: Program dual-bank STM32H7 with program command

title: "Program dual-bank STM32H7"
suite:
- title: Program STM32H7
  steps:
  - command: program STM32H7_DualBank_STLink stm32h7-dual-bank-fw.hex

When programming dual-bank STM32H7 devices with PLT-OS v1.9.x, a custom openocd command may be required if the firmware image size exceeds the first bank.

Example: Program dual-bank STM32H7 with openocd command

title: "Program dual-bank STM32H7"
suite:
- title: Program STM32H7
  steps:
  - command: openocd STM32H7_STLink
    with:
    - "flash bank $_CHIPNAME.bank2.cpu0 stm32h7x 0x08100000 0 0 0 $_CHIPNAME.cpu0"
    - "program stm32h7-dual-bank-fw.hex verify reset exit"

References