Thanks ALL for the reply.=20 =20 So, if I understood well, I would need to buy=20 PIC16F648A-ICD=20 to be able to debug PIC16F628A.=20 =20 Does anyone use that PIC16F648A-ICD?=20 Is it worth buying it? Does it make much easier work ing with PIC16F628A.?= =20 Or do you use another method to check your code before programming?=20 =20 Thanks=20 L.=20 =20 >=20 > >=20 > >=20 > > jana1972@centrum.cz wrote 2011-10-24 20:29:=20 > > > I tried to use MPLAB IDE v 8.80 with PICkit3 and with PIC16F628A.=20 > > > When I try to use Debugger I receive the error:=20 > > >=20 > > > Target Device ID (00001060) does not match expected DeviceID (0000112= 0).=20 > > >=20 > > >=20 > > > But when I use Programmer, it works OK.=20 > > > PICkit3 says:=20 > > > Target Detected=20 > > > Device ID Revision =3D 00000008=20 > > >=20 > > > Can anyone help/explain?=20 > >=20 > > Yes, Microchip of course.=20 > >=20 > > See :=20 > > http://ww1.microchip.com/downloads/en/DeviceDoc/51292S.pdf=20 > >=20 > >=20 > >=20 > > > Thanks=20 > > > L.=20 > > >=20 > > >=20 > > --=20 > > http://www.piclist.com PIC/SX FAQ & list archive=20 > > View/change your membership options at=20 > > http://mailman.mit.edu/mailman/listinfo/piclist=20 >=20 >=20 --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .