hello,
I set INTC in hardware interrupt mode, the following is my memory map and implementation for platform S32R274
IntcVectorTableHw is the start addrss of interrupt vector table and all ISRs will be mapped into intctab, so the value is qual to 0x01003000.
Code above can actually work, but I want to know why I can not set intctab to another address, and exctab also seems can not be changed .
If I exchange them there will be a crash then.
Hi,
I am not sure what you are trying to show us on these screens.
But you need to align the Exception Vector Table (IVPR) to align 64Kbyte boundary. In other words 0x10000 hex alignment.
And then align also ISR vector table section (external interrupt table):
at least to 2k:
Peter
hello Peter,
I am sorry for not providing information clearly, my issue is I can not set the interrupt vector table base address to another address except 0x01003000, when changed to another address for example 0x01004000 ,a exception will be generated.
So do you have any idea why this issue happen ?
Thank you.
At first look, this is 4k (0x1000) aligned, not 64k (0x10000) aligned...
If it works with 0x01003000, you should try with 0x01013000...
Hello , Peter:
Thanks for your response, I mean when I set intctal and exctab like below and when I trigger a interrupt use TRIGGER_INT() manually,there will be a exception.
But the interrupt will be generated normally when I use the following map.
so ,do you have any idea.
Last I want to correct you on IVPR, I think you use the wrong menual.
Thanks.
Br,
Julie.