This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Atmel EB40A eval board SRAM confusion


Hi Tim,

I don't have an EB40A here at the moment, but when I used those about a half year ago, they certainly did have their external SRAMs mapped starting from 0x02000000.
Anyway, I'd first suggest that You should check in the EBI-regs of the AT91, to see what base address the SRAMs are mapped at.

And, yes - You should definitely feel lucky if You have been able to get Your hands on the EB40A model, 1meg is definitely more useful than the ordinary 256k ;-)

Cheers, /Kjell
--
Kjell Svensson Embedded Technology Manager
Techtribe Solutions AB Tel: +46 (0)31 706 06 00
Flöjelbergsgatan 12 GSM: +46 (0)70 270 76 66
SE-431 37 MÖLNDAL Mail: kjell@techtribe.se
Sweden




Tim Drury wrote:

I just got an EB40A (not EB40) board. According to the docs the onboard SRAM is not there by default from the factory - only footprints in which to
add your own. However, mine has two Alliance AS7C34096 (512Kx8) srams
on board. Lucky? Not sure sure. They are supposedly mapped to
0x02000000, but gdb gives "RDI_read: data abort, no memory at specified
address?" error.
I did a sanity check with gdb to be sure it was working and was able to read/write to the PIO registers to turn the LEDs on and off. Obviously
the eCOS EB40 target.ld _should_ work since it is trying to load the
image at 0x02000000 but I get an RDI_write error when I initially load
an image. I'm using Angel right now, I haven't attempted RedBoot yet.

I've emailed Atmel asking about the SRAM, but I was wondering if anyone
else on the list has the EB40A and has working SRAM on board. Is there
anything else I can try to get access to the SRAM? Has anyone with the
EB40 had same or similar problems?

-tim






--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]