we now have to do this major project in uni which requires us not to use the ICD2 to interface between the PIC and the PC....we cant debug the program using the ICD2. how do we get this done? once you program the PIC how do you get it to power up and start running on its own?
What he's talking about is after the ICD2 programs the PIC, it holds it in reset. There is an option that allows for "Program after successful build" and "Run after successful program." If the second option is not checked, the PIC is held in reset until you click on the take-out-of-reset button.
yohanevindra, once you've programmed the PIC, remove the ICD2 and cycle power to the board. The PIC should begin running at that time.
Plz i have problem when compile the file and tell me that in the Output:
----------------------------------------------------------------------
Debug build of project `D:\TEST\TEST.mcp' started.
Language tool versions: mpasmwin.exe v5.34, mplink.exe v4.34, mcc18.exe v3.34
Preprocessor symbol `__DEBUG' is defined.
Sun Dec 27 19:52:45 2009
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Deleted file "D:\TEST\TEST.mcs".
Clean: Done.
Build aborted. The project contains no source files.
----------------------------------------------------------------------
Debug build of project `D:\TEST\TEST.mcp' failed.
Language tool versions: mpasmwin.exe v5.34, mplink.exe v4.34, mcc18.exe v3.34
Preprocessor symbol `__DEBUG' is defined.
Sun Dec 27 19:52:45 2009
----------------------------------------------------------------------
BUILD FAILED