Nicola Perotto , Thank you for your reply. My schematic is very simple. Just header with PIC16f648A - ICD and external oscillator connected togethe= r on=20 breadboard. The header with PIC16f648A - ICD is connected to ICD3 and powered from ICD= 3 directly. I found out that PIC16f648A - ICD has pins 1-9 compatible with the PIC16f648A and 20-28 pi= ns of PIC16f648A -ICD should be the same as pins 10-18 of PIC16f648A. PIC16F648A has pin 15 (RA6)and 16(RA7) for the CLKOUT and CLKIN respectivel= y, so I=20 connected external oscilator to pins 25 and 26 of PIC16f648A - ICD that sho= uld be pins of 15=20 and 16 of PIC16f648A=20 Here it is my very simple program that I tried to debug( after compilling a= nd programming) (I think that P16F628A =3DP16F648A) LIST P=3DP16F628A, R=3DDEC ; Use the PIC16F628 and decimal system=20 #include "P16F628A.INC" ; Include header file=20 __CONFIG _CP_OFF & DATA_CP_OFF & _LVP_OFF & _BOREN_OFF &=20 _MCLRE_ON & _WDT_OFF & _PWRTE_OFF & _XT_OSC=20 =20 org 0 bcf STATUS,RP1 bsf STATUS,RP0 ;bank1 movlw 0x0C =20 END But I receive an error ICD3Err0040: The target device is not ready for debugging.Please check your= configuration=20 bit settings and programthe device before proceeding.Stepping target failed Can anyone help? Thanks L. > Hi, > to support you we need more complete and organized information! > Please send a schematic of your circuit... > N >=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 --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .