I bought PICkit3 and 44-pin demo board made by Microchip It is describe here http://ww1.microchip.com/downloads/en/DeviceDoc/41296B.pdf I tried this simple program ###################### #include MOVLW 0x03 GOTO $ END ##################### Here is the project built output ---------------------------------------------------------------------- Debug build of project `C:\PIC\projects\DEMO.mcp' started.Language tool ver= sions:=20 MPASMWIN.exe v5.43, mplink.exe v4.41, mplib.exe v4.41Preprocessor symbol=20 `__DEBUG' is defined. Target debug platform is `__MPLAB_DEBUGGER_PK3=3D1'. Debug platform options are: `__ICD2RAM=3D1'. Sat Oct 22 09:30:10 2011---------------------------------------------------= ------------------- Clean: Deleting intermediary and output files. Clean: Deleted file "C:\PIC\projects\Demo.o". Clean: Deleted file "C:\PIC\projects\Demo.err".Clean: Deleted file=20 "C:\PIC\projects\Demo.hex". Clean: Deleted file "C:\PIC\projects\Demo.lst".Clean: Deleted file=20 "C:\PIC\projects\Demo.cof".Clean: Done. Executing: "C:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe" /q /p18F45= K20=20 "Demo.asm" /l"Demo.lst" /e"Demo.err" /d__DEBUG=3D1=20 /d__MPLAB_DEBUGGER_PK3=3D1Executing: "C:\Program Files\Microchip\MPASM=20 Suite\mplink.exe" /p18F45K20 "Demo.o" /u_DEBUG /u_DEBUGCODESTART=3D0x7dc0=20 /u_DEBUGCODELEN=3D0x240 /u_DEBUGDATASTART=3D0x5f6 /u_DEBUGDATALEN=3D0xa=20 /z__MPLAB_BUILD=3D1 /z__MPLAB_DEBUG=3D1 /z__MPLAB_DEBUGGER_PK3=3D1=20 /z__ICD2RAM=3D1 /o"Demo.cof" /M"Demo.map" /W /xMPLINK 4.41, LinkerDevice=20 Database Version 1.5Copyright (c) 1998-2011 Microchip Technology Inc.Errors= :=20 0Loaded C:\PIC\projects\Demo.cof ..---------------------------------------------------------------------- Debug build of project `C:\PIC\projects\DEMO.mcp' succeeded. Language tool versions: MPASMWIN.exe v5.43, mplink.exe v4.41, mplib.exe v4.= 41 Preprocessor symbol `__DEBUG' is defined. Target debug platform is `__MPLAB_DEBUGGER_PK3=3D1'. Debug platform options are: `__ICD2RAM=3D1'. Sat Oct 22 09:30:14 2011 ---------------------------------------------------------------------- BUILD SUCCEEDED But it is not possible to debug it, please see below Target Detected Device ID Revision =3D 00000019 Running.. ..PK3Err0040: The target device is not ready for debugging. Please check your configuration bit settings and program the device before proceeding. Can anyone help? Where can be a problem? Thanks L. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .