I am new to the microchip pickit 2 and I used a simple turn on a port pin tutorial to test the ICSP upload option. The code showed no errors but when I try to "make and program device" I get the following error message:
"Cannot program a production build to a debug header."
which I'm not sure what it means. I have checked the wiring from the pickit programming header (VPP, VDD, VSS, PGD, and PGC)
to the pic16f616 pins on a breadboard.
Also I tried to "debug main project" which showed:
"Could not connect to tool hardware: PICkit2PlatformTool, com.microchip.mplab.mdbcore.pickit2.PICkit2DbgToolManager
The debugger could not be started. Terminating debug session."
Can anyone help me out? I have attached the layout.
"Cannot program a production build to a debug header."
which I'm not sure what it means. I have checked the wiring from the pickit programming header (VPP, VDD, VSS, PGD, and PGC)
to the pic16f616 pins on a breadboard.
Also I tried to "debug main project" which showed:
"Could not connect to tool hardware: PICkit2PlatformTool, com.microchip.mplab.mdbcore.pickit2.PICkit2DbgToolManager
The debugger could not be started. Terminating debug session."
Can anyone help me out? I have attached the layout.
Attachments
-
73 KB Views: 43