Topic : intterupt vector question

Forum : ARM

Original Post
Post Information Post
June 7, 2007 - 6:24am
Guest

Sorry if I reply my question but i didn't find a solution....
Hello, I've got a problem with the interrupt vector. I've done a CAN bootloader for STR75x and it resides at 0x20000000, 16k. This program doesn't use the interrupt vector. My program starts at 0x20004000 and, after the bootloading, this program starts. The problem is the interrupt vector in the program because if I debug step by step the program works fine but when an interrupt occurs I have an out of codde. Could you tell me how do I do in order to work the interrupt vector?
Best regards,

Replies
Post Information Post
+1
0
-1
June 7, 2007 - 10:01am
Raisonance Support Team

Hi,

I think you should change your bootloader for its interrupt vectors to simply jump to 0x200040**. For example, the vector at 0x20000008 would jump at 0x20004008. Then, you just need to place the "application interrupt vectors" at 0x20004000. This is probably pretty much what you are doing with the reset vector already. You just need to do the same with the other vectors.

Best Regards,

Vincent