Update Flashing authored by Colton Glick's avatar Colton Glick
...@@ -47,9 +47,9 @@ This method is what happens behind the scenes when running `make flash_dfu`. Th ...@@ -47,9 +47,9 @@ This method is what happens behind the scenes when running `make flash_dfu`. Th
0. Ensure `dfu-util` is installed on your machine 0. Ensure `dfu-util` is installed on your machine
1. Disconnect the battery 1. Disconnect the battery
2. Hold the power button down 2. Begin holding the power button down
3. Plug the USB cable into your machine 3. Connect the Crazyflie to your machine via USB
4. Continue holding the power button until the blue light reaches its second level of flashing (about 5 seconds). The crazyflie's microprocessor (STM32F405) is now in DFU mode. 4. Continue holding (about 5 seconds) the power button until the blue light reaches its second level of flashing. The crazyflie's microprocessor (STM32F405) is now in DFU mode.
5. Check the USB device is in DFU mode. On linux run `lsusb`. The crazyflie should show up as `Bus xxx Device xxx: ID 0483:df11 STMicroelectronics STM Device in DFU Mode` 5. Check the USB device is in DFU mode. On linux run `lsusb`. The crazyflie should show up as `Bus xxx Device xxx: ID 0483:df11 STMicroelectronics STM Device in DFU Mode`
6. Flash the firmware. 6. Flash the firmware.
- **Recommended** Using cf2.dfu file - **Recommended** Using cf2.dfu file
...@@ -57,7 +57,6 @@ This method is what happens behind the scenes when running `make flash_dfu`. Th ...@@ -57,7 +57,6 @@ This method is what happens behind the scenes when running `make flash_dfu`. Th
- Using cf2.bin file - Using cf2.bin file
- This method requires we specify the address to write the new firmware to. - This method requires we specify the address to write the new firmware to.
- If the firmware was built with `CLOAD=1` (the default configuration) the firmware needs to be flashed to address `0x08004000` with the command `sudo dfu-util -d 0483:df11 -a 0 -s 0x08004000 -D cf2.bin` - If the firmware was built with `CLOAD=1` (the default configuration) the firmware needs to be flashed to address `0x08004000` with the command `sudo dfu-util -d 0483:df11 -a 0 -s 0x08004000 -D cf2.bin`
- To reflash the bootloader at address `0x08000000`, the bootloader must be compiled separately, see [Crazyflie Bootloader](Crazyflie-Firmware/Crazyflie-Bootloader)
7. Wait for the utility to finish flashing. 7. Wait for the utility to finish flashing.
8. Once fully complete disconnect the USB cable. 8. Once fully complete disconnect the USB cable.
9. Plug in the battery 9. Plug in the battery
... ...
......