Hello,
I'm using VisionMid with 4 cores on it ( A8, videoM3, VpssM3 and DSP) (SYS/BIOS)
Now I try to move 1 task from DSP to A8.
After modifying some setting(like core ID, task table...), I can build the code and execute it.
But there is an exception in run time.
This is the error message display on the console.
-------
[CortexA8] Exception occurred in ThreadType_Task.
[CortexA8] Task handle: 0x819516f8.
[CortexA8] Task stack base: 0x81951748.
[CortexA8] Task stack size: 0x2800.
[CortexA8] R0 = 0x00000000 R8 = 0x2476e681
[CortexA8] R1 = 0x2476e680 R9 = 0x00000001
[CortexA8] R2 = 0x81953ec0 R10 = 0x00000001
[CortexA8] R3 = 0x00000000 R11 = 0x81953ec0
[CortexA8] R4 = 0x2476e680 R12 = 0x2476e680
[CortexA8] R5 = 0x00000000 SP(R13) = 0x81953e60
[CortexA8] R6 = 0x88102480 LR(R14) = 0x810af5a8
[CortexA8] R7 = 0x00000000 PC(R15) = 0x8104473c
[CortexA8] PSR = 0x2000019f
[CortexA8] ti.sysbios.family.arm.exc.Exception: line 176: E_dataAbort: pc = 0x8104473c, lr = 0x810af5a8.
[CortexA8] xdc.runtime.Error.raise: terminating execution
-------
I find the exception occurs on this code
Cache_wbInv((Ptr) (pCurOutFrame->nTimeStamp), sizeof(uint32_t), Cache_Type_ALL, TRUE);
Is there anyone know why does it happen?
Because when this task run in DSP, there is no error...
Thank you!
Regards,
Killo