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.

CCS/LAUNCHXL-CC26X2R1: Queries reagarding on chip OAD

Part Number: LAUNCHXL-CC26X2R1


Tool/software: Code Composer Studio

Hi,

I am working on LAUNCHXL-CC26X2R1 and using bellow IDE and SDK.

- CCS 9.2.0

- simplelink_cc26x2_sdk_2_30_00_34

I have below queries regarding on-chip OAD, I know currently this SDK does not support on-chip OAD, I will be using the latest SDK later.

1) Can I use TI simple link starter mobile app for the On-chip OAD process a customized project (currently I am using project zero as a base project)?

2) if I can use a TI app, so how can I prevent my device to not be loaded by the Ti (project zero factory reset)?

- I found that I can change the image header OAD_IMG_ID_VAL value (which is currently loaded by Device Family ) with my customized name, is it the correct way to do?

3) I tried changing OAD_IMG_ID_VAL  value in project zero as below,

Before

  #define OAD_IMG_ID_VAL                    {'C', 'C', '2', '6', 'x', '2', 'R', '1'}

After 

  #define OAD_IMG_ID_VAL                    {'C', 'U', 'S', 'T', 'O', 'M', '0', '1'}  /* Any customized name */

and tried to load factory reset project zero image which must have its original  OAD_IMG_ID_VAL   {'C', 'C', '2', '6', 'x', '2', 'R', '1'} So it rejected to load factory image.

but once after i rebooted baord and tried again it did not reject the image and loaded successfully.

i already laoded bim project first and then app and stack, but everytime after board reboot it loads project zero only.

My main concern is I don't want any other image(image from an untrusted source) to be loaded by mobile app, it should only allow the image which is having a valid image header.

4) I did not find a tutorial to add on-chip OAD project with an existing project.

Please let me know if you need any further information from my side.

5) Is there any Power consumption difference if I use BLE In the below modes?

- BROADCASTER - A device that only sends advertising events

- Peripheral - A device that accepts the establishment of an LE physical link using the connection establishment procedure

Thanks

  • I have assigned an expert to comment.

  • Hi Rakesh,

    simplelink_cc26x2_sdk_2_30_00_34 supports LAUNCHXL-CC26X2R1 with the Rev B CC26x2R chip. Please note this chip is not intended for production and its not supported by the SimpleLink Starter app.

    Please move to the Rev. E CC26x2R chip and a newer SDK (simplelink_cc13x2_26x2_sdk_2_40_00_81 or newer). 

    1) You can't use Project Zero as a base of an on-chip OAD since Project Zero supports off-chip OAD. (You have to choose on-chip or off-chip BIM.)

    The simpleLink starter app can be used for on-chip OAD if you have a Rev. E CC26x2R chip and an on-chip OAD example programmed.

    2) I don't understand this question. Please try with a Rev. E CC26x2R chip and an on-chip OAD example programmed.

    3) This is not meant to be changed. Please see:

     

    4) We don't have a tutrial. My advice would be to compare your project to a project with on-chip oad.

    5) No, the power consumption will be the same (but different if you use them for different things.)

  • Hi Marie,

    Thanks for the response it has cleared some of my doubts and I will be using the Rev. E CC26x2R chip and a newer SDK (simplelink_cc13x2_26x2_sdk_2_40_00_81 or newer). 

    but I still have some below queries.

    1)  Can I use TI simple link starter mobile app for my custom project and custom board, I don't want to use any other mobile app for OAD with my project.

    - If I can use TI simple link starter mobile app for OAD, I have below question

    Here We have two options

    1) select factory firmware -> It will load TI project zero or simple peripheral 

    2) select custom firmware -> I can load my project

    So, Infield if someone selects option a then my device may be loaded with TIs factory FW, which should not be done.

    so how can I avoid this situation?

    3) For power consumption in broadcast mode, the Rx of chip will be off/not-active Right?

    and in peripheral mode, Rx and Tx both will be active so I guess power consumption should be more in peripheral mode.

    4) My understanding is if I keep Rx and Tx in ON in any of the modes it should consume more power instead of Rx/Tx alone.

    Thanks

  • Hi Rakesh,

    1) Yes, as long as you don't change the BIM project or the OAD service implementation you can use the SimpleLink starter app. (For a custom board you would have to use it with custom images.)

    2) You will have to implement the SECURITY feature and add your custom signature. This way, TI images that do not have your signature can not be loaded onto the device.

     

    3) Yes, in broadcaster mode (advertising with non-scannable and non-connactable advertisements) the Rx will be shut off.

    4) Yes, if you use scannable or connectable advertisements (i.e. peripheral mode) the device listens for a packet after each transmission, so power consumption will be roughly doubled for the radio. (Not quite since normally Rx takes less power than Tx.)

  • Hi Marie,

    Thanks for the quick response it cleared my doubts.