Open dylif opened 4 weeks ago
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 --no-stub
?
Does it work if you pass
--no-stub
?
Unfortunately, this does not work.
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
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 2f3d110
is the first bad commit.
Interestingly, strace says that espflash doesn't even read or write to the serial port. I can confirm that it doesn't write anything as the LEDs on my UART adapter don't flash.
I believe my case is actually a separate issue, but I think setting the flags --before no-reset-no-sync -c esp32s2
might help in your case.
I am having the same problem. Here are some additional details to hopefully point us all in the right direction
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 believe my case is actually a separate issue, but I think setting the flags
--before no-reset-no-sync -c esp32s2
might help in your case.
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.
[2024-09-03T00:57:49Z WARN ] Pre-connection option 'NoResetNoSync' was selected. Connection may fail if the chip is not in bootloader or flasher stub mode.
[2024-09-03T00:57:49Z INFO ] Serial port: '/dev/ttyACM0'
[2024-09-03T00:57:49Z INFO ] Connecting...
Error: espflash::timeout
× Error while connecting to device
╰─▶ Timeout while running ReadReg command
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.