ISR & interrupt Vectable

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

ISR & interrupt Vectable

368 次查看
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 项奖励
回复
3 回复数

354 次查看
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 项奖励
回复

343 次查看
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 项奖励
回复

337 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Is the vector table in SRAM?

What is the value of the VTOR register?

 

BR, Daniel

0 项奖励
回复