Hi,
I bought a wifi control relay from OpenEnergyMonitor’s shop one year ago. SInce then I use it as is, controlling the relay with MQTT.
I’m trying to flash espurna on it since 2 weeks, without success. I’m following this page :
as stated in this espurna wiki:
I’m using the advanced method with an USB FTDI cable (3.3V). With this cable, i can execute commands like esptools chid_id or flash_id whithout problem:
esptool.py v2.5.1 Serial port COM4 Connecting........_____. Detecting chip type... ESP8266 Chip is ESP8266EX Features: WiFi MAC: 60:01:94:0c:6c:c3 Uploading stub... Running stub... Stub running... Chip ID: 0x000c6cc3 Hard resetting via RTS pin...
and flash_id:
esptool.py v2.5.1 Serial port COM4 Connecting........_____. Detecting chip type... ESP8266 Chip is ESP8266EX Features: WiFi MAC: 60:01:94:0c:6c:c3 Uploading stub... Running stub... Stub running... Manufacturer: c8 Device: 4015 Detected flash size: 2MB Hard resetting via RTS pin...
The error when I try to flash the image is:
File md5: 3a7aebd1104043132e36dd1eee112ecf Flash md5: dc77d004e3e50c32d3c910a5924a25f7 MD5 of 0xFF is e0f309dbdc22c3d233ded1b6a7a717a4 A fatal error occurred: MD5 of file does not match data in flash!
After that, if I boot the esp normally, it loads the original firmware like nothing was done.
Something is wrong with the procedure and I see that the board I have, is not the same as in the documentation (I have no J5 for example).
the Flash md5 is always the same at each retry, so it looks like it’s write protected, is it possible?
If someone could show me a direction, it would be very helpful.
Thanks,This text will be hidden
update:
here is the firmware actually loaded:
Firmware version: 3190 / Oct 20 2017 11:09:48 , SDK: 2.1.0(7106d38), User bin: 0, bootloader version: 6.
Free heap size:28040
Running user1.bin
Uptime: 0 days, 0 hours, 0 minutes, 0 seconds