> > Set configuration bits (it seems MPLAB does not read the config bits > > properly from the hex file or the device) > > Program. > > Actually it does. I always set the config bits in the source code, never > at programming time. I agree, by setting it at programming time you leave yourself open to "forgetting" a critical setting (such as HS instead of XT, or enabling WDT) and spend the next hour trying to debug why your PIC isn't working right. TTYL -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads