Not Able to Program ESP32

brn100
Posts: 2
Joined: Sat Feb 19, 2022 1:49 pm

Not Able to Program ESP32

Postby brn100 » Fri May 06, 2022 3:37 pm

Dear all,

I have a great issue while wanted to program ESP32-WROOM-32E MCU idle, without using any development boards. I am using CH340G USB-to-UART adapter for external connection. In order to supply ESP32, I am using LM1117 LDO regulator(5V to 3.3V).

I continuously get the following message on serial monitor when I wanted to program my ESP32-WROOM-32E over Arduino:
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:12784
load:0x40080400,len:3032
entry 0x400805e4
factory_parameter partition missed

[0;31mE (633) phy_init: failed to validate PHY data partition[0m
[0;31mE (633) phy_init: failed to obtain PHY init data[0m
abort() was called at PC 0x400e43ef on core 0

ELF file SHA256: f19ef370db8aae99

Backtrace: 0x4008d09d:0x3ffcccf0 0x4008d409:0x3ffccd10 0x400e43ef:0x3ffccd30 0x401a75c8:0x3ffccd60 0x401a7691:0x3ffccd80 0x401a792a:0x3ffccda0 0x401a47f6:0x3ffccdc0 0x400968aa:0x3ffccde0 0x4008e89d:0x3ffcce10

Rebooting...

Apart from that, the other problem is when I wanted to upload a code into the chip, I get the following error:

esptool.py v3.3-dev
Serial port /dev/ttyUSB0
Connecting.....................................An error occurred while uploading the sketch
.
A fatal error occurred: Failed to connect to ESP32: No serial data received.

What do you think about the problem? I had attached the schematic that I used.

Thanks for your attention,

Baran
Attachments
Screenshot from 2022-05-06 17-32-47.png
Screenshot from 2022-05-06 17-32-47.png (27.62 KiB) Viewed 1422 times

ESP_Sprite
Posts: 9770
Joined: Thu Nov 26, 2015 4:08 am

Re: Not Able to Program ESP32

Postby ESP_Sprite » Sat May 07, 2022 4:59 am

Can you check what happens if you manually ground GPIO0, reset the ESP32 and then re-try programming it?

Who is online

Users browsing this forum: No registered users and 83 guests