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.
Tool/software: Code Composer Studio
Hi sir,
I asked similar question in another topic : https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/684746
But I did not know whether this topic has been closed or not, because I have not got response of the latest reply for about 2 days. So I have to create the new thread.
Please see my question below highlight in red.
Currently I have a question about cmd file modification.
Current status:
secondary_boot area : flash_H + flash_G (0x30 0000H to 0x30 FFFFH)
application area :flash_F + flash_D (0x31 0000H to 0x32 7FFFH)
1. When secondary_boot jump to application , does it only use asm (" LB 0x327FFE "); ?
2. Since application area = Flash_F to Flash_D, jump address is 0x327FFE, right ?
(i did test to jump to 0x310000H, the start address of application, but failed, it enter abort. of exit.c)
3. If 1. and 2. are right, how to change cmd file of application project ?
1) BEGIN address = 0x33FFF6, it should not be changed, right?
2) other area you can see above information in the cmd file content at the begging of this topic I showed.
.init / .pinit / .text : > FLASHF_D , PAGE = 0 // here should be the application flash area, and the begging of application should be the start of FlashF:0x310000H,
Today I did test both jump to 0x327FFEH and 0x310000H, both failed.
1) when jump to 0x310000H (this address has valid data,not 0xFFFF) , it enter abort() of exit.c.
2) When jump to 0x327FFEH (this address data : FFFF FFFF 1901 56C3 FFFF 0006) , it enter ILLEGAL_ISR(), not run application code never.
BTW, before jump to application in secondary_boot, i disable CPU interrupts and clear all CPU interrupt flags:
IER = 0x0000;
IFR = 0x0000;
So hope your response ASAP. Any detail information, please see topic : e2e.ti.com/.../684746
Thanks.
Best Regards,
Vincent
Vincent,
Lets continue the discussion in original thread and close this one for continuity.
Duplicate thread. Closing this thread.
Regards,
Manoj