Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
kc868-a6 A fatal error occurred: MD5 of file does not match data in flash!
#1
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!
Reply
#2
you can try to use ESP Tool erase the chip data. or download BIN firmware by ESP tool.
Reply
#3
(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
Reply
#4
maybe you need to replace the ESP32 module.
Reply


Forum Jump:


Users browsing this thread: