ESP32S3 Feather - data sketch upload problem

Blackhoody
Posts: 1
Joined: Fri Nov 04, 2022 9:17 am

ESP32S3 Feather - data sketch upload problem

Postby Blackhoody » Fri Nov 04, 2022 9:21 am

Im working with ESP32S3 feather right now. I wanted to make web server with it, as I did long time ago with ESP32 Dev board. First, as I write program in VS Code, I tried to upload Filesystem Image through VS, there were no error but when I checked in setup() if SPIFFS works, but got message that error occured. I used just simple example from randomtutorials.com.

Code: Select all

#include "SPIFFS.h"

void setup() {
  delay(5000);
  Serial.begin(115200);
  
  if(!SPIFFS.begin(true)){
    Serial.println("An Error has occurred while mounting SPIFFS");
    return;
  }
  
  File file = SPIFFS.open("/test_example.txt");
  if(!file){
    Serial.println("Failed to open file for reading");
    return;
  }
  
  Serial.println("File Content:");
  while(file.available()){
    Serial.write(file.read());
  }
  file.close();
}
 
void loop() {

}
Then I tried with arduino as I did previously with ESP32 Dev board, but there I cant even upload, as when clicking ESP32 Sketch Data Upload in Arduino Tools, I get error that port is unaviable. Whats more after clicking this option, I hear this USB sound when something is disconnected. After sound in Port option, my board is no longer ESPS3 Feather 2MB PSRAM but its ESP32S3 Dev and ofcourse upload will fail as this is different board. After pressing reset button the Port option shows again my board but the same thing happen after trying to upload sketch data. Doeas any one have and idea what is the problem?

Here is my board: https://www.adafruit.com/product/5477

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 76 guests