CC2340R5: Can OAD be added to projects that do not use BLE stack?

Part Number: CC2340R5

Tool/software:

My project does not use BLE stack, but RCL command. I want to upgrade my product through SimpleLink APP. Can I add OAD function? Are there any related project routines for me to refer to.

Thanks.

  • Hi zbin,

    It is possible to use OAD with any radio project, as this application task is a manner of: receiving data packets sent over the air containing information for a new image, storing them in external or internal flash memory, and verifying/copying/booting into the new image on device reset.

    However today there is no OAD solution provided for the PropRF / RCL command layer.  You can of course use the BLE OAD application files as a reference for building your own solution.  Furthermore, you will need to use BLE5-Stack in order to communicate with the SimpleLink App as it currently exists.

    Regards,
    Ryan

  • Hi Ryan

    Thanks for your reply.My idea is to separate the OAD part from my engineering part, just like other ARM chips such as STM32, which can be divided into bootloader and APP parts. The app can enter the bootloader through certain conditions, and then erase the app area and write new firmware in the bootloader OAD belongs to the bootloader, and the radio configuration in the bootloader can be different from the configuration of the main execution part of the app. Therefore, using BLE stack in the bootloader should not affect my main part. Can OAD be made separately and combined with my project to become a complete firmware burning?
    If there were relevant routines for me, it would certainly be better. I would follow your suggestion to refer to the implementation method of OAD and use RCL/PropRF related commands to implement the upgrade function. However, this may require us to create a separate upper computer for the upgrade.

    Regards,

    zbin

  • What you are describing sounds like the persistent application used in BLE5-Stack on-chip OAD examples.  Here is a flash layout description and a BLE OAD SimpleLink Academy Lab so that you may become more familiar with this system.  The part I'm unsure about is the different radio configurations used between your main application and OAD application and how easy it will be to switch configurations during run-time, however it should be possible.  No portion of the OAD is pre-built or hidden in source files so you have full capability within the SimpleLink F3 SDK to modify the OAD to fit your needs, however what TI provides is limited to the out-of-box examples.

    Regards,
    Ryan