I have a spiff file that uploads fine using a regular esp32, but when I try on the esp32-32, with a fresh installation, I get:

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!

Any ideas??


  • 1
    you forgot to show the executed esptool command in question
    – Juraj
    Dec 9, 2020 at 9:26
  • Arduino does it for you, but I also tried: esptool.py -chip esp32s2 -port COM3 -baud 115200 write_flash -z ox110000 filename.spiffs.bin Dec 9, 2020 at 15:19
  • maybe you have to specify the S2 for the spiffs tool
    – Juraj
    Dec 9, 2020 at 16:31
  • I tried, but no luck Dec 9, 2020 at 19:32
  • 1
    Actually we are at v3.1, cannot you upgrade to it? Maybe it's a bug.. Jul 28, 2021 at 18:55

1 Answer 1


Is the missing double dash?

esptool.py --chip esp32s2 --port COM3 --baud 115200 write_flash -z 0x110000 filename.spiffs.bin

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.