>-----Original Message----- >From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] >Sent: 07 September 2005 21:16 >To: Microcontroller discussion list - Public. >Subject: Re: [AVR] Brown out problems > > > >>On Wed, 7 Sep 2005 16:37:38 +0100, you wrote: >> I have the internal BOD enabled at 2.7volts (nominal 3.3v >operation). > >Stupid question I know...BUT...you have both the BODLEVEL and >the BODEN fuse on (i.e.both=0 or ticked with AVRISP) . I'm >only asking this because some people get CON FUSED :-) and in >fact the fuses are not programmed, especially with some types >of parallel port type programmer. > You really got me thinking then, but I have just checked and both boxes are ticked. >NO I have NEVER had a problem with EEPROM corruption in the >past 5 years or so. Don't use address 0 even though it is >supposed to have been fixed. Try out an external BOD to see if >all your problems disappear. > That is our next plan, will have to be dead bugged for now though. Unfortunately this product is rather miniaturised ( Mega128 is in an MLF package, most R's and C's are 0402, and lots of stuff is BGA) which makes modding something of a challenge! >Use a PIC? NAH....don't listen to the man, well not at least >one of classic ones with 2K program space paging and a few >bytes of ram scattered all over the place :-D Not used those kind of PIC in years (not at work anyway). I do love the speed of the AVR though, we have been limited to 8MHz with the 18F parts we have been using (at 3.3v) and the Atmel is running at the same clock rate, so it's significantly quicker. I've been able to write "nice" C code without worrying that the overhead of abstraction layers etc. is going to bite me. The GCC compiler needs some fairly basic optimisation improvements though (e.g. setting a single bit within a long takes a vast (~15 IIRC) number of instructions, should be a single bit set). 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