Thanks very much Ken. I will try that when I next have spare time. At the time, I don't think this errata was available. P H Anderson --- Ken Pergola wrote: > Peter Anderson wrote: > > > ...I had an odd problem with the PIC18F1320... > > Hi Peter, > > I remember your post about this. That was a strange > problem. Did you happen > to see the errata document regarding the EEPROM and > the LVD issue? See > below: > > > 2004 Microchip Technology Inc. DS80175B-page 1 > > Module: Data EEPROM > ------------------- > When writing to the data EEPROM, the contents of > the data EEPROM memory may not be written as > expected. > > Work around > ----------- > Either of two work arounds can be used: > > 1. Before beginning any writes to the data > EEPROM, enable the LVD (any voltage) and > wait for the internal voltage reference to > become stable. LVD interrupt requests may be > ignored. Once the LVD voltage reference is > stable, perform all EEPROM writes normally. > When writes have been completed, the LVD > may be disabled. > > 2. Configure the BOR as enabled (any voltage). > Select a threshold below VDD to allow normal > operation. If VDD is below the BOR threshold, > the device will be held in BOR Reset. > > > > Best regards, > > Ken Pergola > > -- > http://www.piclist.com hint: The list server can > filter out subtopics > (like ads or off topics) for you. See http://www.piclist.com/#topics __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.