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.

OFF chip OAD merge problem

Other Parts Discussed in Thread: CC2650, CC2640, BLE-STACK

Hi TI Experts,

I am doing OFF chip OAD in my project(using cc2650).I have added OAD profile to my code.

following is my application and stack size (IAR)

application:

40 763 bytes of readonly  code memory
   3 618 bytes of readonly  data memory
  15 768 bytes of readwrite data memory (+ 64 absolute)

stack:

 55 283 bytes of readonly  code memory
   8 703 bytes of readonly  data memory

I generate the super hex file as follow:

python "C:\Python27\Scripts\hexmerge.py" -o "$PROJ_DIR$\FlashROM\Exe\OAD_FULL_IMAGE.hex" -r  "0000:1FFFF" --overlap=error "$PROJ_DIR$\FlashROM\Exe\SimpleBLEPeripheralAppFlashROM.hex":1000:1EFFF "$PROJ_DIR$\..\..\Stack\CC2640\FlashROM\Exe\SimpleBLEPeripheralStackFlashROM.hex":1000:1EFFF "C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\util\BIM_extflash\CC26xx\IAR\FlashOnly\Exe\BIM_ext.hex":0000:1FFFF

but this file is not running.I am using oad linker file for the above.

When i use simple app linker file and program application and stack then it is working fine.

So i have following doubt:

1.How to set the boundary in above merging process(i.e IMAGE A for off chip OAD).

2.What should be the size of application plus stack to work successfully.

3.Can i program stack,app and BIM separately.

please help me.What wrong i am doing.

  • Hello kaset,

    Assuming you have built your App, Stack & BIM images according to the OAD User's Guide, you should be able to remove the ":1000:1EFFF" after the App & Stack images. This setting is likely causing your issues.

    You can program the images separately, just use SmartRF Flash Programmer 2 v1.7.3+.

    Note that there is an updated OAD Guide in BLE-Stack v2.2 with and updated merge.bat script as well.

    Best wishes