FeatherS2 - ESP32-S2 Unable to Connect

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
fultonbd
 
Posts: 10
Joined: Wed Mar 27, 2019 4:00 pm

Re: FeatherS2 - ESP32-S2 Unable to Connect

Post by fultonbd »

I am entering bootloader mode as the instructions say. No other ports appear.

I bought two boards an tried the second one. It has your factory bootloader on it. I tried to upload an arduino sketch and got the following error:

Arduino: 1.8.13 (Mac OS X), Board: "Adafruit Feather ESP32-S2, Enabled, Disabled, Disabled, Enabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi), QIO, 80MHz, 4MB (32Mb), 921600, None"

Sketch uses 215786 bytes (16%) of program storage space. Maximum is 1310720 bytes.
Global variables use 17740 bytes (5%) of dynamic memory, leaving 309940 bytes for local variables. Maximum is 327680 bytes.
esptool.py v3.1
Serial port /dev/cu.usbmodem01
Connecting....
Chip is ESP32-S2FH32
Features: WiFi, Embedded 4MB Flash, 105C temp rating, ADC and temperature sensor calibration in BLK2 of efuse
Crystal is 40MHz
MAC: 7c:df:a1:94:a1:70
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00001000 to 0x00006fff...
Flash will be erased from 0x00010000 to 0x00044fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x002d0000 to 0x002f1fff...
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 694.7 kbit/s)...
Hash of data verified.
Compressed 21216 bytes to 13248...
Writing at 0x00001000... (14 %)
Writing at 0x00002471... (28 %)
Writing at 0x00003077... (42 %)
Writing at 0x00003bfe... (57 %)
Writing at 0x000047a1... (71 %)
Writing at 0x00005142... (85 %)
Writing at 0x00005d82... (100 %)
Wrote 21216 bytes (13248 compressed) at 0x00001000 in 0.3 seconds (effective 504.2 kbit/s)...
Hash of data verified.
Compressed 216176 bytes to 124700...
Writing at 0x00010000... (1 %)
Writing at 0x000111b0... (3 %)
Writing at 0x000124d0... (4 %)
Writing at 0x00013c81... (6 %)
Writing at 0x000151d4... (8 %)
Writing at 0x000167d0... (9 %)
Writing at 0x0001868d... (11 %)
Writing at 0x0001ab0b... (13 %)
Writing at 0x0001bf9a... (14 %)
Writing at 0x0001cafe... (16 %)
Writing at 0x0001d377... (18 %)
Writing at 0x0001dce2... (19 %)
Writing at 0x0001e731... (21 %)
Writing at 0x0001f2fd... (22 %)
Writing at 0x0001fe70... (24 %)
Writing at 0x00020aa3... (26 %)
Writing at 0x00021629... (27 %)
Writing at 0x00022079... (29 %)
Writing at 0x00022a1b... (31 %)
Writing at 0x000234e3... (32 %)
Writing at 0x00023e77... (34 %)
Writing at 0x00024830... (36 %)
Writing at 0x00025227... (37 %)
Writing at 0x00025c56... (39 %)
Writing at 0x000266ae... (40 %)
Writing at 0x000271d9... (42 %)
Writing at 0x00027b87... (44 %)
Writing at 0x0002853e... (45 %)
Writing at 0x00028f82... (47 %)
Writing at 0x000298c5... (49 %)
Writing at 0x0002a367... (50 %)
Writing at 0x0002ae21... (52 %)
Writing at 0x0002b8c9... (54 %)
Writing at 0x0002c2b2... (55 %)
Writing at 0x0002ccaf... (57 %)
Writing at 0x0002d67b... (59 %)
Writing at 0x0002e11d... (60 %)
Writing at 0x0002ec4e... (62 %)
Writing at 0x0002f72d... (63 %)
Writing at 0x000301a9... (65 %)
Writing at 0x00030c63... (67 %)
Writing at 0x0003180e... (68 %)
Writing at 0x00032e15... (70 %)
Writing at 0x00033dfc... (72 %)
Writing at 0x00036586... (73 %)
Writing at 0x0003731d... (75 %)
Writing at 0x00037d16... (77 %)
Writing at 0x00038ae1... (78 %)
Writing at 0x00039b45... (80 %)
Writing at 0x0003b024... (81 %)
Writing at 0x0003d357... (83 %)
Writing at 0x0003de2f... (85 %)
Writing at 0x0003e8d8... (86 %)
Writing at 0x0003f30f... (88 %)
Writing at 0x0003fddf... (90 %)
Writing at 0x00040865... (91 %)
Writing at 0x000412f2... (93 %)
Writing at 0x00041fe6... (95 %)
Writing at 0x00042d07... (96 %)
Writing at 0x000436b7... (98 %)
Writing at 0x0004414e... (100 %)
Wrote 216176 bytes (124700 compressed) at 0x00010000 in 2.3 seconds (effective 748.6 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 136...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (136 compressed) at 0x00008000 in 0.0 seconds (effective 518.0 kbit/s)...
Hash of data verified.
Compressed 135344 bytes to 86497...
Writing at 0x002d0000... (2 %)
Writing at 0x002d1063... (4 %)
Writing at 0x002d27f8... (6 %)
Writing at 0x002d45fe... (9 %)
Writing at 0x002d5884... (11 %)
Writing at 0x002d62da... (13 %)
Writing at 0x002d6e10... (16 %)
Writing at 0x002d77c0... (18 %)
Writing at 0x002d81b8... (20 %)
Writing at 0x002d8ccb... (23 %)
Writing at 0x002d96ef... (25 %)
Writing at 0x002da0cd... (27 %)
Writing at 0x002daac6... (30 %)
Writing at 0x002db571... (32 %)
Writing at 0x002dc091... (34 %)
Writing at 0x002dcd87... (37 %)
Writing at 0x002ddb77... (39 %)
Writing at 0x002de548... (41 %)
Writing at 0x002df174... (44 %)
Writing at 0x002e0914... (46 %)
Writing at 0x002e1555... (48 %)
Writing at 0x002e2588... (51 %)
Writing at 0x002e35b5... (53 %)
Writing at 0x002e4581... (55 %)
Writing at 0x002e563c... (58 %)
Writing at 0x002e6045... (60 %)
Writing at 0x002e69ed... (62 %)
Writing at 0x002e745e... (65 %)
Writing at 0x002e7e22... (67 %)
Writing at 0x002e8716... (69 %)
Writing at 0x002e9126... (72 %)
Writing at 0x002e9d4a... (74 %)
Writing at 0x002ea854... (76 %)
Writing at 0x002eb32a... (79 %)
Writing at 0x002ebd78... (81 %)
Writing at 0x002ec7bb... (83 %)
Writing at 0x002ed27f... (86 %)
Writing at 0x002edc26... (88 %)
Writing at 0x002ee5ce... (90 %)
Writing at 0x002eefca... (93 %)
Writing at 0x002ef957... (95 %)
Writing at 0x002f02fd... (97 %)
Writing at 0x002f0e89... (100 %)
Wrote 135344 bytes (86497 compressed) at 0x002d0000 in 1.5 seconds (effective 712.8 kbit/s)...
Hash of data verified.

Leaving...
ERROR: ESP32-S2FH32 chip was placed into download mode using GPIO0.
esptool.py can not exit the download mode over USB. To run the app, reset the chip manually.
To suppress this error, set --after option to 'no_reset'.
To suppress this error, set --after option to 'no_reset'.



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

User avatar
adafruit_support_carter
 
Posts: 29168
Joined: Tue Nov 29, 2016 2:45 pm

Re: FeatherS2 - ESP32-S2 Unable to Connect

Post by adafruit_support_carter »

@waltr Your issue may be related to using Win8.

Here's what Device Manager looks like on Win10 with the Feather ESP32-S2 in factory (not UF2) bootloader mode, entered by holding Boot button while pressing Reset:
devman.jpg
devman.jpg (8.92 KiB) Viewed 136 times
At this point, COM 6 could be used to reprogram the board. If a given system can not get this COM port to show up, then, yes, the follow on attempts to program it will not work. The question is why the COM port can not show up in the first place. This is the ROM bootloader baked into the ESP32-S2 by Espressif we are dealing with at this point.

User avatar
adafruit_support_carter
 
Posts: 29168
Joined: Tue Nov 29, 2016 2:45 pm

Re: FeatherS2 - ESP32-S2 Unable to Connect

Post by adafruit_support_carter »

@fultonbd Your latest output looks correct and successful. That final message you are seeing may be a red herring. Try pressing reset (reset only) and see if the sketch then runs.

User avatar
Masoric
 
Posts: 10
Joined: Fri Nov 05, 2021 9:22 am

Re: FeatherS2 - ESP32-S2 Unable to Connect

Post by Masoric »

I have the same problem no connectivity at all to be able to upload a sketch. Tried Arduino. Expresif idf. And the web tool. No luck.

Regards
Masoric

User avatar
adafruit_support_carter
 
Posts: 29168
Joined: Tue Nov 29, 2016 2:45 pm

Re: FeatherS2 - ESP32-S2 Unable to Connect

Post by adafruit_support_carter »

@Masoric If you enter bootloader mode as described above, are you able to see a COM port?

User avatar
adafruit2
 
Posts: 22148
Joined: Fri Mar 11, 2005 7:36 pm

Re: FeatherS2 - ESP32-S2 Unable to Connect

Post by adafruit2 »

oh yeah windows 8 will not work - espressif did not release windows drivers for 8. you can use another computer or update the computer to windows 10. (windows 7 is also not supported btw)

User avatar
fultonbd
 
Posts: 10
Joined: Wed Mar 27, 2019 4:00 pm

Re: FeatherS2 - ESP32-S2 Unable to Connect

Post by fultonbd »

This doesn't seem to be a red herring or success. I have tried pressing reset and the sketch does not run. I have tried to load other sketches with the same results.
The error message states: esptool.py can not exit the download mode over USB. To run the app, reset the chip manually.
I assume since the esptool.py cannot exit, everything hangs and we are stuck.

Brad

User avatar
adafruit_support_carter
 
Posts: 29168
Joined: Tue Nov 29, 2016 2:45 pm

Re: FeatherS2 - ESP32-S2 Unable to Connect

Post by adafruit_support_carter »

The upload was successful:
Wrote 135344 bytes (86497 compressed) at 0x002d0000 in 1.5 seconds (effective 712.8 kbit/s)...
Hash of data verified.
This is more of a warning:
esptool.py can not exit the download mode over USB. To run the app, reset the chip manually.
After the successful upload, it tries to reset the board so the sketch will run, and couldn't, so is saying to just do so manually via the reset button.

What was the sketch you uploaded?

User avatar
fultonbd
 
Posts: 10
Joined: Wed Mar 27, 2019 4:00 pm

Re: FeatherS2 - ESP32-S2 Unable to Connect

Post by fultonbd »

You are correct. I uploaded blink and changed the sleep rate to a longer time and it works.
Now I need to install CircuitPython. I have no icons I can drag and drop a .uf2 file into. Any suggestions?

Brad

User avatar
fultonbd
 
Posts: 10
Joined: Wed Mar 27, 2019 4:00 pm

Re: FeatherS2 - ESP32-S2 Unable to Connect

Post by fultonbd »

I just finished a factory reset on my other feather board which I had done once before. This time it worked and I have a working version of: Adafruit CircuitPython 7.1.0-beta.1 on 2021-11-30; Adafruit Feather ESP32S2 with ESP32S2

I used the following instructions: https://learn.adafruit.com/adafruit-esp ... tory-reset

Thanks for all the help.

Brad

User avatar
fultonbd
 
Posts: 10
Joined: Wed Mar 27, 2019 4:00 pm

Re: FeatherS2 - ESP32-S2 Unable to Connect

Post by fultonbd »

I am back to square one with the board that I was able to run an Arduino sketch on. I did a factory reset and got the swirling colored led. I still don't have anything in Finder showing that the board exists. I tried using esptool.py and it threw exceptions, the last one was: serial.serialutil.SerialException: Could not configure port: (6, 'Device not configured')

Brad

User avatar
Masoric
 
Posts: 10
Joined: Fri Nov 05, 2021 9:22 am

Re: FeatherS2 - ESP32-S2 Unable to Connect

Post by Masoric »

Unfortunately I can still not get anything.

I am running Win10

No connection or ability with any tool nor the ability to complete any of the instructions provided so far.

Regards,
Masoric

User avatar
Masoric
 
Posts: 10
Joined: Fri Nov 05, 2021 9:22 am

Re: FeatherS2 - ESP32-S2 Unable to Connect

Post by Masoric »

adafruit_support_carter wrote:@Masoric If you enter bootloader mode as described above, are you able to see a COM port?
I am not

waltr
 
Posts: 306
Joined: Wed Jun 12, 2013 5:01 pm

Re: FeatherS2 - ESP32-S2 Unable to Connect

Post by waltr »

I tried the ESP32-S2 Feather on two Win10 PCs today. Both installed "Microsoft Driver 6/21/2006 10.0.19041.1202" and it shows as a Com port in both BOOT and RUN modes.

Tutorial "Recommends" win 10 but it seems MANDATORY.

User avatar
Masoric
 
Posts: 10
Joined: Fri Nov 05, 2021 9:22 am

Re: FeatherS2 - ESP32-S2 Unable to Connect

Post by Masoric »

Quick update.

It appears that this is a cable issue. For some reason the feather2 board is very cable sensitive. I tried several that worked fine with Other boards and no problem. Third time was the charm

Regards,
Masoric

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”