Hi. I am working with the SparkFun IoT RedBoard - ESP32 Development Board and the SparkFun GPS-RTK2 Board - ZED-F9P. The F9P is connected to the ESP32 dev board via the Qwiic connector. The ESP32 dev board is connected to an M1 Mac via usbc for programmer and power.
I’m seeing an issue where a program can not be uploaded to the ESP32 dev board from the Arduino IDE via usb when the F9P module is connected via Qwiic, but it works fine with the same program, port and other settings with the F9P disconnected. The output from the IDE when it fails to upload is copied below.
Sketch uses 327365 bytes (24%) of program storage space. Maximum is 1310720 bytes.
Global variables use 22360 bytes (6%) of dynamic memory, leaving 305320 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port /dev/cu.usbserial-10
Connecting…
A serial exception error occurred: Could not configure port: (6, ‘Device not configured’)
Note: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or drivers.
For troubleshooting steps visit: https://docs.espressif.com/projects/esp … oting.html
the selected serial port For troubleshooting steps visit: https://docs.espressif.com/projects/esp … oting.html
does not exist or your board is not connected
The espressif help docs indicate that “If you have connected other devices to GPIO pins, try removing them and see if esptool starts working.” This works, as noted above, but I’m wondering if there is a better workaround than needing to disconnect and reconnect the F9P during programming of the ESP32 dev board?
I’m using version 2.0.11 of the esp32 boards package with the ESP32 Dev Module as the board type and Arduino IDE version 1.8.16. I’m programming the board from an M1 Mac running Ventura 13.4.1.
Thank you.