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 Code10 error

Other Parts Discussed in Thread: CC2540

Hi.

I followed instruction but there is code10 error, so device cannot start.

In device manager, there is an exclamation mark with yellow circle.

CC debugger's LED is green. And I also can use SmartRF flash programmer.

What should I do??

  • Hi,

    First of all it would be great if you could supply some more information in your post, e.g. include the description of IAR's code10 (as most of us don't know them by heart).

    It sounds to me like USB driver for your CC debugger isn't correctly installed, so you should focus on that issue first. In the Device Manager, have you tried right clicking the CC Debugger and select "Update driver"?

    If this does not solve your problem, please refer to the CCxxxx Development Tools USB Driver Installation Guide (swra366) for more info.

    Br,
    ABO 

    --
    PS. Thank you for clicking  Verify Answer  if this answered your question!

  • Hi,

    I also have a similar error to this, but not answered by your response above nor the documentation.

    I am attempting to get BTool to talk to my CC2540 USB dongle (from the BLE Mini Dev kit), upon which I have installed the HostTestRelease firmware. Btool fails because the Windows driver installation fails, and so no com port is created. The odd thing is that it all works on an old desktop running windows7 32 bit pro, but not on my ASUS ultrabook running windows 7 64 bit home premium.

    On the 64bit windows 7 machine, when i plug in the USB dongle, windows reports "Hardware Id Missing. Windows cannot identify the device plugged into the intel USB 3.0 Root Hub...contact the manufacturer".

    So I have read extensively, and eventually used hdwwiz to install the driver usb_cdc_driver_cc2540.inf. This installs successfully, but reports: "The device cannot start. (Code 10)"

    Any suggestions? The Code 10 is not an IAR code, but rather one from Windows or your device driver I suspect.

    Thanks for any help,

    DR

  • Hi Richard,

    I ran into the same problem with any USB 3.0 ports.  My solution was to port the USB driver from TI Ble 1.2.1 Stack to TI Ble 1.3 stack (1.3 stack had a USB driver change).  You could also just use the HostTestRelease from 1.2.1 stack. This alleviates the problem, but I still see the occasional blue screen of death while using the dongle with heavy traffic.

    -Tyler

  • Hi Tyler,

    Many thanks. I'll try those approaches out when I get a chance.

    Richard

  • Hi,

    Just wanted to let you know I had the same problem with Windows 7 64-bit on USB3.0 with the dongle. After plugging it in a USB2.0 it worked.

    I could install the driver 'manually' by letting windows search in the Texas Instruments installation folder for the right driver.

    Regards,

    Ruud