-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
esp32c3 - faulty flash size reported by boot.esp32c3 when flashed with esptool 4.4 (ESPTOOL-615) #837
Comments
one more thing: both versions of esptool identify the chip correctly when using "flash_id"
|
HI @pljakobs. These two warnings explain the situation.
The bootloader was not built with the 4MB and 40MHz options. This is a breaking change between those two major versions of esptool and the build system needs to be adjusted. If a pre-built bootloader is used and not taken into account the target chip then the The other solution is set the right flash parameters when the bootloader is built and this behavior won't be observed. |
thanks for the quick response @dobairoland |
I'm sorry I'm not familiar with Sming. You can look for the |
has been resolved. It seems to have been something in my sming build config, cleaning it helped. Thanks for your support! |
Operating System
Fedora 37
Esptool Version
esptool.py v4.4
Python Version
Python 3.11.1
Chip Description
esp32c3
Device Description
AI Thinker esp32c3-01m
Hardware Configuration
Pins {1, 5, 6, 7 and 10 connected to MOSFET gates
How is Esptool Run
Sming make flash
Full Esptool Command Line that Was Run
Esptool Output
More Information
using esptool 4.4, the esp32c3 module is hung in a boot loop. boot.esp32c3 detects a (faulty, afaik) Flash size of 2MB
with the older version of esptool, this works fine:
output:
esp startup
I was able to reproduce this with other versions of esptool, flashing the exact same binary files.
-> successful start
-> boot loop
Other Steps to Reproduce
As this is initially reproduced using sming, switching between branches that have updated the esptool.py submodule exposes the issue.
I Have Read the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: