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.

Debugger for PIC24EP512GU814

Status
Not open for further replies.

anboli

Full Member level 2
Full Member level 2
Joined
Mar 9, 2012
Messages
144
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,298
Visit site
Activity points
2,513
Hi,

I'm using PICKIT3 Programmer tool for my Controller. Whether i can use as a debugger tool for this controller? if yes means tell me how to configure or else suggest me for some other debugger tool. Kindly help me. Thank you.

regards,
anboli.c
 

Yes, both Microchip MPLAB, MPLAB X and available documentation indicate the PICkit 3 can be used to debug the PIC24EP512GU814.

Simply select the PICkit 3 as a debugger instead of a programmer, assuming there are no conflicting connections to the required lines.

Ensure the project is configured as Debug, not release, and recompile.

Once debugging mode has been entered, breakpoints should be able to be set, storage added to the watch windows, step through the code, etc.


BigDog
 

When i tried to debug using pic kit 3 in MPLAB ide 8.92, it throws the below errors:

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

Programming...
Programming failed

I have the configuration bits as follows...


Code C - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <24EP512GU814.h>
 
#device ICD=TRUE
#device ICSP=2
 
#FUSES NOWDT                    //No Watch Dog Timer
#FUSES CKSFSM                   //Clock Switching is disabled, fail Safe clock monitor is enabled
#FUSES NOBROWNOUT               //No brownout reset
#FUSES NOJTAG                   //JTAG disabled
#FUSES DEBUG
#FUSES NOAPROTECT
#FUSES NOPROTECT
#FUSES NOGSSK
#FUSES NOAPLK
 
#use delay(clock=140MHz,crystal=25MHz)



Please help me to get into the debugging mode..
 
Last edited by a moderator:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top