[SOLVED] Can't flash custom built firmware to Crazyflie 1.0
Posted: Tue Jan 13, 2015 4:43 pm
Hey all,
I have had the Crazyflie for about a week now and have been having fun with programming my own custom clients and playing around with the Crazyflie's capabilities. I have come to the point where I would like to edit the firmware to log some data from a proximity sensor that I have soldered and attached to the copter. I figured I would build the firmware on the Bitcraze VM first, flash the CF, and work on my alterations later. The build succeeded with no errors, and so did the flashing via the client bootloader, but upon restarting the CF in firmware mode, it simply had the blue power light and wouldn't otherwise respond. I flashed the 2014.01.0 bin the same way and it worked again.
Here is what I have tried on both Bitcraze VM 0.6 and Bitcraze VM 0.5:
- Building the crazyflie-firmware project via terminal with "make DEBUG=0 CLOAD=1" .
- Building the crazyflie-firmware project via Eclipse with target "Make CLOAD" (make DEBUG=0 CLOAD=1).
- Building the crazyflie-firmware project via Eclipse with target "Flash using radio". It successfully connects to the CF and says it flashes successfully, but still just a blue light.
- Downloading the latest source from github and building via "make DEBUG=0 CLOAD=1".
- Downloading the 2014.01.0 source from github and building via "make DEBUG=0 CLOAD=1"
I have tried flashing via client from both the VM and Windows. I should also note that all of my bin files end up being 76.1 KB. This doesn't seem correct, as the bin I downloaded (and the only one I have that works) is 54 KB.
Any assistance that you could offer would be much appreciated.
Thanks!
I have had the Crazyflie for about a week now and have been having fun with programming my own custom clients and playing around with the Crazyflie's capabilities. I have come to the point where I would like to edit the firmware to log some data from a proximity sensor that I have soldered and attached to the copter. I figured I would build the firmware on the Bitcraze VM first, flash the CF, and work on my alterations later. The build succeeded with no errors, and so did the flashing via the client bootloader, but upon restarting the CF in firmware mode, it simply had the blue power light and wouldn't otherwise respond. I flashed the 2014.01.0 bin the same way and it worked again.
Here is what I have tried on both Bitcraze VM 0.6 and Bitcraze VM 0.5:
- Building the crazyflie-firmware project via terminal with "make DEBUG=0 CLOAD=1" .
- Building the crazyflie-firmware project via Eclipse with target "Make CLOAD" (make DEBUG=0 CLOAD=1).
- Building the crazyflie-firmware project via Eclipse with target "Flash using radio". It successfully connects to the CF and says it flashes successfully, but still just a blue light.
- Downloading the latest source from github and building via "make DEBUG=0 CLOAD=1".
- Downloading the 2014.01.0 source from github and building via "make DEBUG=0 CLOAD=1"
I have tried flashing via client from both the VM and Windows. I should also note that all of my bin files end up being 76.1 KB. This doesn't seem correct, as the bin I downloaded (and the only one I have that works) is 54 KB.
Any assistance that you could offer would be much appreciated.
Thanks!