Graham wrote: >> I'm using MPLAB 6.32 and an ICD 2 to run some code on a 16F628A. When = I try to connect to the device I get the following error: ICDWarn0020: Invalid target device id (expected=3D0x89, read=3D0x83) << Sounds like you're selecting the ICD2 for debugging instead of programmin= g. Normal 16F62x chips do not have debugging support, the ICD2 can only do ICSP in this case. If you want to actually do ICD, you must buy the 18-p= in header accessory which includes a special 16F628-ICD chip. Jason Harper -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.