# 引导烧写

{% hint style="info" %}
推荐使用DFU模式进行引导烧写
{% endhint %}

#### 下载烧写工具 STM32 Cube Programmer

本地镜像下载[ https://download.qiotek.io/files/en.stm32cubeprg-win64\_v2-11-0.zip](https://download.qiotek.io/files/en.stm32cubeprg-win64_v2-11-0.zip)

{% embed url="<https://www.java.com/zh_CN/download/windows-64bit.jsp>" %}

{% embed url="<https://www.st.com/stm32cubeprog>" %}

1. 安装烧写工具

安装STM32 Cube Programmer

软件安装

1.1 Java 安装

打开 jre-8u261-windows-x64.exe 安装包，勾选 更改目标文件夹，点击 安装

<figure><img src="/files/Mo0kUic6anre6mQDA1ZH" alt=""><figcaption></figcaption></figure>

选择合适的安装目录，点击 下一步

<figure><img src="/files/7geEoOKW05YVqaiB5MCs" alt=""><figcaption></figcaption></figure>

等待自动安装

![](https://pics7.baidu.com/feed/8c1001e93901213fc9379cd58cab7bd62f2e9503.jpeg@f_auto?token=0c852c833afb9755ce361cc3b7d1f913)

安装完毕，点击 关闭

![](https://pics4.baidu.com/feed/4bed2e738bd4b31cfd04d2565f9a6a789f2ff8f3.jpeg@f_auto?token=314750bdb5b2371b5f403656af1f1edd)

在开始菜单中查看到以下文件夹，即代表安装成功

![](https://pics5.baidu.com/feed/2934349b033b5bb5648f96edef9f983eb600bc19.jpeg@f_auto?token=744ace14f42846ebb705a60d32133461)

1.2 CubeProg 安装

打开 SetupSTM32CubeProgrammer-2.5.0.exe 文件，如果未安装 Java 环境，将会出现报错

![](https://pics7.baidu.com/feed/71cf3bc79f3df8dcb4d582e0155d3f8c461028ae.jpeg@f_auto?token=21574e42f1f748c047e16f6585d1b3ff)

点击 Next

![](https://pics3.baidu.com/feed/9825bc315c6034a8f54e40091c5f04530823765a.jpeg@f_auto?token=bf51ec7918fce13f57aaa760ca7378d9)

点击 Next

![](https://pics5.baidu.com/feed/d50735fae6cd7b899ad1b427d7680fa0d8330eac.jpeg@f_auto?token=1431b766bc5ee8cd3e4eec85e781d9d0)

勾选 I accpt，点击 Next

![](https://pics2.baidu.com/feed/8326cffc1e178a82fc06d2ca2e4f3e8aa977e872.jpeg@f_auto?token=0bdd8dd3cb541f528a31e9b3fc045c0f)

选择合适的安装路径，点击 Next；（若路径未创建，会提示路径将被创建）

![](https://pics2.baidu.com/feed/e1fe9925bc315c608d78e0745afd861448547714.jpeg@f_auto?token=dd34cc51b306120e32f9c2604778cfdc)![](https://pics0.baidu.com/feed/738b4710b912c8fc1d38050d244fdf42d48821ff.jpeg@f_auto?token=227b20024c89f1179cae3a2bb310579d)

根据需求勾选，点击 Next

![](https://pics6.baidu.com/feed/11385343fbf2b21187d0952614cc283f0dd78eab.jpeg@f_auto?token=fc36d381552906b2f962e95f7c5216b7)

软件自动安装

![](https://pics7.baidu.com/feed/377adab44aed2e73eb9b38be5f4dec8c86d6fa82.jpeg@f_auto?token=44dbffea12b056cb4940f58657f5180a)

中途会安装驱动，按照提示选择安装即可

![](https://pics0.baidu.com/feed/cc11728b4710b912500bc8561bb1b10493452227.jpeg@f_auto?token=13b2197154eead7cdaa65250ee4d87fa)![](https://pics6.baidu.com/feed/37d3d539b6003af3baaa51e8e2668b5b1138b6fe.jpeg@f_auto?token=3b19a4c1e41a4b3152fe24b93f1f6aaa)![](https://pics7.baidu.com/feed/7acb0a46f21fbe09c45c84f9bc2c41348644adb5.jpeg@f_auto?token=ea56fc463665ee479e489b058aba1572)

安装完成，点击 Next

![](https://pics7.baidu.com/feed/0ff41bd5ad6eddc4df2ca5b2e197fbfa53663307.jpeg@f_auto?token=3b8a4c05a642a6a6ea91afb9e5a12143)

根据需求勾选，点击 Next

![](https://pics4.baidu.com/feed/09fa513d269759ee7cea9b3965b70e116c22df5a.jpeg@f_auto?token=76786de588ad0f977026f78cfd385862)

提示安装成功和一个卸载程序被创建在安装目录的 Uninstaller 文件夹中，点击 Done

![](https://pics4.baidu.com/feed/d31b0ef41bd5ad6e070d87e9588774dcb7fd3c95.jpeg@f_auto?token=7effe1afcef6f467290fc1a3601f10b2)

打开 STM32CubeProgrammer 软件

![](https://pics5.baidu.com/feed/730e0cf3d7ca7bcbda1fbfa266452664f724a8af.jpeg@f_auto?token=bdd7cea45ae8f2503119f51588358229)

软件界面如下。（可支持 ST-LINK、UART、USB 和 OTA 多种连接方式）

![](https://pics4.baidu.com/feed/500fd9f9d72a60592ec2f453f078799c023bba78.jpeg@f_auto?token=9498fdc15456a85c7d8bc66a6ec2c0a7)

1.3结束

其他版本软件的下载和安装教程均可参照本教程。

#### 进入DFU模式

参考飞控硬件说明，将飞控上的DFU按键按下再连接上USB，当听到电脑发出“叮咚”声音后，松开DFU按键，即飞控进行DFU模式。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.qiotek.cn/ardupilot/quick_start/burn_firmawre/bootloader_burn.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
