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?
And what about when I click button "Download and Execute" in uVision? The application runs well.
I found out the problem. It was the interrupts. Before execute the application code I disabled all the interrupts I had configured in bootloader. Then everything worked well.