Trouble flashing firmware

Post here to get support
blondie63
Beginner
Posts: 12
Joined: Sat Feb 16, 2013 3:03 pm

Trouble flashing firmware

Post by blondie63 »

I've tried many time to flash crazyradio firmware but i've this error:
Launch bootloader Traceback (most recent call last):
File "launchBootloader.py", line 94, in <module>
sys.exit(launchBootloader(True))
File "launchBootloader.py", line 60, in launchBootloader
handle.controlMsg(0x40, 0xFF, (), value=0, index=0, timeout=100)
usb.USBError: error sending control message: Connection timed out

i'm using lastes VM, sudo and changing usb port ! :(

some help?
anomaly
Beginner
Posts: 5
Joined: Sun May 26, 2013 4:58 am

Re: Trouble flashing firmware

Post by anomaly »

I had the same problem inside the VM. If I ran it several times it would eventually work, but I didn't trust it for flashing. I think it has something to do with the way vmware/virtuallbox virtualizes the USB bus, or how that interacts with the host drivers. I booted into a linux instance directly (as in a linux partition I have with a dualboot setup, instead of a VM) and it worked fine first try. Sorry if this doesn't help you.. maybe someone knows a way to flash it from windows directly?
blondie63
Beginner
Posts: 12
Joined: Sat Feb 16, 2013 3:03 pm

Re: Trouble flashing firmware

Post by blondie63 »

really i've flashed the first time i've tried but i've flashed a default firmware there's into VM
later i've downloaded the latest firmware and then i cannot flash it again :(
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Trouble flashing firmware

Post by arnaud »

Which firmware did you flash the first time? If you flash the binary from bitbucket download page there should not be any problems but if you compiled the firmware yourself you might be experiencing this bug: https://bitbucket.org/bitcraze/crazyrad ... oader-when

It is possible to flash the dongle with SPI. If you have a jtagKEY-compatible jtag dongle you can use nrfprog (in the crazyradio repos, http://wiki.bitcraze.se/projects:crazyr ... rogramming) to flash the dongle. I am working on getting the SPI flash to work with buspirate, raspbery-pi and, maybe, arduino so that the process is more accessible.
blondie63
Beginner
Posts: 12
Joined: Sat Feb 16, 2013 3:03 pm

Re: Trouble flashing firmware

Post by blondie63 »

it's very complicated ! maybe it's more easy to buy a new crazy radio?
there's no way to reset to factory default ??? :(

thanks

Mauro
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Trouble flashing firmware

Post by tobias »

Just to check one thing. When you connect the Crazyradio do the red and green led turn off or are they constantly on? You might have managed to put the Crazyradio in bootloader mode.
blondie63
Beginner
Posts: 12
Joined: Sat Feb 16, 2013 3:03 pm

Re: Trouble flashing firmware

Post by blondie63 »

when i connect Crazyradio, the red and green led flash on one sec then turn off!
marcus
Bitcraze
Posts: 659
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden
Contact:

Re: Trouble flashing firmware

Post by marcus »

Hi,

I've been trying to get this to work and I get the same error... Not sure why since I'm fairly sure this has worked at some point, at least when using Windows as host OS. What host OS are you using? Linux, Windows or Mac OSX?

I've opened up a new bug for this so we can investigate it.

/Marcus
blondie63
Beginner
Posts: 12
Joined: Sat Feb 16, 2013 3:03 pm

Re: Trouble flashing firmware

Post by blondie63 »

i've tried with my win8 64bit and also with VM
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Trouble flashing firmware

Post by tobias »

I sent you a PM Blondie63
Post Reply