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.

CC2540: Cannot connect CC Debugger to CC2540 dongle

Part Number: CC2540
Other Parts Discussed in Thread: CC2650

I am trying to debug using the CC debugger and CC 2540 USB Dongle.  I get the following error when I try to connect.  I do not see and XDS110 in the Ports under Device Manager.  I do see CC Debugger and CC2540 USB Dongle under Cebal controlled devices.

Error connecting to the target:
(Error -260 @ 0x0)
An attempt to connect to the XDS110 failed.
The cause may be one or more of: no XDS110 is connected, invalid
firmware update, invalid XDS110 serial number, or faulty USB
cable. The firmware and serial number may be updated using the
xdsdfu utility found in the .../ccs_base/common/uscif/xds110
directory of your installation. View the ReadMe.txt file there
for instructions.
(Emulation package 6.0.628.1)

  • Hi Duane,

    You do not say anything about what SW/IDE you are using, but the XDS110 and the CCDebugger are two different things. I am guessing you are running a CC26xx example project in CCS, that will not work for CC2540. You need to download to appropriate BLE Stack version (1.4.2) and use IAR.

    Cheers,
    Fredrik
  • I am using CCS Studio 7 (Code Composer Studio Version: 7.1.0.00016).  I have attached a screen shot of the options it gives for debugging.  There are only XDS110 type options. I have attached a screen shot that shows the options.  

  • Hi Duane,

    As I wrote, CC2540 is only supported in IAR, not CCS. You must also download the appropriate SDK, the current project you are using is for the CC26xx devices.

    Cheers,
    Fredrik
  • Ok, then another route. Can I load the Sensor Tag code on the SmartRF06 board?
  • The reason for the query is the target is CC2650. The application we are doing is very simple, it reads a button press and sends a 1 byte message to a BT app on a PC. The Sensor Tag app appears to be a good basis to start from for this type of app.
  • If you use CC2650 SensorTag, you can download code using SmartRF06.