[SOLVED] bootloader cannot connect radio dongle

Post here to get support
Post Reply
sunmeric
Beginner
Posts: 5
Joined: Sat Mar 29, 2014 9:39 am

[SOLVED] bootloader cannot connect radio dongle

Post 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. :(
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: bootloader cannot connect radio dongle

Post 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.
sunmeric
Beginner
Posts: 5
Joined: Sat Mar 29, 2014 9:39 am

Re: bootloader cannot connect radio dongle

Post 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".
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: bootloader cannot connect radio dongle

Post 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?
adjavaherian
Beginner
Posts: 26
Joined: Fri May 22, 2015 4:18 am

Re: bootloader cannot connect radio dongle

Post 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
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: bootloader cannot connect radio dongle

Post 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)
adjavaherian
Beginner
Posts: 26
Joined: Fri May 22, 2015 4:18 am

Re: bootloader cannot connect radio dongle

Post 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.
Post Reply