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.

Programming cc2650 on custom PCB from CCS 6.2

Other Parts Discussed in Thread: CC2650

Hello,

I am attempting to program a cc2650 MCU on a custom PCB from CCS 6.2. I am custom strapping the SmartRF06 evaluation board to a custom PCB and I have followed the instructions given in the SmartRF06 user guide. I have verified my code and run it on the cc2650 EM using the SmartRF06 evaluation board so I know the code is functional.

When I attempt to program the custom PCB, I get the following message:

IcePick_C: Error connecting to the target: (Error -275 @ 0x0)
The attempt to poll a target device exceeded its timeout limit.
The utility or debugger has requested that a target device be repeatedly accessed for a specific data or status value. 
This has failed because the built-in limit for the maximum number of attempts when polling the JTAG scan-path has been exceeded. 


The Debugging JTAG Connectivity Problems page on the TI wiki (http://processors.wiki.ti.com/index.php/Debugging_JTAG_Connectivity_Problems

Lost control of device execution state


This error means the device is free running and the JTAG debugger lost control of its core and status. Both a disconnect and power cycle will be required, but there is a possibility the running firmware on the device may be preventing the JTAG debugger from properly connecting (if the device has flash memory). In these cases, consult the documentation of your device to find out how to unlock it.


Error: (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).




We believe our hardware is connected correctly, as we followed the specifications in the cc2650 data sheet. The MCU on our board is brand new and has never been programmed.
It seems like our issue may be that our flash memory is locked as implied by the "lost control of device execution state" error description.

If this is the case, how can I unlock the flash memory? Also, if this is not the case how can I figure out what my issue is?

Thanks in advance for any help.

  • Hi,

    Are you still having this error? Also, were you ever able to program this board?

    If not, it is possible the custom PCB has a faulty hardware of some sorts - I would double-check the board power supply and the voltages across the device's Vcc pins, as well as the lengths and integrity of the JTAG pins.

    If so, then I would certainly investigate the JTAG interconnections between the SmartRF06 and the target board. Keep in mind the wire length and twisting can cause added delays, reflections and crosstalk, which degrades the JTAG communications integrity.

    Hope this helps,
    Rafael
  • I am still having the error. I don't think it is a hardware issue. I unsoldered a cc2650 from the EM that comes with the smartRF06 evaluation board and soldered it on my PCB and I was able to program it just fine. I have also tried multiple cc2650s that I ordered from TI so I don't think it was a soldering error. I am pretty lost at this point. Is it possible to lock/unlock the flash memory?

  • Hi,

    Please apologize for the delay. If you are still having this issue, it seems to be you should do a Flash mass erase. Please check the thread below that has a long discussion about this process.

    e2e.ti.com/.../1837660

    Hope this helps,
    Rafael