-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > > if you want to clear *all* the RAM, wouldn't a quick/easy way of > > doing it be to tie one pin to MCLR to force a processor reset, > > but at the same time, store the current address of the PC to > > EEPROM before doing the reset, and have a startup routine that > > reloads the PC to the value in the EEPROM? > > Wow. > > Where's the candle burning through the string, the > spring-loaded > trapdoor through which the ball drops, the sprinkling can that > tips over and fills the boot with water, etc.? That will come in will come in the mk.2 version. In the mean time, it seemed like a viable option to me at the time, but it appears that Microchip decided not to give us that option for whatever reason. I would have expected that a line labled MCLR would, in fact, be a memory clear, but it is not. - --Brendan > -Andy > > P.S. By the way, a processor reset doesn't clear the data RAM. > -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.8 for non-commercial use iQA/AwUBPWGA0wVk8xtQuK+BEQLLlwCg+cKDIdbz2a4z7D1zjjkI1j0UrgoAn2Gu HJLu7ZekIBssSqPRV8XpFyyZ =4HR/ -----END PGP SIGNATURE----- -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu