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.

LAUNCHXL-CC2640R2: On-chip OAD

Part Number: LAUNCHXL-CC2640R2


Hello All,

I am working on CC2640R2LP, SDKv-1.50.00.58, example "simple_peripheral_oad_onchip" without modify anything.

I followed following steps to perform on-chip OAD:

1) import "simple_peripheral_oad_onchip" in CCS iDE

2) Build the project in following order:

bim_oad_onchip_cc2640r2lp_app

persistent_app_cc2640r2lp

simple_peripheral_cc2640r2lp_oad_onchip_stack

simple_peripheral_cc2640r2lp_oad_onchip_app

3) Connect CC2640R2 launchpad to Flash programmer-2, Erase entire chip with "All unprotected pages"

4) Download "simple_peripheral_cc2640r2lp_oad_onchip_app_FlashROM_oad_merged.hex" file in launchpad

5) Open bleScanner/lighBlue app to scan but no advertising captured from CC2640R2 launchpad then

6) Disconnect first launchpad and connect second launchpad and download pre-built "host_test" binary on second launchpad and run BTOOL pc software and connect second launchpad successfully

7) Try to scan first launchpad advertising using btool application but still I didn't captured.

I read following document:

Please someone help me, I think I miss any steps or any configuration. I also tried with IARv-8.11 but same problem

Any help will be appreciated.

Please let me know if my description is not clear.

Thanks

Mahesh

  • Hi Mahesh,

    You have to load the bim before the application will execute. In step 4 all the images created in step 3 should be flashed (bim, persistent, app, and stack). The instructions say to flash the prebuilt image which has only the app and stack so that the image will have the correct CRC and image header to execute.

  • Thanks AJB for quick reply.

    Here, I have download the BIM first and then merged file.

    Below steps follow to download hex file:

    1) Erase All unprotected page

    2) Select single option in flash programmer and download BIM file

    3) Download merged oad file

    After following above three steps still I didn't see any advertising.

    Could you please send me the link where mentioned all steps to download files or send me the steps to download the file in comment.

    I think I am very close just again missing something. Please guide me.

  • Try loading the images as multiple instead of flashing it each time.

    Step 4 in the following link
    dev.ti.com/.../oad_onchip.html