Shop OBEX P1 Docs P2 Docs Learn Events
Can a single stamp BS2 module perform mulip le tasks? — Parallax Forums

Can a single stamp BS2 module perform mulip le tasks?

ArchiverArchiver Posts: 46,084
edited 2002-10-18 18:24 in General Discussion
If the 'different reasons a reset had occurred' were from distinct sources,
then you could have the distinct reset sources go to a latch. The reset
sources would also go to a OR gate that would trigger the reset (as
described by Jon Williams). The output of the OR gate would also trigger
the latch to store the state of each of the reset lines.

Once the stamp rebooted, it could read the stored states on the latch and
determine the reason for the reset.

Please let me know if this is not clear. I do not know all of the correct
terminology to use.

-Alex Sulkowski

>
Original Message
> From: jonwms@a... [noparse]/noparse]SMTP:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=Qf36EuktupfL8R9MARr5rhUS2m3tWVGe2b3hJ5LYi64seTGhOSLOxWYG86BkCh3EdfaZWb0DHzuQ]jonwms@a...[/url
> Sent: Friday, October 18, 2002 12:38 PM
> To: basicstamps@yahoogroups.com
> Subject: Re: [noparse][[/noparse]basicstamps] Re: Can a single stamp BS2 module perform
> muliple tasks?
>
> You would have to pull the reset line low with an unused pin. This would
> cause a "hard" reset and the Stamp would completely reinitialize. As soon
> as
> the Stamp went into Reset, the pin would release and the initialization
> process would take place.
>
> -- Jon Williams
> -- Parallax
>
> In a message dated 10/18/02 11:32:59 AM Central Daylight Time,
> jamesrwaldron@e... writes:
>
>
> > Along this line, what is the best way to programmatically trip a Stamp
> reset?
> >
> > ... And would that be used in conjunction with a startup routine??
> >
> > I dont suppose that a startup routine would realize the different
> reasons a
> > reset had occurred, would it?
> >
> >
>
>
>
>
> [noparse][[/noparse]Non-text portions of this message have been removed]
>
>
> 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.