Sudio simulator
2005-08-26 by Dennis
Yahoo Groups archive
Index last updated: 2026-04-28 22:41 UTC
Thread
2005-08-26 by Dennis
2005-08-27 by Bruce Parham
Dennis wrote: > Is there a way to "induce" and external interrupt in the Studio simulator? > Dennis > Sure. Just stop the sim and set the port pin. I.E. INT0 is connected to port X, bit Y. Expand the I/O port X window and click pin Y. (The actual port# and bit# depend on what processor you are using - so RTFM.) If you're debugging assembly, step the sim one, two or three steps and bingo, you're in the isr routine. If you are debugging C, usually only one step is needed. Bruce
2005-08-27 by Laurinyecz Zoltán
Dennis wrote:
> Is there a way to "induce" and external interrupt in the Studio simulator?
> Dennis
>
Sure. Just stop the sim and set the port pin. I.E. INT0 is connected to port
X, bit Y. Expand the I/O port X window and click pin Y. (The actual port# and
bit# depend on what processor you are using - so RTFM.)
If you're debugging assembly, step the sim one, two or three steps and bingo,
you're in the isr routine. If you are debugging C, usually only one step is
needed.
Bruce
2005-08-28 by Dennis
OK ace. did that. What about the timers. Set the T1 overflow bit and it just kept cycling. Lance at his best. Are the timers special. D ----- Original Message -----
From: "Bruce Parham" <obparham@jpl.nasa.gov> To: <AVR-Chat@yahoogroups.com> Sent: Friday, August 26, 2005 7:10 PM Subject: Re: [AVR-Chat] Sudio simulator > Dennis wrote: >> Is there a way to "induce" and external interrupt in the Studio >> simulator? >> Dennis >> > > Sure. Just stop the sim and set the port pin. I.E. INT0 is connected to > port > X, bit Y. Expand the I/O port X window and click pin Y. (The actual port# > and > bit# depend on what processor you are using - so RTFM.) > > If you're debugging assembly, step the sim one, two or three steps and > bingo, > you're in the isr routine. If you are debugging C, usually only one step > is > needed. > > Bruce > > > > > > > > Yahoo! Groups Links > > > > > > >