Page 1 of 1

[SOLVED] bootloader cannot connect radio dongle

Posted: Mon Apr 06, 2015 4:59 am
by sunmeric
Dear all,
i tried to flash bootloader from BitCraze VM5.0 into my CF1.0,But it didn't seem to work.it can't connect my usb dongle after cold boot.
my steps like this:
1.make
2.make flash

the result like this:

TargetName Type Endian TapName State
-- ------------------ ---------- ------ ------------------ ------------
0* stm32f1x.cpu cortex_m little stm32f1x.cpu running
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x080015e4 msp: 0x20005000
erased sectors 0 through 20 on flash bank 0 in 1.339076s
auto erase enabled
wrote 7168 bytes from file cloader.elf in 1.871142s (3.741 KiB/s)
verified 6692 bytes in 2.023264s (3.230 KiB/s)
shutdown command invoked
bitcraze@bitcraze-vm:~/Downloads/crazyflie-bootloader-master$

is this right? I have tried to use the latest CFclient and bootloader.what shoule i do? plz help me. :(

Re: bootloader cannot connect radio dongle

Posted: Tue Apr 07, 2015 3:06 pm
by arnaud
Hi,

This looks right. What is the behavior of the copter when you restart it? If it is in bootloader mode it should blink red and green in sequence. If not try to erase the stm with "make erase" and then flash again the bootloader.

Re: bootloader cannot connect radio dongle

Posted: Wed Apr 08, 2015 1:11 pm
by sunmeric
thank you arnaud,As you have said,its blink red and green in sequence when i poewred on .but i still cant connect to the crazyradio.nothing happens after cold boot,cfclient shows "time out".

Re: bootloader cannot connect radio dongle

Posted: Tue Apr 21, 2015 8:58 am
by tobias
I'm thinking it is something on the PC side then. When you try to connect does the Crazyradio blink with the LEDs?

Re: bootloader cannot connect radio dongle

Posted: Sat May 23, 2015 7:43 am
by adjavaherian
I think I'm having the same issue with my Mac. I can't cold boot the CF because the CR will time out. The red light on the CR flashes while searching and the CF is in cold boot mode (alternating blue blue lights). But, no connection is made and I see this in my console.

INFO:cfclient.ui.dialogs.bootloader:Connected in coldboot mode failed

Interestingly, the CR does connect to CF on normal connect, but the connection is really bad and it just loses packets the whole time and fails.

INFO:cflib.crazyflie:Callback->Connectionl ost to [radio://0/80/250K]: Too many packets lost

However, If I turn Bluetooth off on my Mac the connection is much more reliable (but, I eventually want to use the BT PS3 controller.)

Regardless, if I turn both BT and WiFI off, I'm still not able to get the CR to cold boot connect the CF. Any ideas? CR is v0.53.

Thanks,

ad

Re: bootloader cannot connect radio dongle

Posted: Thu May 28, 2015 9:33 am
by tobias
It sounds like there might be a hardware issue involved. Some things to try:

Remove the antenna on the CR-PA and see if there is any difference at all. Might be bad antenna.

When connecting try holding a finger on the antenna on the Crazyflie 2.0. It is the small white chip pointing out in the front. (It will change the antenna characteristics)

Re: bootloader cannot connect radio dongle

Posted: Sat May 30, 2015 3:41 pm
by adjavaherian
My bad. I had the CR firmware on the device. Not the CRPA. Flashing the CRPA worked like a charm. All chips have been updated to the latest. Thanks.