Ok, I have found the problem : It's my ICD2. It's work ok with 8-bits = pics but not with 16 or 32 bits. Another one have no problem to connect to Explorer 16 and program / = debug the PIC24. By the way Microchip has a very good support : they have already send a = replacement. Artem Zezyulinskiy a =E9crit : > Hello, list! > > I have a problem to connect my ICD2 to Explorer 16 with different PIMs. > MPLAB give me always a "ICDWarn0020: Invalid target device id = > (expected=3D0x40D, read=3D0x0)" > > I have verified: > 1. ICD2 work ok with PIC16F946 on the board of my design > 2. cable is ok. Verified with multimeter and with ICD2 connector on the = > board. > 3. ICD2 connector is routed for the right pins on micro = > (PIC25FJ128GA010) : MCLR, RB6 and RB7. Verified with multimeter. > 4. VCC is ok : 3.28 V and ICD pass the self-test. > 5. Jumper J7 on the board is in position PIC24 and switch S2 is in PIM = > position. > > I don't know what other can go wrong. I have one PIM with preprogrammed = > PIC24 for Graphic LCD - it's work ok on Explorer 16. The problem is to = > program the PIM. I have tested with other pics : dsPIC33 and PIC32 PIMs = > - it's the same. > > Do you know anything about this problem? Any idea? What i missing? > > = -- = Artem ZEZYULINSKIY -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist