esp32 module bug based on ESP32 D0WD V3 SoC
Posted: Fri Jan 06, 2023 6:12 pm
Hi.
I initially didn't pay attention to detail in the console when uploading a sketch to my esp32 board, and that was until I got to the step where I should learn how to store webpage files in the board's flash memory and then access it using the SPIFFS tool. When I uploaded my html, CSS and JS files into the board, then the server program sketch, I observed a very strange behavior from the board.
Trying to dig a little, I discovered that my board uses the ESP32 D0WD V3 core (so doesn't have onboard flash memory). I don't know if this behavior is said to lack flash memory; that's why I seek advice of an Expert in the field.
To clarify, when I just upload the files of my webpage to the board and then a simple sketch that checks if these files are present, it responds successfully. But when I add WiFi functionality to this sketch, the board can't even connect to the network; whereas when I use the same WiFi configuration without including the SPIFFS library (just for a test), the board doesn't even take more than 3 seconds to connect to the network.
Anyway, I don't understand it at all, because, after compiling the entire program, it is indicated that the sketch takes up 11% of RAM and 62% of ROM. I use platformIO.
Your reactions will greatly relieve me. Cordially,
Alexandre
I initially didn't pay attention to detail in the console when uploading a sketch to my esp32 board, and that was until I got to the step where I should learn how to store webpage files in the board's flash memory and then access it using the SPIFFS tool. When I uploaded my html, CSS and JS files into the board, then the server program sketch, I observed a very strange behavior from the board.
Trying to dig a little, I discovered that my board uses the ESP32 D0WD V3 core (so doesn't have onboard flash memory). I don't know if this behavior is said to lack flash memory; that's why I seek advice of an Expert in the field.
To clarify, when I just upload the files of my webpage to the board and then a simple sketch that checks if these files are present, it responds successfully. But when I add WiFi functionality to this sketch, the board can't even connect to the network; whereas when I use the same WiFi configuration without including the SPIFFS library (just for a test), the board doesn't even take more than 3 seconds to connect to the network.
Anyway, I don't understand it at all, because, after compiling the entire program, it is indicated that the sketch takes up 11% of RAM and 62% of ROM. I use platformIO.
Your reactions will greatly relieve me. Cordially,
Alexandre