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.

PICkit3 Debug Mode - Problems with Configuration bit settings

Status
Not open for further replies.

natraj20

Member level 3
Joined
Oct 28, 2010
Messages
65
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Location
Florida
Activity points
1,769
PIC 18F47J53

When i try to work in the debug mode, most of the times I get this error message.

PK3Err0040: The target device is not ready for debugging.
Please check your configuration bit settings and program
the device before proceeding.


Sometimes it works and sometimes it does not. I do not know what to do with the configuration bit settings for the debug mode. Is there any difference in setting those bits from the compiler or from the code?? I could not find anything (like the DEBUG bit referred by many controllers) regarding the debugging in the configuration bit registers. Please let me know how to work in the debug mode.
 

Make sure you have selected correct controller (configure->select device).

r u trying to debug copy paste programs.???
config. bits may not be similar for different controllers.
Can you post your program here. (Assume you are using C18 compiler)
 

Thanks Anand, but i would not have asked about a specific bit in the configuration registers for PIC 18F47J53 if i were copy pasting a program. Somehow, the debug mode works now. My main question was, in this controller's datasheet, at the CONFIG1L register - the 7th bit is the DEBUG bit. But the code is not accepting the pragma configuration definition for the keyword DEBUG. It has been the basic keyword for the debug mode for most of the PIC controllers and i could not find the bit in the MPLAB IDE compiler configuration bit settings even by selecting this device.
 

HAI anand,

iam at hykon (tsr) now,doing r&d here, i want to that to debug mode of pickit 3, i am not able to do the debug, are you in trissur now?..long back we communicated regarding glcd..
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top