ESP32-WROOM-32(M103QH2800PH3Q0) - 16 MB

gianmarco_scar
Posts: 3
Joined: Wed Jul 15, 2020 1:59 pm

ESP32-WROOM-32(M103QH2800PH3Q0) - 16 MB

Postby gianmarco_scar » Wed Jul 15, 2020 2:18 pm

Hi,

I have a problem to program of the flash using the module ESP32-WROOM-32. I posted the log obtain executing the command make flash on the mingw32 terminal :
sdk_config.txt
File sdk_config
(17.8 KiB) Downloaded 335 times
$ make flash
Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a5
Compiler version: 5.2.0
Python requirements from M:/esp/esp-idf/requirements.txt are satisfied.

Project is not inside a git repository, will not use 'git describe' to determine PROJECT_VER.
App "hello-world" version: 1
Flashing binaries to serial port COM7 (app at offset 0x10000)...
esptool.py v2.8
Serial port COM7
Connecting....
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 24:6f:28:86:02:94
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Warning: Could not auto-detect Flash size (FlashID=0x0, SizeID=0x0), defaulting to 4MB
Compressed 25968 bytes to 15462...
Wrote 25968 bytes (15462 compressed) at 0x00001000 in 0.2 seconds (effective 1117.8 kbit/s)...

A fatal error occurred: Timed out waiting for packet header
make: *** [/m/esp/esp-idf/components/esptool_py/Makefile.projbuild:71: flash] Error 2


I attached the file sdk.config. Can you help me ?

Thanks,

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

Re: ESP32-WROOM-32(M103QH2800PH3Q0) - 16 MB

Postby ESP_Sprite » Wed Jul 15, 2020 2:39 pm

What hardware are you using? Anything connected to the flash pins of the hardware?

gianmarco_scar
Posts: 3
Joined: Wed Jul 15, 2020 1:59 pm

Re: ESP32-WROOM-32(M103QH2800PH3Q0) - 16 MB

Postby gianmarco_scar » Thu Jul 16, 2020 11:06 am

I am using a custom hardware. I haven't connected nothing on the flash pins. I give you other informations, i haven't connected nothing on the gio from 6 to 11. I have follow the section '2.3 Strapping Pins' on the document 'esp32-wroom-32_datasheet_en.pdf' and i have resolved the problem of the programming of the flash (i atteched the log 'programming flash.txt').
But i have another problem, after i have programming correctly the flash , i starting the boot and i receiving the follows error message (i atteched log complete on the file 'message boot.log') :
flash read err, 1000

Why the module sending this error ? What provocate this error ?

Thanks
programming flash.txt
programming flash ok
(59.01 KiB) Downloaded 370 times
message boot.log
message received from boot
(554 Bytes) Downloaded 351 times

ESP_igrr
Posts: 2071
Joined: Tue Dec 01, 2015 8:37 am

Re: ESP32-WROOM-32(M103QH2800PH3Q0) - 16 MB

Postby ESP_igrr » Mon Aug 31, 2020 1:36 pm

Hi gianmarco_scar,

With regards to the "flash read err, 1000" error:

The error you observe is most likely the one described in ESP32 errata section 3.8: Due to the flash start-up time, a spurious watchdog reset occurs when ESP32 is powered up or wakes up from Deep-sleep.
In most cases, this doesn't cause any problems other than a slightly longer (~hundred ms) startup time, and this message printed. ESP-IDF can work around this issue in the case the MCU wakes up from deep sleep. In the case of power-up, the only workaround is to use ESP32 revision 3 (a.k.a. ECO3), or switch to a different flash chip with faster startup time.

Who is online

Users browsing this forum: MicroController and 119 guests