Shop OBEX P1 Docs P2 Docs Learn Events
Non Volatile Memory — Parallax Forums

Non Volatile Memory

ArchiverArchiver Posts: 46,084
edited 2003-05-27 04:18 in General Discussion
I'm a little new to the stamp world so this may be a silly question,
however; Is there a way to save variables in non-volatile memory so
that my program will resume after a power failure?

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-05-27 03:39
    you could probably just save the state info to eeprom.

    d...

    >
    Original Message
    > From: kg8vr [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=59cvarVpgr__9AScd2OAiEHmm92C9WWVpDvL0aM-SdVCmiMLoVHLvKv1bIJ4QrfDmmrmk6VL9bUr]spamcan@t...[/url
    > Sent: Monday, May 26, 2003 7:19 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Non Volatile Memory
    >
    >
    > I'm a little new to the stamp world so this may be a silly question,
    > however; Is there a way to save variables in non-volatile memory so
    > that my program will resume after a power failure?
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the
    > Subject and Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2003-05-27 04:18
    Yes, there is. Look into the WRITE and READ commands

    Jonathan

    www.madlabs.info

    Original Message
    From: "kg8vr" <spamcan@t...>
    To: <basicstamps@yahoogroups.com>
    Sent: Monday, May 26, 2003 7:19 PM
    Subject: [noparse][[/noparse]basicstamps] Non Volatile Memory


    > I'm a little new to the stamp world so this may be a silly question,
    > however; Is there a way to save variables in non-volatile memory so
    > that my program will resume after a power failure?
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2003-05-27 04:18
    Your program won't be able to resume at the exact spot of a power failure,
    but you can come close. I wrote an article for Nuts & Volts (#87 -- that is
    available from our web site) that shows how to use the BS2sx multi-bank memory.

    The strategy used for saving variables can be modified to save to EEPROM.

    -- Jon Williams
    -- Parallax



    In a message dated 5/26/2003 9:21:25 PM Central Standard Time,
    spamcan@t... writes:

    > I'm a little new to the stamp world so this may be a silly question,
    > however; Is there a way to save variables in non-volatile memory so
    > that my program will resume after a power failure?



    [noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.