Download image to ESP32

qinannan
Posts: 6
Joined: Sat Sep 12, 2020 7:40 am

Download image to ESP32

Postby qinannan » Sat Sep 12, 2020 7:43 am

Strictly referring the official design of module ESP32-S2-WROOM, I designed my own small WIFI board by the chip ESP32-W0WD. But I failed to download my program to flash. The flash tool complains that:  Flash synchronization error.  
My BSL programming tool is : flash_download_tools_v3.6.8.exe and the hardware tools is USB-UART
IO0 was configured as low power Level
EN pin is configured as high

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

Re: Download image to ESP32

Postby ESP_Sprite » Sun Sep 13, 2020 8:04 am

Hard to say.

- If you boot up the board normally and run a terminal emulator on the serial port, do you see any output?
- Can you confirm the 40MHz crystal is doing something?

qinannan
Posts: 6
Joined: Sat Sep 12, 2020 7:40 am

Re: Download image to ESP32

Postby qinannan » Mon Sep 14, 2020 2:40 am

I am sure the 40MHz crystal is working normally.

qinannan
Posts: 6
Joined: Sat Sep 12, 2020 7:40 am

Re: Download image to ESP32

Postby qinannan » Mon Sep 14, 2020 2:45 am

Image
Attachments
51ab50ace17db181b51b20d4028ad8d.jpg
51ab50ace17db181b51b20d4028ad8d.jpg (5.38 MiB) Viewed 7108 times
43fd1d8c4a062eb639130aef8098aba.jpg
43fd1d8c4a062eb639130aef8098aba.jpg (5.2 MiB) Viewed 7108 times
43fd1d8c4a062eb639130aef8098aba.jpg
43fd1d8c4a062eb639130aef8098aba.jpg (5.2 MiB) Viewed 7108 times

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

Re: Download image to ESP32

Postby ESP_Sprite » Mon Sep 14, 2020 7:51 am

And the other half of my post? If you boot up the board normally and run a terminal emulator on the serial port, do you see any output?

Also, note that EN should be low for a while on power-up; you can't just tie it to 3.3V.

qinannan
Posts: 6
Joined: Sat Sep 12, 2020 7:40 am

Re: Download image to ESP32

Postby qinannan » Tue Sep 15, 2020 1:47 am

Will the serial port of the circuit board without any program also have output? When the program is burning, the oscilloscope can see the data packet that the upper computer communicates with the lower computer, but the lower computer does not respond, and the flash is used for burning. When using the flash tool, the flash is not detected

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

Re: Download image to ESP32

Postby ESP_Sprite » Tue Sep 15, 2020 9:44 am

Given that GPIO15 is unconnected or pulled high, the ESP32 should output a line or two indicating the ROM version and reset reason as soon as it starts up.

qinannan
Posts: 6
Joined: Sat Sep 12, 2020 7:40 am

Re: Download image to ESP32

Postby qinannan » Mon Sep 21, 2020 3:04 am

I had not seen nothing in serial port

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

Re: Download image to ESP32

Postby ESP_Sprite » Tue Sep 22, 2020 8:37 am

Hmm, the 40MHz likely indicates that the chip does have power, but the lack of a serial port signon message is a symptom... Do you happen to have a schematic for the board we can take a look at?

Who is online

Users browsing this forum: No registered users and 68 guests