kingpin409
Newbie level 2
Hello,
at first I am sorry if I am posting this to bad section, I am new in this forum. But back to my problem. I have a Pic16F887 and I am trying to make a simple robot. I made a PCB designed in eagle and I am getting this error:
This only happens when I connect PICKIT3 to my new PCB, when I try it in contact field it is OK. But I am almost sure that the PCB is without mistake.
Here is my source code:
and the circuit scheme is attached.
Thank you very much for help.
at first I am sorry if I am posting this to bad section, I am new in this forum. But back to my problem. I have a Pic16F887 and I am trying to make a simple robot. I made a PCB designed in eagle and I am getting this error:
Connecting to MPLAB PICkit 3...Firmware Suite Version.....01.27.04Firmware type..............Midrange
Target detectedDevice ID Revision = 2
Programming...Programming/Verify completeThe target device is not ready for debugging. Please check your configuration bit settings and program the device before proceeding.
This only happens when I connect PICKIT3 to my new PCB, when I try it in contact field it is OK. But I am almost sure that the PCB is without mistake.
Here is my source code:
Code:
#include <pic.h>
int main() {
TRISD=0;
RD0 = 1;
}
and the circuit scheme is attached.
Thank you very much for help.