Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : Micromite 170 ext. flash program storage
Author | Message | ||||
JohnL Senior Member Joined: 10/01/2014 Location: SeychellesPosts: 128 |
Has anything been done with storing (load/save) basic programs to external SPI flash memory for micromite 170? I can see work has been done to log data to external sd cards but can't find any reference to storing basic programs. |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8648 |
Not possible at the moment: Cfunctions don't currently have access to some core firmware routines that would be required to do this. In any case with SPI flash it would be limited to a single file without also implementing a complete file system such as SPIFFS |
||||
JohnL Senior Member Joined: 10/01/2014 Location: SeychellesPosts: 128 |
Revisiting this older thread again. Still looking for an easy practical option of transferring/updating programs on remote embedded MX170 micromites. Would it be possible for a Micromite to load a basic program from external temporary/portable Flash memory or SD card at startup with an OPTION feature set to check for external Flash program. If external flash program exists then Load and save in Micromite Internal Flash and Run and keep same program as future Autorun Program? Something like a Basic bootloader from external flash. |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8648 |
Yes it is now possible (in 5.2) with a CFunction. See this thread for the C code which can save a program in the MM RAM to the MM flash. You would also need to write the flash handling code to get the program into the MM RAM and of course onto the flash memory in the first place. |
||||
Print this page |