You really only need this if you want to step through the code in the targe= t circuit itself. That is useful, but not essential. You can still use the debugger in the MPLAB simulator and obtain similar results. The simulator allows you to simulate button presses, time loops, specify breakpoints. Th= e one thing you can't do in the simulator is look at real world events. For example, if you had an incoming serial data stream and you wanted to see it actually being parsed or otherwise processed by your PIC, you might find it more useful to have in-circuit debugging. Do understand though, that you will still have in-circuit programming even if you don't buy the header, so you can write code and test it in your real world circuit even without this device. What you can't do is step through the code in the real world device. Whether you really need it depends on what kind of application you are developing. John Hansen Coastal ChipWorks On Mon, Oct 24, 2011 at 3:58 PM, wrote: > Thanks ALL for the reply. > > So, if I understood well, I would need to buy > PIC16F648A-ICD > to be able to debug PIC16F628A. > > Does anyone use that PIC16F648A-ICD? > Is it worth buying it? Does it make much easier work ing with PIC16F628A= ..? > Or do you use another method to check your code before programming? > > Thanks > L. > > > > > > > > > > > > jana1972@centrum.cz wrote 2011-10-24 20:29: > > > > I tried to use MPLAB IDE v 8.80 with PICkit3 and with PIC16F628A. > > > > When I try to use Debugger I receive the error: > > > > > > > > Target Device ID (00001060) does not match expected DeviceID > (00001120). > > > > > > > > > > > > But when I use Programmer, it works OK. > > > > PICkit3 says: > > > > Target Detected > > > > Device ID Revision =3D 00000008 > > > > > > > > Can anyone help/explain? > > > > > > Yes, Microchip of course. > > > > > > See : > > > http://ww1.microchip.com/downloads/en/DeviceDoc/51292S.pdf > > > > > > > > > > > > > Thanks > > > > L. > > > > > > > > > > > -- > > > http://www.piclist.com PIC/SX FAQ & list archive > > > View/change your membership options at > > > http://mailman.mit.edu/mailman/listinfo/piclist > > > > > > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .