7 years, 8 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, 8 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.

Accepted Answer

Hi and thanks for your Answer. At the Moment that I disconnect (physically) my debugger from Board my firmware is running.

posted by Nxitimi Hasani 28 Oct 2016