Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 04:53 17 Jun 2024 Privacy Policy
Jump to

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: Seychelles
Posts: 128
Posted: 05:26pm 29 Mar 2016
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 8648
Posted: 09:39pm 29 Mar 2016
Copy link to clipboard 
Print this post

  Quote  Has anything been done with storing (load/save) basic programs to external SPI flash memory for micromite 170?


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: Seychelles
Posts: 128
Posted: 05:41pm 21 Jun 2016
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 8648
Posted: 08:59pm 21 Jun 2016
Copy link to clipboard 
Print this post

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.Edited by matherp 2016-06-23
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024