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/LAUNCHXL-CC1310: Problem in debugging the board

Part Number: LAUNCHXL-CC1310
Other Parts Discussed in Thread: CC1310

Tool/software: Code Composer Studio

I am trying to debug a program rfeasylinkListenBeforeTalk with some modifications on the CC1310 launchpad. But, the ti driver for pin PINCC26XX.c is not able to allocate proper pins for the board using pin_open function. When I am trying to add a new variable "a" in the PINCC26XX.c code (just for the sake of debugging ), the newly added variable "a " is not shown in the variables section of the debugger. Also, the step by step debugging of the PINCC26XX.c file does not seem to execute the same line as shown in the debugger. Can anyone please help me and let me know what mistake am i making. Is there a problem with the flash of the board. I tried to perform a forced mass erase of the board using Flash Programmer 2 tool, but there wasn't any change. Any help in this regard would be deeply appreciated. Thank you.

Priti Upadhyay

  • The variable "a" may have been removed by optimization. But since you have modified the PINCC26XX.c file, have you included this directly in the project? If not, the precompiled version of the file will be used. 

    Could you provide more information on what you see here: "But, the ti driver for pin PINCC26XX.c is not able to allocate proper pins for the board using pin_open function."? 

    - What is the actual issue you are seeing and please post the code related to the pins you are trying to use. 

  • Thank you for your reply. I was not able to allocate pin handle for DIO_11 pin for GPIO. But, it seems the problem was that it was already assigned for SPI0_CS operation. Now, I am able to get that working. Also, as you suggested, when I am including the PINCC26XX.c file in the project, I am able to debug it properly. Thanks a lot for the help.