-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use SD Updater #8
Comments
@jJit0 LovyanLauncher is just calling the function of SD-Updater, please refer to this URL for more information about SD-Updater. |
I’m sorry but I didn’t understand anything!!! Do you have an English README.MD of LovyanLauncher on how to use it and all details? I don’t speak chinese, the current Readme.md is only in chinese 😣 I need to understand what’s LovyanLauncher is used for? And how do I use it? |
@jJit0 Before asking any more questions, please read the SD-Updater repository. |
Yeah sorry I meant Japanese Readme Ok no problem, I need to understand how SD Updater work first before using it on the LovyanLauncher Thanks anyway, Arigato Lovyan-san |
hey @jJit0 please create an issue or join the dedicated gitter community so we can talk about your issue |
Hey @tobozo yeah no problem |
@jJit0 can you please give a try using the unstable branch of this repository with this pull request along with the branch 1.1.0 of M5Stack-SD-Updater have been modified to work with the latest esp32-arduino-core 2.x.x Here's a snippet of how to use the SD-Updater from your own sketch: // #include <ESP32-Chimera-Core.h>
#include <M5Stack.h>
#define SDU_APP_NAME "M5Stack SDLoader Snippet"
#include <M5StackUpdater.h>
void setup() {
M5.begin();
Serial.println("Welcome to the SD-Updater minimal example!");
Serial.println("Now checking if a button was pushed during boot ...");
// checkSDUpdater();
checkSDUpdater(
SD, // filesystem (default=SD)
MENU_BIN, // path to binary (default=/menu.bin, empty string=rollback only)
2000, // wait delay, (default=0, will be forced to 2000 upon ESP.restart() )
TFCARD_CS_PIN // (usually default=4 but your mileage may vary)
);
Serial.println("Nope, will run the sketch normally");
}
void loop() {
// provide means to copy the sketch to filesystem
M5.update();
if( M5.BtnB.pressedFor( 1000 ) ) {
Serial.println("Will copy this sketch to filesystem");
if( copyFsPartition( SD, "/MY_SKETCH.bin", TFCARD_CS_PIN ) ) {
Serial.println("Copy successful !");
} else {
Serial.println("Copy failed !");
}
}
} |
Hi,
I use LovyanLauncher into the M5Stack Gray using M5Burner.
I downloaded several games and apps (*.bin) into the SDcard, when I put the sd card to M5gray, and click on SD Updater on the top of the menu, I click on UniFlow.bin for example, then it says: Loading... with progress bar, and then it restarts to LovyanLauncher again!!!
Why I can't launch Uniflow or any other bin files from "SD Updater" menu ?
The text was updated successfully, but these errors were encountered: