Comments (9)
Hey and thanks for your feedback.
The chess App is the biggest of all apps, it may not work depending on your M5 model.
loading stops at 78% => this could be a SPIFFS partition problem i.e. too small or never used, maybe formatted with another SDK ?
Doing an full flash erase and some SPIFFS basic tests (e.g. upload the menu.bin and look what happens) could probably help.
from m5stack-sd-updater.
thanks for your prompt answer,
I did already a full erase with esptool32.py erase_flash
after first upload with arduino IDE the menu.bin starts as expected,
I can select an app and can start the app
but as written before .. it reboots at 78% when I want to go back to menu.bin
and it starts the previous app,
I have tried menu.bin from SD zip, and my own compiled version,
Thanks,
grooves
from m5stack-sd-updater.
so did the SPIFFS copy of menu.bin work ?
flash read err, 1000
clearly indicates a read problem, so even if this test seems unrelated and redundant, making this test work or fail will be a useful information.
I can select an app and can start the app
As a second useful, non redundant but also unrelated test, did you try to build a custom app rather than using the apps provided with the repo ?
Also more information is required to better understand the problem:
Model of M5Stack ?
Compiling environment ? Compilation Settings ?
OS ?
Model of the SD Card ?
from m5stack-sd-updater.
Hi,
it is a fresh Arduino installation on windows 10 x64
and installed all required libs, you mentioned in your description,
M5Stack shows just a small label with 2018.3
SD card is a Samsung 32GB, FAT32 formatted
your assumtions is probably right, something to do with SPIFFS,
when I start menu.bin I observe:
M5Stack initializing...OK
Scanning SPIFFS for binaries
E (760) SPIFFS: mount failed, -10025
SPIFFS Mount Failed
Listing directory: /
DIR : /System Volume Information
IGNORED FILE: /WeatherParams.txt
IGNORED FILE: /Readme.txt
IGNORED FILE: /RadioStations.txt
FILE: /Tetris.bin
DIR : /jpg
DIR : /json
DIR : /mp3
FILE: /arduinomegachess.bin
FILE: /Colours_Demo.bin
Anything I can do to solve that problem ?
have already erased the whole flash via esptool, and ESPFlashDownload
Regards,
grooves
from m5stack-sd-updater.
SPIFFS mount failed
can happen after a full erase or when the ESP32 is brand new, you can use the ESP32 Sketch Data Upload once to fix that.
Running this tool will upload the contents of /data/ into your SPIFFS partition, just leave the /data/ folder empty for formatting.
Also make sure you allocate some space for OTA in the flash settings (the sd-updater is re-using the flashing part from this component)
It may be worth trying with different settings since this library existed before the options appeared in the Arduino menu.
I haven't tried selecting the M5Fire profile and it looks like it doesn't have any options to setup the partition but it may be worth a try too.
I'll probably update the menu code and add some kind of partition detection + formatting once the M5 environment becomes stable.
from m5stack-sd-updater.
Hi,
used the tool above, and SPIFFS error seems to be gone:
M5Stack initializing...OK
Scanning SPIFFS for binaries
/esp32fs.jar
No binary to transfer
Listing directory: /
DIR : /System Volume Information
IGNORED FILE: /WeatherParams.txt
IGNORED FILE: /Readme.txt
IGNORED FILE: /RadioStations.txt
FILE: /Tetris.bin
DIR : /jpg
DIR : /json
DIR : /mp3
FILE: /arduinomegachess.bin
FILE: /Colours_Demo.bin
but, it doesn't help for initial issue, can't go back to menu.bin
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1496
load:0x40078000,len:8596
load:0x40080400,len:6980
entry 0x400806f4
M5Stack initializing...OK
Will Load menu binary
Try to start update
percent = 0
percent = 1
.....
percent = 71
percent = 72
ets Jun 8 2016 00:22:57
rst:0x10 (RTCWDT_RTC_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1496
load:0x40078000,len:8596
load:0x40080400,len:6980
entry 0x400806f4
M5Stack initializing...OK
COLOURS test!
and I'm back in previous app
Regards,
Michael
from m5stack-sd-updater.
the menu.bin should be compiled + copied onto the SD Card + also flashed with the new settings and the observed failure can only be valid if you saw it happen using any of the three different options for partition scheme.
BTW is your model a M5Stack classic, M5Fire or M5Go ?
from m5stack-sd-updater.
Also if you don't mind gitter.im. there's a M5Stack Fans lobby where we can chat and look further what's going on with your build without spamming this issue.
from m5stack-sd-updater.
Found the probably source of the problem after only one beer : SPIFFS partition scheme mismatching (with an earlier version of the SDK ?).
Updating the ESP32 SDK apparently did the trick.
Closing this issue as solved, feel free to open a new issue for any esp-idf inquiry 👍
from m5stack-sd-updater.
Related Issues (20)
- [SD-App] Please add simple WiFi Setup app HOT 3
- Provide ready to flash .bin files in github releases page HOT 2
- Suggestion: M5Stack Core2 Compat HOT 9
- M5Stack-SD-Menu does not work on a M5Stack-Faces (SD-Card problem) HOT 14
- Can't compile M5Stack-SD-Updater example - HOT 3
- error compiling HOT 2
- [SD-App] Please add ESP32-BLECollector HOT 2
- [SD-App] please add M5Core2 Currency Converter HOT 1
- [SD-App] Please add monopoldesign's M5Core2_Amiga HOT 1
- [SD-App] Please add WiFiChanViz HOT 1
- [SD-App] Please add ESP32-Tesseract
- SDLauncher: M5Stack core gray + SD <=> LoRa 868 RA-01H bus sharing conflicts HOT 14
- M5 Stack Core2 HOT 2
- Can you add botofancalin- multi app advance HOT 1
- Reporting a vulnerability HOT 1
- __has_include breaks under some conditions HOT 5
- M5Stack.h and SdFat.h combination causes compile error HOT 2
- AXP issue HOT 12
- CoreS3 HOT 11
- M5StickC Plus 2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from m5stack-sd-updater.