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: EB40a: loading hello world


For the interest of others having the same problem:
The reason for the problem is that redbootRAM is not setting up EBI to
handle the external RAM. When I tried to access the external RAM from
redbootRAM, a bus error occured resulting in the error message described.

2 solutions to the problem:

1) Let redbootROM load redbootRAM, and then start redbootRAM. EBI will now
be setup (by redbootROM) to handle the external RAM. The application can
then be loaded to external RAM by redbootRAM.

2)Change /hal/arm/at91/eb40a/current/include/hal_platform_setup.h to setup
the EBI to handle external RAM for redbootRAM also.

Thanks to Laurent Gonzalez for helping me with this problem.

Ketil

-----Original Message-----
From: Laurent GONZALEZ
To: Ketil Harald Ruud
Sent: 7/7/03 9:18 AM
Subject: Re: [ECOS] EB40a: loading hello world

On Mon, 7 Jul 2003 09:04:49 +0200 
Ketil Harald Ruud <ketil.ruud@kitron.com> wrote:

> 
> I have flashed redboot and using this redbootROM I can load the
hello-world
> application to external RAM on EB40a and it works fine. (jumper
JP1=USER)
> 
> If I load redbootRAM to internal RAM and try to load the same
hello-world
> application to external RAM, the loading fails with the following
error
> message: "Got 24 for sector ACK". (jumper JP1=STD)
> (I load the application using ymodem)
> 
> Can anybody explain why the second loading fails? Is there a reason
why I
> cannot load the same application using RedbootROM or redbootRAM? 
> 
> Ketil
> 
> -- 
> Before posting, please read the FAQ:
http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
> 


-- 
GONZALEZ Laurent
Silicomp Research Institute
Tel: 04 76 41 66 98

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