[已解决]关于ESP8266 Download Tool烧写功能的疑问
-
- Posts: 14
- Joined: Fri Aug 12, 2016 11:30 am
[已解决]关于ESP8266 Download Tool烧写功能的疑问
Postby xiaoleizii » Thu Apr 06, 2017 4:12 pm
另外我分析了一下新的ESP8266芯片烧写工具采用的是先推送一个RamAPP在Ram中运行,然后和App交互实现烧写,但是这个APP起始位置有两个字节是个变化值,请问如何计算这两个字节值?
我这边目前做的是生产用的工具,需要尽可能简单的实现烧写Flash功能,如何才能尽可能简单的实现呢?望指教,多谢
Re: 关于ESP8266 Download Tool烧写功能的疑问
Postby costaud » Fri Apr 07, 2017 10:10 am
https://github.com/espressif/esptool
run: python esptool.py -h to check the help info.
-
- Posts: 14
- Joined: Fri Aug 12, 2016 11:30 am
Re: 关于ESP8266 Download Tool烧写功能的疑问
Postby xiaoleizii » Fri Apr 07, 2017 12:23 pm
打印的log为:
ets Jan 8 2013,rst cause:2, boot mode:(3,7)
load 0x40100000, len 2408, room 16
tail 8
chksum 0xe5
load 0x3ffe8000, len 776, room 0
tail 8
chksum 0x84
load 0x3ffe8310, len 632, room 0
tail 8
chksum 0xd8
csum 0xd8
2nd boot version : 1.6
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size & Map: 8Mbit(512KB+512KB)
jump to run user1 @ 1000
OS SDK ver: 1.5.0-dev(950076a) compiled @ Nov 4 2016 19:29:32
?mode : sta(5c:cf:7f:08:7c:48)
add if0
-
- Posts: 14
- Joined: Fri Aug 12, 2016 11:30 am
Re: 关于ESP8266 Download Tool烧写功能的疑问
Postby xiaoleizii » Fri Apr 07, 2017 4:22 pm
-
- Posts: 14
- Joined: Fri Aug 12, 2016 11:30 am
Re: 关于ESP8266 Download Tool烧写功能的疑问
Postby xiaoleizii » Fri Apr 07, 2017 4:29 pm
因为 26M / 40M = 0.65
74880 / 115200 = 0.65
-
- Posts: 14
- Joined: Fri Aug 12, 2016 11:30 am
Re: 关于ESP8266 Download Tool烧写功能的疑问
Postby xiaoleizii » Fri Apr 07, 2017 5:43 pm
问题出现在esp_init_data_setting.bin中的byte[48] crystal_26m_en 没有置为1, 所以进行RF校准时按照40MHz去完成校准的,导致校准数据出错,从而导致运行时的波特率和WIFI部分时钟错误。
Who is online
Users browsing this forum: No registered users and 325 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.