C

Bootloader Flashing Instructions for ST boards

The bootloader image must be flashed onto the device in two cases:

  • Before first use of the board
  • After every Internal Flash erase operation

There are two ways to flash the bootloader image:

  • with STM32CubeProgrammer
  • from command line, using dedicated cmake target

    Refer to the board-specific instruction for details.

    Note: This option is available only with the Qt Quick Ultralite source code.

Flashing with STM32CubeProgrammer

Before flashing the bootloader image onto the ST board, you must install the STM32CubeProgrammer software. After the software is installed, connect the board to the host PC using a USB cable.

Open STM32CubeProgrammer and follow these steps:

  1. Select Connect to estabilish connection with the onboard ST-LINK Programmer.
  2. Select the Flashing tab.

  3. Select Browse to choose the bootloader file for your board. For example, stm32f7508_discovery_bootloader.hex.

  4. Select Open after choosing the file.

  5. Optionally, select Verify programming.
  6. Optionally, select Run after programming.
  7. Select Start Programming to flash the bootloader.

Troubleshooting

  • If there are issues when connecting to the board, try to change mode from Normal to Under reset.

Available under certain Qt licenses.
Find out more.