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.

TMS570LS1224: Code run to Abort

Part Number: TMS570LS1224

  My customer add FreeRTOS to TI 570 and the code will run to Abort.

 

Here are part of the code: 象:

 

1.    Run from main.c, finish initialization and run startOS();

 

2.    in startOS function will run to the code by insert breakpoint as below:

 

 

3.    when run to vTaskStartScheduler(), then get the assembly code as below by single step run.

 

then show the status of register as below:

 

 

 the assembly code for portRESTORE_CONTEXT is showed below

 

 

4.    in the step 3,Click "step into" then will go to abort mode as below:

 

where core registers show:

 

Abort register

Is any way to find the reason that the code run to Abort?

attachement is the asm code and map file

https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/312/7418.MAP.7z

  • My customer add FreeRTOS to TI 570 and the code will run to Abort.

    Here are part of the code:

    1.    Run from main.c, finish initialization and run startOS();

    2.    in startOS function will run to the code by insert breakpoint as below:

     

    3.    when run to vTaskStartScheduler(), then get the assembly code as below by single step run.

     

    then show the status of register as below:

     

     

    the assembly code for portRESTORE_CONTEXT is showed below

     

    4.    in the step 3,Click "step into" then will go to abort mode as below:

     

    where core registers show:

     

    Abort register

     

    Is any way to find the reason that the code run to Abort?

    attachement is the asm code and map file

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/312/7607.Map-_2600_asm-code.7z

  • Hello Strong,

    What is the content of some of the parameters that are being loaded into R0 and subsequently the LR register? i.e., what is pxCurrentTCBConst and what is u1FOUContextConst? While stepping can you step in assembler mode to see how fat you get into the assembler function before entering the abort? Also can you have a look at the fault status register in CP15 to see what address triggered the abort and if it is a precise or non-precise abort?