INTC_FIM0 Register of DSC MC56F8xxxx application

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

INTC_FIM0 Register of DSC MC56F8xxxx application

ソリューションへジャンプ
1,397件の閲覧回数
Kris_Ke
Contributor III

Dear 

As follow the Reference manual show,  

Fast Interrupts vector directly to a service routine based on values in the Fast Interrupt Vector Address registers without having to go to a jump table first.

00.png

Below is my Timer 2 initial, I had designated the interrupt subroutine to register.

01.png

So you can see the SystemTickCount value has increased in the main void. It mean it can enter interrupt.

And the address 0x0000 to 0xDF is normal.

02.png

The following is my question.

This is my memory planning, the Vector table is at address 0x0000, and my program is start at 0x4208.

04.png

When I erase the address from 0x0000 to 0x800 (one sector ) As below picture show.

You can see that is a problem with the execution of the following program.

03.png

The CPU thread jump to an unknown address and cannot execute a normal program.

According to the instructions of register, it should jump directly to the subprogram without having to go to a jump table first. Right?

Am I missing something?

Kris

ラベル(1)
0 件の賞賛
1 解決策
1,322件の閲覧回数
Kris_Ke
Contributor III

Dear Xiangjun rong

I use MC56F82748.

Thank you for reminding me, I found the reason. 

Interrupt too often lead to CPU thread jumps to an unknown address.

Kris

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
1,323件の閲覧回数
Kris_Ke
Contributor III

Dear Xiangjun rong

I use MC56F82748.

Thank you for reminding me, I found the reason. 

Interrupt too often lead to CPU thread jumps to an unknown address.

Kris

0 件の賞賛
1,322件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Kris,

For the Fast interrupt mechanism, the interrupt vector and corresponding are saved in INTC_FIMx and INTC_FIVALx/VAHx, so you are not required to write the Fast Interrupt vector in the vector table.

Regarding your question that the CPU thread jumps to an unknown address and cannot execute a normal program, I think it is not related to fast interrupt, there are the other cause.

BTW, can you tell us the part number you are using?

BR

Xiangjun rong

0 件の賞賛