When you see the ATZ just jump to location zero. This will rerun your initialization code and act pretty much like MCLR was pulled down. Bob Ammerman RAm Systems ----- Original Message ----- From: "Vitaliy Maksimov" To: Sent: Friday, December 21, 2001 12:27 AM Subject: Re: [PIC]: Implementing MCLR in software > Steve, > > Thank you for your input. I had the same idea (using an I/O pin to pull the > MCLR LOW), but I've seen a 12C508 that does [apparently] the same thing in > software, without any external hardware. When you send an "ATZ" command to > the chip, it displays a welcome message (like it was just turned on), and > all of the registers are reset. I just want the circuit to be less > cluttered.. > > Vitaliy > > ----- Original Message ----- > From: Steve Faulkner > To: > Sent: 12.20.2001 11:15 PM > Subject: Re: [PIC]: Implementing MCLR in software > > > > I know of a board with this type of ability. It was done by external > > circuitry connected to the hardware reset line and an I/O pin. When the > I/O > > pin pulsed the external logic was triggered to hold the CPU in reset for a > > certain amount of time (lengthening the pulse sent by the I/O line). Of > > course this requires that the CPU I/O line does re-trigger a reset due to > a > > reset. Should be ok if the I/O defaults to an input or tri-state and > pull-up > > is put on the line. On the board I'm thinking of the external logic was a > > PLD, but it would seem to me that a flip-flop and an RC network would due > > the trick of creating a pulse-stretcher if you've got the right > electronics > > know-how (not something I could come up with without some deep thinking). > > > > ----- Original Message ----- > > From: "Vitaliy Maksimov" > > To: > > Sent: Thursday, December 20, 2001 8:41 PM > > Subject: [PIC]: Implementing MCLR in software > > > > > > > Hello everyone, > > > > > > I'm trying to find out if there's a way to reset a 16F73 without using > > > external circuitry (basically doing a RESET in software). I need the > chip > > > to act as if the MCLR pin was pulled LOW, when it receives the "ATZ" > > > command. Can this be done without utilizing the Watchdog Timer? > > > > > > Any suggestions will be greatly appreciated! > > > > > > Vitaliy > > > > > > -- > > > http://www.piclist.com hint: The PICList is archived three different > > > ways. See http://www.piclist.com/#archives for details. > > > > > > > > > > > > > -- > > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > > > > > > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body