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/CC2640R2F: CCS debugger doesnt connect for live debug using simple_peripheral_oad_onchip

Part Number: CC2640R2F
Other Parts Discussed in Thread: BLE-STACK

Tool/software: Code Composer Studio

Hi,

I can successfully step-through debug normal applications using the CC2640R2F launchpad board, but when I am trying to debug the simple_peripheral_oad_onchip application example, I get the attached error. I assume this is because the application needs to be loaded in at the offset of 0x7000, and the default debug options don't launch/load it correctly. Does anyone know how to fix this issue, or can OAD applications not be debugged? Thanks

  • Hi KBurchMS,

    Which TI BLE-Stack are you using? Did you make any changes to the project settings?
  • Hi Rachel,

    I'm using BLE SDK v1.35.00.33. Yeah, I had to fix the two issues with the oad_target app compilation (changed .text to use two > instead of one, changed #define for FLASH_IMG_A_START to be FLASH_START+FLASH_OAD_IMG_HDR_SIZE), but other than that its unchanged.

    I should also note that I can do OAD updates using Flash Programmer 2 to load in the images....but I was hoping to use the debugger for the application development.


    Thanks