Hi Ppl.
I've been muddling thru a whole slew of problems with a bootloader.
The biggest pain in my @$$ is that anytime I try to relocate the interrupt vector, interrupts dont work.
I simplified everything down to a single test project. UART and TMR3 intrps.
Original Intrpt and Prog Start specs (0x00) works fine, but anytime I attempt to relocate my project. They simply dont work.
I follow the KB thread about relocating in C changing the required 3 settings: Int Vect change, startup.a51 change, and CODE SPACE linker change for my prog.
Any ideas why?
Additionally, when getting back to the bootloader proj: Can i compile the 0-0x1000 BOOTLOAD with NOINTVECT if I use no intrpts and at the same time, be able to reprogram interrupt table with the bootloader?
Thanks Chris
"So why, when following the KB article on changing the interrupt vector, does it not work..."
How about posting your code that followed this article? Maybe someone could spot where you're misinterpreting it, or where it misled you...?
I just tried to post it but its too long so....
The program, sets up clk, and crossbar, and TMR3 intrpt.
Then does nothing but toggle a port based on TMR3 overflow.
-----------------------------
The program is just too simple. Recall I have no problem with the program..... only when I attempt to relocate it using the KB article. The article only has 3 steps so its pretty unlikely I screwed it up this time.
Prog addr changed using: http://www.keil.com/support/docs/189.htm
Int Vector changed using: http://www.keil.com/support/docs/143.htm