Good day to all. I've revisiting a project from several years ago. This project uses=20 a PIC16f677 and was developed using the appropriate ICD header and an=20 ICD2. Because it was several years ago, I no longer recall which=20 version of MPLAB was used. I have everything set up and was about to start a debugging=20 session. However, I do not seem to be able to program the debug=20 header. I'm hoping that someone can point out what I'm doing wrong. My setup is: Laptop running Win 7 Home 64-bit (fully updated) Latest 8.x MPLAB (8.92) 16F690-ICD header Tried with both ICD-2 and Real-ICE This is a fresh install of MPLAB 8.92 on the laptop. There was an=20 earlier version installed on this machine but I had removed it, then=20 installed 8.92. It does look as if the USB driver installed=20 correctly - I see the Microchip custom USB driver in the Windows=20 device manager and MPALB does see both the ICD-2 and the Real-ICE=20 when I connect one or the other to the laptop. The symptom is that although the project assembles just fine, I get=20 an error when attempting to program the ICD header. First, I select=20 the appropriate tool (Debugger -> Select Tool -> ICD-2), then I press=20 [F10] to assemble. Then I program the ICD header (Debugger -> Program). The error is that the first location is not programmed correctly=20 (desired value (something), read-back value is 00). I do have an external 9V supply connected to the ICD-2. I tried=20 programming the header two different ways: once while the header was=20 connected to the target system (5V rail); once with the header=20 disconnected from the target system (debugger was then set to supply=20 power to the target system: Debugger -> Settings -> Power). I've also tried using the header with a Real-ICE. I'm not familiar=20 with the Real-ICE yet - I've had it only a short while and this is=20 the first time that I've used it. What I did find odd was that the=20 Real-ICE doesn't appear to have a Vdd adjustment in the Debugger ->=20 Settings menu. Other information: I've tried using both the very short RJ-12 cable=20 that came with the Real-ICE with both the Real-ICE and the ICD-2 as=20 well as using the longer RJ-12 cable that came with the ICD-2 with=20 the ICD-2. I didn't try the longer cable with the Real-ICE because=20 I've read that it probably won't work (length too long). I've tried both a previously-known-good ICD header and a brand-new=20 header removed from the factory-sealed package. Either I've missed doing something or MPLAB 8.92 doesn't like my=20 setup. Advice greatly appreciated. Many thanks! dwayne --=20 Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax www.trinity-electronics.com Custom Electronics Design and Manufacturing --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .