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 V6, Debugging Problem on external CC2640 RHB 5X5

Other Parts Discussed in Thread: CC2640, SYSBIOS

CCS version 6, XDS100v3 debugger, SMARTRF06

We developed a BLE APP using the CC2650EM-7ID module and it runs fine on the SMARTRF06 evaluation board.  It runs and debugs without a problem.

Our design new is using the CC2640 5x5 IC.   The CCS project settings were changed to use the Board.c & h files based on the CC2650EM_5XD example.  The project builds with no errors, and it appears that the JTAG connects and loads the target.  But, the Debugger does not start at main() and the green run arrow and the pause button are both gray and not available.

Where should I start to find the cause of the Debugger not starting.  On occasion the debug would run but would show an error when paused:

"No source available for "ti_sysbios_hal_Hwi_HwiProxy_Object__delete__S__mangled__() at C:/Users\dphelan\workspace_v6_1\MVACBLEPeripheral\FlashROM\MVACBLEPeripheral.out:{3} 0x1001bbd8{4}"

Thanks,

Dan

  • Hello Dan,

    Is your 5x5 IC design using the TI CC2650EM 5x5 module or a 5x5 package on your custom board / layout? If it's custom, did you modify the Board.c/h files to match your board's DIO layout? Another possibility could be an electrical issue on your board, so I would make sure you have done integrity testing.

    Best wishes
  • JXS,

    Thanks for your input.

    1)   I used the reference board.c/.h files from the example applications for the CC2650EM_5XD model, and we are using the CC2640 5x5mm.

    Then defined the Pins to match our design.   In the project settings, I changed the defines and the includes to point to the new files.  

    When I switched back to the CC2650E 7ID  to run the EM module, the debugger ran, but now has trouble finding source files when paused. This

    leads me to believe that I broke the Project files somehow.

    2)  I am purchasing a CC2650EM-5XD module to use with my SmartRF06 Board to cross-verify.  

    3) Schematic Check:  Our design incorrectly has the JTAG-TD0 and TDI pins connected to the GPIO pins of the 7ID package.  It still

    seems to load the program, but maybe the two-wire JTAG is causing the trouble?

    Also, would it be possible to send files on a private email in case I need to send our design files for review?

    Thanks,

    Dan

  • Hi Dan,

    Can you post your schematic to the forum for review? I won't be able to debug your code, but there are a number of independent consultants that monitor the forums who can provide assistance.

    Best wishes