| Author |
Message |
mrcube_ns
Joined: 10 Apr 2002 Posts: 416 Helped: 10 Location: Dark side of the Moon
|
06 Oct 2008 20:38 ICD 2, how to use it as DEBUGGER |
|
|
|
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
|
|
| Back to top |
|
 |
blueroomelectronics
Joined: 17 Sep 2006 Posts: 1229 Helped: 60 Location: Toronto, Canada
|
07 Oct 2008 3:47 ICD 2, how to use it as DEBUGGER |
|
|
|
| From MPLAB choose the Debug/ICD2 tool. You can VIEW watch variables and double click to set a breakpoint.
|
|
| Back to top |
|
 |
TekUT
Joined: 17 Jun 2008 Posts: 314 Helped: 22
|
07 Oct 2008 7:27 Re: ICD 2, how to use it as DEBUGGER |
|
|
|
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
|
|
| Back to top |
|
 |