Brendan Moran wrote: > 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.? -Andy P.S. By the way, a processor reset doesn't clear the data RAM. === Andrew Warren -- aiw@cypress.com === Principal Design Engineer === Cypress Semiconductor Corporation === === Opinions expressed above do not === necessarily represent those of === Cypress Semiconductor Corporation -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu