esptool not recognizing esp32-S2 chip

marrmaddox
Posts: 2
Joined: Tue Nov 24, 2020 8:40 pm

esptool not recognizing esp32-S2 chip

Postby marrmaddox » Wed Dec 09, 2020 7:55 am

I'm on Win10, Arduino, trying to write a file to an esp32-s2 and get the message below. It also fails when using the command line esptool.py.

esptool.py v3.0-dev
Serial port COM3
Connecting.....

A fatal error occurred: This chip is ESP32-S2 not ESP32. Wrong --chip argument?
SPIFFS Upload failed!

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: esptool not recognizing esp32-S2 chip

Postby ESP_Angus » Wed Dec 09, 2020 8:06 am

This error means that esptool.py was passed the "--chip esp32" command line argument, but the chip is actually ESP32-S2.

Are you sure the Arduino settings are correct for an ESP32-S2 target?

lbernstone
Posts: 826
Joined: Mon Jul 22, 2019 3:20 pm

Re: esptool not recognizing esp32-S2 chip

Postby lbernstone » Wed Dec 09, 2020 6:13 pm

Are you using the fs plugin from @me-no-dev or @lorol? https://github.com/lorol/arduino-esp32fs-plugin library has been updated to support esp32-s2

marrmaddox
Posts: 2
Joined: Tue Nov 24, 2020 8:40 pm

Re: esptool not recognizing esp32-S2 chip

Postby marrmaddox » Fri Dec 11, 2020 10:10 am

I was using me-no-dev, but lorol worked! Thank you so much, I 'wasted' two days on this and was dreading going back to the ESP32 and shift registers due to lack of usable ports with wifi.

Much appreciated! Happy holiday to you.

Mrunmai Dahare
Posts: 1
Joined: Wed Apr 27, 2022 6:18 am

Re: esptool not recognizing esp32-S2 chip

Postby Mrunmai Dahare » Wed Apr 27, 2022 6:34 am

I also got same error message may I please know hoe to fix this? How to change chip to ESP32 S2 in configuration? This is my error message:

Code: Select all

A fatal error occurred: This chip is ESP32-S2 not ESP32. Wrong --chip argument?
CMake Error at run_serial_tool.cmake:56 (message):
  C:/Espressif/python_env/idf4.4_py3.8_env/Scripts/python.exe
  C:/Espressif/frameworks/esp-idf-v4.4/components/esptool_py/esptool/esptool.py
  --chip esp32 failed

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

Re: esptool not recognizing esp32-S2 chip

Postby ESP_Sprite » Wed Apr 27, 2022 7:35 am

Did you select the S2 as your target?

Code: Select all

idf.py set-target esp32s2

Who is online

Users browsing this forum: No registered users and 60 guests