I thought I would share this as it took a while to get the CF2 into dfu mode though. Mostly because the switch is so small I had no idea if I was pressing it on or not

Because I was having issues getting it into DFU mode I ran dfu-util -l in a loop until I saw Found DFU: [0483:df11] in the output. I now know that only the M2 Blue led will flash as it goes into DFU mode. Once the switch is released, it seems to go on solid, then slowly starts to blink getting quicker until stays at a steady blink.
eg
Code: Select all
while sleep 2
do
dfu-util -l | egrep -i "Found DFU:"
done
This is what the dfu-util output looked like when I ran the flash command.Found DFU: [0483:df11] devnum=0, cfg=1, intf=0, alt=0, name="@Internal Flash /0x08000000/04*016Kg,01*064Kg,07*128Kg"
Found DFU: [0483:df11] devnum=0, cfg=1, intf=0, alt=1, name="@Option Bytes /0x1FFFC000/01*016 e"
Found DFU: [0483:df11] devnum=0, cfg=1, intf=0, alt=2, name="@OTP Memory /0x1FFF7800/01*512 e,01*016 e"
Found DFU: [0483:df11] devnum=0, cfg=1, intf=0, alt=3, name="@Device Feature/0xFFFF0000/01*004 e"
For some reason, I was not able to use the bootloader/radio in the cfclient.sudo dfu-util -d 0483:df11 -a 0 -D Crazyflie2_2014.12.0.dfu
dfu-util 0.7
Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2012 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org
Filter on vendor = 0x0483 product = 0xdf11
Opening DFU capable USB device... ID 0483:df11
Run-time device DFU version 011a
Found DFU: [0483:df11] devnum=0, cfg=1, intf=0, alt=0, name="@Internal Flash /0x08000000/04*016Kg,01*064Kg,07*128Kg"
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuERROR, status = 10
dfuERROR, clearing status
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 2048
Dfu suffix version 11a
DfuSe interface name: "Internal Flash "
file contains 1 DFU images
parsing DFU image 1
image for alternate setting 0, (1 elements, total size = 75120)
parsing element 1, address = 0x08004000, size = 75112
.....................................
done parsing DfuSe file