[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Simulavr-devel] UART
From: |
Theodore A. Roth |
Subject: |
Re: [Simulavr-devel] UART |
Date: |
Thu, 20 Nov 2003 14:59:21 -0800 (PST) |
On Thu, 20 Nov 2003, Keith Gudger wrote:
> Ted:
>
> How is checking out the spi / adc going?
Sorry, I've been slacking on that. I am hoping to get on it this
weekend. I've been having to do a lot of girlfriend stuff on my weekends
lately...
> The reason I ask is that I'm close to having the UART code ready.
> I'm hoping you want it...
Definitely. Keep 'em coming.
>
> I have some questions about simulavr behavior with my uart code that I'm
> hoping your experience can help me find the answers.
>
> First, it appears that when starting up, simulavr executes the "read"
> routine passed to vdev_construct. I haven't noticed this before, but
> maybe it's just the way my code works this time. Is this possible? (It's
> showing up a message from that function even before I get the "Waiting on
> port 1212 ... message.)
I need more info. Can you send me the output message in question?
>
> Second, the interrupt call-back gets installed as an
> avr_core_async_cb_add, the same as all the other files I've worked on.
> However, I notice that the call-back routine gets called *a lot*. Even
> when it looks like nothings happening. Is this normal? Should I be
> worried?
The callbacks should get called a lot. Clock callbacks get called for
_every_ clock cycle, async callbacks for every instruction.
Ted Roth