-
Notifications
You must be signed in to change notification settings - Fork 119
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 connect to the device" on Adafruit QT PY ESP32-S2 #670
Comments
I have the same issue on 3.1.0 and 3.1.1 on my custom-designed ESP32-S2 board. Works perfectly with espflash 2.x and esptool.py |
Does it work if you pass |
Unfortunately, this does not work.
I just tried using espflash 2.1.0 and it works! Not sure what changed between the versions. Leaving the ticket open as this seems like a bug. |
I'm having the same issue with an ESP32 on a custom board. I have bisected the issue and found |
I believe my case is actually a separate issue, but I think setting the flags |
I am having the same problem. Here are some additional details to hopefully point us all in the right direction Successful Arduino Build->Upload--chip esp32s2 \
--port "/dev/cu.usbmodem01" \
--baud 921600 \
--before default_reset \
--after no-reset \
write_flash \
-z \
--flash_mode keep \
--flash_freq keep \
--flash_size keep \
0x1000 "<snip>/esp-test2.ino.bootloader.bin" \
0x8000 "<snip>/esp-test2.ino.partitions.bin" \
0xe000 "<snip>Arduino15/packages/esp32/hardware/esp32/3.0.4/tools/partitions/boot_app0.bin" \
0x10000 "<snip>/esp-test2.ino.bin" \
0x2d0000 "<snip>/Library/Arduino15/packages/esp32/hardware/esp32/3.0.4/variants/adafruit_qtpy_esp32s2/tinyuf2.bin"
esptool.py v4.6 successful trace logs from espflash 2.1.0
3.1.1 trace logs
|
Here are the logs every permutation I though would be worth trying
|
Having the same issue so if there is anything I can provide to help or test I will also be able to :) Though having the same issue running on ubuntu in wsl2 as well as on mac. |
I apologize for the late response. Unfortunately this does not work for me. I get a different error now. I have confirmed the device is in bootloader mode and the correct serial port is selected.
|
I actually ended up getting this to work with the following command: But now I'm struggling to monitor the serial port after flashing. It seems like something related to #621 EDIT: Fixed the monitoring issue (keep in mind I'm using
|
Info:
esp-13.2.0_20230928
,xtensa-esp32-elf-clang
I've put the board into boot loader mode, and I can communicate with it using
esptool
:When I run
espflash flash target/xtensa-esp32s2-espidf/debug/humid --monitor
, I get the following error:Please let me know if you need any further information.
The text was updated successfully, but these errors were encountered: