Searching \ for '[PIC]: MLAB debugger' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: piclist.com/techref/microchip/devices.htm?key=pic
Search entire site for: 'MLAB debugger'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: MLAB debugger'
2000\08\17@151947 by Jeff Scharpf

flavicon
face
I have a short program in a 16F876 that doesn't seem to want to run unless I have the ICD connected and I'm in debug mode. WHen I do run in debug mode, it looks like I've got "stops" set up because it stops at several points in the code, even if I clear all the breakpoints. If I uncheck the debug option, it doesn't seem to run at all. If I check the debug option, then keep the cable connected, it seems to run ok. I'm just looking for some pointers in using the debug mode, setpoints, stepping, etc.. I will check the FAQ also.
Thanks

Jeff

Jeffrey Scharpf
Senior Engineering Technician
Milwaukee Electric Tool Corporation
Technical Center
Brookfield, Wisconsin, 53005
(262) 783-8681
_______________________________________________________
Are you a Techie? Get Your Free Tech Email Address Now!
Many to choose from! Visit http://www.TechEmail.com

--
http://www.piclist.com hint: To leave the PICList
spam_OUTpiclist-unsubscribe-requestTakeThisOuTspammitvma.mit.edu>

2000\08\17@154239 by Peter Anderson

flavicon
face
When you program in the non-debug mode, you are really programming the PIC for standalone operation.  

After programming it, disconnect the ICD from the PIC.  Put a 1K, 10K, 100K or whatever pullup resistor on /MCLR to +5VDC.  Reset either by applying power or mometarily grounding /MCLR.

Peter H. Anderson, http://www.phanderson.com/PIC, .....phaKILLspamspam@spam@phanderson.com



Sign up for Free-for-Life E-mail at http://www.Africana.com

--
http://www.piclist.com hint: To leave the PICList
piclist-unsubscribe-requestspamKILLspammitvma.mit.edu>

2000\08\17@154833 by Barry Gershenfeld

picon face
>If I uncheck the debug option, it doesn't seem to run at all. If I check
the debug option, then keep the cable connected, it seems to run ok.

When I tried this, it took me a while for me to realize you have to "burn"
the program again (to leave out the debug traps, I think).  Hope
your solution is something easy like that.

Barry

--
http://www.piclist.com hint: To leave the PICList
.....piclist-unsubscribe-requestKILLspamspam.....mitvma.mit.edu>

2000\08\17@160406 by Jeff Scharpf

flavicon
face
On Thu, 17 August 2000, Peter Anderson wrote:

>
> When you program in the non-debug mode, you are really programming the PIC for standalone operation.
>
> After programming it, disconnect the ICD from the PIC.  Put a 1K, 10K, 100K or whatever pullup resistor on /MCLR to +5VDC.  Reset either by applying power or mometarily grounding /MCLR.
>
> Peter H. Anderson, http://www.phanderson.com/PIC, EraseMEphaspam_OUTspamTakeThisOuTphanderson.com
>
>
To program in the non-debug mode, is it just a matter of unchecking the one box that says "debug"? '
I did put a 10K resistor from +5VDC to /MCLR, but I also have a 100 ohm resistor going through a momentary (reset) switch. I think i got this from an old book.

>
> Sign up for Free-for-Life E-mail at http://www.Africana.com
>
> --
> http://www.piclist.com hint: To leave the PICList
> piclist-unsubscribe-requestspamspam_OUTmitvma.mit.edu

Jeffrey Scharpf
Senior Engineering Technician
Milwaukee Electric Tool Corporation
Technical Center
Brookfield, Wisconsin, 53005
(262) 783-8681
_______________________________________________________
Are you a Techie? Get Your Free Tech Email Address Now!
Many to choose from! Visit http://www.TechEmail.com

--
http://www.piclist.com hint: To leave the PICList
@spam@piclist-unsubscribe-requestKILLspamspammitvma.mit.edu>

2000\08\17@160451 by Jeff Scharpf

flavicon
face
On Thu, 17 August 2000, Barry Gershenfeld wrote:

>
> >If I uncheck the debug option, it doesn't seem to run at all. If I check
> the debug option, then keep the cable connected, it seems to run ok.
>
> When I tried this, it took me a while for me to realize you have to "burn"
> the program again (to leave out the debug traps, I think).  Hope
> your solution is something easy like that.
>
> Barry

Barry,
How do I leave out the debug traps? I went to a menu and cleared them all but it still didn't work. ANyway, I will try some of the suggested solutions.

Jeff
>
> --
> http://www.piclist.com hint: To leave the PICList
> KILLspampiclist-unsubscribe-requestKILLspamspammitvma.mit.edu

Jeffrey Scharpf
Senior Engineering Technician
Milwaukee Electric Tool Corporation
Technical Center
Brookfield, Wisconsin, 53005
(262) 783-8681
_______________________________________________________
Are you a Techie? Get Your Free Tech Email Address Now!
Many to choose from! Visit http://www.TechEmail.com

--
http://www.piclist.com hint: To leave the PICList
RemoveMEpiclist-unsubscribe-requestTakeThisOuTspammitvma.mit.edu>

More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...