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!
esptool not recognizing esp32-S2 chip
Re: esptool not recognizing esp32-S2 chip
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?
Are you sure the Arduino settings are correct for an ESP32-S2 target?
-
- Posts: 826
- Joined: Mon Jul 22, 2019 3:20 pm
Re: esptool not recognizing esp32-S2 chip
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
-
- Posts: 2
- Joined: Tue Nov 24, 2020 8:40 pm
Re: esptool not recognizing esp32-S2 chip
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.
Much appreciated! Happy holiday to you.
-
- Posts: 1
- Joined: Wed Apr 27, 2022 6:18 am
Re: esptool not recognizing esp32-S2 chip
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
-
- Posts: 9730
- Joined: Thu Nov 26, 2015 4:08 am
Re: esptool not recognizing esp32-S2 chip
Did you select the S2 as your target?
Code: Select all
idf.py set-target esp32s2
Who is online
Users browsing this forum: Basalt and 83 guests