Shop OBEX P1 Docs P2 Docs Learn Events
recovering BS2 program — Parallax Forums

recovering BS2 program

ArchiverArchiver Posts: 46,084
edited 2003-07-09 17:46 in General Discussion
I have lost my original BS2 program but as far as I know it is still on the
STAMP.
Is there anyway to recover the original. I know that the comments etc will lost
but can I get the
basic code back out? HELP !!

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-07-08 01:12
    Sorry, no. I've heard of people going through the trouble to desolder
    the EEPROM to duplicate it, but there is no "decompiler" for PBASIC once
    it is downloaded to the Stamp. Don't kick yourself, we've all been
    through this.

    -- Jon Williams
    -- Parallax

    Original Message
    From: rdoctors@c... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=E28DDn0B6AuNTUwO-XZ2clJTewjpHPlcLwxO9mTJTxFBaRjr1ibvltxNg7zP4FYN3gxYzzrsSg]rdoctors@c...[/url
    Sent: Monday, July 07, 2003 4:44 AM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] recovering BS2 program


    I have lost my original BS2 program but as far as I know it is still on
    the STAMP. Is there anyway to recover the original. I know that the
    comments etc will lost but can I get the
    basic code back out? HELP !!



    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/




    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2003-07-08 02:43
    Steve Parkiss has offered this service in the past:
    http://home.earthlink.net/~parkiss/recovery.txt

    Al Williams
    AWC
    * NEW: PAK-VIa - Read PS/2 keyboards or mice -- double the buffer, lower
    current consumption.
    http://www.al-williams.com/awce/pak6.htm




    >
    Original Message
    > From: rdoctors@c... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=kFvTrndtGnKherNYLn7L8Bseuluk1JqKVu_2i-lnMPx2LsrjkGC2PAQla5i_6dKtJ1zGc2LeANs]rdoctors@c...[/url
    > Sent: Monday, July 07, 2003 4:44 AM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] recovering BS2 program
    >
    >
    > I have lost my original BS2 program but as far as I know it
    > is still on the STAMP. Is there anyway to recover the
    > original. I know that the comments etc will lost but can I get the
    > basic code back out? HELP !!
    >
    >
    >
    > 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-07-08 21:30
    I think that the program is no longer in the EEPROM . Is it possible
    that it faded away? I use the STAMP for a solar panel controller and
    it hasn't been powered for almost a year. I have taken out the STAMP 2
    by itself and it just looks like it is not programmed at all. Is there
    any way to determine if the prgram has gone..?
    I was hoping not to have to re-write all the code but it looks as
    though I will have to do that..
    Next...Is there test program that I can download that exercises
    the STAMP so I can be sure all functions are OK,.
    I can write a simple prgram but I would like one that really checks it
    and that means writing to all of the EEPROM etcetc.
    Thanks ron


    -- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    wrote:
    > Sorry, no. I've heard of people going through the trouble to
    desolder
    > the EEPROM to duplicate it, but there is no "decompiler" for PBASIC
    once
    > it is downloaded to the Stamp. Don't kick yourself, we've all been
    > through this.
    >
    > -- Jon Williams
    > -- Parallax
    >
    >
    Original Message
    > From: rdoctors@c... [noparse][[/noparse]mailto:rdoctors@c...]
    > Sent: Monday, July 07, 2003 4:44 AM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] recovering BS2 program
    >
    >
    > I have lost my original BS2 program but as far as I know it is still
    on
    > the STAMP. Is there anyway to recover the original. I know that the
    > comments etc will lost but can I get the
    > basic code back out? HELP !!
    >
    >
    >
    > 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/
    >
    >
    >
    >
    > This message has been scanned by WebShield. Please report SPAM to
    > abuse@p...
  • ArchiverArchiver Posts: 46,084
    edited 2003-07-08 22:03
    Unless your program was constantly writing to the EEPROM, it's not
    likely that you wore it out. Stamps don't *look* any differt once
    they're programmed versus not. If you program has any DEBUG statements
    in it, you can tell the program is intact. Go into the compiler and
    manually open a DEBUG window, then restart your Stamp. If you had DEBUG
    message and the program is still there, you'll see them.

    Just make sure you don't download _anything_ in an attempt to look for
    your program -- that's a sure way to overwrite the program that may
    still be there.

    -- Jon Williams
    -- Parallax


    Original Message
    From: rondoc69 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=yWop6UFeJJmCcu1KgFxuyg468HO-fu1ln_1_K2h5AP16f_cQO2msxO9FDw_n_6pIsQJn_nxOFRU]rdoctors@c...[/url
    Sent: Tuesday, July 08, 2003 3:30 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Re: recovering BS2 program


    I think that the program is no longer in the EEPROM . Is it possible
    that it faded away? I use the STAMP for a solar panel controller and
    it hasn't been powered for almost a year. I have taken out the STAMP 2
    by itself and it just looks like it is not programmed at all. Is there
    any way to determine if the prgram has gone..?
    I was hoping not to have to re-write all the code but it looks as
    though I will have to do that..
    Next...Is there test program that I can download that exercises the
    STAMP so I can be sure all functions are OK,. I can write a simple
    prgram but I would like one that really checks it
    and that means writing to all of the EEPROM etcetc.
    Thanks ron


    -- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    wrote:
    > Sorry, no. I've heard of people going through the trouble to
    desolder
    > the EEPROM to duplicate it, but there is no "decompiler" for PBASIC
    once
    > it is downloaded to the Stamp. Don't kick yourself, we've all been
    > through this.
    >
    > -- Jon Williams
    > -- Parallax
    >
    >
    Original Message
    > From: rdoctors@c... [noparse][[/noparse]mailto:rdoctors@c...]
    > Sent: Monday, July 07, 2003 4:44 AM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] recovering BS2 program
    >
    >
    > I have lost my original BS2 program but as far as I know it is still
    on
    > the STAMP. Is there anyway to recover the original. I know that the
    > comments etc will lost but can I get the basic code back out? HELP !!
    >
    >
    >
    > 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/
    >
    >
    >
    >
    > This message has been scanned by WebShield. Please report SPAM to
    > abuse@p...



    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/




    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2003-07-08 22:23
    Ron,
    just a thought, if you happen to remember if you had any pins on the STAMP
    as outputs that changed in some way, i.e., go high or low, try to put a
    scope on the pins when you power up the STAMP. If you see some simple
    changes in state, the program is probably still in there. I've done the
    same thing, but I try to keep floppy's with all the programs before I
    program the STAMPS. I think Jon's comments are the best, don't reprogram
    the STAMP until you are completely sure it lost the program. Be VERY sure
    mike m
    Original Message
    From: "rondoc69" <rdoctors@c...>
    To: <basicstamps@yahoogroups.com>
    Sent: Tuesday, July 08, 2003 4:30 PM
    Subject: [noparse][[/noparse]basicstamps] Re: recovering BS2 program


    > I think that the program is no longer in the EEPROM . Is it possible
    > that it faded away? I use the STAMP for a solar panel controller and
    > it hasn't been powered for almost a year. I have taken out the STAMP 2
    > by itself and it just looks like it is not programmed at all. Is there
    > any way to determine if the prgram has gone..?
    > I was hoping not to have to re-write all the code but it looks as
    > though I will have to do that..
    > Next...Is there test program that I can download that exercises
    > the STAMP so I can be sure all functions are OK,.
    > I can write a simple prgram but I would like one that really checks it
    > and that means writing to all of the EEPROM etcetc.
    > Thanks ron
    >
    >
    > -- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    > wrote:
    > > Sorry, no. I've heard of people going through the trouble to
    > desolder
    > > the EEPROM to duplicate it, but there is no "decompiler" for PBASIC
    > once
    > > it is downloaded to the Stamp. Don't kick yourself, we've all been
    > > through this.
    > >
    > > -- Jon Williams
    > > -- Parallax
    > >
    > >
    Original Message
    > > From: rdoctors@c... [noparse][[/noparse]mailto:rdoctors@c...]
    > > Sent: Monday, July 07, 2003 4:44 AM
    > > To: basicstamps@yahoogroups.com
    > > Subject: [noparse][[/noparse]basicstamps] recovering BS2 program
    > >
    > >
    > > I have lost my original BS2 program but as far as I know it is still
    > on
    > > the STAMP. Is there anyway to recover the original. I know that the
    > > comments etc will lost but can I get the
    > > basic code back out? HELP !!
    > >
    > >
    > >
    > > 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/
    > >
    > >
    > >
    > >
    > > This message has been scanned by WebShield. Please report SPAM to
    > > abuse@p...
    >
    >
    >
    > 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-07-08 23:21
    OK, I give up what is the best way to test the STAMP? I need to find
    out if it is "good" or not.
    ron



    --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    wrote:
    > Unless your program was constantly writing to the EEPROM, it's not
    > likely that you wore it out. Stamps don't *look* any differt once
    > they're programmed versus not. If you program has any DEBUG
    statements
    > in it, you can tell the program is intact. Go into the compiler and
    > manually open a DEBUG window, then restart your Stamp. If you had
    DEBUG
    > message and the program is still there, you'll see them.
    >
    > Just make sure you don't download _anything_ in an attempt to look
    for
    > your program -- that's a sure way to overwrite the program that may
    > still be there.
    >
    > -- Jon Williams
    > -- Parallax
    >
    >
    >
    Original Message
    > From: rondoc69 [noparse][[/noparse]mailto:rdoctors@c...]
    > Sent: Tuesday, July 08, 2003 3:30 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Re: recovering BS2 program
    >
    >
    > I think that the program is no longer in the EEPROM . Is it possible
    > that it faded away? I use the STAMP for a solar panel controller and
    > it hasn't been powered for almost a year. I have taken out the STAMP
    2
    > by itself and it just looks like it is not programmed at all. Is
    there
    > any way to determine if the prgram has gone..?
    > I was hoping not to have to re-write all the code but it looks as
    > though I will have to do that..
    > Next...Is there test program that I can download that exercises the
    > STAMP so I can be sure all functions are OK,. I can write a simple
    > prgram but I would like one that really checks it
    > and that means writing to all of the EEPROM etcetc.
    > Thanks ron
    >
    >
    > -- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    > wrote:
    > > Sorry, no. I've heard of people going through the trouble to
    > desolder
    > > the EEPROM to duplicate it, but there is no "decompiler" for
    PBASIC
    > once
    > > it is downloaded to the Stamp. Don't kick yourself, we've all
    been
    > > through this.
    > >
    > > -- Jon Williams
    > > -- Parallax
    > >
    > >
    Original Message
    > > From: rdoctors@c... [noparse][[/noparse]mailto:rdoctors@c...]
    > > Sent: Monday, July 07, 2003 4:44 AM
    > > To: basicstamps@yahoogroups.com
    > > Subject: [noparse][[/noparse]basicstamps] recovering BS2 program
    > >
    > >
    > > I have lost my original BS2 program but as far as I know it is
    still
    > on
    > > the STAMP. Is there anyway to recover the original. I know that
    the
    > > comments etc will lost but can I get the basic code back out? HELP
    !!
    > >
    > >
    > >
    > > 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/
    > >
    > >
    > >
    > >
    > > This message has been scanned by WebShield. Please report SPAM to
    > > abuse@p...
    >
    >
    >
    > 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/
    >
    >
    >
    >
    > This message has been scanned by WebShield. Please report SPAM to
    > abuse@p...
  • ArchiverArchiver Posts: 46,084
    edited 2003-07-08 23:54
    Internally, we us RCTIME and known RC values to test Stamp pins. Why?
    Because the pin needs to be an output to charge/discharge the RC ciruit,
    then an input to monitor it.

    Keep in mind that downloading any test code to your Stamp will overwrite
    the program you're hoping is still there....

    -- Jon Williams
    -- Parallax


    Original Message
    From: rondoc69 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=Tn4tV0RxlebLeo305aVH5kpoLxTmHFar38wFfZu4ATjwMqqgol23Wlq7PSdikhjjTYQIFJ1raC0V5g]rdoctors@c...[/url
    Sent: Tuesday, July 08, 2003 5:22 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Re: recovering BS2 program


    OK, I give up what is the best way to test the STAMP? I need to find
    out if it is "good" or not.
    ron



    --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    wrote:
    > Unless your program was constantly writing to the EEPROM, it's not
    > likely that you wore it out. Stamps don't *look* any differt once
    > they're programmed versus not. If you program has any DEBUG
    statements
    > in it, you can tell the program is intact. Go into the compiler and
    > manually open a DEBUG window, then restart your Stamp. If you had
    DEBUG
    > message and the program is still there, you'll see them.
    >
    > Just make sure you don't download _anything_ in an attempt to look
    for
    > your program -- that's a sure way to overwrite the program that may
    > still be there.
    >
    > -- Jon Williams
    > -- Parallax
    >
    >
    >
    Original Message
    > From: rondoc69 [noparse][[/noparse]mailto:rdoctors@c...]
    > Sent: Tuesday, July 08, 2003 3:30 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Re: recovering BS2 program
    >
    >
    > I think that the program is no longer in the EEPROM . Is it possible
    > that it faded away? I use the STAMP for a solar panel controller and
    > it hasn't been powered for almost a year. I have taken out the STAMP
    2
    > by itself and it just looks like it is not programmed at all. Is
    there
    > any way to determine if the prgram has gone..?
    > I was hoping not to have to re-write all the code but it looks as
    > though I will have to do that..
    > Next...Is there test program that I can download that exercises the
    > STAMP so I can be sure all functions are OK,. I can write a simple
    > prgram but I would like one that really checks it
    > and that means writing to all of the EEPROM etcetc.
    > Thanks ron
    >
    >
    > -- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    > wrote:
    > > Sorry, no. I've heard of people going through the trouble to
    > desolder
    > > the EEPROM to duplicate it, but there is no "decompiler" for
    PBASIC
    > once
    > > it is downloaded to the Stamp. Don't kick yourself, we've all
    been
    > > through this.
    > >
    > > -- Jon Williams
    > > -- Parallax
    > >
    > >
    Original Message
    > > From: rdoctors@c... [noparse][[/noparse]mailto:rdoctors@c...]
    > > Sent: Monday, July 07, 2003 4:44 AM
    > > To: basicstamps@yahoogroups.com
    > > Subject: [noparse][[/noparse]basicstamps] recovering BS2 program
    > >
    > >
    > > I have lost my original BS2 program but as far as I know it is
    still
    > on
    > > the STAMP. Is there anyway to recover the original. I know that
    the
    > > comments etc will lost but can I get the basic code back out? HELP
    !!
    > >
    > >
    > >
    > > 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/
    > >
    > >
    > >
    > >
    > > This message has been scanned by WebShield. Please report SPAM to
    > > abuse@p...
    >
    >
    >
    > 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/
    >
    >
    >
    >
    > This message has been scanned by WebShield. Please report SPAM to
    > abuse@p...


    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/




    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2003-07-09 15:57
    I understand that a re-program will remove any old ones. Do you have
    the RCTIME prgm? where can I locate the prgm? Doe sit fo thru all the
    PINS? FYI the STAMP did get very damp during the winterI wondered if
    this somehow has damaged it.
    I used to just ftp parallaxinc.com but there doesn't seem to be any
    thing in /pub
    Is there somewhere that has sample prgms etc.?
    Ron



    --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    wrote:
    > Internally, we us RCTIME and known RC values to test Stamp pins.
    Why?
    > Because the pin needs to be an output to charge/discharge the RC
    ciruit,
    > then an input to monitor it.
    >
    > Keep in mind that downloading any test code to your Stamp will
    overwrite
    > the program you're hoping is still there....
    >
    > -- Jon Williams
    > -- Parallax
    >
    >
    >
    Original Message
    > From: rondoc69 [noparse][[/noparse]mailto:rdoctors@c...]
    > Sent: Tuesday, July 08, 2003 5:22 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Re: recovering BS2 program
    >
    >
    > OK, I give up what is the best way to test the STAMP? I need to find
    > out if it is "good" or not.
    > ron
    >
    >
    >
    > --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    > wrote:
    > > Unless your program was constantly writing to the EEPROM, it's not
    > > likely that you wore it out. Stamps don't *look* any differt once
    > > they're programmed versus not. If you program has any DEBUG
    > statements
    > > in it, you can tell the program is intact. Go into the compiler
    and
    > > manually open a DEBUG window, then restart your Stamp. If you had
    > DEBUG
    > > message and the program is still there, you'll see them.
    > >
    > > Just make sure you don't download _anything_ in an attempt to look
    > for
    > > your program -- that's a sure way to overwrite the program that
    may
    > > still be there.
    > >
    > > -- Jon Williams
    > > -- Parallax
    > >
    > >
    > >
    Original Message
    > > From: rondoc69 [noparse][[/noparse]mailto:rdoctors@c...]
    > > Sent: Tuesday, July 08, 2003 3:30 PM
    > > To: basicstamps@yahoogroups.com
    > > Subject: [noparse][[/noparse]basicstamps] Re: recovering BS2 program
    > >
    > >
    > > I think that the program is no longer in the EEPROM . Is it
    possible
    > > that it faded away? I use the STAMP for a solar panel controller
    and
    > > it hasn't been powered for almost a year. I have taken out the
    STAMP
    > 2
    > > by itself and it just looks like it is not programmed at all. Is
    > there
    > > any way to determine if the prgram has gone..?
    > > I was hoping not to have to re-write all the code but it looks as
    > > though I will have to do that..
    > > Next...Is there test program that I can download that exercises
    the
    > > STAMP so I can be sure all functions are OK,. I can write a simple
    > > prgram but I would like one that really checks it
    > > and that means writing to all of the EEPROM etcetc.
    > > Thanks ron
    > >
    > >
    > > -- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    > > wrote:
    > > > Sorry, no. I've heard of people going through the trouble to
    > > desolder
    > > > the EEPROM to duplicate it, but there is no "decompiler" for
    > PBASIC
    > > once
    > > > it is downloaded to the Stamp. Don't kick yourself, we've all
    > been
    > > > through this.
    > > >
    > > > -- Jon Williams
    > > > -- Parallax
    > > >
    > > >
    Original Message
    > > > From: rdoctors@c... [noparse][[/noparse]mailto:rdoctors@c...]
    > > > Sent: Monday, July 07, 2003 4:44 AM
    > > > To: basicstamps@yahoogroups.com
    > > > Subject: [noparse][[/noparse]basicstamps] recovering BS2 program
    > > >
    > > >
    > > > I have lost my original BS2 program but as far as I know it is
    > still
    > > on
    > > > the STAMP. Is there anyway to recover the original. I know that
    > the
    > > > comments etc will lost but can I get the basic code back out?
    HELP
    > !!
    > > >
    > > >
    > > >
    > > > 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/
    > > >
    > > >
    > > >
    > > >
    > > > This message has been scanned by WebShield. Please report SPAM
    to
    > > > abuse@p...
    > >
    > >
    > >
    > > 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/
    > >
    > >
    > >
    > >
    > > This message has been scanned by WebShield. Please report SPAM to
    > > abuse@p...
    >
    >
    > 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/
    >
    >
    >
    >
    > This message has been scanned by WebShield. Please report SPAM to
    > abuse@p...
  • ArchiverArchiver Posts: 46,084
    edited 2003-07-09 17:39
    We have a fixute with 16 RC circuits so we can run the whole thing at
    once -- would be a bit of a waste for you to build the whole circuit.
    Just construct an RC circuit (see the manual or help file for example)
    and used fixed values. If you use 0.1 uF and 10K, RCTIME (on a stock
    BS2) should return a value of about 600. Of course, you need to make
    some room for component variances. I've upload a program to the Files
    section of the BASIC Stamps group called Pin_Test.BS2 that you can use.

    -- Jon Williams
    -- Parallax


    Original Message
    From: rondoc69 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=xPe_I3KzUqmY8EZ5MaEd1dRzH6988CzfBakXuD0F96l5KC9sQxAQakOW3avt_Pn8iX68pvHwFMwqAJ8]rdoctors@c...[/url
    Sent: Wednesday, July 09, 2003 9:57 AM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Re: recovering BS2 program


    I understand that a re-program will remove any old ones. Do you have
    the RCTIME prgm? where can I locate the prgm? Doe sit fo thru all the
    PINS? FYI the STAMP did get very damp during the winterI wondered if
    this somehow has damaged it.
    I used to just ftp parallaxinc.com but there doesn't seem to be any
    thing in /pub
    Is there somewhere that has sample prgms etc.?
    Ron



    --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    wrote:
    > Internally, we us RCTIME and known RC values to test Stamp pins.
    Why?
    > Because the pin needs to be an output to charge/discharge the RC
    ciruit,
    > then an input to monitor it.
    >
    > Keep in mind that downloading any test code to your Stamp will
    overwrite
    > the program you're hoping is still there....
    >
    > -- Jon Williams
    > -- Parallax
    >
    >
    >
    Original Message
    > From: rondoc69 [noparse][[/noparse]mailto:rdoctors@c...]
    > Sent: Tuesday, July 08, 2003 5:22 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Re: recovering BS2 program
    >
    >
    > OK, I give up what is the best way to test the STAMP? I need to find
    > out if it is "good" or not.
    > ron
    >
    >
    >
    > --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    > wrote:
    > > Unless your program was constantly writing to the EEPROM, it's not
    > > likely that you wore it out. Stamps don't *look* any differt once
    > > they're programmed versus not. If you program has any DEBUG
    > statements
    > > in it, you can tell the program is intact. Go into the compiler
    and
    > > manually open a DEBUG window, then restart your Stamp. If you had
    > DEBUG
    > > message and the program is still there, you'll see them.
    > >
    > > Just make sure you don't download _anything_ in an attempt to look
    > for
    > > your program -- that's a sure way to overwrite the program that
    may
    > > still be there.
    > >
    > > -- Jon Williams
    > > -- Parallax
    > >
    > >
    > >
    Original Message
    > > From: rondoc69 [noparse][[/noparse]mailto:rdoctors@c...]
    > > Sent: Tuesday, July 08, 2003 3:30 PM
    > > To: basicstamps@yahoogroups.com
    > > Subject: [noparse][[/noparse]basicstamps] Re: recovering BS2 program
    > >
    > >
    > > I think that the program is no longer in the EEPROM . Is it
    possible
    > > that it faded away? I use the STAMP for a solar panel controller
    and
    > > it hasn't been powered for almost a year. I have taken out the
    STAMP
    > 2
    > > by itself and it just looks like it is not programmed at all. Is
    > there
    > > any way to determine if the prgram has gone..?
    > > I was hoping not to have to re-write all the code but it looks as
    > > though I will have to do that.. Next...Is there test program that I

    > > can download that exercises
    the
    > > STAMP so I can be sure all functions are OK,. I can write a simple
    > > prgram but I would like one that really checks it and that means
    > > writing to all of the EEPROM etcetc. Thanks ron
    > >
    > >
    > > -- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    > > wrote:
    > > > Sorry, no. I've heard of people going through the trouble to
    > > desolder
    > > > the EEPROM to duplicate it, but there is no "decompiler" for
    > PBASIC
    > > once
    > > > it is downloaded to the Stamp. Don't kick yourself, we've all
    > been
    > > > through this.
    > > >
    > > > -- Jon Williams
    > > > -- Parallax
    > > >
    > > >
    Original Message
    > > > From: rdoctors@c... [noparse][[/noparse]mailto:rdoctors@c...]
    > > > Sent: Monday, July 07, 2003 4:44 AM
    > > > To: basicstamps@yahoogroups.com
    > > > Subject: [noparse][[/noparse]basicstamps] recovering BS2 program
    > > >
    > > >
    > > > I have lost my original BS2 program but as far as I know it is
    > still
    > > on
    > > > the STAMP. Is there anyway to recover the original. I know that
    > the
    > > > comments etc will lost but can I get the basic code back out?
    HELP
    > !!
    > > >
    > > >
    > > >
    > > > 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/
    > > >
    > > >
    > > >
    > > >
    > > > This message has been scanned by WebShield. Please report SPAM
    to
    > > > abuse@p...
    > >
    > >
    > >
    > > 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/
    > >
    > >
    > >
    > >
    > > This message has been scanned by WebShield. Please report SPAM to
    > > abuse@p...
    >
    >
    > 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/
    >
    >
    >
    >
    > This message has been scanned by WebShield. Please report SPAM to
    > abuse@p...


    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/




    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2003-07-09 17:46
    If your stamp was both wet and had power applied to it, that would be
    bad. If power was not applied, not so bad. Examine the module with
    a magnifier or a microscope and look for white or green corrosion,
    especially between the power supply pins. Corrosion around the
    crystal pins would cause the clock to stop. If there is a little bit
    of corrosion, you might be able to remove it with a brush.

    The test program using RCtime also requires a hardware test jig, with
    a resistor /capacitor attached to each pin. The program would then
    loop through all of the pins as follows:

    '{$PBASIC 2.5}
    x var word
    i var nib

    dirs=$ffff ' all pins output
    do
    debug cls
    outs=$0000 ' all capacitors low
    for i=0 to 15
    RCtime i,0,x
    high i
    debug cr,dec i, tab, dec x
    ' at this point test x for pass/notPass
    next
    outs=$ffff ' precharge all capacitors high
    for i=0 to 15
    RCtime i,1,x
    low i
    debug cr,dec i, tab, dec x
    ' at this point test x for pass/notPass
    next
    nap 7
    loop
    ' test finished

    Tests capability of each pin to go high, low and to be an input, and
    for cross-coupling (short circuit between pins).






    >I understand that a re-program will remove any old ones. Do you have
    >the RCTIME prgm? where can I locate the prgm? Doe sit fo thru all the
    >PINS? FYI the STAMP did get very damp during the winterI wondered if
    >this somehow has damaged it.
    >I used to just ftp parallaxinc.com but there doesn't seem to be any
    >thing in /pub
    >Is there somewhere that has sample prgms etc.?
    >Ron
    >
    >
    >
    >--- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    >wrote:
    >> Internally, we us RCTIME and known RC values to test Stamp pins.
    >Why?
    >> Because the pin needs to be an output to charge/discharge the RC
    >ciruit,
    >> then an input to monitor it.
    >>
    >> Keep in mind that downloading any test code to your Stamp will
    >overwrite
    >> the program you're hoping is still there....
    >>
    >> -- Jon Williams
    >> -- Parallax
    >>
    >>
    >>
    Original Message
    >> From: rondoc69 [noparse][[/noparse]mailto:rdoctors@c...]
    >> Sent: Tuesday, July 08, 2003 5:22 PM
    >> To: basicstamps@yahoogroups.com
    >> Subject: [noparse][[/noparse]basicstamps] Re: recovering BS2 program
    >>
    >>
    >> OK, I give up what is the best way to test the STAMP? I need to find
    >> out if it is "good" or not.
    >> ron
    >>
    >>
    >>
    >> --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    >> wrote:
    >> > Unless your program was constantly writing to the EEPROM, it's not
    >> > likely that you wore it out. Stamps don't *look* any differt once
    >> > they're programmed versus not. If you program has any DEBUG
    >> statements
    >> > in it, you can tell the program is intact. Go into the compiler
    >and
    >> > manually open a DEBUG window, then restart your Stamp. If you had
    >> DEBUG
    >> > message and the program is still there, you'll see them.
    >> >
    >> > Just make sure you don't download _anything_ in an attempt to look
    >> for
    >> > your program -- that's a sure way to overwrite the program that
    >may
    >> > still be there.
    >> >
    >> > -- Jon Williams
    >> > -- Parallax
    >> >
    >> >
    >> >
    Original Message
    >> > From: rondoc69 [noparse][[/noparse]mailto:rdoctors@c...]
    >> > Sent: Tuesday, July 08, 2003 3:30 PM
    >> > To: basicstamps@yahoogroups.com
    >> > Subject: [noparse][[/noparse]basicstamps] Re: recovering BS2 program
    >> >
    >> >
    >> > I think that the program is no longer in the EEPROM . Is it
    >possible
    >> > that it faded away? I use the STAMP for a solar panel controller
    >and
    >> > it hasn't been powered for almost a year. I have taken out the
    >STAMP
    >> 2
    >> > by itself and it just looks like it is not programmed at all. Is
    >> there
    >> > any way to determine if the prgram has gone..?
    >> > I was hoping not to have to re-write all the code but it looks as
    >> > though I will have to do that..
    >> > Next...Is there test program that I can download that exercises
    >the
    >> > STAMP so I can be sure all functions are OK,. I can write a simple
    >> > prgram but I would like one that really checks it
    >> > and that means writing to all of the EEPROM etcetc.
    >> > Thanks ron
    >> >
    >> >
    >> > -- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    > > > wrote:
    >> > > Sorry, no. I've heard of people going through the trouble to
    >> > desolder
    >> > > the EEPROM to duplicate it, but there is no "decompiler" for
    >> PBASIC
    >> > once
    >> > > it is downloaded to the Stamp. Don't kick yourself, we've all
    >> been
    >> > > through this.
    >> > >
    >> > > -- Jon Williams
    >> > > -- Parallax
    >> > >
    >> > >
    Original Message
    >> > > From: rdoctors@c... [noparse][[/noparse]mailto:rdoctors@c...]
    >> > > Sent: Monday, July 07, 2003 4:44 AM
    >> > > To: basicstamps@yahoogroups.com
    >> > > Subject: [noparse][[/noparse]basicstamps] recovering BS2 program
    >> > >
    >> > >
    >> > > I have lost my original BS2 program but as far as I know it is
    >> still
    >> > on
    >> > > the STAMP. Is there anyway to recover the original. I know that
    >> the
    >> > > comments etc will lost but can I get the basic code back out?
    >HELP
    >> !!
    >> > >
    >> > >
    >> > >
    >> > > 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/
    >> > >
    >> > >
    >> > >
    >> > >
    >> > > This message has been scanned by WebShield. Please report SPAM
    >to
    >> > > abuse@p...
    >> >
    >> >
    >> >
    >> > 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/
    >> >
    >> >
    >> >
    >> >
    >> > This message has been scanned by WebShield. Please report SPAM to
    >> > abuse@p...
    >>
    >>
    >> 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/
    >>
    >>
    >>
    >>
    >> This message has been scanned by WebShield. Please report SPAM to
    >> abuse@p...
    >
    >
    >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/
Sign In or Register to comment.