I've essentially copied the EEPROM routines from the datasheet... The read works just fine, but when I try to write, it resets. I double checked the banks, just in case, and they are right... I have cut and paste the subroutines all over my program and it doesn't change anything, even tried taking the eeprom write out of the function, and into it's own function, same result... UGH!!! I'm totally stumped... nick@veys.com | www.veys.com/nick > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Drew Ames > Sent: Thursday, June 21, 2001 8:25 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [PIC]: 16F870 Error defying logic... > > > Does including these statements possibly push the code that IS > being executed > into a bank that it is not expecting? > If the routines you ARE using come after this one, try > re-ordering your code and > placing them before this routine. > > > > > > ********************************************************************** > This email and any files transmitted with it are confidential > and intended solely for the use of the individual or entity to > whom they are addressed. If you have received this email > in error please notify the sender. > > This footnote also confirms that this email message has > been swept by MAILsweeper for the presence of computer > viruses. > > ********************************************************************** > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads > > > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads