Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

PIC16F887 The target device is not ready for debugging.

Status
Not open for further replies.

kingpin409

Newbie level 2
Joined
Jan 5, 2011
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,292
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:
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.
schema.png

Thank you very much for help.
 

try connecting a 10k resistor between mlcr and vdd
 

Now I found out the problem. It was low voltage on battery :)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top