Error Message with esp-prog

AlexESP32
Posts: 65
Joined: Thu Oct 03, 2019 9:41 am

Error Message with esp-prog

Postby AlexESP32 » Wed Jul 15, 2020 5:27 pm

Hello guys,

I get following error message when I wire the esp devkit with the esp-prog:

esptool.py -p COM7 -b 460800 --before default_reset --after hard_reset --chip esp32 write_flash --flash_mode dio --flash_freq 40m --flash_size 2MB 0x8000 partition_table/partition-table.bin 0x1000 bootloader/bootloader.bin 0x10000 hello-world.bin
esptool.py v2.9-dev
Serial port COM7
Connecting........_
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
WARNING: Detected crystal freq 41.01MHz is quite different to normalized freq 40MHz. Unsupported crystal in use?
Crystal is 40MHz
MAC: 24:62:ab:f3:27:a4
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Compressed 3072 bytes to 103...

A fatal error occurred: Timed out waiting for packet content
esptool.py failed with exit code 2

Maybe someone can help me with this issue ;)

Thank you.

Scott.Bonomi
Posts: 73
Joined: Mon Mar 09, 2020 7:36 pm

Re: Error Message with esp-prog

Postby Scott.Bonomi » Wed Jul 15, 2020 10:57 pm

I think it sounds like you have an unstable oscillator somewhere. Either the external oscillator is flaky or the internal oscillator used to verify the external is a bit off. 41 MHz is about 2.5% off of 40 MHz. The standard for UART communication used to allow for up to 3% error in timing, and still be considered valid. But it not go anywhere near 460k. I would expect that your communications failure was caused by a clocking failure in the serial circuit. If you stay down at say 115.2, you might have better luck staying connected. You might even want to try slower. If your clock has slipped one way, and his the other, it would appear to be coupled only to that pairing.

AlexESP32
Posts: 65
Joined: Thu Oct 03, 2019 9:41 am

Re: Error Message with esp-prog

Postby AlexESP32 » Thu Jul 16, 2020 5:05 am

Thank you :)
I will test this and give the feedback asap.

Who is online

Users browsing this forum: No registered users and 279 guests