How to configure and relocate the interrupt vector table for S12ZVC

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to configure and relocate the interrupt vector table for S12ZVC

1,229件の閲覧回数
joophliu
Contributor III

HI:
     I use S12ZVC,  I don't want bootloader and app use the same Interrupt Vector table,so i Relocating app interrupt vector table at other address:0xFF9000-0xFF92EF.
     1.I modify the PRM file,Reallocation of address:
       APP: 0xFE0000-0xFF8FFF;
       APP interrupt mapping: 0xff9000-0xff92ef;
       Boot: 0xff9400-0xffddff;
       Boot interrupt mapping :Default interrupt vector address (memory end);


     2.Relocating interrupt vector address:
       1.jpg
     3.Relocating Reset Vector address:
       2.jpg
     4.Set IVBR REG:0xFF90:
       3.jpg
     5.Modify APP's RPM :
       4.jpg
       
     6.Debug issue problem:
       debug by step,the program run at MainLoop() leave,can not run correctly....

        6.jpg

  • Is there any problem with the  configuration?

0 件の賞賛
返信
1 返信

1,044件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

I have noticed one thing, you set IVBR = 0xFF9000.

And reset vector at 0xFF8FF8.

pastedImage_2.png

It should be 0xFF91FC. Can you please try it?

Regards,

Daniel

0 件の賞賛
返信