...
Before we do anything, you want to make sure you have the “STM32CubeProgrammer,” and “STM32CubeIDE” “STM32CubeProgrammer” https://www.st.com/en/development-tools/stm32cubeprog.html, and “STM32CubeIDE” https://www.st.com/en/development-tools/stm32cubeide.html software installed on your computer - the latter is not necessary but is convenient for flashing and debugging. In terms of hardware, you’ll want a STLinkV2 or STLink V2.1 programmer, like the one in the image below - there should be some lying around in the bay.
...
Why are you Here?
You’re probably reading this article because you get a pop-up similar to the following when you try to flash your board/connect to the programmer.
...
Info |
---|
Note: Given the ST-Link on the F401RE is detachable, this method could also be helpful in flashing a board that had its ST-Link broken off. |
Below is the implementation using the STLinkV2. Reference the above photo if the connections are not clear.
...
STM32CubeProgrammer
Now that our board is connected to our ST-Link, and plugged into our computer, we can get into resetting. Start by opening the STM32CubeProgrammer, and look at the menu on the right.
...