ISR & interrupt Vectable

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

ISR & interrupt Vectable

237件の閲覧回数
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 返答(返信)

223件の閲覧回数
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 件の賞賛
返信

212件の閲覧回数
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 件の賞賛
返信

206件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Is the vector table in SRAM?

What is the value of the VTOR register?

 

BR, Daniel

0 件の賞賛
返信