Smart Home Automation Forum

Full Version: kc868-a6 A fatal error occurred: MD5 of file does not match data in flash!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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!
you can try to use ESP Tool erase the chip data. or download BIN firmware by ESP tool.
(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
maybe you need to replace the ESP32 module.
(04-13-2023, 12:41 PM)admin Wrote: [ -> ]maybe you need to replace the ESP32 module.

i think i got this same problem. How can i solve it? your board come with "Tested"  but dont working as welll