-
Notifications
You must be signed in to change notification settings - Fork 1
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
sd-updater #2
Comments
Thank you for trying my product. I assume you have selected "release_SdUpdater". If the build completed, you should find .pio/build/release_SdUpdater/firmware.bin in the current directory of project. Rename it to something appropriate and copy it to the SD card. |
Hey, thank you for answering. I have already tried that, But It just got stuck at 100% when loading the firmware.bin file |
Which device do you use? If there is any output on the serial monitor, it would be helpful if you could attach all the logs. |
I use the Basic one and there are no logs, just the loading screen |
Is it old Basic? Is the application working in build "release" without SdUpdater? If possible, can you post the build log of platformio when you build with release_SdUpdater after clean? |
Yeah, It's the old one. The build release works just fine and yeah, I can post the log, give me a sec |
This is It: Processing release_SdUpdater (board: m5stack-core-esp32; platform: espressif32@6.2.0; framework: arduino)Verbose mode can be enabled via
In file included from .pio/libdeps/release_SdUpdater/SdFat/src/ExFatLib/ExFatFile.h:817, In file included from .pio/libdeps/release_SdUpdater/M5Stack-SD-Updater/src/M5StackUpdater.hpp:91, In file included from .pio/libdeps/release_SdUpdater/SdFat/src/ExFatLib/ExFatFile.h:817, Compiling .pio/build/release_SdUpdater/lib69a/M5GFX/M5GFX.cpp.o pragma message "[FBSD] Enable SD-Updater"
Compiling .pio/build/release_SdUpdater/lib69a/M5GFX/lgfx/utility/lgfx_qrcode.c.o |
Thank you for attaching log. Please give me some time to do some research. |
Okay!! |
This is going to take longer than I thought. Please give me a few days to travel as I am on summer vacation starting tomorrow. |
Don't worry, take your time. Thank you so much!! |
The compilation process does not appear to be problematic. Is it possible to run SD-Updater on Flash 4MB in the first place, or is there a partition setting that will work? I am inquiring with the author, @tobozo. |
Hey, thanks for reaching out. I'm not really sure about the meaning of running It on Flash 4MB, but SD-Updater runs just fine on my M5STACK. |
Can you please attach the platformio.ini or URL of the project that you have successfully loaded and run with SD-Updater? |
Yeah, I have used the one in the M5BURNER software as for some reason I could compile It myself. It states that It was published by tobozo at 2020.08.23, the version is V1.0. In the github page It only goes back as far as version 1.1.0 https://github.com/tobozo/M5Stack-SD-Updater/tree/1.1.0 |
Is the menu.bin (created from M5Stack-SD-Menu.ino) in the README for SD-Updater very old? |
PlatformIO Monitor log
Choose "m5s_fbs (this App)"
Here are the logs working in my environment. |
And my menu.bin is built with SD-Updater 1.2.5. |
running_000.mp4 |
If you select General - Monitor in PlatformIO with the PC and M5Stack connected, you can get the logs in the same way. If you can figure out what is happening at the part where it stops at 100% loading, you should be able to get closer to a solution. |
hi,
it seems that bootloader and OTA routine don't agree on the address of the running partition, probably because the menu.bin is outdated and/or was compiled using an old espressif core where OTA partitions are written with a slightly different offset.
Although there is some tolerance, it is suggested to compile your own launcher using the same espressif core versions as the other binaries on the SD card. SD-Updater version used by M5Stack_FlipBook:
The release 1.2.5 of M5Stack-SD-Updater is the closest match; the assets on the release page are precompiled (but untested) launchers, and can be used as a replacement of the current menu.bin. Note: The version number in the filename is the espressif core version it's been compiled with: M5stack-Launcher-2.0.6.bin |
Oops, my menu.bin was built with 1.2.4. |
Sorry for not answering, I hadn't have connection. I'm gonna try this out and tell you how It works. Thank you so much! |
Hello, I have been trying to use It with SD_updater, but when compiling It with platformIO i don't knwo where to find the .bin to use as an app. Any clue on how to solve this?
Thanks in advance.
The text was updated successfully, but these errors were encountered: