Perhaps you might try to erase the chips first. I think that CP0 and CP1 are code protect bits, but I'm not sure. Hope this helps, Andrew On Sat, 22 Jan 2000 18:21:21 -0500 Lou writes: > Help! > > Whenever I program a 16f877 (40 pin dip) with the following code, > the chip > NEVER can be re-programmed again. (well, at least with my picstart > plus > anyway). Can anyone help shed some light on what might be happening? > I was > __trying to put some initial values in the chips EEprom, while > programming > in MPlab, using hi-tec's C compiler. Now I have 3 dead $10 chips -- > all with > working (but not quite finished) code, that I cant re-program over. > What > have I done? > > #asm > psect absdata,abs,ovrld,delta=2 > org 0x2100 > dw 00,02,03,04 > #endasm > > I have the following config fuses set, > > > __CONFIG(BKBUG|CP1|CP0|WRT|BODEN|PWRTE|WDTE|FOSC1|LVP); > > > Any ideas? > > thanks! > > lfaustini@atlantech.net ________________________________________________________________ YOU'RE PAYING TOO MUCH FOR THE INTERNET! Juno now offers FREE Internet Access! Try it today - there's no risk! For your FREE software, visit: http://dl.www.juno.com/get/tagj.