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.
I want to place an image on external flash with bootloader.bin, application.bin, and factory.bin. Is it possible to customize the TI provided default bootloader to choose between loading the application.bin or the factory.bin based upon a GPIO input setting at power-up on a cc3230SF? Or will we have to develop our own bootloader?
Hi,
No this is not possible. Bootlaoder is in ROM and cannot be changed. Approach with own bootlaoder at SF devices is hard to do as well. Only easy way for implementation own bootlaoder is to place bootloder into XIP flash (mcuflashimg.bin) and you code execute from RAM (256kB RAM). But this approach will have limitation for code size. For reference see my bootlaoder for energia code. For your own implementation can be useful this trick as well.
Recommended way is to use standard way as is designed by TI (see TI OTA example).
Jan
In the latest SDK, in the MQTT_CLIENT example's README, there is a description of the new OTA Interface module (OTA_IF) which includes a method for "internal-update". With this method you can replace the existing application with an app stored in the FS (basically you create an OTA TAR image and store it on the file-system as a file and the "internal update" will use it for local update).