Hello,
I assume that i placed my code in C2000 FLASH AB sector, and copy it to CD sector by writing bootloader, How can I start directly from the CD sector when AB has problems? and can it be done?
Thanks
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.
Hello,
I assume that i placed my code in C2000 FLASH AB sector, and copy it to CD sector by writing bootloader, How can I start directly from the CD sector when AB has problems? and can it be done?
Thanks
As shown in Table 6-22. Addresses of Flash Sectors in F28335, F28333, F28235 in page 162 of SPRS439N, the Boot-to-Flash Entry Point is fixed to 0x33 FFF6 - 0x33 FFF7 in sector A. This cannot be changed. When boot-to-flash option is chosen, this is the address the boot-ROM code would jump to.
I developed a bootloader program, In the program, I can determine whether the user program(use flash secotr A and B) is normal or not ,And backup user programs(use flash secotr D and E) to prevent program escalation failures.
When the program upgrade fails I know a way to copy flash secotr D and E to the flash secotr A and B District a district reduction program ,But i don't want to use
I want to know if there is a way to change the offset address of the program's contents when the backup program is implemented, and the program starts directly from the backup programs(use flash secotr D and E) ?
I don’t understand what you mean by "secotr A and B District a district reduction program". As explained in the previous post, boot-to-flash entry point is fixed in the boot-ROM and cannot be changed.