[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Simulavr-devel] ATMega168
From: |
Lukas Kropatschek |
Subject: |
Re: [Simulavr-devel] ATMega168 |
Date: |
Mon, 11 Aug 2008 22:32:49 +0200 |
User-agent: |
KMail/1.10.0 (Linux/2.6.26-ARCH; KDE/4.1.0; x86_64; ; ) |
On Monday 11 August 2008 22:10:30 Michael Hennebry wrote:
> On Mon, 11 Aug 2008, Lukas Kropatschek wrote:
> > How easy would you guys think would it be to create a new device such as
> > the ATMega168?
> >
> > Basically only some registers have other memory addresses and have
> > diffrent names.
> > Should I try to just "copy" the ATMega128 code and change the regs or am
> > I missing something?
>
> Alas, you are missing something.
> The first thing I noticed when I tried it was that
> a pin (I don't remember which one) was inverted.
> The next thing was that the timers were different.
> I think that none of the 168 timers correspond to a 128 timer.
> Someone will need to write 3 new timers.
> I'll probably get back to it some day,
> but not today.
Looks like a bunch of work.
It's really sad that there is no API documentation at all in simulavrxx
because it's not comfortable to look up ctors and that stuff in headerfiles :D
I don't have a clue how to write those timers but maybe I'll find out and try
it.
Thx for the fast response!
--
Lukas Kropatschek
Jabber: address@hidden
PGP: 0x85812126