Skip to content
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

UiFlow2.0.bin Update error: 5 #20

Closed
leorrr opened this issue May 10, 2024 · 8 comments
Closed

UiFlow2.0.bin Update error: 5 #20

leorrr opened this issue May 10, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@leorrr
Copy link

leorrr commented May 10, 2024

Problems when trying to install UIFlow2.0.bin,
"Update error: 5",
any ideas......
Greetings and congratulations for your great work.

@bmorcelli
Copy link
Owner

Hi leorr, thanks for using and enjoying Launcher! I really appreciate this..

This issue occurs due to the partition size of UIFlow applications, it is larger then the OTA partition where Launcher install the applications.. I have an Idea on how to overcome that, so I'm putting it on the list of solutions to implement next week.

Thank you very much for reporting!

@bmorcelli bmorcelli added the bug Something isn't working label May 10, 2024
@leorrr
Copy link
Author

leorrr commented May 11, 2024

Ok, thank you very much, and again congratulations for your work, I will wait patiently,
Greetings Leo...

@bmorcelli
Copy link
Owner

Hello @leorrr

Launcher_2_fix_Cardputer.zip

Try this test version of the Launcher...

It is pointing to a Test Repo, so the firmwares may be outdated.. it is only for test.. If it is working, I'll publish the release next week

@leorrr
Copy link
Author

leorrr commented May 12, 2024

It works very well, error 5 no longer appears and it can be installed after I played for a while on the uiFlow 2 page of m5Stack, and very well, I will continue testing and something comes up, I will let you know.
Thank you.

@leorrr
Copy link
Author

leorrr commented May 12, 2024

Bad news....MicroHidra has stopped working, it can be installed but it does not start, the other bins that I have work fine...

@leorrr
Copy link
Author

leorrr commented May 13, 2024

Hello, I've been testing the behavior of uiflow2 again and I've realized that despite being usable for making small pieces of code and uploading it through the USB connection, the system doesn't quite work well. The NVS storage (non-volatile storage), where credentials are stored to upload programs to the microcontroller from the cloud, seems to be inaccessible. Also, a menu that usually starts at the beginning to choose the type of connection (web or USB) and list the apps doesn't start either, probably because the NVS is not accessible.
That's a valid perspective. UIFlow is fantastic for teaching programming to beginners, but MicroHydra might be better suited for users who already have some experience and are looking to do something more productive.
I see, maybe it's asking too much of m5Launcher. Anyway, if given the choice, I think I'd prefer compatibility with microHydra over uiflow.
Saludos...

@bmorcelli
Copy link
Owner

Actually the problem with UIFlow is that I couldn't install the vfs storage that cames with the UIFlow, because it comes in a different partition..

I learned how to install spiffs partition though, but this nvs is quite of a challange..

I implemented a way to "erase" the fvs filesystem, so the problem when swapping apps won't happen, but the price for this is losing all data you have saved in the nvs partition, so if you create a file in microhydra, stored in the flash memory, it will be lost when you install other application.

I was able to connect UIFlow into the computer and make a simple program work.. it doesn't show any fancy boot screen or anything, but works..

test this version and tell me if the problem you reported still exists.

Launcher_v2_fix_Cardputer.zip

@leorrr
Copy link
Author

leorrr commented May 13, 2024

Hello again! I've tried out this new version... UIFLOW2 works, and Microhydra does too. The only detail I suppose you should be aware of is that when you reinstall UIFLOW, the main.py file, if it was there, I guess it's due to the file deletion system NVS, isn't as neat as UIFLOW's exclusive setup, but the truth is that testing UIFLOW without losing the functionality of other applications like MicroHydra is more than satisfactory.

A detail of what happens when the boot.py file is executed.

m5cardputerUiflow205Thonny

Thank you very much, and again congratulations for your work
Greetings Leo...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants