Tool/software:
Hello TI expert,
I want to trigger a ITRAP, and use the below method in the main loop.
Define a pointer and point to a illegal address, then write and read the value of it.
But I did not enter into any interrupt.
Is something wrong with my method?
volatile uint32_t *TestOverRangePoint = (uint32_t *)0xFFFFFFFF;
volatile uint32_t TestData = 0;
for (;;)
{
*TestOverRangePoint = 0x01;
TestData = *TestOverRangePoint;
}
Another question is that I want to write the handler for ITRAP.
Does TI provide the example that how to record the return address value on the stack in the ITRAP handler?


