Closed br0kenpixel closed 9 months ago
Hi! Do you mind trying to use #387 and see if the issue is solved?
cargo install cargo-espflash --git https://github.com/AVee/espflash --branch add_unix_tight_reset
Hi. I tried it and still no luck.
$ cargo espflash board-info --baud 115200 --port /dev/cu.usbmodem141301
[2023-07-07T09:16:31Z INFO ] 🚀 A new version of cargo-espflash is available: v2.0.0
[2023-07-07T09:16:31Z INFO ] Serial port: '/dev/cu.usbmodem141301'
[2023-07-07T09:16:31Z INFO ] Connecting...
[2023-07-07T09:16:31Z INFO ] Attempting UnixTight reset with default delay...
[2023-07-07T09:16:32Z INFO ] Attempting Classic reset with default delay...
[2023-07-07T09:16:32Z INFO ] Attempting UnixTight reset with extra delay...
[2023-07-07T09:16:34Z INFO ] Attempting Classic reset with extra delay...
[2023-07-07T09:16:35Z INFO ] Attempting UnixTight reset with default delay...
[2023-07-07T09:16:35Z INFO ] Attempting Classic reset with default delay...
[2023-07-07T09:16:36Z INFO ] Attempting UnixTight reset with extra delay...
[2023-07-07T09:16:37Z INFO ] Attempting Classic reset with extra delay...
[2023-07-07T09:16:38Z INFO ] Attempting UnixTight reset with default delay...
[2023-07-07T09:16:39Z INFO ] Attempting Classic reset with default delay...
[2023-07-07T09:16:40Z INFO ] Attempting UnixTight reset with extra delay...
[2023-07-07T09:16:41Z INFO ] Attempting Classic reset with extra delay...
[2023-07-07T09:16:42Z INFO ] Attempting UnixTight reset with default delay...
[2023-07-07T09:16:42Z INFO ] Attempting Classic reset with default delay...
Error: espflash::connection_failed
× Error while connecting to device
╰─▶ Failed to connect to the device
help: Ensure that the device is connected and the reset and boot pins are not being held down
I was thinking that maybe the issue is that espflash
is trying to reset the board, which is not necessary in this case, as the SerialNINAPassthrough sketch forces the ESP32 into download mode. This is why I had to use --before no_reset
with esptool.py
. Does espflash
have a switch for skipping the reset?
Hi! Sorry for the late reply, there is no --before no_reset
equivalent in espflash
at the moment. Maybe you can try using #487
Hi! Would you mind verifying if the issue still persists with the changes on main
?
cargo install espflash cargo-espflash --git https://github.com/esp-rs/espflash
Closing this due to inactivity, please feel free to re-open the issue or open a new issue if the problem persists.
I'm trying to use espflash with a u-blox NINA-W102 module connected to an Arduino Nano RP2040 Connect.
My Arduino board is flashed with the SerialNINAPassthrough example. I can connect to the module using esptool.py just fine:
However, espflash can't connect to it: