Flashing Instructions for ST boards

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

打开 STM32CubeProgrammer and follow these steps:

  1. 选择 connect to estabilish connection with the onboard ST-LINK Programmer
  2. 选择 external loader tab

  3. Type name of your board (for example, STM32L4R9I-DISCO)
  4. Choose an appropriate external loader script (for example, MX25LM51245G_STM32L4R9I-DISCO)
  5. 选择 flashing tab.

  6. Open the choice demo elf file
  7. Optionally, select Verify programming
  8. Optionally, select Run after programming
  9. 选择 Start Programming

    Once the flashing process is complete, you should see the application running on the device.

故障排除

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