0

Metro ESP32-S2 Express uf2 bootloader install fail
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Metro ESP32-S2 Express uf2 bootloader install fail

by wd401 on Tue Apr 13, 2021 3:37 pm

Greetings, I recently purchased a Metro ESP32-S2 Express. After reading the Metro ESP32-2 Overview Guide and installing the needed tools; Python (v3.9.4), esptool.py (v3.0), I attempted ti write the uf2 bootloader file (metro_esp32s2_tinyuf2_combo.bin). It started downloading but ended timing out as shown. I've rebooted my PC and Metro Express and retried installing the bootloader several times with the same timeout message. Being new to this environment I'm not sure what to do as a next step. Any help would be appreciated.

bootloader timeout.PNG
bootloader timeout.PNG (68.49 KiB) Viewed 326 times

wd401
 
Posts: 3
Joined: Tue Apr 13, 2021 3:19 pm

Re: Metro ESP32-S2 Express uf2 bootloader install fail

by mikeysklar on Thu Apr 15, 2021 1:44 pm

@wd401,

Do you need to press and hold the DFU/BOOT0 button to be in bootloader mode followed by the reset button for this to work?

https://learn.adafruit.com/adafruit-met ... bootloader

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

Re: Metro ESP32-S2 Express uf2 bootloader install fail

by wd401 on Fri Apr 16, 2021 2:01 pm

I can get into bootloader mode ok. If you look at the attached screenshot, the download process starts normally, but as it starts writing, it appears that esptool.py has problems (several lines report problems).

wd401
 
Posts: 3
Joined: Tue Apr 13, 2021 3:19 pm

Re: Metro ESP32-S2 Express uf2 bootloader install fail

by mikeysklar on Mon Apr 19, 2021 12:13 pm

I see the communciations failure your are describing from the initial screenshot. This is a pretty new boards and might require the very latest github pulls for the espressif toolchain. Take a look at this video (I know it is long), but a good walkthrough on setting up the ESP32-S2 to work with the Arduino IDE. It might help resolve your speciifc issue of dropping the .bin file in place with esptool.

https://youtu.be/yiYyTQDRFZI

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

Re: Metro ESP32-S2 Express uf2 bootloader install fail

by wd401 on Tue Apr 20, 2021 2:55 pm

Thanks for the video link, I've added it to my watch list. In the mean time I have solved the problem. In my initial attemps at programming I had the board connected to a USB 2.0 port. For something else to try I moved to a USB 3.2 port and the bootloader install worked.

The next step was to install CircuitPython. I was following two different guides. Neither one worked bbecause the described process was not correct. These two guides could use an update.

https://learn.adafruit.com/adafruit-metro-esp32-s2

https://learn.adafruit.com/temperature-and-humidity-sensing-in-home-assistant-with-circuitpython

I did find this guide for installing CircuitPython. This worked and I have CircuitPython installed and fuctioning.

https://learn.adafruit.com/welcome-to-circuitpython/installing-circuitpython

Thanks for your help. Onward and Upward.

wd401
 
Posts: 3
Joined: Tue Apr 13, 2021 3:19 pm

Re: Metro ESP32-S2 Express uf2 bootloader install fail

by mikeysklar on Wed Apr 21, 2021 11:14 am

@wd401,

Good to know that the USB 3.2 port resolved the communication issue. That makes a lot of sense with a USB-C interface.

I am concerned to hear that this guide gave you trouble while installing CircuitPython.

https://learn.adafruit.com/adafruit-met ... cuitpython

Was there a specific step that was missing or incorrect?

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

Please be positive and constructive with your questions and comments.