Yahoo Groups archive

AVR-Chat

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

Message

RE: [AVR-Chat] Sim problems, AGAIN.

2004-01-03 by Larry Barello

Well, given that the vector table is correct and you are on the simulator,
there must be some other problem.  I know you have run across a bunch of
simulator issues, still, I would consider s/w first.  perhaps some other
handler is fiddling with GICR or MCUCR and messing with the various bits.

Still, consider using a mega16 in an STK500 and bring out the appropriate
port bits to your mega8 header (cruft something up if you are using the MLF
package) then you can develop with the JTAG.  As far as I can tell the M16
is a straight upgrade from the m8 - at least for the projects I have worked
on.  Just make sure you get the right vector table :)  After you get things
working, then recompile for the m8 and it should work.  Keep the m16 lash-up
around for development work.

Cheers!


-----Original Message-----
From: David VanHorn

At 04:49 PM 1/2/2004 -0800, Larry Barello wrote:

>Of course, you checked to make sure your interrupt vector table is correct?
>Dead interrupts or spurious interrupts have *always* been due to the wrong
>interrupt vector table, in my experience.

I checked it twice, but as tired as I am at the moment, (packing for another
1900 mile road trip) I may have missed something..

;***********************************************************************
; INTERRUPT VECTOR TABLE.  YOU MAY NOT CHANGE THE ORDER OF THESE JUMPS!
;***********************************************************************
        jmp     INIT_Machine    ;Restart vector, points to the beginning of
the code.
...

Attachments

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.