Did you RTFM (read the programming specificications) realy thouroghly? For programming the 16F877A is a very different beast from the old PICs (16F877, 16F628, 16x84). Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of Rich Meston > Sent: Saturday, April 05, 2003 9:30 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: [PIC]: 877A programmer, CP accidentaly enabled - how > do I switch it off?! > > > I'm having a real problem with a 16F877A. I've used 877's > without any problems, but this is a wierd one... > > I'm trying to make a programmer with a 16F84, and I've had it > programming locations in the 877A, and doing a bulk erase of > the program memory without any problems (so I know I have the > programming voltages working, and I know I've got the > timing/clock/data signals right). > > Here's the problem - I accidentaly switched the code > protection on for both program and data. Now when I execute > a chip erase, it clears the config word, but it won't set the > CP and CPD bits to 1 - so code protection is still on! > > I'm using LVP. Everything was working OK until this > (obviously now I can't program or verify anything!!). > > Any idea's welcome... > > Cheers > > Rich > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body