ISR & interrupt Vectable

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ISR & interrupt Vectable

195 Views
jayzhou
Contributor I

hello everyone,

   I want to load an ISR into the address of the interrupt vector table, but when I debug, I will enter a bus fault. I don't know how to solve it.

 

 

 

jayzhou_1-1715589712324.png

jayzhou_2-1715589745621.pngjayzhou_3-1715589926013.png

 

 

0 Kudos
Reply
3 Replies

181 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @jayzhou,

I understand the vector table is in SRAM, and you want to install an ISR to the table.

If you use RTD, there is already an API for that, you can refer to the code.

danielmartynek_0-1715685734139.png

 

Regards,

Daniel

 

0 Kudos
Reply

170 Views
jayzhou
Contributor I

hello Daniel, 

     I 'm very happy to receive your answer ,but  it seems still not work .I am working on the SPD(bist & eMcem)

    when I used this api   (IntCtrl_Ip_InstallHandler)  as the picture shows below,

jayzhou_0-1715738132682.png

when I Debug this elf,the trace32 entered to the stepping mode ,I don't know this ,if I still have some error behaviors,Please contact to me ,thanks sincerely.

jayzhou_1-1715738288471.png

 

0 Kudos
Reply

164 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Is the vector table in SRAM?

What is the value of the VTOR register?

 

BR, Daniel

0 Kudos
Reply