Crazyflie Bootloader Flasing: No DFU cable USB device available

Post here to get support
Post Reply
cboustead
Beginner
Posts: 11
Joined: Tue Feb 05, 2019 9:33 pm

Crazyflie Bootloader Flasing: No DFU cable USB device available

Post by cboustead »

I'm setting up PX4 on my Crazyflie 2.0. I'm having an issue trying to flash the bootloader using USB. I get the message "dfu-util: No DFU capable USB device available". The cable I am using is a Micro USB -> USB and then I'm using a USB -> USB-C for my Mac.

When I execute the command "dfu-util -l --list", no devices are found.

Can anyone confirm whether this issue is because I am using an adapter rather than a cable straight through?
arnaud
Bitcraze
Posts: 2308
Joined: Tue Feb 06, 2007 12:36 pm

Re: Crazyflie Bootloader Flasing: No DFU cable USB device available

Post by arnaud »

To boot the stm32 in DFU mode you should press the power button about 5 seconds until the LED is blinking fast. You might need to click the button once more after that. Are you doing this procedure?
cboustead
Beginner
Posts: 11
Joined: Tue Feb 05, 2019 9:33 pm

Re: Crazyflie Bootloader Flasing: No DFU cable USB device available

Post by cboustead »

Yes, I have been putting it into the Bootloader mode. The LED is blinking fast.
arnaud
Bitcraze
Posts: 2308
Joined: Tue Feb 06, 2007 12:36 pm

Re: Crazyflie Bootloader Flasing: No DFU cable USB device available

Post by arnaud »

Are you sure your cable is working for data? (for example usb cables shipped with USB batteries usually do not have the data lines cabled...).

For reference, I tried on our dev mac and without battery, I press the button, connect the USB cable and release the button when the LED blinks fast, I get the bootloader to appear in the system report:
image (2).png
cboustead
Beginner
Posts: 11
Joined: Tue Feb 05, 2019 9:33 pm

Re: Crazyflie Bootloader Flasing: No DFU cable USB device available

Post by cboustead »

I tried with a new data cable today. I do not see any bootloader appear in my system report. Any ideas?
cboustead
Beginner
Posts: 11
Joined: Tue Feb 05, 2019 9:33 pm

Re: Crazyflie Bootloader Flasing: No DFU cable USB device available

Post by cboustead »

Hold on, it's working! The "without battery" was the most important part for your comment. Thanks
Post Reply