0

Metro ESP32S2 no com ports in Arduino IDE
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Metro ESP32S2 no com ports in Arduino IDE

by EdCooley on Sun Feb 28, 2021 3:19 pm

I have installed the metro ESP32S2 board manager per instructions but the ide shows no com ports.

Do I need a different USB driver to support this board?

EdCooley
 
Posts: 3
Joined: Sun Feb 28, 2021 3:01 pm

Re: Metro ESP32S2 no com ports in Arduino IDE

by mikeysklar on Mon Mar 01, 2021 6:10 pm

The ESP32-S2 has hardware USB level support so there is no driver.

What OS are you on?

Which ESP32-S2 board model are you using?

Does flipping the board USB-C connector make a difference?

mikeysklar
 
Posts: 3948
Joined: Mon Aug 01, 2016 8:10 pm

Re: Metro ESP32S2 no com ports in Arduino IDE

by EdCooley on Tue Mar 02, 2021 9:52 pm

My apologies for the lack of information:
OS Windows 10 Pro Version 20H2
Board: Adafruit Metro EPS32-S2 Express BETA

I have tried several cables and flipped both ends of the cable

Attached are the device manager and the board properties

Here is my error when trying to upload a sketch:

Code: Select all | TOGGLE FULL SIZE
c:/users/edcoo/documents/arduino/hardware/esspressif/esp32/tools/xtensa-esp32s2-elf/bin/../lib/gcc/xtensa-esp32s2-elf/8.4.0/../../../../xtensa-esp32s2-elf/bin/ld.exe: C:\Users\edcoo\Documents\Arduino\hardware\esspressif\esp32/tools/sdk/esp32s2/lib\librtc.a(rtc.o)(.text.rtc_pad_gpio_wakeup+0x50b7fb000000a9): could not decode instruction; possible configuration mismatch
Sketch uses 174842 bytes (13%) of program storage space. Maximum is 1310720 bytes.
Global variables use 12412 bytes (3%) of dynamic memory, leaving 315268 bytes for local variables. Maximum is 327680 bytes.
esptool.py v3.0-dev
Serial port COM9
Traceback (most recent call last):
  File "esptool.py", line 3682, in <module>
  File "esptool.py", line 3675, in _main
  File "esptool.py", line 3329, in main
  File "esptool.py", line 263, in __init__
  File "site-packages\serial\__init__.py", line 88, in serial_for_url
  File "site-packages\serial\serialwin32.py", line 62, in open
serial.serialutil.SerialException: could not open port 'COM9': WindowsError(2, 'The system cannot find the file specified.')
Failed to execute script esptool
the selected serial port Failed to execute script esptool
 does not exist or your board is not connected


Here is the device manager screen, it sees the ESP32-S2
device manager.jpg
Device manager
device manager.jpg (170.64 KiB) Viewed 80 times


Here is the device properties:
device properties.jpg
device properties.jpg (66.5 KiB) Viewed 80 times

EdCooley
 
Posts: 3
Joined: Sun Feb 28, 2021 3:01 pm

Re: Metro ESP32S2 no com ports in Arduino IDE

by mikeysklar on Wed Mar 03, 2021 2:13 pm

It looks like Windows is clearly detecting and seeing your ESP32S2. The only issue the underlying utility esptool is gagging on the serial connection. Can you confirm that you are holding down the DFU button while pressing the reset button as instructed for esptool to communicate:

Code: Select all | TOGGLE FULL SIZE
 Reset button - The reset button in the top left corner is used to reset the board.
DFU button - This is connected to BOOT0 and can be used to put the board into ROM bootloader mode. To enter ROM bootloader mode, hold down DFU button while clicking reset button mentioned above. When in the ROM bootloader, you can upload code and query the chip using esptool


https://learn.adafruit.com/adafruit-met ... 3076719-20

mikeysklar
 
Posts: 3948
Joined: Mon Aug 01, 2016 8:10 pm

Re: Metro ESP32S2 no com ports in Arduino IDE

by EdCooley on Thu Mar 04, 2021 9:58 pm

Thank you, it is now working. I misread the instructions and did not perform the sequence properly.

EdCooley
 
Posts: 3
Joined: Sun Feb 28, 2021 3:01 pm

Please be positive and constructive with your questions and comments.