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: Problem accessing the AT91MEC01 memory extension card on theAT91EB40 board


You will have to tell the ATMEL AT90R40008 processor how to access that new
memory and at which location. Find out at which chip select line the memory is
attached to, how many waitstates are needed and how the memory is accessed (8
bit, 16 bit etc.)
Then calculate the EBI (or see how atmel has calculated that value). Attached
the debugger to your board, and fill in that EBI value. See the atmel
documentation for that.
(address 0xFFE0 0000 and up)

Then you should be able to access that memory with the debugger (enter a "hello
world" in that memory and see if you can read that back)

Later you can edit hal_platform_setup.h and recompile redboot.

Eric.

----- Original Message -----
From: "Lawrence Mboweni" <lmboweni@csir.co.za>
To: <ecos-discuss@sources.redhat.com>
Sent: Friday, January 23, 2004 3:06 PM
Subject: [ECOS] Problem accessing the AT91MEC01 memory extension card on
theAT91EB40 board


Hi

I'm trying to access (using Redboot) the ROM at 0X03000000 which is on
the extention card(AT91MEC01) but I can't.
Actually I simply can't access the extention card at all. I however can
access the ROM (onboard).
Somehow I feel I need to modify the Redboot code but I don't know how.

Simply put, how do I go about acessing the extension card?

More info, memory map is:
0x0100 0000 - 0x0101 0000 FLASH onboard
0x0200 0000 - 0x0208 0000 RAM onboard

0x0300 0000 - 0x0320 0000 FLASH on extention card ( This is where I
wanna put uClinux)
0x0400 0000 - 0x0400 0000 FLASH on extention card
0x0500 0000 - 0x0520 0000 RAM on extention card

Regards
Lawrence

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


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



-- 
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]