当前位置:网站首页>Use the esp32 download tool to burn firmware for esp32
Use the esp32 download tool to burn firmware for esp32
2022-07-21 18:03:00 【Allen953】
ESP32 Learning navigation post
Introduce
use arduino by esp32 Developing programs is very convenient , But sometimes you need to test the program ,arduino Usually the compilation speed is very slow , As short as tens of seconds , As long as two or three minutes , It's a long time to wait .
therefore , Usually after a program stabilizes , We will compile the program into firmware , Convenient for later burning .
The firmware has been compiled into binary executable files from the source code , So upload the same program to esp32 when , There is no need to compile , You can directly burn binary executable programs to esp32 The development board can .
Download address :https://www.espressif.com.cn/zh-hans/support/download/other-tools
decompression
open
Select model
Come in like this , That means we have no problem with the burning tool .
arduino Compile the program and generate bin The firmware
(1) stay arduino Middle click item , Export compiled binaries
(2) Under the project folder, the generated bin file
(3) To arduino The cache of the software compiler can see the complete bin The firmware , Including partition firmware and firmware compiled from our application .
(4) Choose these two firmware , Then fill in the appropriate burning address ( According to these two bin Adjust the size of the file , For example, my first bin File is 3k, So the second one bin File my burning address is 0x04000, That is to say 4k As the starting space for burning )
Results after the program burning is completed , Open the serial port to view the program execution information , It can be found that there are exceptions .
(5) It turns out that here should burn several bin Of documents , Not just one , Like Android , Yes bootloader What? .
The first two documents should be burned
The latter two documents should be burned
Burn address see here
Okay , now .
(6) Now we choose to burn the file again , Try
Then open the serial port and have a look , Here's the picture , It's all right
(7) Of course , We can put these four bin The file is combined into a bin file
Just click on combinebin that will do
After synthesis , He will pop up a folder , After synthesis bin The document is called target.bin Put it under this folder
If we want to burn this synthesized bin file , It needs to be done , Just select this target.bin file , And fill in the burning address , Click on start that will do
alike , We can check whether the program is running normally through the serial port ( The following figure shows that the program is running normally ).
end !
边栏推荐
- Installation and configuration of CodeBlocks
- Q#入门教程一(Q#环境配置)
- 视频36 13章
- Talk about 7 magic skills of redis memory optimization
- Super milk's note taking software: obsidain
- 关于Web响应式设计
- The difference between isnotblank() method and isnotempty() method
- 【pinia源码】二、defineStore源码解析
- Baize_foc esp32无刷电机驱动错误问题记录贴
- Get file type
猜你喜欢
Talk about pseudo sharing
Thread of C (41)
212. 单词搜索 II
史上最全的mysql数据类型汇总-(上)
Summer battle! Wotu network takes you to see the marketing creativity of Haida people!
聊聊10种延迟任务
Particle system in Niagara - ue5
02_ UE4 advanced_ HP strip and blood deduction mechanism
471-82(647、5、92、143、148、19)
Incomplete printing of fluent | print and Dio
随机推荐
Knowledge atlas enables digital economy. The 16th National knowledge atlas and Semantic Computing Conference (CCKS 2022) is about to be held
VIM editor learning notes
力扣133题:只出现一次的数字
【pinia源码】二、defineStore源码解析
The design of off-site multi activity deployment of King glory mall
[2023 approved in advance] Ruijie
haproxy+keepalived负载均衡与高可用
Q introductory tutorial I (Q environment configuration)
From 20s to 500ms, I used these three methods
212. 单词搜索 II
Bit operation of code
ip6tables v1.8.7 (legacy): Couldn‘t load match `pkttype‘:No such file or directory
为啥有些经理,总是强行刷存在感?(你遇到过吗?)
Mathematical modeling - K-means clustering
VMware下配置kali(一)
Baize_foc esp32无刷电机驱动错误问题记录贴
Vidéo d'utilisation à deux points 41 13.3. Détection des cibles et cadre de limitation AQ 13.4 cadre d'ancrage
【测试开发】软件测试——测试用例设计&测试分类详解
Codeblocks的安装与配置
02_ue4进阶_HP条和扣血机制