Esp32 is unable to execute the uploaded code

Hello, I'm able to upload the code successfully but esp32 is not executing the code. I'm getting the following message on the Serial monitor:

ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download

When I reset the esp32, it start executing the code only if I connect IO0 to VCC.

If I00 is low at restart then the ESP32 does go into download mode.

For the loaded program to run I00 needs to be high (VCC) at restart, as you seem to have discovered.

The voltage across IO0 is 1.2V(When IO0 is not connected to VCC), hence it remains in download mode. But if I swap the esp32 with another, It seems to be working. I'm not sure whether its internal pullup resistor is working or not.

So you have 2 identical ESP32, one is working as expected anothe ris not? Well, there is your answer, one is bad

Is there any way that I can fix the bad one by adding an external pullup resistor or by any means? Because it was working previously. and as I told you If I connect IO0 to VCC it seems to be working but then I'm unable to upload the code, I'll have to disconnect each time for uploading the code.

I'd throw it away and get another one, who knows what else is not working

Might do, try it ...............

I think the problem has been rectified. I uploaded my previous program along with the data to spiffs. Now voltage across the IO0 seems to be stable as it should be. I was wondering what might have caused this problem and I think most probably corrupt data in spiffs has caused this issue (I might be wrong since I'm a beginner only) but I'd love to know the reason behind it...

Unfortunately, it's working abnormally, I guess the internal pull-up resistor of IO0 is damaged.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.