Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 21:50 29 Apr 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 : uM Saving data during powerdown.

Author Message
hwholmes
Newbie

Joined: 30/05/2014
Location: United States
Posts: 10
Posted: 03:18am 11 May 2015
Copy link to clipboard 
Print this post

I need to restore variables to their last value upon restarting a micromite. I assume that I need to get this into flash but so far the command to do it alludes me.

I think I am looking for a cross between DATA (only for constants) and POKE (which doesn't seem to have a flash target).

I do not want to use anything but the uM itself, no external storage.

I think it should be possible but so far I can't figure it out.

Bert
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8584
Posted: 03:26am 11 May 2015
Copy link to clipboard 
Print this post

VAR SAVE and VAR RESTORE uM MkII manual page 57
 
hwholmes
Newbie

Joined: 30/05/2014
Location: United States
Posts: 10
Posted: 03:32am 11 May 2015
Copy link to clipboard 
Print this post

Thank you matherp - I thought something was there and totally missed it.
Bert
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2794
Posted: 03:33am 11 May 2015
Copy link to clipboard 
Print this post

MatherP just beat me to it - follow his link to the User Manual.

If you still have issues then post back . . .

WW

EDIT: Reference is on Page 58 (not 57 of this version of the User Manual). ALSO look on page 13 Edited by WhiteWizzard 2015-05-12
For everything Micromite visit micromite.org

Direct Email: whitewizzard@micromite.o
 
Print this page


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

© JAQ Software 2024