Part Number: AM2634
Other Parts Discussed in Thread: UNIFLASH
Tool/software:
I have the UART-based bootloader fully working (booting into UART-boot-mode, and loading my application to external flash), but I need the CAN-based bootloader for field upgrades. When I execute the SBL CAN uniflash example:
1. In UART-boot-mode, load the sbl_can_uniflash.release.tiimage into flash
2. Switch to QSPI-boot-mode, and load the application into flash
This succeeds, and the application runs, but a power-cycle puts the target back into CAN-boot-mode. I need the target to boot to the application here.
I saw this sentence in one of your cfg files, "When sending bootloader make sur to flash at offset 0x0. ROM expects bootloader at offset 0x0". Does this mean that the QSPI-ROM-bootloader will first look at flash address 0 to load it first, and if there is nothing there, the QSPI-ROM-bootloader looks at address 0x80000 for the application to load? If so, how do I boot to the application after a power-cycle?
Do you recommend that I:
1. Combine the sbl_can_uniflash.release.tiimage and my application into one image? If so, is it still required that the application start at 0x80000, or if it one image, the entire thing can start at 0x0?
2. Keep the sbl_can_uniflash.release.tiimage and my application separate, and modify sbl_can_uniflash.release.tiimage to jump to 0x80000 if it thinks there is a valid image loaded?
Thanks,
Jim
