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.

CC2340R5: Is it possible to implement OAD and serial bootloader together

Part Number: CC2340R5
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hii,

I am using CC2340R5 SDK 8.10. I want to implement OAD on chip and serial bootloader together and my application code.

I have done the sysconfig settings for serial Bootloader. which is working in other examples. but I am not able to work in this context

Is it possible to do OAD on chip and Serial bootloader Together?

    

  • Hi Akash, 

    Thanks for reaching out. 

    Can you share what you've done in your project when you are using both OAD and serial bootloader? 

    Regards

  • Hi Ivan,

    I have taken the basic BLE OAD on chip example from resource explorer, added a profile for UART and did this sysconfig settings for serial bootloader

    I am keeping the DIO18 pin high before starting the micro So it will stick in serial boot mode, but it's jump to application code.

     the same thing I have done with data stream and it's working totally fine 

  • Hi Akash, 

    Did you get the chance to read the READme file for the basic_ble OAD on chip project? There are a couple steps you need to apply when flashing an OAD project. There are also some information our BLE user's guide.

    Regards,

    Ivan

  • Hi Ivan,

    thank you for your response

    but I already read them. I want to know is it possible to implement serial bootloader and OAD on chip in a single microcontroller

  • Hi Akash, 

    Yes its possible and supported. Using the BLE OAD project and you would need to add the logic for the serial bootloader. Unfortunately we do not currently have an example for this. 

    Regards, 

    Ivan 

  • Thank you Ivan,

    can you please guide me to how can I add that logic

  • Hi Akash, 

    If you are using custom SBL, you would need to:

    1. have that bootloader loaded into flash
    2. specify in CCFG: that custom bootloader should be used; the vector table of the bootloader (usually start address of its placement in flash)

    For the device itself has a ROM serial bootloader (SPI or UART), so as long as this is enabled within the CCFG. The command ROM SBL supports are detailed in Technical Reference Manual (chapter 8).

    Hope this helps. 

    Regards

    Ivan

  • Hi Ivan 

    May you please explain how to use TI provided SBL and TI provided OAD . User can select either SBL or OAD firmware update but hex file should be same for both features. please share CCFG setting and method in stepwise procedure .It will help a lot to all BLE developers.

  • Hi,

    The OAD should be covered within the SDK docs and also within the example README.

    The SBL is covered in the Technical Reference Manual link above.

    These two may be considered separate topics. Both are separate ways to do FW update.

    Regards

    Ivan

  • Can We implement these two features (serial bootloader and OAD) together in a single micro having OAD on chip example and then can we perform the one FW update method at a time .