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.

TMS570LC4357: STC invoke Data Abort

Part Number: TMS570LC4357

Hello,

I use TI Safeti lib and try to start STC after start of cpu. And after restart caused by finishing STC, processor jump into address 0x10 Data Abort. In LR I have address of first instruction of whole program:

0x11a00: 0xe92d5000 PUSH {R12, LR}

Do you have any experience with this behavior? I use IAR studio.

Thank you

  • Hello Marek,

    Do you know which function causes the problem? After STC, the code initializes MPU, cache, and global variables etc.
  • I believe, that I start STC and after finish, it should invoke reset CPU0. But after that reset proccesor jump into position 0x10. I am not sure, if i can run this test, when I have connected debug probe XDS110?

    Including my init code - init code is in HL_sys_startup. If you can check it, it would be great.

    Thank you very much in advance.

    7380.cpu.rar

  • Hi Marek,

    The command files used by CCS and IAR workbench have different format. This file is used to define the memory regions and sections. The cmd file in IAR IDE is also used to define the stack sizes for all the using modes (user, fiq, riq, svc, etc). I executed the project in CCS without any problem.

    Please refer to the IAR projects under the library folder.