We always clear all data registers in a part to 0 as a part of the normal power-on start up. Routines vary by processor type, but generally are quite small. Have never felt the need to do a read / write nor pattern check on the RAM in a PIC. Tom -----Original Message----- From: Charles Hoss [SMTP:timothy@BEKES.HUNGARY.NET] Sent: Wednesday, January 07, 1998 5:18 AM To: PICLIST@MITVMA.MIT.EDU Subject: Re: 73 RAM Test The Jacky's wrote: > > Hi All...Happy New Year! > > Just after power up my PIC 73 needs to run a quick RAM check then > initialize all RAM and special function registers to a known state. Any > nifty ideas?...Thanks in advance...gj how about a Decrement Jump Not Zero for all of them if one of them is faulty it will freeze :) unless the faulty ram is stable at 1 you should come up with something against stuck ones , maybe an ijnz loop too ... bye charley