Open andrigamerita opened 1 year ago
This could lead to a very great number of erasing-writing in the flash memory, that could wear it out prematurately. (see the warning of the KhiCAS flash writer) Maybe a button (with a warning) allowing to update the flash could be created, rather than an automatic job. It would be a good compromise, allowing users to use it when they want, and therefore less than each time they exit Python.
bump
Is your feature request related to a problem? Please describe.
When the calculator crashes, or I simply just need to go through the bootloader to switch between Upsilon and Epsilon, all Python scripts are lost, since they're only saved to SRAM. I can only rarely backup them to the NumWorks website to avoid losing them, and I can even more rarely restore them after a reset (because I don't have a PC at hand 100% of the time).
Describe the solution you'd like
There should be some way to save the Python scripts to the available flash storage.
The ideal solution, I think, would be having Python directly work on the flash storage, and this would mean 2 main benefits:
However, I can imagine that this would be hard to implement, since the entire Python IDE is built to work on the SRAM, and so would require big changes.
A good alternative, that doesn't grant any storage advantage, but still allows for scripts to never be lost on reset, would be to integrate some sort of automatic backup system into the Python IDE: