Trouble with ESP32 WROOM Uploading

I have a ESP32 WROOM with USB-C connector which I'm having trouble programming. Every time I try to upload any sketch to the device I get the below error. I've tried changing various settings to see if it will upload to no avail. I have nothing connected to it. I had similar issues with the ESP32 WROOM 32D but I figured that out. I have more of them on the way but I'm concerned that they won't work either until I figure out the correct settings. The board is labelled as a ESP32-WROOM-32 with no letters after it. No U, D, S etc. I know some USB-C leads fail to charge iOS devices because of a missing resistor...... I'm wondering if this is the same issue. Any ideas?

I've tried pulling pins 2 and 12 to ground. That had no effect either.

Also, I have an extension board that came with it. It has micro and C type connectors on it. When connecting the board to my PC using either of the USB ports, my PC cannot find the port. If I connect the lead to the ESP32 direct, the port appears. Any ideas about that?

Sketch uses 997141 bytes (76%) of program storage space. Maximum is 1310720 bytes.
Global variables use 44264 bytes (13%) of dynamic memory, leaving 283416 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.6
Serial port /dev/cu.usbserial-1460
Connecting....Traceback (most recent call last):
  File "esptool.py", line 37, in <module>
  File "esptool/__init__.py", line 1064, in _main
  File "esptool/__init__.py", line 859, in main
  File "esptool/cmds.py", line 466, in write_flash
  File "esptool/util.py", line 37, in flash_size_bytes
TypeError: argument of type 'NoneType' is not iterable
[17861] Failed to execute script 'esptool' due to unhandled exception!

Chip is ESP32-D0WD-V3 (revision v3.1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 5c:01:3b:66:15:5c
Uploading stub...
Running stub...
Stub running...
WARNING: Failed to communicate with the flash chip, read/write operations will fail. Try checking the chip connections or removing any other hardware connected to IOs.
Configuring flash size...
Failed uploading: uploading error: exit status 1

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