simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Simulavr-devel] Invalid device specification: atmega2560


From: Joel Sherrill
Subject: Re: [Simulavr-devel] Invalid device specification: atmega2560
Date: Wed, 15 Apr 2009 16:24:12 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

Knut Schwichtenberg wrote:
Jonathan,
there is no device spec for the M2560. I think, it is serously difficult for the
M2560 because:

1. 24Bit PC needs a walk through several moduls
2. M128 and M2560 IO-components might be named identical but might provide
different functions (e.g. timer)

Writing the atmega2560.cpp is the easiest. The details of the hardware have to
compared subsystem by subsystem between M128 and M2560 and that's everything
else than done in 20 minutes.

It is not a question of your C++ experience but a question of your AVR hardware
understanding and an understanding of simulavrxx.

I will second that.  The C++ code is fairly easy to get your head
around but the AVR details are critical.
But since you have a specific part in mind to simulate, that is
IMO a good thing.  It focuses you more than when I started where
I just saw a bunch of code and wanted to understand everything.

I would add that there are nice people here and you should be able
to incrementally work through this -- get a little working, submit a
working subset.  Add support for a specific IO subsystem, submit.
Repeat until done.

Don't forget tests for instructions and IO.
Cheers
Knut

Jonathan Moreton wrote:
Is there currently a device specification for the Atmel atmega2560?
If not how easy is it for someone with little c++ experience to create?

Many thanks
Jonathan Moreton



_______________________________________________
Simulavr-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/simulavr-devel


--
Joel Sherrill, Ph.D.             Director of Research & Development
address@hidden        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
  Support Available             (256) 722-9985






reply via email to

[Prev in Thread] Current Thread [Next in Thread]