Sounds like you have a counter not incrementing, either on write (most likely) or on read. Maybe you could post that section of code and have folks take a look. Dale On Sat, 16 Sep 2000, Damien Kee wrote: > just wondering if anyone could help. > > I'm using a 16F873 as a data logger, and am storing the data in > flash. Yes I know that I should really put it into serial EEPROM, but it > is for a Uni project, so space and cost are an issue. I'm having a > problem though, writing to flash. > > I write several(5) chars to sucessive flash program space, but then when > I try and read them back, I get the last character that I wrote, 5 times. > > was wondering if there is something obvious in the notes that I have > missed, and/or if anyone has any good links to example code which does > this sort of stuff, which I could have a look at. > > cheers > damo > > > Damien Kee > 3rd Year Electrical Engineering > University of Queensland > s369472@student.uq.edu.au > > -- > http://www.piclist.com hint: The PICList is archived three different > ways. See http://www.piclist.com/#archives for details. > > --- The most exciting phrase to hear in science, the one that heralds new discoveries, is not "Eureka!" (I found it!) but "That's funny ..." -- Isaac Asimov -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.