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-CC2650: No source available for "0x1001bbd6"

Part Number: LAUNCHXL-CC2650
Other Parts Discussed in Thread: CC2650, SYSBIOS, BLE-STACK, CC2640

Hello,

I downloaded and installed CCS v7.0 for using it with CC2650 Launch Pad rev 1.1, when I tried to debug the board using 'simple_peripheral_cc2650lp_app' it gets stuck at 0x1001bbd6 address. The error is displayed as:

No source available for "0x1001bbd6"

I'm unable to see BLE packets on the air, and is confirmed is getting stuck because assembly code is shown as:

1001bbd6:   2A00                cmp        r2, #0
1001bbd8:   D0FD                beq        #0x1001bbd6

You can see is looping in beq and cmp instructions forever.

Looking further into ROV window under 'Viewable modules', 'Hwi' and 'exception' tab I see the decode exception message as:

Hard Fault: FORCED: USAGE: UNDEFINSTR

$type = ti.sysbios.family.arm.m3.Hwi.ExcContext

along with CPU registers list.

I have this exact problem with other code project examples. I do not think is a hardware issue because flashing it with file: 'cc2650lp_simple_peripheral_rel.hex' is working OK.

Do you have an idea what's wrong?

This is what I have:

  • Code Composer Studio 7.0.0.00042
  • Compiler version TI v16.9.0 LTS
  • XDCtools version 3.32.1.22_core
  • TI-RTOS for C13xx and C26xx 2.20.1.08

Thanks and Regards,

Gabriel

  • Hello Gabriel,

    Although not explicitly stated in your OP, I'm assuming you are using BLE-Stack v2.2.1 and you have built and programmed the simple_peripheral App & Stack projects according to the SW Dev Guide (SWRU393).

    Since you are using a different TI Compiler than what is specified for BLE-Stack v2.2.1 (TI Compiler v5.2.6), can you check to confirm you do not have any task stack overflows? Otherwise, I suggest using the suggested TI Compiler - instructions to install are in the SW Dev Guide.

    Best wishes
  • Hello Gabriel,
    Have you downloaded both the stack and app?
    Which version of the ble-stack are you using?
    You are caught in the TI-RTOS exception handler due to a hard fault UNDEFINSTR. This means the CPU tried to execute an undefined instruction perhaps located somewhere in flash where the stack should reside, but instead has some old content not in sync with the app/stack boundary.

    Also please refer to the SWRU393_CC2640_BLE_Software_Developer's_Guide and more specifically sections:
    2.6.3.3.3 Compiling and Downloading
    3.10.2 Application and Stack Flash Boundary
  • Hi JXS, Eirik V,

    Your replies are greatly appreciated. Your answers leads to solve this issue.

    I forgotten to download the stack project, and also I had a stack overflow in 'gapRole_taskFxn' task, as 'stackPeak' and 'stackSize' have the same value and were highlighted in red. I increased GAPROLE_TASK_STACK_SIZE and now the example is running OK and I can see the BLE packets.

    Thank you guys!

    By the way, yes, I'm using BLE-Stack v2.2.1

    Best Regards,
    Gabriel