>-----Original Message----- >From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] >Sent: 10 August 2006 04:52 >To: Microcontroller discussion list - Public. >Subject: Re: [AVR] ATMega128 EEPROM corruption > > >> >> >> ....or not having BOD enabled, not having interrupts disabled while >> writing to the eeprom, not having the CKOPT enabled for frequencies >> above 8 MHz... oh you fell for that too David IIRC :).... > > >Yes, and so have a LOT of people. >FWIW, it dosent' matter what frequency you're running at >either. The vittoz mode osc output is only about 0.5VCC, and >unless the crystal is selected for very small cap values and >the whole ckt has been carefully designed, you'll have problems. FWIW I didn't have the CKOPT bit selected on a whole bunch of engineering devices running with a 7.3728MHz resonator, and never experienced any issues that I could relate to the clock. Better safe than sorry though. Also I did experience numerous EEPROM corruption problems, which was down to my own ignorance. I had selected a suitable brown out voltage in the configuration fuses, but hadn't actualy enabled the brown out reset! Once done, all EEPROM issues were magicaly resolved. I also have location 0 as a sacrificial lamb, if you can spare the one location I think it's a worthwhile precaution. Regards 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. ======================================================================= -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist