-
-
Notifications
You must be signed in to change notification settings - Fork 555
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
M0 GURU MEDITATION ERROR #1914
Comments
It may be that you have too much files on the directory you are trying to open. |
what's the max amount of files allowed per folder? The SD card is a 256gb SanDisk |
I could reproduce. |
Sounds good, I'll keep it open until one of you tell me it's solved. EDIT: adding extra folders worked |
Some random heap space measurements, starting with 32KB M0 heap space available when viewing the Main Menu:
If File Manager were modified to only show the number of files that fit on the screen (and only fetch the rest when scrolling or changing directories), it would probably save about 8-9KB of heap space, preventing this issue. |
I'm totally for the file manager optimisation. |
Nice investigations BTW |
Another way to save some memory might be to deallocate the menu buttons when opening an app (of course the menu screen would then need to be reconstructed when the app exits but we'd just need to remember which app the focus was on). That would save about 5KB in the case of the Receive menu, providing more working space for all receive apps, but only freeing up enough space for about 25 more files in File Manager. Probably we should implement both of these suggestions. |
Is that a new SD card? Did the problems start with it? Try a 32gb and see if the errors stop. I had to downsize from 64 to 32 in 1.9.1 to stop freezing and other errors, and it still works with no similar problems in 2.0. I had a bunch of problems that stopped when I solved my read errors by downsizing to a 32gb SanDisk. Does the 256 work for you now? |
no, I've had the same sdcard since I got the device last year the card works perfectly fine, adding folders to FREQMAN fixed the issue |
Thanks. I'll try a larger SD card again soon and see if my problems return. In fact, I'll go with a new 256gb Sandisk. Which version are you using (extreme, ultra, oem, etc.) |
256gb Ultra A1 |
Thanks... |
A good 32GB is the best, as we only support FAT32 and that 32GB is the biggest you can have using FAT32 (as well as 4GB max file size). |
(Please try the latest nightly release before submitting this. You can find the latest nightly version here: https://github.com/portapack-mayhem/mayhem-firmware/releases)
Describe the bug
When opening RECEIVE -> RECON -> CONFIG -> SELECT INPUT FILE I get a M0 GURU MEDITATION error.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Able to select input file from SDCARD.
Affected versions
Please write any difference related with the Expected behavior, on the following versions:
Additional
If the bug is difficult to explain, additionally to the text please include images and videos.
https://github.com/portapack-mayhem/mayhem-firmware/assets/135712432/9cd64610-e2db-4603-b56b-c42545801daa
The text was updated successfully, but these errors were encountered: