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.

TDA4VM: mcu xip crash

I tested norflash XIP based on the demo:can_profile_xip_app of sdk:psdk_rtos_auto_j7_06_02_00_21.

when i run my own app firmware , the core crashed abnormally at the init stage.

I think the reason of this problem is that the instruction data fetched from the OSPI bus is incorrect.

Look one example shown in the below pictures:

The insrtuction at address:0x50171174 is: LDR sp, [PC, #-0x7C], this instruction is used to setup the stack-pointer of abort mode(R13_ABT).If this instruction is executed correctly,  R13_ABT should be 0x41c6bc6c(value of address:0x50171100).however, its value is 0xE3CDD007(value of address:0x501711bc).

it is obvious that the instruction :0x50171174 LDR sp, [PC, #-0x7C] is executed abnormally.

when i setup a hardware breakout at this instrcution 0x50171174 , it can be right and the value of  R13_ABT is correct.

This problem is tough to me