Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 10 months ago.
STM32f401 Startup after Programming via SWD
Hi,
i have one Problem with my MCU. Im programming the FLASH Memory of my MCU via SWD(ST Link V2) and write/delette are okay, w/o Problems.
But after programming when i disconnect ST Link Debugger my firmware is not starting up? Boot0 Pin is connected via 10K Resistor to GND. Has any one any idea what is going wrong?
Regards
Nxitimi
1 Answer
7 years, 10 months ago.
I assume that you are not using mbed target hardware but some other F401 platform and a separate STLINK debugger (nucleo or what?). Can you read back the flashed code and verify it is correct. Is the code executing with a connected STLINK Are you sure the target is powered and the clock is running? Is the reset held low somehow preventing the target from starting. Did you compile for the correct target platform.