INTC_FIM0 Register of DSC MC56F8xxxx application

cancel
Showing results for 
Search instead for 
Did you mean: 

INTC_FIM0 Register of DSC MC56F8xxxx application

Jump to solution
783 Views
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

Labels (1)
0 Kudos
1 Solution
708 Views
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

View solution in original post

0 Kudos
2 Replies
709 Views
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 Kudos
708 Views
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 Kudos