Issue with Interrupt Vector Table (TriCore)
Posted: Wed Jul 29, 2015 12:08 pm
Hi,
I have found an issue with the Interrupt Vector Table, which can lead to wrong entry address calculations, because the TriCore needs the Interrupt Vector Table to be aligned to addresses where Bits [12:5] are 0. In the TriCore“s architecture manual (vol1) you can find a more detailed discription (look out for figure 5-2).
I solved this problem in my application by aligning the interrupt table vector to 0x1000 with the linker script template "ee_tc2Yx_gnu_relocable.ld.tmpl".
I hope, this helps.
I have found an issue with the Interrupt Vector Table, which can lead to wrong entry address calculations, because the TriCore needs the Interrupt Vector Table to be aligned to addresses where Bits [12:5] are 0. In the TriCore“s architecture manual (vol1) you can find a more detailed discription (look out for figure 5-2).
I solved this problem in my application by aligning the interrupt table vector to 0x1000 with the linker script template "ee_tc2Yx_gnu_relocable.ld.tmpl".
Code: Select all
/*
* Section for interrupt table
*/
CORE_SEC(.inttab) 0 : ALIGN(0x1000)
{
*(.inttab)
*(.*.inttab)
}