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.

TMS320F28386D: How to jump from bootloader to Application in CPU1

Part Number: TMS320F28386D

Hi,

I want to implement the bootloader and application concept in CPU1. Below is the flash layout.

1) bootloader : BEGIN => flash 0(0x80000), code => flash 4

2) application : BEGIN => flash 13(0xBE000), code => flash 6

I flashed the application image into CPU1 first, then debug the bootloader flash image. In the bootloader code, I want to jump to Application with below command.

 __asm(" LCR #0xBE000");

But, I always got illegal instruction trap when I want to step over this instruction in CCS.

In the map file of application image, I have below item: 

0009b424    00000008     f2838x_codestartbranch.obj (.text)

I also checked the data in address 0xBE000, it's 0x0049b424, seems correct. 

What's wrong with my implementation? Do you have any suggestions?