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.
In my project, I need a bootloader which program the flash from SD card. I will write a bootloader using flash api to Sector A and the main program to Sector B-H
Is there any example code for this? How can I choose the sectors for bootloader part and main part.
Thank you.
Ahment,
could you take a look at the following example in controlSuite. This is a flash kernel that can be loaded to the device RAM using SCI BOOT loader running from ROM and the kernel then takes over the SCI and port and receives the application to be programmed to flash.
"C:\ti\controlSUITE\device_support\f2806x\v150\F2806x_examples_ccsv5\f28069_flash_kernel"
I believe the above example along with other flash examples will provide you with enough help.
#1 Your secondary boot loader is in Flash Sector A.
> how to program your secondary bootloader in flash sector A? you can use the above flash kernel example and get the secondary boot loader onto sector A over SCI. But I believe thats a secondary problem to solve. You might have to add code on how to read from SD Card, is it SPI based?
#2. Assuming you have finalized a way to get the secondary boot loader onto sector A. Now everytime device boots up you will use boot to flash entry point and branch to your secondary bootloader. This secondary bootloader will then have to figure out if it has to flash the application from SD card (SPI based???) or run the application that is already in flash.
Hope this helps you get started.
Best Regards
Santosh Athuru