Content originally posted in LPCWare by MikeSimmonds on Sun Mar 22 02:48:01 MST 2015
Quote: dodge55
Many thanks for your help. It almost works. Actually, it does transfer to the user code now. But, it hangs because my timer interrupt doesn't work. The same Timer0 interrupt that is used in the bootloader, doesn't run in the user code. I am resetting up Timer0 and other interrupts totally independent from the bootloader, but Timer0 doesn't run. So, I'm trying to figure that out.
Sutton
When you resetup the timer interrupt, are you (a) clearing any pending interrupts, (b) clearing any interrupt status in
the timer, (c) actually enabling the timer interrupt in both the timer and the NVIC?
Cheers, Mike