Other Parts Discussed in Thread: SYSBIOS
A new task is created in a demo lab as below:
/* Create task to handle uart gnss messges */ Task_Params_init(&taskParams); taskParams.priority = 2; taskParams.stackSize = 2*1024; System_printf("gnss read task priority: %d \n", taskParams.priority); Task_create(MmwDemo_gnssReadTask, &taskParams, NULL);
The program ran well for few hours, then terminated due to a arm.exc.Exception. The log is given as below:
[Cortex_R4_0] SOFTSYSRST: [C674X_0] Heap L1 : size 16384 (0x4000), free 6144 (0x1800) Heap L3 : size 1048576 (0x100000), free 0 (0x0) [Cortex_R4_0] Address: ffffe11c [C674X_0] Heap L1 : size 16384 (0x4000), free 1000 (0x3e8) [Cortex_R4_0] Setting: 0 [C674X_0] Heap L3 : size 1048576 (0x100000), free 262144 (0x40000) [Cortex_R4_0] Debug: Launched the Initialization Task [C674X_0] Heap L2 : size 102400 (0x19000), free 21488 (0x53f0) [C674X_0] Heap L2 : size 102400 (0x19000), free 14432 (0x3860) [Cortex_R4_0] Debug: Initialized the mmWave module Debug: Synchronized the mmWave module Set LDO Bypass Debug: MMWave has been configured for MRR. Debug: Sensor will start momentarily. Exception occurred in ThreadType_Task. Task handle: 0x80052f0. Task stack base: 0x8005350. Task stack size: 0x800. R0 = 0x20000010 R8 = 0x0000af8c R1 = 0x08009e68 R9 = 0xffffffff R2 = 0x40000000 R10 = 0xffffffff R3 = 0x080074d6 R11 = 0xffffffff R4 = 0x08009e64 R12 = 0x00000000 R5 = 0x0000af94 SP(R13) = 0x08005a78 R6 = 0x00000001 LR(R14) = 0x00000000 R7 = 0x00000000 PC(R15) = 0x0000af1a PSR = 0x600c019f DFSR = 0x0000000d IFSR = 0x00000000 DFAR = 0x40000000 IFAR = 0x00000000 ti.sysbios.family.arm.exc.Exception: line 205: E_dataAbort: pc = 0x0000af1a, lr = 0x00000000. xdc.runtime.Error.raise: terminating execution
It looks like a memory issue. Can you please give me any opinions about this error?
Thanks