Hi, I have a query regarding the 16c87x devices that doesnt seem to be covered (although I usually havent checked enough) in the data sheet regarding the program flash..... I was thinking about writing non-volatile to the program flash while the main code is still running ( I need more than the 256x8 on board data E^2). This way, I can get around having an external non-volatile data store and some other problems, too. What I dont know is whether the program flash is "sectored", like most other flash devices. I have to assume that : It is byte-sectored (if so, my evil master plan will succeed) and so I can plainly write to individual bytes without having to do a read->modify->write like most sectored flash/having the whole sector flapping around during the write cycle. You can write to the program flash while still accessing the program code with no ill effects. I run the risk of being able to overwrite my program code quite easily. I contend with only 1000 writes to these byte-sectored locations. Has anyone done this already and found it to be reliable? Regards, Dan -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]: PIC only [EE]: engineering [OT]: off topic [AD]: advertisements