SmartThingsCommunity / st-device-sdk-c-ref

SmartThings SDK Reference for Direct Connected Devices for C
Apache License 2.0
122 stars 172 forks source link

Checksum error flashing to ESP8266 #45

Closed edukinara closed 4 years ago

edukinara commented 4 years ago

Getting an MD5Sum error when attempting to flash to an ESP8266

esptool.py v2.4.0
Connecting........_
Chip is ESP8266EX
Features: WiFi
MAC: 50:02:91:d6:12:45
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Compressed 8192 bytes to 31...
Wrote 8192 bytes (31 compressed) at 0x00011000 in 0.3 seconds (effective 250.7 kbit/s)...
Hash of data verified.
Compressed 9440 bytes to 6327...
Wrote 9440 bytes (6327 compressed) at 0x00000000 in 0.8 seconds (effective 92.1 kbit/s)...
Hash of data verified.
Compressed 634832 bytes to 413663...
Wrote 634832 bytes (413663 compressed) at 0x00014000 in 43.8 seconds (effective 115.9 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 116...
Wrote 3072 bytes (116 compressed) at 0x00008000 in 0.3 seconds (effective 76.8 kbit/s)...

A fatal error occurred: MD5Sum command returned unexpected result: '\xf6/j\x90\xa2\xf9\xf9\xaa\xf5B{\x96.\xa9'
make: *** [/home/edu/st-device-sdk-c-ref/bsp/esp8266/components/esptool_py/Makefile.projbuild:76: flash] Error 2
Kwang-Hui commented 4 years ago

Hi @edukinara I think it is problem of ESP8266 related S/W or environment issue. I could find related thread from ESP-IDF github project. https://github.com/espressif/esp-idf/issues/50