...
Normally, when connected to the base station, the FC goes in Normal mode
- there is a red blinking LED
unplug from base station
To flash the firmware, we would like the FC to be in Bootloader mode instead
- For the ACRO version, hold the “BOOT” button while connecting the FC to base station
- Once connected, one could release the boot button
- there is no red blinking LED. On the ACRO version, there is a solid blue LED
- For the OSD version, use some conductive metal tool to short the “Boot pins” (as highlighted in the previous section)
- Once connected, once could take the pin-shorting material/tool away
- there is no red blinking LED. On the OSD version, there is no LED on now.
In the CFC Firmware Flasher tab, click the Load Firmware [Local] button (bottom right), and select the .hex
file downloaded at the beginning of this section.
- The progress bar should look like “Loaded Local Firmware: (… bytes)”
Click the Flash Firmware button (bottom right) and check the progress bar.
- The progress bar shows: “Flashing…” => “Verifying…” => “Programming SUCCESSFUL”
In case the progress bar turns red, see the Troubleshooting section below
If successful, without needing to reconnect the cable, the FC should go back to the Normal mode.
- Verify the red blinking LED is back on
- Click “Connect” and verify the firmware version is correct
...
...
We will return to this page later while performing calibrations (https://ethidsc.atlassian.net/l/cp/WNont9ZB).
...
Troubleshooting
Expand |
---|
title | The OSD version of FC does not enter Bootloader mode |
---|
|
It is tricky to jump the exposed Boot pins. Try applying a bit of force when pressing on the pins. If possible, also try verifying they have actually been jumped with a multi-meter. |
Expand |
---|
title | The progress bar turns red and shows “No response from the bootloader, programming: FAILED” |
---|
|
It might happen when, on the Firmware Flasher tab, the Flash Firmware button is clicked. This is likely due to the FC not being in Bootloader mode. Please double check the indicators of that mode in the section above. |
Expand |
---|
title | "Flashing..." started, but progress bar turns red with a "Timeout" error. |
---|
|
It might happen during “Flashing…” or “Verifying…”. Click the Flash Firmware button and try again |
Expand |
---|
title | Other issues or above does not resolve the problem |
---|
|
We’re happy to support! Please contact our hardware team via email: hardware@duckietown.com |
...
You now have the updated flight controller firmware! Connect to it in Normal mode and we will configure it next.