-
Notifications
You must be signed in to change notification settings - Fork 52
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
failed to espflash "Failed to connect to on-device flash" #48
Comments
With the help of the esp-rs matrix.org channel I was able to
and based on that I could use
So the microcontroller works enough to flash and run a simple blink app. There's something in espflash that is malfunctioning. One of the folks on matrix.org hypothesized that the error message is coming from https://github.com/esp-rs/espflash/blob/aee5a8204a6efbe9997703c4e93a81601e022f24/espflash/src/flasher.rs#L231-L248 which is an |
In case it becomes relevant, the exact hardware I am using is Adafruit ESP32 Feather V2 - 8MB Flash + 2 MB PSRAM - STEMMA QT https://www.adafruit.com/product/5400 |
One of the admins on the Adafruit forums tells me that the Adafruit ESP32 Feather V2 is an ESP32-PICO-MINI-02 . He also provided a link to their copy of the datasheet: https://cdn-shop.adafruit.com/product-files/5400/esp32-pico-mini-02_datasheet_en.pdf I wonder if this part has a different flashing procedure that the |
i have the same issue with |
I have the same device with the same issue, but the recently merged PR solved this problem for me. |
yep, this should be solved by the flash stub added in esp-rs/espflash#216, though you do need to set the |
I was able to build the template app in a custom docker container
Since the USB port is not available to the docker container, I run espflash on the host, and it fails:
I get the same error if I flash as root.
espmonitor reports
Before I used the arduino toolchain to install a C++ blink example, espmonitor was reporting the results of the wifi scan performed by the Adafruit-installed sketch.
What mistake am I making in the flash process?
The text was updated successfully, but these errors were encountered: