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.

ICD 2, how to use it as DEBUGGER

Status
Not open for further replies.

mrcube_ns

Advanced Member level 1
Joined
Apr 10, 2002
Messages
452
Helped
48
Reputation
96
Reaction score
34
Trophy points
1,308
Location
Europe
Activity points
3,813
I bought ICD2 LE.

It works nice as programmer :).

Is there any manual or instructions how to use it as debugger, to see values of variables in code, with breakpoints and similar.


Thanks in advance.


Mr.Cube
 

From MPLAB choose the Debug/ICD2 tool. You can VIEW watch variables and double click to set a breakpoint.
 

Also, if you're working with C some compiler should be set to use ICD debugging feature, usually this is a check that you've to set into the compiler option. Attached a screen shot example for the Hi-Tech PICC compiler, you've to set the flag in order to debug correctly the code, for production simply remove the flag and rebuild the project.

Bye
Pow
 

    mrcube_ns

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top