Hi all. I'm a beginner in arduino ESP32. Right now I had to make the programin ESP32 and that program need to read and write some configuration from SPIFFS in ESP32 memory. So the problem from my code had happeing in setup as my source in below
#include "FS.h"
#include <SPIFFS.h>
void setup() {
// put your setup code here, to run once:
Serial.begin(baudRate);
Serial.println("Start Setup Stone");
state = "connectWifi";
if (!SPIFFS.begin()) {
Serial.println("Failed to mount SPIFFS");
return;
}
}
From this code I try in same develop board that work. When I use to my custom pcb some that work and some can mount SPIFFS and some can't mount on that, Even in custom PCB I use in some develop board ESP32 same series some can and some can't. Anyone could guide to me how to troubleshoot on this problem please.
Thank you.