Unable to program ESP32-MINI-1 modules
Posted: Wed Mar 03, 2021 4:49 pm
We manufactured some boards based on the ESP32-MINI-1 module.
When we try to program them, we get the following error: <<A fatal error occurred: Timed out waiting for packet header>>.
A strange warning message is:
WARNING: Detected crystal freq 38.36MHz is quite different to normalized freq 40MHz. Unsupported crystal in use?
We tried with different boards, and the 38.xxMHz may vary from several hundred kHz. It seems that the chip is running with an internal RC,..or the internal oscillator is very unstable... Is that possible??
We installed the latest esp-idf: v4.4-dev-4-g73db14240 and tried with the same result with an older V4.1 (same result).
Below the full log:
Connecting....
Chip is ESP32-U4WDH (revision 3)
Features: WiFi, BT, Single Core, Embedded Flash, VRef calibration in efuse, Coding Scheme None
WARNING: Detected crystal freq 38.36MHz is quite different to normalized freq 40MHz. Unsupported crystal in use?
Crystal is 40MHz
MAC: f0:08:d1:e2:fa:b0
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
A fatal error occurred: Timed out waiting for packet header
When we try to program them, we get the following error: <<A fatal error occurred: Timed out waiting for packet header>>.
A strange warning message is:
WARNING: Detected crystal freq 38.36MHz is quite different to normalized freq 40MHz. Unsupported crystal in use?
We tried with different boards, and the 38.xxMHz may vary from several hundred kHz. It seems that the chip is running with an internal RC,..or the internal oscillator is very unstable... Is that possible??
We installed the latest esp-idf: v4.4-dev-4-g73db14240 and tried with the same result with an older V4.1 (same result).
Below the full log:
Connecting....
Chip is ESP32-U4WDH (revision 3)
Features: WiFi, BT, Single Core, Embedded Flash, VRef calibration in efuse, Coding Scheme None
WARNING: Detected crystal freq 38.36MHz is quite different to normalized freq 40MHz. Unsupported crystal in use?
Crystal is 40MHz
MAC: f0:08:d1:e2:fa:b0
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
A fatal error occurred: Timed out waiting for packet header