SPIFFS not working on SparkFun Qwiic Pocket Development Board - ESP32-C6 (DEV-22925)

After creating a .csv file to store data from a SparkFun Triad Spectroscopy Sensor (https://www.sparkfun.com/products/15050) and using the “ESP32 Sketch Data Upload” option in Arduino IDE 1.8.19, the following error is shown:

Arduino: 1.8.19 (Windows 10), Board: "SparkFun ESP32-C6 Qwiic Pocket, Disabled, Enabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 160MHz (WiFi), QIO, 80MHz, 4MB (32Mb), 921600, None, Disabled"


esptool.py v4.6
Serial port COM5
Connecting...

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

Does anyone know a way to overcome this?

It looks like you probably have a non 3.0.0-alpha (or higher) version of the board pkg; see here https://docs.sparkfun.com/SparkFun_Qwii … are_setup/ and retry?

I am using the most current version of the board package. Unfortunately, I didn’t realize that the package for the ESP32-C6 was still in alpha testing when I selected the Qwiic Pocket Development Board. Being able to log data is critical to the project for which the board was purchased. If anybody has successfully used the “ESP32 Sketch Data Upload” option with this microcontroller, please share the method that you used.