espressif / esptool

Espressif SoC serial bootloader utility
https://docs.espressif.com/projects/esptool
GNU General Public License v2.0
5.6k stars 1.39k forks source link

Can't Flash ESP32-S2 on Mac (ESPTOOL-846) #973

Closed Doyle4 closed 7 months ago

Doyle4 commented 7 months ago

Operating System

macOS Catalina - MBP 2012 Non Retina

Esptool Version

3.2

Python Version

3.10.2

Chip Description

ESP32-S2

Device Description

USB-C

Hardware Configuration

Nope

How is Esptool Run

Terminal

Full Esptool Command Line that Was Run

esptool.py --port /dev/cu.usbmodem01 --baud 921600 flash_id

Esptool Output

Last login: Wed Apr 17 10:47:43 on ttys000
doyle@Macbook-Pro ~ % esptool.py --port /dev/cu.usbmodem01 --baud 921600 flash_id
esptool.py v3.2
Serial port /dev/cu.usbmodem01
Connecting...
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting......................................

A fatal error occurred: Failed to connect to Espressif device: No serial data received.
For troubleshooting steps visit: https://github.com/espressif/esptool#troubleshooting
doyle@Macbook-Pro ~ %

More Information

Im pretty much a noob at this sorry, I can see there has been an update which I downloaded, but I have no idea what to do with the files.

Other Steps to Reproduce

ESPtools works fine on Windows 10 for me using the program to flash, I use Bootcamp on Mac and sometimes I'm unable to stop what I'm doing to boot into Windows

I Have Read the Troubleshooting Guide

radimkarnis commented 7 months ago

Hi @Doyle4,

please follow the installation instructions to get the latest version of esptool.py and try again. Let me know if your issues persist.

radimkarnis commented 7 months ago

I am closing this issue. Please try to update, follow the troubleshooting guide, and open a new issue if necessary.

Doyle4 commented 7 months ago

Apologies I didn't get back, had a fair bit on.

Still not working sadly, will use Windows ESPtool for now.