esp8266 (esp01 ) need to reupload the code after power is turned off .

hello,

I buy the esp01 for my project but I realized that after a reboot, the code no longer works as if it was delete. only way to repair it reupload the code.I tried everything without success

thank you for help.

The ESP-01 modules usually have AT firmware from Espressif.

"rebooting" should not be a problem

Not sure what you are talking about.

.

hello,

I do not use the AT command but NodeMcu that I flashed inside the ESP-O1 so the code is upload on the esp_01 , not on the arduino board.

[u]Thank you.[/u]

no answer ?? : o : o

Codrux: hello,

I do not use the AT command but NodeMcu that I flashed inside the ESP-O1 so the code is upload on the esp_01 , not on the arduino board.

No matter what you upload, if you are uploading it correctly then removing power should not be a problem.

It could be that you are not uploading properly.

https://www.allaboutcircuits.com/projects/flashing-the-ESP-01-firmware-to-SDK-v2.0.0-is-easier-now/ has the circuit you will need

I'm not sure about using nodemcu to upload code. But from what you mentioned, it sounds like your GPIO0 is connected to gnd, which is why it is not running after you reset. When you are uploading code, GPIO0 must be connected to gnd. But running normally/booting from flash, it must be left floating/HIGH.