.core_exceptions_table : ALIGN(0x1000)
{
__IVPR_VALUE = . ;
KEEP(*(.core_exceptions_table))
} > m_text
David
Please ignore my last comment. I figured out how to get the SPRs display values.
David
Hi David,
actually - in S32DS Power v2017.R1 are SPR registers updating okay (there was some issues with older versions up to v1.2). Here are screenshots for mtivpr - first one before call mtivpr, scond one step ahead:
Also linker values are working fine for me - I used __DATA_END instead of __IVPR_VALUE ( which is text):
So - about SPR registers - just make sure that you double click to register which you are interested in to be updated - the blue arrow should be shown. About linker values - well, don't forget declare them as extern and take care about value type.
Hope it helps.
Jiri
Thank you Jiri,
I must have been missing something. I'm using S32DS Version: 2017.R1 Build id: 171018. The core is e200Z4 (MPC5644A).
To begin with, notice that PVR is all zero (should be 0x81570000)
In addition the following show before and after execution of the instruction mtusprg0 (spr256). As you can see, the value remained zero.
David