Shop OBEX P1 Docs P2 Docs Learn Events
How long will a download to the BS2 remain valid in memory? — Parallax Forums

How long will a download to the BS2 remain valid in memory?

ArchiverArchiver Posts: 46,084
edited 2003-12-21 00:23 in General Discussion
If I power-off the BS2 how long will its memory contents remain
valid? I'm using a Board of Education right now but I would like to
create my own board.

Also, when I create my own board for the BS2 is there anything I
need to put on the BS2 power pin to maintain memory during power-
down (e.g. capaicitor etc)?

Thanks!

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-12-20 17:58
    Really no time at all. On reset, all variables are cleared to zero.
    Your program, of course, remains intact as it is stored in EEPROM. You
    may want to explore the Stamp's low-power modes (SLEEP and NAP) for
    power conservation.

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office

    Original Message
    From: fredwalters100 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=qP9i5h1mlQeJMdZGGRfZF1hrIUhwxoB2AEzz4F71Rebqy9DR6DvMd8BBvoQZnLVi90Rkjxc]fw@c...[/url
    Sent: Friday, December 19, 2003 8:43 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] How long will a download to the BS2 remain valid
    in memory?


    If I power-off the BS2 how long will its memory contents remain
    valid? I'm using a Board of Education right now but I would like to
    create my own board.

    Also, when I create my own board for the BS2 is there anything I
    need to put on the BS2 power pin to maintain memory during power- down
    (e.g. capaicitor etc)?

    Thanks!



    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.


    Yahoo! Groups Links

    To visit your group on the web, go to:
    http://groups.yahoo.com/group/basicstamps/

    To unsubscribe from this group, send an email to:
    basicstamps-unsubscribe@yahoogroups.com

    Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/




    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2003-12-20 18:13
    At 02:43 AM 12/20/03 +0000, fredwalters100 wrote:
    >If I power-off the BS2 how long will its memory contents remain
    >valid? I'm using a Board of Education right now but I would like to
    >create my own board.
    >
    >Also, when I create my own board for the BS2 is there anything I
    >need to put on the BS2 power pin to maintain memory during power-
    >down (e.g. capaicitor etc)?
    >
    >Thanks!

    Once the Stamp program is loaded into EEPROM the life is effectively infinite.
    No power needs to be maintained after the program is loaded into the Stamp.

    If RESET occurs, all bets are off. RESET clears memory and sets all variables to
    zero. RESET may be marked as RST on the Stamp schematics.

    Regards,

    Bruce Bates





    >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.
    >
    >
    >Yahoo! Groups Links
    >
    >To visit your group on the web, go to:
    > http://groups.yahoo.com/group/basicstamps/
    >
    >To unsubscribe from this group, send an email to:
    > basicstamps-unsubscribe@yahoogroups.com
    >
    >Your use of Yahoo! Groups is subject to:
    > http://docs.yahoo.com/info/terms/
  • ArchiverArchiver Posts: 46,084
    edited 2003-12-20 18:20
    Just to be clear, only VARIABLES are cleared on reset (and all IO pins
    are made inputs), but your program remains intact. As soon as the Stamp
    comes out of reset the program will start running again. You can save
    important variables in EEPROM with WRITE and retrieve them with READ.
    Just be careful that you don't attempt to treat EEPROM like RAM as it
    does have a finite number of write cycles.

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office


    Original Message
    From: Bruce Bates [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=FshXAQsKB53LUNa6chbxZooVf-981UH72qGcyixXH3yo6kcMxsPwhp-v6bPL1dRn2fj7kUJaHNdi2eSIBmE]bvbates@u...[/url
    Sent: Saturday, December 20, 2003 12:14 PM
    To: basicstamps@yahoogroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] How long will a download to the BS2 remain
    valid in memory?


    At 02:43 AM 12/20/03 +0000, fredwalters100 wrote:
    >If I power-off the BS2 how long will its memory contents remain
    >valid? I'm using a Board of Education right now but I would like to
    >create my own board.
    >
    >Also, when I create my own board for the BS2 is there anything I
    >need to put on the BS2 power pin to maintain memory during power-
    >down (e.g. capaicitor etc)?
    >
    >Thanks!

    Once the Stamp program is loaded into EEPROM the life is effectively
    infinite. No power needs to be maintained after the program is loaded
    into the Stamp.

    If RESET occurs, all bets are off. RESET clears memory and sets all
    variables to zero. RESET may be marked as RST on the Stamp schematics.

    Regards,

    Bruce Bates





    >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.
    >
    >
    >Yahoo! Groups Links
    >
    >To visit your group on the web, go to:
    >http://groups.yahoo.com/group/basicstamps/
    >
    >To unsubscribe from this group, send an email to:
    >basicstamps-unsubscribe@yahoogroups.com
    >
    >Your use of Yahoo! Groups is subject to:
    >http://docs.yahoo.com/info/terms/


    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.


    Yahoo! Groups Links

    To visit your group on the web, go to:
    http://groups.yahoo.com/group/basicstamps/

    To unsubscribe from this group, send an email to:
    basicstamps-unsubscribe@yahoogroups.com

    Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/




    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2003-12-21 00:23
    I have read the statement "over 100 years" on some eeprom data sheet. Since
    your programs are stored in eeprom, this is the time you want to know.


    Original Message
    From: "fredwalters100" <fw@c...>
    To: <basicstamps@yahoogroups.com>
    Sent: Friday, December 19, 2003 11:43 PM
    Subject: [noparse][[/noparse]basicstamps] How long will a download to the BS2 remain valid in
    memory?


    > If I power-off the BS2 how long will its memory contents remain
    > valid? I'm using a Board of Education right now but I would like to
    > create my own board.
    >
    > Also, when I create my own board for the BS2 is there anything I
    > need to put on the BS2 power pin to maintain memory during power-
    > down (e.g. capaicitor etc)?
    >
    > Thanks!
    >
    >
    >
    > 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.
    >
    >
    > Yahoo! Groups Links
    >
    > To visit your group on the web, go to:
    > http://groups.yahoo.com/group/basicstamps/
    >
    > To unsubscribe from this group, send an email to:
    > basicstamps-unsubscribe@yahoogroups.com
    >
    > Your use of Yahoo! Groups is subject to:
    > http://docs.yahoo.com/info/terms/
    >
    >
    >
Sign In or Register to comment.