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.

CC1350: CC1350: device does not start from new image after onchip OAD

Part Number: CC1350

thank you for reading my question

i was testing the functionality of the onchip OAD with cc1350, and in the first OAD update, the client board ran the updated firmware normally. However, when I tried to update the OAD a second time, the update was successful, but it continued to operate with the firmware before the update.

initial firmware (BIM + image_A) -- OK
1st OAD firmware (image_B) -- OK
2nd OAD firmware (image_A) -- Not working

the example I referenced is

client :
rfWsnNodeIntFlashOadClient
https://dev.ti.com/tirex/explore/node?node=A__ALzhbweLnYcMIl.Cm8ecFg__com.ti.SIMPLELINK_CC13X0_SDK__eCfARaV__LATEST

server:
rfWsnConcentratorOadServer
https://dev.ti.com/tirex/explore/node?node=A__AJnI96Hj4b14j00F2yaIlw__com.ti.SIMPLELINK_CC13X0_SDK__eCfARaV__LATEST

i would like to successfully update OAD multiple times on Onchip.

+additional question

sorry for asking two questions at once.

after testing, a reboot (power off) was required for the updated firmware to work.
i'm curious how to make it work right away without rebooting after the update.

thank you

  • Hi Sangim,

    1. In your scenario, the device boots into a new image only if the version number of the image is more than the currently running image.

    So if you are updating to Image A again, this should not be booted into. Please Generate an image with version number 3. This should work.

    2. A reboot of the updated device is necessary, this allows the device to execute the bootloader again and make the decision regarding which image to boot into. 

    Regards,

    Sid

  • thanks for your reply Sid,

    as you mentioned, On_Chip OTA can be updated regardless of version by modifying some code of bim_intflash.

    however, i could not find a way to automatically run firmware updated via OTA.

    the board i am developing for practice will be installed in a high place out of reach, and i hope that when updated via OTA, it will run automatically without turning off the power or resetting.

    currently, i am working on improving the method by modifying ccfg.

  • Hi Sangim,

    When I mention a reset, there is a software reset initiated automatically when the OTA is complete.  I believe you would not need a physical reset. 

    But I do see this line in the readme.

    So, maybe you can implement a logic to perform SW reset again on a command from server.  

    If you know the device is resetting and the new image is not running, maybe it is the logic that you changed in the code that is not doing the trick. Please try with the default application with increased version numbers to implement OAD multiple times. 

    Regards,

    Sid