Go Down

Topic: File corrupts during rewrite using Windows  (Read 249 times) previous topic - next topic


Hi All,

I faced an issue in several ESP32 Dev Kits recently. I used the flash memory available on the module to save some files of sizes 14kB and 267kB. File write goes without errors. And when the files are read immediately after rewriting, without flashing another code to the ESP32, it is still OK.

But when I flash a new code to the program memory and try to read the contents previously written into the flash memory, they seem to have corrupted.

I used a Windows machine with Arduino 1.8.5. I tested this on another Windows machine, but the problem remains the same.

Surprisingly, when I do the same thing using a Linux machine, the files do not get corrupted. Can anybody help in this regard?

USB Driver = Silicon Labs CP210X

Go Up