-->
Page 1 of 1

Unpacking spiffs image files??

PostPosted: Wed Jan 29, 2020 12:29 pm
by sfranzyshen
Has anyone tried to use the mkspiffs tool to 'Unpack' or 'List' ... it doesn't list all (or unpack) all the files for me it only shows the first three files ... the image file works fine when uploaded to the device ... I'm guessing not many people have tried to use this utility other than to create files ... I have tried using the mkspiffs tool (the one packaged in releases ... as well as the ones packages with the Arduino/Esp8266 core (v2.5.2 - v2.6.3))

Re: Unpacking spiffs image files??

PostPosted: Wed Jan 29, 2020 11:22 pm
by sfranzyshen
sfranzyshen wrote:Has anyone tried to use the mkspiffs tool to 'Unpack' or 'List' ... it doesn't list all (or unpack) all the files for me it only shows the first three files ... the image file works fine when uploaded to the device ... I'm guessing not many people have tried to use this utility other than to create files ... I have tried using the mkspiffs tool (the one packaged in releases ... as well as the ones packages with the Arduino/Esp8266 core (v2.5.2 - v2.6.3))


seams I had conflicting version installed ... after uninstalling and reinstalling arduino 1.8.10 & esp8266 core 2.6.3 everything worked great!

Code: Select allPS C:\Users\Name\project2> .\mkspiffs.exe -b 8192 -p 256 -l C:\Users\Name\AppData\Local\Temp\arduino_build_482363/NEOJS.spiffs.bin       
35      /.exclude.files
98943   /ace.js.gz
31295   /beautify.js.gz
177     /config.json
4994    /default.js
18661   /edit.htm
1987    /ext-modelist.js.gz
3131    /ext-searchbox.js.gz
673     /ext-spellcheck.js.gz
10842   /favicon.ico
170     /index.htm
4994    /init.js
6102    /mode-css.js.gz
17037   /mode-html.js.gz
6315    /mode-javascript.js.gz
3609    /strandtest.ino
2849    /strandtest.js
78163   /strandtest.svg
19347   /theme-ambiance.js.gz
882     /theme-cobalt.js.gz
937     /theme-crimson_editor.js.gz
3229    /webrepl.htm
36708   /worker-css.js.gz
50024   /worker-html.js.gz
49472   /worker-javascript.js.gz
PS C:\Users\Name\project2>


Code: Select allPS C:\Users\Name\project2> python esptool.py read_flash 0x300000 1028096 spiffs-1M.bin
PS C:\Users\Name\project2> .\mkspiffs.exe -b 8192 -p 256 -l .\spiffs-1M.bin                                                               35      /.exclude.files
98943   /ace.js.gz
31295   /beautify.js.gz
4994    /default.js
18661   /edit.htm
1987    /ext-modelist.js.gz
3131    /ext-searchbox.js.gz
673     /ext-spellcheck.js.gz
10842   /favicon.ico
170     /index.htm
6102    /mode-css.js.gz
17037   /mode-html.js.gz
6315    /mode-javascript.js.gz
3609    /strandtest.ino
2849    /strandtest.js
78163   /strandtest.svg
19347   /theme-ambiance.js.gz
882     /theme-cobalt.js.gz
937     /theme-crimson_editor.js.gz
3229    /webrepl.htm
36708   /worker-css.js.gz
50024   /worker-html.js.gz
49472   /worker-javascript.js.gz
196     /config.json
1460    /init.js
PS C:\Users\Name\project2>