> For the complete documentation index, see [llms.txt](https://aerogcs-config-docs.aeromegh.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aerogcs-config-docs.aeromegh.com/2.-firmware-flashing-procedure.md).

# 2. Firmware Flashing Procedure

## 2. Firmware Flashing Procedure: - <a href="#toc145501122" id="toc145501122"></a>

Here is a step-by-step explanation of the firmware flashing procedure for a drone:

1. &#x20;**Preparation:**

&#x20;  \- **Backup**: Before proceeding with firmware flashing, ensure you have backed up any important data or settings from your drone to prevent data loss.

&#x20;  \- **Download Firmware**: Obtain the latest firmware version compatible with your drone model from the official manufacturer's website. Make sure it matches your drone's model and specifications.

&#x20;

2. **Connect to Computer:**

&#x20;  \- USB Connection: Connect your drone to a computer using a USB cable.

&#x20;

3. **Access Firmware Flashing Software:**

&#x20;  \- Software Download: Download and install the official firmware flashing software provided by the Software Provider. This software facilitates the communication between your computer and the drone's firmware.

&#x20;

4. **Launch Firmware Flashing Software:**

&#x20;  \- **Run Software**: Open the firmware flashing software on your computer.

&#x20;

5. **Select Firmware:**

&#x20;  \- **Browse**: Within the software, locate the option to browse and select the firmware file you downloaded earlier. This file will have a specific extension, often ".apj”.

&#x20;

6. **Signature Verification:**

&#x20; -**Validate signatures** by comparing the firmware's embedded public key with the user's provided private key. Progress to the next step upon successful matching.

&#x20;

7. **Initiate Flashing Process:**

&#x20;  \- **Flash or Update**: Look for a button or command within the software that initiates the flashing process. This might be labelled as "Flash" or "Update Firmware." Click on this option to begin.

&#x20;

8. **Flashing Progress:**

&#x20;  \- **Monitor Progress**: The software will display the progress of the flashing procedure. This includes stages such as erasing the old firmware and writing the new firmware.

&#x20;

9. **Do Not Interrupt:**

&#x20;  \- **Critical Phase**: It is crucial not to interrupt the flashing process. Avoid disconnecting the drone, closing the software, or turning off the computer during this phase, as it could result in firmware corruption.

&#x20;

10. **Completion and Verification:**

&#x20;   \- **Successful Flashing**: Once the flashing process is complete, the software should display a success message. Some software might also prompt you to disconnect and power cycle the drone.

&#x20;

11. **Functional Test:**

&#x20;   \- **Check Operation**: Power on the drone and ensure that it operates as expected. Test various functions, sensors, and controls to confirm that the new firmware is functioning correctly.

&#x20;

12. **Restore Settings (if applicable):**

&#x20;   \- **Restore Backup**: If necessary, restore any backed-up settings or data onto the drone to ensure that it maintains its previous configuration.

&#x20;

13. **Final Checks:**

&#x20;   \- **Stability Check**: Perform test flights in a controlled environment to ensure the stability and performance of the drone with the updated firmware.

&#x20;

<mark style="background-color:blue;">**`Note:`**</mark><mark style="background-color:blue;">` `</mark><mark style="background-color:blue;">`The above steps provide a general guideline for firmware flashing. Always refer to the specific instructions provided by the drone manufacturer and the firmware flashing software for accurate and up-to-date procedures. Improper firmware flashing can lead to issues with the drone's functionality, so proceed with caution and ensure you have a reliable power source during the process.`</mark>
