>-----Original Message----- >From: John Ferrell [mailto:johnferrell@EARTHLINK.NET] >Sent: 22 January 2004 14:23 >To: PICLIST@MITVMA.MIT.EDU >Subject: Re: [PIC:] pin function defaults... > > >It does take code space but the only safe way is to initialize >everthing present as step one in your startup code. John Are you saying that Microchips default register values at reset are unreliable? I've not had a problem initialising only the functions I use and leaving the rest. The brownout detect or watchdog timer should reset everything to the state shown in the datasheets (apart from RCON obviously). Mike ======================================================================= This e-mail is intended for the person it is addressed to only. The information contained in it may be confidential and/or protected by law. If you are not the intended recipient of this message, you must not make any use of this information, or copy or show it to any person. Please contact us immediately to tell us that you have received this e-mail, and return the original to us. Any use, forwarding, printing or copying of this message is strictly prohibited. No part of this message can be considered a request for goods or services. ======================================================================= Any questions about Bookham's E-Mail service should be directed to postmaster@bookham.com. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads