-
Notifications
You must be signed in to change notification settings - Fork 147
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
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:
$ esptool.py --port /dev/cu.usbmodem141301 --baud 115200 --before no_reset flash_id
esptool.py v4.3
Serial port /dev/cu.usbmodem141301
WARNING: Pre-connection option "no_reset" was selected. Connection may fail if the chip is not in bootloader or flasher stub mode.
Connecting......
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting....
Detecting chip type... ESP32
Chip is ESP32-D0WDQ6 (revision v1.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: [...]
Uploading stub...
Running stub...
Stub running...
Manufacturer: c2
Device: 2815
Detected flash size: 2MB
Hard resetting via RTS pin...
However, espflash can't connect to it:
$ cargo espflash board-info --baud 115200 --port /dev/cu.usbmodem141301
[2023-07-06T16:33:28Z INFO ] Serial port: '/dev/cu.usbmodem141301'
[2023-07-06T16:33:28Z INFO ] Connecting...
[2023-07-06T16:33:28Z INFO ] Unable to connect, retrying with extra delay...
[2023-07-06T16:33:29Z INFO ] Unable to connect, retrying with default delay...
[2023-07-06T16:33:30Z INFO ] Unable to connect, retrying with extra delay...
[2023-07-06T16:33:31Z INFO ] Unable to connect, retrying with default delay...
[2023-07-06T16:33:32Z INFO ] Unable to connect, retrying with extra delay...
[2023-07-06T16:33:33Z INFO ] Unable to connect, retrying with default delay...
[2023-07-06T16:33:34Z INFO ] Unable to connect, retrying with extra 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
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done