|
我在ccs中设置task
Task_Handle task;
Task_Params taskParams;
Task_Params_init(&taskParams);
taskParams.stackSize=512;
taskParams.priority=15;
task = Task_create((Task_FuncPtr)taskFxn, &taskParams, &eb);
//task = Task_create(taskFxn, NULL, &eb);
if (task == NULL) {
System_printf("Task_create() failed!\n");
BIOS_exit(0);
}
Debug时报错
[CortxA8] 0x20202020 R8 = 0x20202020
R1 = 0x15ab0200 R9 = 0x00000000
R2 = 0x8001a9d0 R10 = 0x00000001
R3 = 0x070d0010 R11 = 0x0000011f
R4 = 0x8001ae4c R12 = 0x20202020
R5 = 0x8000fc90 SP(R13) = 0x80009adc
R6 = 0x20202020 LR(R14) = 0x8000fc34
R7 = 0x00008001 PC(R15) = 0x80009adc
PSR = 0x20202020
DFSR = 0x00000805 IFSR = 0x00000000
DFAR = 0x20202020 IFAR = 0x00000000
ti.sysbios.family.arm.exc.Exception: line 205: E_dataAbort: pc = 0x80009adc, lr = 0x8000fc34.
xdc.runtime.Error.raise: terminating execution
求大神指导怎么解决啊?
|
|