Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

still no interrupts

still no interrupts

2007-01-15 by Thomas Keller

Richard;

    I tried what you said.    But if I set a breakpoint inside the 
interrupt handler (at TIMER0:) and run my coee, all it ever does is 
cycle rapidlybetween the rjmp MAIn and the sleep command in the main 
routine.  It never goes to the interrupt, and it neer updates anything.  
You say it works fine on your machine?  I don't understand how that is 
possible.

tom

Re: [AVR-Chat] still no interrupts

2007-01-15 by John Samperi

At 01:29 PM 15/01/2007, you wrote:
>It never goes to the interrupt,

How long is NEVER? Have you waited several seconds? Minutes?
Remember that the simulator is just that, it is not real time
as if you had an ICE, so a mS machine real time may take
several seconds or minutes on a simulator depending on the
speed of the simulation machine.

If you do single steps it will be an eternity and nothing will
happen unless you hit F11 and that will be just one cycle.

But I presume you know this already :)


Regards

John Samperi

********************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495       Fax (02) 9674-8745
Email: john@ampertronics.com.au
Website  http://www.ampertronics.com.au
*Electronic Design * Custom Products * Contract Assembly
********************************************************

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.