ESP8226上传代码时显示esptool.FatalError: MD5 of file does not match da...-Arduino爱好者 - Powered by Discuz!

Arduino爱好者

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 13201|回复: 6

[其他] ESP8226上传代码时显示esptool.FatalError: MD5 of file does not match da...

[复制链接]
发表于 2020-5-20 10:47 | 显示全部楼层 |阅读模式

Arduino:1.8.12 (Windows 10), 开发板:"Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

Executable segment sizes:


IROM   : 499576          - code in flash         (default or ICACHE_FLASH_ATTR)


IRAM   : 28032   / 32768 - code in IRAM          (ICACHE_RAM_ATTR, ISRs...)


DATA   : 1472  )         - initialized variables (global, static) in RAM/HEAP


RODATA : 5468  ) / 81920 - constants             (global, static) in RAM/HEAP


BSS    : 30136 )         - zeroed variables      (global, static) in RAM/HEAP


项目使用了 534548 字节,占用了 (55%) 程序存储空间。最大为 958448 字节。
全局变量使用了37076字节,(45%)的动态内存,余留44844字节局部变量。最大为81920字节。
esptool.py v2.8
Serial port COM3
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 98:f4:ab:f8:59:9f
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 1MB
Compressed 538704 bytes to 383435...

Writing at 0x00000000... (4 %)
Writing at 0x00004000... (8 %)
Writing at 0x00008000... (12 %)
Writing at 0x0000c000... (16 %)
Writing at 0x00010000... (20 %)
Writing at 0x00014000... (25 %)
Writing at 0x00018000... (29 %)
Writing at 0x0001c000... (33 %)
Writing at 0x00020000... (37 %)
Writing at 0x00024000... (41 %)
Writing at 0x00028000... (45 %)
Writing at 0x0002c000... (50 %)
Writing at 0x00030000... (54 %)
Writing at 0x00034000... (58 %)
Writing at 0x00038000... (62 %)
Writing at 0x0003c000... (66 %)
Writing at 0x00040000... (70 %)
Writing at 0x00044000... (75 %)
Writing at 0x00048000... (79 %)
Writing at 0x0004c000... (83 %)
Writing at 0x00050000... (87 %)
Writing at 0x00054000... (91 %)
Writing at 0x00058000... (95 %)
Writing at 0x0005c000... (100 %)
Wrote 538704 bytes (383435 compressed) at 0x00000000 in 34.1 seconds (effective 126.4 kbit/s)...
File  md5: 26a4c01b63943bdc54929bb806a2b98b
Flash md5: df01c0f259bbe9ec9cbfa48a5254e010
MD5 of 0xFF is 62d5ca7e4803409adadfeb17320ec64e
Traceback (most recent call last):
  File "C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1/tools/upload.py", line 65, in <module>
    esptool.main(cmdline)
  File "C:/Users/Administrator/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.1/tools/esptool\esptool.py", line 2938, in main
    operation_func(esp, args)
  File "C:/Users/Administrator/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.1/tools/esptool\esptool.py", line 2403, in write_flash
    raise FatalError("MD5 of file does not match data in flash!")
esptool.FatalError: MD5 of file does not match data in flash!
esptool.FatalError: MD5 of file does not match data in flash!

在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。


大神怎么解决呀!
QQ截图20200518212131.png
发表于 2020-11-18 22:30 | 显示全部楼层
遇到同样的问题了。我的烧录成功了~!多烧录几次,外接3.3V。。都试了。也不知道是哪个导致成功的
Writing at 0x0005c000... (100 %)
Wrote 546544 bytes (388800 compressed) at 0x00000000 in 34.3 seconds (effective 127.5 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
发表于 2021-2-6 21:51 | 显示全部楼层
楼主解决了吗?我也遇到这个问题
发表于 2021-4-18 19:12 | 显示全部楼层
Arduino:1.8.13 (Windows 10), 开发板:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"

Executable segment sizes:

IROM   : 508912          - code in flash         (default or ICACHE_FLASH_ATTR)

IRAM   : 28140   / 32768 - code in IRAM          (ICACHE_RAM_ATTR, ISRs...)

DATA   : 1460  )         - initialized variables (global, static) in RAM/HEAP

RODATA : 5684  ) / 81920 - constants             (global, static) in RAM/HEAP

BSS    : 30184 )         - zeroed variables      (global, static) in RAM/HEAP

项目使用了 544196 字节,占用了 (52%) 程序存储空间。最大为 1044464 字节。

全局变量使用了37328字节,(45%)的动态内存,余留44592字节局部变量。最大为81920字节。

esptool.py v2.8

Serial port COM3

Connecting....

Chip is ESP8266EX

Features: WiFi

Crystal is 26MHz

MAC: c4:5b:be:55:ab:6f

Uploading stub...

Running stub...

Stub running...

Configuring flash size...

Auto-detected Flash size: 4MB

Compressed 548352 bytes to 390022...

Wrote 548352 bytes (390022 compressed) at 0x00000000 in 34.3 seconds (effective 127.8 kbit/s)...

File  md5: 8500a1232cc85d831c8f91cdedb37ad2

Flash md5: eadd8ae38d65744d8d622fb6a630adad

MD5 of 0xFF is dbc62ba9107579e3258bae59859e8cdd

Traceback (most recent call last):

  File "C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/upload.py", line 65, in <module>

    esptool.main(cmdline)

  File "C:/Users/Administrator/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 2938, in main

    operation_func(esp, args)

  File "C:/Users/Administrator/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 2403, in write_flash

    raise FatalError("MD5 of file does not match data in flash!")

esptool.FatalError: MD5 of file does not match data in flash!

esptool.FatalError: MD5 of file does not match data in flash!





在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。
发表于 2021-12-30 22:26 | 显示全部楼层
一样的问题,解决了吗?
发表于 2022-5-11 09:38 | 显示全部楼层
怎么解决啊求问啊
发表于 2022-8-9 13:00 | 显示全部楼层
求解 用的arduino wemos D1 wifi这块板子  ,示例的就能烧写下载进去 但是我用其他代码就不行 也是MD5错误
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|好玩手机游戏盒子|196体育|Arduino爱好者

GMT+8, 2023-10-3 02:26 , Processed in 0.085922 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表