Hello
I have a download problem with a ESP32 WROOM. l connects well but seems not to detect FLASH. Here is the error message.
I check everything, change the ESP but still the same.
Do you have an idea.
thank you in advance
Archiving built core (caching) in: C:\Users\Luc\AppData\Local\Temp\arduino_cache_916759\core\core_espressif_esp32_esp32_FlashMode_qio,FlashFreq_80,FlashSize_4M,UploadSpeed_921600,DebugLevel_none_3e5d3f9bb53412721363cb0cb542074b.a
Le croquis utilise 154674 octets (11%) de l'espace de stockage de programmes. Le maximum est de 1310720 octets.
Les variables globales utilisent 10832 octets (3%) de mémoire dynamique, ce qui laisse 284080 octets pour les variables locales. Le maximum est de 294912 octets.
esptool.py v2.1
Connecting........_
Chip is ESP32D0WDQ6 (revision 1)
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Warning: Could not auto-detect Flash size (FlashID=0xffffff, SizeID=0xff), defaulting to 4MB
Compressed 8192 bytes to 47...
A fatal error occurred: Timed out waiting for packet content
A fatal error occurred: Timed out waiting for packet content
download problem
Re: download problem
Hi Beroy,
What hardware (development board, etc) is connected to the WROOM? Is it possible something is connected to the SPI flash GPIOs of the WROOM module (GPIOs 6-11 inclusive)?
What hardware (development board, etc) is connected to the WROOM? Is it possible something is connected to the SPI flash GPIOs of the WROOM module (GPIOs 6-11 inclusive)?
Re: download problem
Hello and thank you for your answer.
No nothing is connected to GPIO6-> GPIO11.
see diagram. I do not know what to do anymore.
Thanks for your help
No nothing is connected to GPIO6-> GPIO11.
see diagram. I do not know what to do anymore.
Thanks for your help
- Attachments
-
- Capture.JPG (99.89 KiB) Viewed 10674 times
Re: download problem
Here is the part to lower the code.
And here is what I have as a message on the COM port (normal mode):
rst: 0x1 (POWERON_RESET), boot: 0x33 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
ands Jun 8 2016 00:22:57
rst: 0x10 (RTCWDT_RTC_RESET), boot: 0x33 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
ands Jun 8 2016 00:22:57
.
.
.
And here is what I have as a message on the COM port (normal mode):
rst: 0x1 (POWERON_RESET), boot: 0x33 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
ands Jun 8 2016 00:22:57
rst: 0x10 (RTCWDT_RTC_RESET), boot: 0x33 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
ands Jun 8 2016 00:22:57
.
.
.
- Attachments
-
- Prog.JPG (32.65 KiB) Viewed 10674 times
Re: download problem
If there are no shorts or other assembly/soldering problems on those same pins on the board then it's possible your WROOM has a faulty flash chip.
Re: download problem
boot: 0x33 (SPI_FAST_FLASH_BOOT)
This means gpio12 is pulled high at boot (1-wire/i2c pull-up) selecting 1.8v flash voltage which is not correct for wroom32. Gpio12 should be pulled low at boot.
This means gpio12 is pulled high at boot (1-wire/i2c pull-up) selecting 1.8v flash voltage which is not correct for wroom32. Gpio12 should be pulled low at boot.
Re: download problem
THANK YOU MUCH, you're right.
I am really stupid because I had read that on the datasheet but I had not made the connection between MTDI and GPIO12.
Everything is working properly!
I am really stupid because I had read that on the datasheet but I had not made the connection between MTDI and GPIO12.
Everything is working properly!
-
- Posts: 51
- Joined: Sat Mar 17, 2018 4:49 am
Re: download problem
even am getting the same problem, what is the solution for that.
Re: download problem
As WiFive said, Gpio12 must be pulled down at startup.
Who is online
Users browsing this forum: No registered users and 140 guests