Other Parts Discussed in Thread: CC2540
Hi All,
I am facing some problem on working Blue-tooth on CC2540.
I want to use CC2540 USB Dongle in to Linux system and want to control by hcitool.
Now for that i used TI CC2540 Stack i downloaded CC2540_USBDongle_HostTestRelease_All.Hex firmware in to CC2540 Dongle.
So when i connected it with linux system ttyACM0 is coming for new device ,
vijay@vijay:~$ dmesg
[17003.252570] usb 2-1.2: new full-speed USB device number 12 using ehci-pci
[17003.351771] usb 2-1.2: New USB device found, idVendor=0451, idProduct=16aa
[17003.351789] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[17003.351799] usb 2-1.2: Product: TI CC2540 USB CDC
[17003.351807] usb 2-1.2: Manufacturer: Texas Instruments
[17003.351814] usb 2-1.2: SerialNumber: 53556468423006110632
[17003.352859] cdc_acm 2-1.2:1.0: This device cannot do calls on its own. It is not a modem.
[17003.352921] cdc_acm 2-1.2:1.0: ttyACM0: USB ACM device
_> So i am attaching it by below command for hci and it is success.
vijay@vijay:~$ sudo hciattach /dev/ttyACM0 any 115200 flow
Device setup complete
but when i am doing hcicong -a that no device is coming in it as below
vijay@vijay:~$ hciconfig -a
hci1: Type: BR/EDR Bus: UART
BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
DOWN
RX bytes:15 acl:0 sco:0 events:1 errors:0
TX bytes:4 acl:0 sco:0 commands:1 errors:0
vijay@vijay:~$ sudo hciconfig hci1 up
Can't init device hci1: Connection timed out (110)
so i am unable to control by hcitool .
(also i connect that device with Window system and used BTool software inthat also error coming as below -
GAP Device Initialization Timeout.Device may not function properly ) but i want to used it with linux only.
So please help me why it happen and what i have to do to solve it.??