Debug works, Run does not
My project compiles perfectly, and can be debugged without any problem. But when I press “Run”, it doesn’t. It did before, but now it doesn’t run anymore and it already kept me busy since 2 days now. Grrr.....
I can see that the pc jumps to a wrong position (pc: 0x20000046, instead of pc: 0x08000668 as you can see higher.) Does anyone have a clue?
Console runs upto here, and then just nothing happens anymore:
Info : Target voltage: 3.206287
Info : STM32F405RGTx.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
adapter speed: 1800 kHz
STM32F405RGTx.cpu: target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x08000668 msp: 0x20020000
configuring PLL
- Programming Started **
auto erase enabled
Info : device id = 0x10076413
Info : flash size = 1024kbytes
STM32F405RGTx.cpu: target state: halted
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x20000046 msp: 0x20020000
wrote 16384 bytes from file Debug/Formanta5.elf in 1.137999s (14.060 KiB/s)
- Programming Finished **
- Verify Started **
STM32F405RGTx.cpu: target state: halted
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x2000002e msp: 0x20020000
verified 2454 bytes in 0.375114s (6.389 KiB/s)
- Verified OK **
- Resetting Target **
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
adapter speed: 1800 kHz
shutdown command invoked