Page 2 of 2

Re: Can't Connect

Posted: Fri May 24, 2013 6:03 pm
by tobias
It the Crazyradio leds don't go turn of it means the dongle is not enumerated. Are you using a USB3 port because that doesn't work without updated firmware.

Re: Can't Connect

Posted: Tue May 28, 2013 7:05 pm
by marcus
This sounds like the USB3 issue that can be solved by updating the Crazyradio firmware to version 0.51. Plug the Crazyradio on your Ubuntu machine and follow the instructions for updating here. Then try to plug it in your Mac again.

Re: Can't Connect

Posted: Wed May 29, 2013 12:33 am
by SkyyPunk
I tried upgrading the radio firmware through the VM (switched into bootloader, linked it to VM) and am getting this error:
bitcraze@bitcraze-ubuntu:~/projects/crazyradio-firmware$ python usbtools/nrfbootload.py flash cradio-0.51.bin
Traceback (most recent call last):
File "usbtools/nrfbootload.py", line 69, in <module>
if not bl.open():
File "/home/bitcraze/projects/crazyradio-firmware/usbtools/NrfUsbBootloader.py", line 63, in open
self.handle.claimInterface(0)
usb.USBError: could not claim interface 0: Operation not permitted
No lights are on the CR. Doing this through a USB2 port. Attempted this because I wasn't seeing the CF through the cfclient on the Windows host

Edit:
Odd issue...so in Windows I can get my controller working. The problem is in Windows it doesn't even seem to attempt to find the CF (instantly returns just debug device). I unplugged/replugged the CR to make sure it wasnt locked by the VM from a previous attempt. Debug window in About doesn't say anything about the CR (I noticed other people said they would see an error there sometimes). Any ideas why in Windows it doesn't even attempt to search?

In the VM it finds the CF after a second or two of scanning, but unfortunately my controller (360, wired) won't pass through. VirtualBox complains it is busy with a command. Also tried unplugging it/plugging it back in and then passing through again, but no go. This one I assume is something on my end causing it.

So close :D

Re: Can't Connect

Posted: Wed May 29, 2013 8:23 am
by TheFrog4u
Did you install the crazy radio windows driver?

Re: Can't Connect

Posted: Wed May 29, 2013 2:52 pm
by marcus
Hi,
SkyyPunk wrote:usb.USBError: could not claim interface 0: Operation not permitted
Running the script as root fixes this (the password is crazyflie):

Code: Select all

sudo python usbtools/nrfbootload.py flash cradio-0.51.bin
SkyyPunk wrote:The problem is in Windows it doesn't even seem to attempt to find the CF (instantly returns just debug device). I unplugged/replugged the CR to make sure it wasnt locked by the VM from a previous attempt.
Did you install the drivers?
SkyyPunk wrote:Debug window in About doesn't say anything about the CR (I noticed other people said they would see an error there sometimes).
If it doesn't say anything about the interfaces then the version you have is too old. But it will probably have said "Crazyradio not found" which would indicate that there are no drivers installed.

Re: Can't Connect

Posted: Wed May 29, 2013 4:49 pm
by SkyyPunk
Drivers are installed and it shows up correctly in device manager. Also it passes through to the vm fine. I am fairly sure i have the latest Windows cf client installed, I will double check when I get home. I downloaded and installed it about a week ago

Update:
sudo was the missing key, firmware updated, thanks!

Also I confirmed that I am running the latest win cfclient. The debug window just says:
Cfclient version: 2013.4.1
System: win32
Update 2:
I downloaded and installed cfclient and installed the cr driver on my laptop and it has the same result :( Instantly returns just the debug device. Both running Win7 x64

Re: Can't Connect

Posted: Sun Jun 02, 2013 5:25 pm
by badomens
I'm having the same problem. I'm using x86 windows 7 with usb2.

1.I've installed the drivers for the radio as specified in http://wiki.bitcraze.se/projects:crazyr ... stall_win7
2.Updated the radio firmware to 0.51 using the VM (which worked fine).
3.Installed the latest windows client installer.

However, I only see the debug driver when I attempt to connect to the CrazyFlie. I've tried this while connecting the crazyflie to the computer via the usb and also on battery power. The LED on the crazyflie all seem normal according to the wiki and the radio LEDs light up when it's initially plugged in, but never again, not even when you click scan (which just returns the debugdriver immediately).

Is the radio broken or the crazyflie?

Any idea how I can get this resolved? or any additional tests?

Re: Can't Connect

Posted: Fri Mar 28, 2014 12:08 pm
by T-shadow
jbc wrote:I've installed the client app on both a MacAir and a Linux (12.04 LTS Ubuntu) laptop and I can't connect to the device?! The Mac client runs pretty slowly and I see a few exceptions, but it does run, just never connects. The ubuntu client runs the debug test for the UI very nicely with no observable errors (Mac runs it too but slower), but neither are connecting to my crazyflie... it's connected, blinking red, while the blue and green lights stay lit. This doesn't change (I've left it alone for upwards of 5 minutes without any noticeable change on either platform)....

Any trouble shooting ideas??
I had similar problem before. I am running the client on Ubuntu 12.04 LTS. Try to run the client under root, go to your client folder, then: sudo python2 cfclient-2013.4.2/bin/cfclient.
If it still doesn't solve your problem, see if your Crazyradio is functioning properly. Plug your Crazyradio on to PC, check if both green & red LEDs are flashing about 0.5 second then blackout, that means Crazyradio is properly connected. If no LEDs flashing at all, then you need to update the Crazyradio firmware. Simply follow the instructions in http://wiki.bitcraze.se/projects:crazyradio:programming

Hope it helps. : )