simulavr-devel
[Top][All Lists]
Advanced

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

Re: [Simulavr-devel] eeprom support


From: Jason Kyle
Subject: Re: [Simulavr-devel] eeprom support
Date: Mon Sep 30 20:54:02 2002

At 12:17 1/10/2002, Theodore A. Roth wrote:
Hi Alberto,

On Mon, 30 Sep 2002, eban wrote:

:) Hello everybody!,
:)
:) I'm trying to simulate a program that uses the
:) internal eeprom and a external eeprom.
:) At least I really need to use the internal eeprom.
:)
:) Simulavr has most of the work done to allow this, but
:) i don't think there's a way to load my binary eeprom
:) images yet.
:)
:) Is there a way to do this?

Yes.

:) How much work is needed?

Oh, about 45 minutes worth. ;-)

Far too quick, must be riddled with bugs! Only hello world can be written in 45min :)


:) Is anybody working on this?

Not any more. I just checked it in to cvs.

The -e <file> option now works for binary files. You can generate the
eeprom binary image as such:

  $ avr-objdump -j .eeprom -O bin foo.elf > foo.bin

and then use "-e foo.bin" to get the file into eeprom.

:) What about the external eeprom?

This really falls into the category of external periperals, much like a dataflash memory would. Can't see any really good reason for hooking up an EEPROM to an AVR's external SRAM interface, perhaps you are meaning an SPI or IIC bus EEPROM?


Well, that's a bit more difficult.

I'm assuming you are talking about memory mapping and eeprom device into
the external sram space of the device. As far as I know, the AVR's don't
have built-in support for external eeprom.

Simulavr needs some serious work before could have this. :-\ It's on the
TODO list, but I'm a bit busy with some other stuff right now. Feel free
to dig into if you like. I'll help however I can.

Would be cool to have an external periperal simulation interface, although i'm sure it's been on your mind for simulavr's entire life it does represent lots of work.... At your leisure :)

Cheers,

Jason Kyle





reply via email to

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