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.

Btool error CC2540 mini development kit

Other Parts Discussed in Thread: CC2540

When I open Btool it appears the warning:

[1] : <Info> - 09:12:18.183

Port opened at 24/09/2014 09:12:18

------------------------------------------------------------------------------------------------------------------------

[2] : <Tx> - 09:12:18.479

-Type : 0x01 (Command)

-Opcode : 0xFE00 (GAP_DeviceInit)

-Data Length : 0x26 (38) byte(s)

ProfileRole : 0x08 ( Central )

MaxScanRsps : 0x05 (5)

IRK : 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00

CSRK : 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00

SignCounter : 0x00000001 (1)

Dump(Tx):

01 00 FE 26 08 05 00 00 00 00 00 00 00 00 00 00

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00 00 00 00 00 00 01 00 00 00

------------------------------------------------------------------------------------------------------------------------

[3] : <Warning> - 09:12:28.494

GAP Device Initialization Timeout.

Device May Not Function Properly.

Flash programmer works good and in the control pannel I can seen that there is the COM11 and that all the drivers are installed.

So,what is the problem? Please, help me.

Regards.

  • Hi,

    Please make sure that you use 115200 with no flow control (and no control bit). If that doesn't work, it may be that you are flashing the device with old firmware that requires lower bit rate.

    What is the name of the file you flash the device with and from which stack installer is it from? Also, what is the BTool version?

    Best Regards

    Joakim

  • Hi Joakim,

    I get precisely the same result. Please see the screen shot below. I have subsequently insured that I am running at a baud rate of 115200 without flow control (set to none). I presume that you mean no parity when you say no control bit. I have tried to set the stop bit to zero but my port (Windows side) won't permit this. So, the stop bit remains one. Any help would be appreciated.

    Patrick

  • HI Patrick,

    You need to configure BTool to use the COM port assigned to the CC2540 mini DK. You mentioned that you now have a COM11 but your screen shot shows BTool is attempting to configure COM1. To identify the COM port associated with the CC2540 mini DK, open Device Manager (under Control Panel) and expand the "Ports" tab. You should see the "TI CC2540 USB CDC Serial Port (COMXX)" listed. The COM port to use in BTool is the "COMXX". Other than the port number, your serial port settings from the screen shot are correct.

    Note that Windows will sometimes change the COM port number assigned to the CC2540 mini DK, so remember to check the Device Manager if you see BTool connection errors in the future.

    Best wishes.

  • Hello and thank you for your quick response. Evidently, the port is indeed the problem. Notice that the hardware is not starting on COM3. I've uninstalled the device and reinstalled it. This did not change the status. Do you have a suggestion as to how I can make the USB dongle work properly?

  • Hi Patrick,

    I'm not sure what's causing your driver error, but if you search this forum for "CDC error 10" you can see solutions that others have found to be successful. When dealing with USB driver problems, try doing the following:

    1. Use a USB 2.0 port. Others have reported issues using USB 3.0 ports.

    2. Uninstall the driver and use a utility like USBDview to clean previous driver installations/instances (remove the dongle before running). A reboot may be needed after running the tool.

    3. Make sure you are using the CC2540_USBdongle_HostTestRelease_All.hex & USB driver from the BLE 1.4.0 release. DriverVer=04/05/2013,1.2.0.0.

    Best wishes