ESP32 upload issue

I am trying to upload a sketch onto ESP32 module using serial boot loader mode. But I am unable to see any output on the serial monitor. I am using a USB-UART bridge to program the ESP32 module. I can see /dev/ttyUSB0 port enabled on Arduino IDE. I tried the loop back test on the USB-UART bridge and it is working fine. But when I am using the IDE I see on the bottom right corner of the IDE "Disabled on /dev/ttyUSB0". Does this has anything to do with blank serial monitor response from ESP32 module? Please Guide.

There are numerous ESP32 based processors; which one do you exactly have?

Does that work? Or does that fail?

Not familiar with that message; does the IDE offer an option to enable CDC in the tools menu? Maybe that needs to be enabled.

Hi,

Thanks for the response.

I am using a custom board purchased from a local manufacturer using ESP32 module and manufacturer has suggested to use Arduino IDE to upload the program.

I am unable to program the ESP32 module, so it is actually failing.

I am using Arduino 1.8.19 version and there is no option to enable CDC.

I have attached the error message screenshot for your ready reference.

Screenshot_2025-02-24_04-16-18

I did some additional investigation, tried to list processes using ttyUSB0 serial port using lsof command. But I was unable to see any processes using the same though the Arduino IDE application was opened. Please let me know how could I infer this information.

That is not an error message, but rather the list of settings for the selected board. You can see the same list of settings under Tools. (Though not in that order) The port is the final section and it does list the devttyUSB0, but please do verify that the port is actually available. (under Tools->Port, the port should be ticked)

There are no processes, though if you would open the Serial monitor you might see something i am not sure.

Was GPIO 0 pulled to GND the moment that you booted the ESP32 ?

The 'Disabled' belongs to a setting for the board, the 'on /dev/ttyUSB0' means that this selected port is /dev/ttyUSB0 So all is fine. Try and upload the sketch you want to upload and report back with any real error message if there is one. (orange in the output window) and copy it a paste it within code-tags (no screenshot !)

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.