simulavr-devel
[Top][All Lists]
Advanced

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

Re: [Simulavr-devel] Eeprom simulation question


From: Raphaël Martin
Subject: Re: [Simulavr-devel] Eeprom simulation question
Date: Wed, 28 Apr 2010 11:23:07 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hi,
I digged a little more and found what I was doing wrong

> - Is simulavr able to recognize eeprom in this ELF section ? (I'm using
>   Python 'Load' API)

A quick look at the AvrDevice::Load code reveals that eeprom load is handled
perfectly by simulavr : Any symbol included above address 0x810000 is
sent to eeprom (section name is ignored, it just has to have Load
flag) at the right place.
So I checked again my Makefile, and there was the problem...
Works fine now.

> Finally, bonus question ;) : will .fuses and .lock sections be ignored
> as well ?

According to Michael's feedback, fuses and lockbits are ignored as
sections in the loaded ELF. My understanding of the code seems to
confirm that.
Anyway I admit that it would'nt be very useful, I just wanted to know
what was testable.

-- 
Bye,
Raphaël





reply via email to

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