[En-Nut-Discussion] Debug with AVR studio

Tim Lapawa tim at lapawa.net
Tue Mar 29 11:21:15 CEST 2005


Hello,
perhaps you've got the fuse bit Watchdog Enable WDEN cleared/enabled.
With this turned on the CPU might cicle through the WD Reset an will never
start executing your code.

Greetings
  Tim L.


On Tue, Mar 29, 2005 at 11:03:20AM +0200, Andrea Cannavicci wrote:
> Hi,
> but if you set a breakpoint in the main() function the program stop when
> arrive at it?
> My firmware never enter in it!
> 
> Thanks again
> 
> 
> 
> ----- Original Message ----- 
> From: "Harald Kipp" <harald.kipp at egnite.de>
> To: "Ethernut User Chat (English)" <en-nut-discussion at egnite.de>
> Sent: Tuesday, March 29, 2005 10:05 AM
> Subject: Re: [En-Nut-Discussion] Debug with AVR studio
> 
> 
> > Hi,
> >
> > Never tried simple.c, but debugging tcps, httpserv and
> > others I tried worked. Sometimes you have to initially
> > stop, set the breakpoint and then let the CPU continue.
> >
> > Harald
> >
> > At 09:51 29.03.2005 +0200, you wrote:
> > >Hi,
> > >I'm trying to debug the "simple" application with my ethernut board.
> > >I compiled the project with ICCAVR and the with the AVR studio and the
> JTAG
> > >ICE MKII debugger downloaded it into the micro.
> > >I can set breakpoint in the main function but the firmware never enter in
> > >it.
> > >It simply continue running in the idle cicle of the nut OS.
> > >
> > >Can someone help me or send some tips?
> > >
> > >Thanks.
> >
> > _______________________________________________
> > En-Nut-Discussion mailing list
> > En-Nut-Discussion at egnite.de
> > http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
> >
> 
> 
>  
>  
>  --
>  Email.it, the professional e-mail, gratis per te: http://www.email.it/f
>  
>  Sponsor:
>  Telefona con Email.it Phone Card, tanti minuti di conversazione con il massimo del risparmio, clicca qui
>  Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2687&d=29-3
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion

-- 
                \\\///   
  Tim Lapawa    (o  -)   tim at lapawa.net
-------------oo0-(_)-0oo----------------------
   ,ooo0                 Where do you want
  (     )         0ooo,     to go tomorrow?
---\   (---------(     )----------------------
    \ _ )         )   / 
                 ( _ / 



More information about the En-Nut-Discussion mailing list