Upgrade firmware
This article mainly describes how to upgrade the firmware for the SKYE airspeed.
Before operation
- Flight controller running ArduPilot firmware
- Download Dronecan GUI/Mission Planner
- Connect SKYE to flight controller
- Download the skye firmware file
Set flight controller parameters
To upgrade the SKYE airspeed through the flight controller, you need to set the following parameters in the entire parameter table of Mission plannerd ground station:
For flight controllers using STMF7XX/STMH7XX as CPU:
- CAN_SLCAN_CPORT set to 1
- Serial7_Protocol set to 22
- Reboot the flight controller
NOTE These flight controllers will have two usb driver ports in AP4.0/AP4.0 firmware, one is the flight control mavlink output port, and the other is the slcan port; if there are no two ports, please uninstall the driver and reinstall it.
For flight controllers using STMF4xx as CPU:
- CAN_SLCAN_CPORT set to 1
- CAN_SLCAN_TIMEOUT set to 130000
- CAN_SLCAN_SERNUM set to 0
- Please do not reboot the flight controller until the upgrade is complete
NOTE STM32F4 does not support dual virtual USB ports, so the version of the flight controller below FMU v5 (not included) can only be used for SLCAN by closing MAVlink transmission; after the above settings, USB will stop outputting mavlink data and convert it to SCLAN port; MAVlink will be restored after restarting transmission.
Method one:
Firmware upgrade using Mission planner
- Select the device port corresponding to slcan.
- Click "slcan mode CAN1" on the UAVCAN interface.
- Click "Update", select NO in the pop-up prompt box (yes is to select online firmware; No select local firmware)
- Select firmware file
- Wait for the writer to complete
method two:
Upgrade with Dronecan GUI TOOL software
- Select the device port corresponding to slcan and click "ok"
- Click "√"; then double-click on the device information (marked in Figure 2 below)
Click "update firmware", the message box will pop up "yes"
The mode/heakth/uptime entry becomes "SOftware_update"
Waiting for firmware write to complete