Slimme meter project DSMR-logger from Willem Anndewiel

I want to read my P1 port with the version of Willem Aandewiel. The interface was easy for me as I have a lot of electronics experience. I was also able to upload the sketch without error messages, but now I have to flash the SPIFFS of the ESP8266 with the Sketch Data Upload tool. For this I have neatly followed all instructions, as discussed on Willem’s website. After successfully installing the plug-in for Arduino-IDE, I tried to flash the ESP-01. This results in an error message as in the attachment. I googled and read that many people received this error message after the update of the ESP8266 Lib and often read the advice to downgrade it to 2.5.1 I did that, but unfortunately without result. I’m just able to solve this. The sketch does work and can access the unit via my web browser, but the values are not updated. This is most likely due to the fact that I cannot flash the ESP01 with SPIFFS.

Who can / wants to help me further?

Chip is ESP8266EX

Features: WiFi

Crystal is 26MHz

MAC: bc:dd:c2:23:e3:4d

Uploading stub…

Running stub…

Stub running…

Configuring flash size…

Auto-detected Flash size: 1MB

Compressed 131072 bytes to 8343…

Writing at 0x000db000… (100 %)
Wrote 131072 bytes (8343 compressed) at 0x000db000 in 0.7 seconds (effective 1419.7 kbit/s)…

Traceback (most recent call last):

File “C:\Users\jbfvo\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\tools\”, line 65, in


File “C:/Users/jbfvo/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/esptool\”, line 2938, in main

operation_func(esp, args)

File “C:/Users/jbfvo/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/esptool\”, line 2398, in write_flash

res = esp.flash_md5sum(address, uncsize)

File “C:/Users/jbfvo/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/esptool\”, line 104, in inner

return func(*args, **kwargs)

File “C:/Users/jbfvo/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/esptool\”, line 691, in flash_md5sum


File “C:/Users/jbfvo/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/esptool\”, line 369, in check_command

val, data = self.command(op, data, chk, timeout=timeout)

File “C:/Users/jbfvo/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/esptool\”, line 347, in command

p =

File “C:/Users/jbfvo/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/esptool\”, line 292, in read

return next(self._slip_reader)

File “C:/Users/jbfvo/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/esptool\”, line 2045, in slip_reader

raise FatalError(“Timed out waiting for packet %s” % waiting_for)

esptool.FatalError: Timed out waiting for packet header

SPIFFS Upload failed!