There is no option for erasing the chip. This really sucks, I now have 5 parts written like they are ROM parts. I just don't understand. Can anyone out there tell me what the programming pin voltage is (pin 1) when you are programming the 16f877. Maybe mine has gone nutso, and is "over programming" -- is that even possible? --Lou -----Original Message----- From: Andrew T Kelley To: PICLIST@MITVMA.MIT.EDU Date: Saturday, January 22, 2000 6:31 PM Subject: Re: This is a wierd one... 16f877 problems! >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. >