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.

CC1352P: OFF chip OAD for CC1352P sensor code

Part Number: CC1352P

Hello all,

Off chip OAD

2 codes 
1) BIM - which checks header is valid or not.

If valid then load image into internal flash and checked again CRC and signature. If all okay then restart and run user application.

If not valid then checks for the next valid header in external, but still fails then it wi revert back to factory image.. i think ( which saved into external flash before loading new image - as you said - I don't know)

2) user application - when new image is coming from out it's Jon to store in to the external flash and restart the code.

this is my understanding about OFF chip OAD.

So i have doubt that during the process of external Flash to Internal flash Data(Image) got corrupted or any CRC or validation error occur. then is my original image will be loaded back to internal flash?

is my original image will be safe?( I read like factory image)

i got confused about factory image concept so asked.

i studied 3 - 4 times TI 15.4 stack user guide but still have doubts.

Please anyone knows, let me know.

Thanks,

Anil D.

  • Hey Anil,

    The factory image is a “golden” image that resides in external flash as a fail-safe mechanism. In this case, your factory image should also be your original image.

    After the off-chip OAD process is complete, the BIM will go through several checks (as described here). If there is a CRC error while searching for a valid image in the internal flash (i.e. it is corrupted), the BIM will attempt to load the factory image stored in external flash.

  • Hello Ammar, 

    After Studying Application(sensor OAD Code) i understood this concept. Its like very first time code is not available at external Flash memory. so it will create a factory image in external flash.

    so even after OAD also, if we couldn't able to load a new image then it will check in internal Flash that image is available or not. If internal image got corrupted or not available then it will go back to external flash memory and get back the factory image(Original Code). 

    I got this idea by studying program not by Stack15.4 documents. In documents less words they explained about factory image.

    What you said is correct. Thank you very much.

    Anil Dhanawade.