Peter : You were right about incrementing the page adress. Thanks. however, if I write the letter "W" to any address location and retrieve it , it comes back out as the letter "G". I have noticed that any letter saved into the memory higher than the letter "P" is retrieved from the memory as the letter that corresponds to one which has a binary representation that is the same as the 4 least significant bits. For example----W is saved as G and T is saved as D "W" is binary 0101 0111 "T" is binary 0101 0100 "G" is binary 0100 0111 "D" is binary 0100 0100 The Lcd interface works fine. If I simply send a binary code to the Lcd to say "W" or "T" it works fine. But not when I retrieve the binary saved code from memory. The program so write to the EEprom seems fine as well. I'm puzzled ? ----- Original Message ----- From: "Peter Homann" To: Sent: Sunday, December 08, 2002 11:56 PM Subject: Re: [PIC]: > It's a bit hard with the limited info, but I'll give it ago. > > > 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 > a b c d e f g h i j k l m n o p > q r s t u v w x y z > > ^ > | > > > Letters a - p are the 1st 16 letters of the alphabet. > > w is the 23rd letter. 23 -16 is 7. the 7th letter is G > > Goes the 25xx80 have 16 byte pages by any chance? if so your not > incrementing the page address. > > > Cheers, > > Peter Homann > mailto:Peter.Homann@adacel.com > Adacel Technologies Limited, > 250 Bay St, BRIGHTON, 3186, AUSTRALIA > http://www.adacel.com > Telephone +61 (3) 8530 7777, Facsimile +61 (3) 9596 2960 > Mobile 0421-601 665 > > > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of kirby warkentin > Sent: Monday, 9 December 2002 3:48 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [PIC]: > > > [PIC]: > I am using the pic16f876 to save bytes to the microchip 25xx80. Whenever I > try to save and retrieve any letter further down the alphabet than P, when > i > retrieve it the data is changed. For example, when saving the letter W , > when it is retrieved it seems to be saved as the letter G. I am using > MPLAB > and printing out the byte to an LCD. I get the same results whether I try > saving the letters using binary or hex coding. For some reason the letters > A > through P work fine. > Whats going on ? > > -- > 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 > > > -- 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