This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Code runs only in debug mode

Hi,

I built a bootloader for a STM32F107vc. The bootloader was stored at address 0x08000000 to 0x08009800 and the main application was saved at 0x08009800. Off course, I changed the Vector Table Address of the main application to 0x08009800. Well, everything worked fine but the code runs only if I am debugging (using ULINK2). I have noticed that if I click "Download and Execute" button in uVision the application works, as well.

Anyone can help me?

0