Just recieved my new Feather ESP32 S2 and tried to use it. It did not show up as a Circuitpy drive, so I tried to get into the UF2 bootloader by doing the "slow doubleclick".
I tried at least a dozen times, but couldn't get it to mount the boot device. Proceeded to try to reprogram the bootloader. Tried the terminal method first, but couldn't get a chip id.
Als-iMac-27-5K-2:esptool-master albertpierce$ esptool.py --port /dev/cu.usbmodem01 chip_id
esptool.py v3.2
Serial port /dev/cu.usbmodem01
Connecting...
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting...
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/bin/esptool.py", line 377, in detect_chip
res = struct.unpack("<IBBBBBBBBI", res[:16]) # 4b flags, 1b flash_crypt_cnt, 7*1b key_purposes, 4b chip_id
struct.error: unpack requires a buffer of 16 bytes
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/serial/serialposix.py", line 575, in read
buf = os.read(self.fd, size - len(read))
OSError: [Errno 6] Device not configured
etc. , etc. so I tried the web tool approach.
Adafruit WebSerial ESPTool loaded.
Connecting...
Connected successfully.
Try to reset.
Connected to ESP32-S2
MAC Address: 49:FA:4A:B6:73:0B
Uploading stub...
Running stub...
Stub is now running...
Attempting to change baud rate to 921600...
Changed baud rate to 921600
Erasing flash memory. Please wait...
Finished. Took 16669ms to erase.
Writing data with filesize: 135344
Erase size 135344, blocks 9, block size 16384, offset 0x0000, encrypted no
Took 1910ms to write 135344 bytes
To run the new firmware, please reset your device.
I reset and nothing. No led, no boot device, nada. Tried to reconnect...
Error: The device has been lost.
Refreshed the web address and got it to show up again.
Erased sucessfully, programmed it with the tinyuf2.bin again, reset, still nothing.
Tried both methods again
Never had this much trouble getting a board up and running before.
What am I doing wrong here?
New Feather ESP32 S2 not responding
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- alpierce
- Posts: 208
- Joined: Mon May 13, 2013 2:44 am
Re: New Feather ESP32 S2 not responding
Yikes! Reading all the way through the UF2 bootloader download document on the CircuitPython downloads page I came accross
Note: update.uf2 files are not currently working on ESP32-S2 boards.
Went back and sucessfully downloaded
adafruit-circuitpython-adafruit_feather_esp32s2-en_US-7.1.0-beta.0.bin
Using the web programming tool. Hurray!
Looks like maybe the getting started documentation got ahead of things?
Note: update.uf2 files are not currently working on ESP32-S2 boards.
Went back and sucessfully downloaded
adafruit-circuitpython-adafruit_feather_esp32s2-en_US-7.1.0-beta.0.bin
Using the web programming tool. Hurray!
Looks like maybe the getting started documentation got ahead of things?
Please be positive and constructive with your questions and comments.