Check the crystal type....I've gotten that error before when it's incorrect. Also check the proper device is selected as well. Both of these have caused me a few moments of serious soul searching when connecting a new project and not getting a response. DD On Wed, 2003-12-31 at 15:06, Harold Hallikainen wrote: > I am having a problem with the ICD-2 and a 16F628A. I've tried two > ICD-2s, and they both exhibit the same effect. The ICD-2s have worked well > on other chips. The ICD-2 is connected using USB, Win98SE, MPLAB 6.40. In > each case, I get > > Connecting to MPLAB ICD 2 > ...Connected > Setting Vdd source to target > ICDWarn0020: Invalid target device id (expected=0x89, read=0x83) > ...Reading ICD Product ID > Running ICD Self Test > ...Passed > MPLAB ICD 2 Ready > > > There are switches to ground on RB6 and RB7, but both are open. There's a > 10k from -MCLR to +5V. This does not exactly duplicate the -MCLR wiring of > a PIC demo board. Is it possible this difference on the -MCLR wiring would > cause the device id problem? > > THANKS!!! > > Harold > > > -- > FCC Rules Online at http://www.hallikainen.com/FccRules/ > > > > -- > FCC Rules Online at http://www.hallikainen.com/FccRules/ > > > > -- > FCC Rules Online at http://www.hallikainen.com/FccRules/ > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body -- Dan Devine "Serving the public since....well, never" dannyboy259@comcast.net -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body