Unable to program the ESP32 PICO

amreen
Posts: 3
Joined: Thu May 16, 2019 8:31 am

Unable to program the ESP32 PICO

Postby amreen » Thu May 16, 2019 8:35 am

Hi,

We are unable to program the ESP32 PICO device.
Fatal Error Occured: MD5 pf file does not match data in flash!

Please help us.

ESP_Sprite
Posts: 2566
Joined: Thu Nov 26, 2015 4:08 am

Re: Unable to program the ESP32 PICO

Postby ESP_Sprite » Thu May 16, 2019 11:09 am

What hardware are you using?

amreen
Posts: 3
Joined: Thu May 16, 2019 8:31 am

Re: Unable to program the ESP32 PICO

Postby amreen » Fri May 17, 2019 9:05 am

Customized hardware using ESP32 PICO D4.

amreen
Posts: 3
Joined: Thu May 16, 2019 8:31 am

Re: Unable to program the ESP32 PICO

Postby amreen » Fri May 17, 2019 9:25 am

Generating esp32.project.ld
LD build/hello-world.elf
esptool.py v2.7-dev
Flashing binaries to serial port COM17 (app at offset 0x10000)...
esptool.py v2.7-dev
Serial port COM17
Connecting....
Chip is ESP32-PICO-D4 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, Coding Scheme None
MAC: d8:a0:1d:69:81:c4
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Flash params set to 0x0220
Compressed 26240 bytes to 15672...
Wrote 26240 bytes (15672 compressed) at 0x00001000 in 1.4 seconds (effective 1.3 kbit/s)...
File md5: ecc0c86933648a519b991c6eea05dfd4
Flash md5: ce0d9f7f999e01b39a9fb7415a5ba255
MD5 of 0xFF is ce0d9f7f999e01b39a9fb7415a5ba255

A fatal error occurred: MD5 of file does not match data in flash!
make: *** [/esp/esp-idf/components/esptool_py/Makefile.projbuild:67: flash] Err 2

ESP_Sprite
Posts: 2566
Joined: Thu Nov 26, 2015 4:08 am

Re: Unable to program the ESP32 PICO

Postby ESP_Sprite » Fri May 17, 2019 1:43 pm

Sooo... do you have any schematics we can take a look at? Md5 check failed means effectively that the data written to the flash is not the same as the data that got read back, so there's a pretty big chance that there's something off in your hardware. In your situation, the MD5 is the same as the MD5 of all 1s, so there actually doesn't seem to be anything written to flash.

Who is online

Users browsing this forum: Dystman, WiFive and 12 guests