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 David VanHorn

At 05:51 PM 1/2/2004 -0800, Larry Barello wrote:

>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. 

Yeah.. It's kind of disheartening, when you're not sure where the problem is like this. It's easy to feel like nothing's going to work, and it's hard to have a lot of enthusiasm. 

> perhaps some other
>handler is fiddling with GICR or MCUCR and messing with the various bits.

I would say so, but when the ISR is firing, I'm BP'd there, and the ISR shows disabled.  I know the flag will be cleared by that point, but the enables should show their true state at that point.

>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.

Hmm.. That might be an option.

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.