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.

Compiler/CC2640R2F: Library off-chip OAD

Part Number: CC2640R2F


Tool/software: TI C/C++ Compiler

Hi TI experts,

I added the Library Off-chip OAD to Project Zero for CC2640R2 Launchpad by following the link below, 

http://software-dl.ti.com/lprf/simplelink_cc2640r2_sdk/1.35.00.33/exports/docs/blestack/ble_sw_dev_guide/html/oad/oad.html#add-off-chip-oad-to-an-existing-project

I can load the file to Launchpad and seems working properly. However, by following the link below I can't create the Library Off-chip OAD binary file, 

http://software-dl.ti.com/lprf/simplelink_cc2640r2_sdk/1.35.00.33/exports/docs/blestack/ble_sw_dev_guide/html/oad/oad.html#sec-generating-oad-linker-file

And the on-line document looks do not match the linker files found in simplelink_cc2640r2_sdk_1_35_00_33.

Can anybody provide  an example linker file like cc26xx_app_oad.cmd but for generate Library off-chip oad binary file, or let me know what I was doing wrong?

Thanks in advance,

  • Hi David,

    Project Zero varies slightly from the standard examples that ship with our SDK. If you follow the steps with Simple Peripheral, are you able to create your binary file?
  • Hi RacheIP,
    Thanks a lot for your quick reply.

    I tried Simple Peripheral. If I add the "OAD_IMG_E=1" to –cfgArgs, then I can use the cc26xx_app_oad.cmd to build the hex and OAD bin file, and I can also successfully download the OAD bin file to Launchpad, however after a reboot it failed to load the new Image and still running with the old image.

    I tried the post build script below to generate the oad bin file, but neither one works.

    "$TOOLS_BLE$\oad\oad_image_tool.exe" "$PROJ_DIR$\FlashROM_StackLibrary_OAD_Offchip\Exe\hid_adv_remote_cc2640r2rc_app.hex" -t offchip -i app --imgVer 0 -ob "$PROJ_DIR$\FlashROM_StackLibrary_OAD_Offchip\Exe\hid_adv_remote_cc2640r2rc_app.bin" -m 0x0000 -r :0xF000

    "$TOOLS_BLE$\oad\oad_image_tool.exe" "$PROJ_DIR$\FlashROM_OAD_Offchip\Exe\simple_peripheral_cc2640r2lp_app.hex" "$PROJ_DIR$\..\stack\FlashROM\Exe\simple_peripheral_cc2640r2lp_stack.hex" -t offchip -i app --imgVer 0 -ob "$PROJ_DIR$\FlashROM_OAD_Offchip\Exe\simple_peripheral_cc2640r2lp_app_oad.bin" -m 0x0000 -r :0x1e000

    Is there an example for using "Library off-chip OAD" for either Project Zero or Simple Peripheral?

    Thank you,
  • Hi,

    There are example programs for Off-Chip OAD at SDK 1.35. I tried it and it works. Just follow the instructions in the document.

    - kel