Smart Home Automation Forum
kc868-a6 A fatal error occurred: MD5 of file does not match data in flash! - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20)
+--- Forum: KC868-A6 (https://www.kincony.com/forum/forumdisplay.php?fid=22)
+--- Thread: kc868-a6 A fatal error occurred: MD5 of file does not match data in flash! (/showthread.php?tid=2785)



kc868-a6 A fatal error occurred: MD5 of file does not match data in flash! - Siebje - 04-13-2023

Hi,

currently, I'm working with the kc868-a6, for the last couple of weeks I've used the board with success! 

since the beginning of this week, problems started to reel in, when I was reading out analog inputs from my board. This is my code with the corresponding error code:
Code:
#include "Arduino.h"

#define ANALOG_A1 35

void setup() {

Serial.begin(9600);

pinMode(ANALOG_A1, INPUT);

}

void loop() {

Serial.println(analogRead(ANALOG_A1));

delay(500);

}
Code:
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 16384.2 kbit/s)...
File  md5: e6327541e2dc394ca2c3b3280ac0f39f
Flash md5: 9103c1184bb288ef16b7004acc339e7f
MD5 of 0xFF is 84d04c9d6cc8ef35bf825d51a5277699

A fatal error occurred: MD5 of file does not match data in flash!
Failed uploading: uploading error: exit status 2


I have tried many things to fix it but all without success. hopefully, there is someone who can help me with my problem

Thanks in advance!


RE: kc868-a6 A fatal error occurred: MD5 of file does not match data in flash! - admin - 04-13-2023

you can try to use ESP Tool erase the chip data. or download BIN firmware by ESP tool.


RE: kc868-a6 A fatal error occurred: MD5 of file does not match data in flash! - Siebje - 04-13-2023

(04-13-2023, 07:54 AM)admin Wrote: you can try to use ESP Tool erase the chip data. or download BIN firmware by ESP tool.

I've tried it many times but get the following error message:

Quote:8-download data fail



RE: kc868-a6 A fatal error occurred: MD5 of file does not match data in flash! - admin - 04-13-2023

maybe you need to replace the ESP32 module.