Help Connecting my ESP32 Dev1

Gbal06
Posts: 1
Joined: Mon Sep 08, 2025 6:02 pm

Help Connecting my ESP32 Dev1

Postby Gbal06 » Mon Sep 08, 2025 6:08 pm

I am new to this and I know it is probably a simple fix but when I try to upload a simple sketch to the esp32 I get this message.

Sketch uses 400263 bytes (30%) of program storage space. Maximum is 1310720 bytes.
Global variables use 40208 bytes (12%) of dynamic memory, leaving 287472 bytes for local variables. Maximum is 327680 bytes.

A fatal error occurred: Could not open /dev/cu.usbmodem1234561, the port is busy or doesn't exist.
([Errno 2] could not open port /dev/cu.usbmodem1234561: [Errno 2] No such file or directory: '/dev/cu.usbmodem1234561')

Hint: Check if the port is correct and ESP connected

esptool v5.0.0
Serial port /dev/cu.usbmodem1234561:
Failed uploading: uploading error: exit status 2

I have uploaded the drivers for the board, selected the port usbmodem, I have my usb c cable going to the com port. How do I fix this? Thanks

belebog
Posts: 2
Joined: Sun Sep 07, 2025 3:36 pm

Re: Help Connecting my ESP32 Dev1

Postby belebog » Tue Sep 09, 2025 12:58 pm

Are you working on a Linux system? Maybe this article will help:
https://support.arduino.cc/hc/en-us/art ... s-on-Linux

lbernstone
Posts: 1132
Joined: Mon Jul 22, 2019 3:20 pm

Re: Help Connecting my ESP32 Dev1

Postby lbernstone » Tue Sep 09, 2025 4:27 pm

Uninstall and reinstall the drivers.
Make sure you use a quality USB cable. Make sure you can transfer data to another device with that cable.

Who is online

Users browsing this forum: ChatGPT-User, Qwantbot and 2 guests