Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Problem Building the SPIFFS data file. (Read 818 times)
GunnarE
Newbies
*
Offline


Posts: 3
Location: Menorca
Joined: Aug 25th, 2022
Problem Building the SPIFFS data file.
Aug 26th, 2022 at 11:47am
Print Post  
Hi, 
I have run into a problem with my project.
It worked until 2 days ago.
I then updated the libraries in Library Manager, and since then,
the spiffs output file is of only 192kb in size and no longer works when i upload it (using OTA)
2 days ago, the spiffs file generated was 1,472kb and worked.
I am unable to understand what has gone wrong and need some handholding.
I have updated to latest version, and i have run the Check For Updates in Library Manager and Board Manager, with Rescan afterwards.
I am now stuck and dont know how to continue.

Any help appreciated.
Output from "Publich Server Data Files"  attached.

Kind Regards,
Gunnar
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2175
Joined: Feb 13th, 2019
Re: Problem Building the SPIFFS data file.
Reply #1 - Aug 26th, 2022 at 12:45pm
Print Post  
Thanks for the report.

Did you upgrade the ESP32 Board Package when you did your updates in the last few days?

I assume none of the files being put into the SPIFFS image have changed?
  
Back to top
 
IP Logged
 
GunnarE
Newbies
*
Offline


Posts: 3
Location: Menorca
Joined: Aug 25th, 2022
Re: Problem Building the SPIFFS data file.
Reply #2 - Aug 26th, 2022 at 1:20pm
Print Post  
Hi Simon,
I am actually not sure if i did or not.
Is there a way to tell ?
I did however install a "Board Platform" "esp32/Version 2.0.4/ESP32 Dev Board" while trying to fix this issue.

Looking at the Board Selector dropdown, i now discover my board appears both as an "OLIMEX ESP32-PoE esp32-esp32-poe" and as "OLIMEX ESP32-PoE espressif-esp32-poe".
I have now tried to switch to the espressif one, and it gives me the same result.

The files in the spiffs image, from "data" folder, have had minimal change in one html file.

I am rather new to this system, so i am not confident i am selecting the correct options. Perhaps i was lucky to have it run in the first place.
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2175
Joined: Feb 13th, 2019
Re: Problem Building the SPIFFS data file.
Reply #3 - Aug 26th, 2022 at 1:56pm
Print Post  
There is no simple way to tell when a board package has been updated.

It sounds like you have multiple ESP32 Board Packages installed, we normally use the official ESP32 Package (which is the board you have listed as "OLIMEX ESP32-PoE esp32-esp32-poe").

Looking at the board options on the vMicro menu, it seems like you want to set the Partition Scheme option to "Default" (which generates the 1472KB image), but at present you have it set to "Minimal SPIFFS (Large APPS with OTA)" which only generates a 192KB image.  If you change it back to "Default", then perform a build on your project, the Publish Server Data Files should work as expected.
  
Back to top
 
IP Logged
 
GunnarE
Newbies
*
Offline


Posts: 3
Location: Menorca
Joined: Aug 25th, 2022
Re: Problem Building the SPIFFS data file.
Reply #4 - Aug 27th, 2022 at 12:18pm
Print Post  
That did the trick.
Setting the Partition Scheme option to "Default" solved my problem.

Wonderful
Thank you.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint