that explains ! thanks Xiaofan for the interesting link, Stef Xiaofan Chen wrote: > On 5/31/06, Stef Mientki wrote: > >> I was just programming a 12F675 (in high voltage mode), >> and discovered a strange phenomena, >> you can not only write zeroes but also ones to the data memory .... >> >> I also tried it for the program memory, but there I can only write zeroes. >> >> Is this a known feature ? >> Does it yield for all PICs ? >> >> > > Program memory for Flash PICs like 12F675: They are Flash and you > can only write "0" to them. > > Data memory for Flash PICs with EEPROM like 12F675: They are > EEPROM. You can write "0" and "1" to them. > > Take note there are now new PICs and dsPICs using new CMOS > technology and they do not have EEPROMs. The examples are > the new 18J PICs and dsPIC33s. > > An interesting discussion here: > http://forum.microchip.com/tm.aspx?m=163825 > > Regards, > Xiaofan > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist