This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3352: SYSBIOS triggers data abort exception.

Part Number: AM3352
Other Parts Discussed in Thread: SYSBIOS

Based on SYSBIOS,the program triggered an exception and had the following data through ROV.

Caught exception in view init code: "D:/ti/xdctools_3_32_01_22_core/packages/xdc/rov/StructureDecoder.xs", line 518: java.lang.Exception: Target memory read failed at address: 0x101d2, length: 8This read is at an INVALID address according to the application's section map. The application is likely either uninitialized or corrupt.

It looks like knl.queue accessed protected memory and issued a data abort exception.

 Exception:

 

 

Looking at the map, the SP is  ti_sysbios_knl_Queue_dequeue__E

Queue:

Queue information points to this function: ti_sysbios_gates_GateMutex_Object__table__V

In .cfg. we use queue like this:

var Queue = xdc.useModule('ti.sysbios.knl.Queue');
Program.global.msgQueue = Queue.create();
Program.global.freeQueue = Queue.create();
How should I further locate the cause of the exception?  I didn't call Queue_dequeue or related functions in my whole application.