Using the ST-LINK with ST-LINK Utility download the file to the bin in the STM32 FLASH

background

Project requirements, put font file into the specified address in the FLASH 32, ST-LINK V2 uses the microcontroller and connected to the computer, and then somehow the font file into the FLASH bin designated by the address with the ST-LINK Utility software. The following record about the whole process:

1. ST-LINK V2 connected with the microcontroller

Bloggers requires only four lines connected to:

  • VDD
  • GND
  • SWCLK
  • SWDIO

2. Configure Engineering

Then open the project, configure, select the ST-Link Debugger
Here Insert Picture Description
and see if the detected ST-Link (select SW)
Here Insert Picture Description
If you can display the contents as shown, then successfully connected.

3. Configure ST-LINK Utility

After opening the software interface as shown:
Here Insert Picture Description
Click on the blue ball, open the Settings screen, set the Port to SWD
Here Insert Picture Description
click on the black plug to connect to the target
Here Insert Picture Description

4. Burn bin file

Click on the file icon sixth, found Browse the bin file to be burned, burn selected in FLASH start address check by map, and then click Start on it.
Here Insert Picture Description

Finally mention: ST-LINK Utility can reads ID, FLASH memory chip size at the time of connection.
The need software can whisper bloggers Oh, free
to serve the people
qq: 2723808286

Published 62 original articles · won praise 188 · views 10000 +

Guess you like

Origin blog.csdn.net/qq_43743762/article/details/102868489