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.

SIMPLELINK-CC2640R2-SDK: 3.20: Off Chip OAD example does not advertise after flash BIM HEX, STACK HEX, and APP HEX.

Part Number: SIMPLELINK-CC2640R2-SDK
Other Parts Discussed in Thread: UNIFLASH

Hi,

Why does the Off Chip OAD example does not advertise after flash BIM HEX, STACK HEX, and APP HEX? After this I have to flash the app bin file in order for it to advertise. Also where in your documentation is the procedure to try out the OAD example programs. I would need to go back to earlier SDK version in order to refresh my memory how to do it.

-kel

  • Hi Markel,

    Assigning an expert to comment.

  • Hi Markel,

    The hex files does not contain the CRC in the OAD image header. When you flash all the hex files, then wake up the device, the first thing BIM does is check the CRC of the app image... More information here:

     

    The step by step guide for performing an OAD is here: (Start with Setting up the BLE OAD Environment, then 

    Performing a BLE OAD)

  • Hi,

    From the document guide "Setting up BLE OAD Environment", mention this below.

    5. Build and flash the stack project

    6. Build and flash the app project

        -  Uniflash must be used to flash the _oad.bin image that is produced by the oad_image_tool or the device will not boot after a reset . . . 

    7. Build the flash the BIM project (sentence error)

    After doing steps 5 - 7 nothing happens. It does not advertise and no output at Tera Term.

    Decoding it all the procedure is:

    1. Using SmartRF Flash Programmer 2, select BIM HEX, STACK HEX, APP HEX, and flash the hex files.

    2. Using SmartRF Flash Programmer 2 deselect BIM HEX, STACK HEX, APP HEX,

    3. Using SmartRF Flash Programmer 2 select APP OAD BIN, and flash the bin file.

    After this the device advertises and there is output at Tera Term

    Last question how to do OAD merged bin file. Do I just copy post build steps from SDK 3.10 off-chip oad example program?

    -kel

  • Hi Markel,

    You don't need to flash the stack and app hex files if you are flashing the bin file. 

    You can run the oad image tool directly to create a merged image.