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.

UARTEcho on CC2650 5X5

Other Parts Discussed in Thread: CC2650, CC2640

Hello!

I'm trying to implement UartEcho example on our custom PCB boards that has 5X5 CC2650. But was unable to do so. Here are the list of modifications I've done  to the sample project.

1. Included "ti/drivers/pin/PINcc26XX.h" and "ti/drivers/uart/UARTCC26XX.h" in uartecho_cc26XX.c 

2. Defined CC2650EM_5XD in Properties -> Build -> ARM Compiler -> Advanced Options -> Predefined Symbols

3. In Board.h, I commented #define CC2650EM_7ID and defined CC2650EM_5XD. But I'm getting this error: 

Cortex_M3_0: Can't Run Target CPU: (Error -2134 @ 0x0) Unable to control device execution state. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 6.0.14.0)

Kindly help me solve this problem.

Thanks

Teja

  • Hi Teja,

    I pinged the CC2650 team about your question.

    Todd
  • Thanks, Todd. :)
  • Try reviewing this post of mine from a few weeks ago. It's a tutorial on how to launch UartEcho on a custom board of CC2650 or CC2640.
    e2e.ti.com/.../448029

    I hope it helps...

    Eyal
  • Eyal, Thank you. I'll try that and get back to you.

    Teja
  • Eyal,

    Thank you for providing the link to your work. But unfortunately, it didn't solve my problem.

    Our PCB has CC2650-5XD. I'm unable to upload the correct Board.c and Board.h files. When I select the correct version, (5XD), I' getting this error:


    Cortex_M3_0: Can't Run Target CPU: (Error -2134 @ 0x0) Unable to control device execution state. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 6.0.14.0)
    Cortex_M3_0: JTAG Communication Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 6.0.14.0)


    But when I tried uploading 7ID and 4XS, program is unable to initialize pins. It throws this error:


    Can't find a source file at "/db/vtree/library/trees/zumaprod/zumaprod-g06/tirtos_simplelink_2_13_00_06/packages/ti/drivers/pin/PINCC26XX.c"
    Locate the file or edit the source lookup path to include its location.

    I'm not using any external debugger. But I'm using Smart SRF06EB+CC2650. Can you help e solve this problem?

    Thanks
    Teja
  • Raghava,

    I went ahead and moved this thread over to the LPRF Tools forum in hopes that it will get a further response there.
  • Hi,

    Do you use SmartRF06EB and connect to your custom CC2650 board?

    Did you try if you are able to connect successfully with other tools, for example SmarRF Flash Programmer 2 or SmartRf Studio?

    This might give some information on whether the JTAG connection is correct.

    Regards.

    Bjørn

  • Hi, Teja,

    Have you solve the problem? 

    Now, I have meet with a similar case, I try to use CCS to debug my custom board(cc2650 7x7) with SmartRF06, and report this error:

    Cortex_M3_0: GEL Output: Memory Map Initialization Complete.

    Cortex_M3_0: GEL Output: Board Reset Complete.

    Cortex_M3_0: Can't Run Target CPU: (Error -2134 @ 0x0) Unable to control device execution state. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 6.0.222.0)

    Cortex_M3_0: JTAG Communication Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 6.0.222.0)

    I can program the custom board and read back MAC/BLE address with Flash Program 2, and measured the VDDR/VDDS voltage, all the value is as expected.

    Also, I  try to download the uartechoXX.out files to with flash program2, the programming is ok, but I did not see any output information with DIO2/DIO3(uart pin). 

    I suspect if it is possible to fail with following reasons:

    1> reset signal 

    2> 24M oscillator does not working

    Could any one help to give me some more debugging suggestions? 

    Thank,

    Hujie