Cannot program using Flash download tool.

charleslinquist
Posts: 4
Joined: Thu May 16, 2019 9:09 pm

Cannot program using Flash download tool.

Postby charleslinquist » Sat Dec 24, 2022 5:06 am

I am using the ESP32-WROOM S3 development board. I have extra capacitance on the power supply. I have tried 3 different USB cables (all short). I have tried 3 different computers. The serial port is correct.
When I try to program the part, it always fails in the same way.

The swquence is ;

test offset : 0 0x0
case ok
test offset :0 0x0
case ok

..........................................................

Uploading stub...
Running stub...
Exception in thread Thread-1:
Traceback (most recent call last):
file "threadying.py, line 932, in _bootstrap_inner
file "downloading_process.py, line 678, in run
file "espDownloader.py", line 601, in flash_download_test
file "espDowloader.py", line 781, in flash_download_func
file "espDowloader.py", line 697, in esp_stub_and_set_baud
file "esptool\loader.py", line 912, in run_stub
file "esptool\loader.py" line 307, in read
file "esptool\loader.py", line 1428 in slip_reader
esptool.util.fatalError: Invalid head of packet (0x46); Possible serial noise or corruption.


It always fails exactly at the same point. What can I do to get the chip to program???

User avatar
mbratch
Posts: 303
Joined: Fri Jun 11, 2021 1:51 pm

Re: Cannot program using Flash download tool.

Postby mbratch » Sat Dec 24, 2022 11:20 am

When you say you have "extra capacitance on the power supply" exactly what do you mean?

If you're programming over USB, the USB can provide power, and if this is a development board, then it is what it is, unless you've modified it.

charleslinquist
Posts: 4
Joined: Thu May 16, 2019 9:09 pm

Re: Cannot program using Flash download tool.

Postby charleslinquist » Sat Dec 24, 2022 5:14 pm

I have added 2200uF directly across the 5V pins. It is powered by the (short, heavy) USB cable.

User avatar
mbratch
Posts: 303
Joined: Fri Jun 11, 2021 1:51 pm

Re: Cannot program using Flash download tool.

Postby mbratch » Sat Dec 24, 2022 6:03 pm

If you're using Windows, does the COM port for the ESP32 show up in the device manager?

Who is online

Users browsing this forum: Gaston1980 and 159 guests