public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* RE: [ECOS] Use of internal and external ram
@ 2001-04-23 19:30 Ho Shui Choy Stanley PS03B NCS
  0 siblings, 0 replies; 4+ messages in thread
From: Ho Shui Choy Stanley PS03B NCS @ 2001-04-23 19:30 UTC (permalink / raw)
  To: 'Lewin A.R.W. Edwards'; +Cc: Ecos-Discuss (E-mail)

I'm using the sources provided by Carl van Shauik. I am developing the port
independently and has managed to build and tested using the examples
programs from eCos successfully.

As for the usage of RAM, is it as simple as adding a section name to those
areas which are to be located in another section in the vectors.S files then
add that section in the memory layout using the eCos configuration tool?

You mentioned about the linker script, are you referring to arm.ld in this
case? If so what should I do to this file?

Thanks
Stanley

-----Original Message-----
From: Lewin A.R.W. Edwards [ mailto:larwe@larwe.com ]
Sent: Monday, April 23, 2001 23:19
To: Ho Shui Choy Stanley PS03B NCS; Ecos-Discuss (E-mail)
Subject: Re: [ECOS] Use of internal and external ram


Hi Stanley,

>I am building eCos for AT91EB40

Question: Where did you get the sources for this? Is this the old archived 
port mentioned on ecos-discuss some weeks ago, or are you collaborating 
with Daniel Andersson, or are you developing an independent port?

>In my platform there is internal ram(addr 0x00100000) and external ram(addr
>0x02000000) how do I make use of both available ram?
>Is it possible to specify that the stack space resides in the internal ram
>while data in external ram?

It's certainly possible (I do something very similar on the EP7212 - user, 
FIQ, IRQ, SVC stacks are in on-chip SRAM and heap is in off-chip DRAM). 
It's just a matter of tinkering with the startup code and linker script. 
For elegant integration into eCos, especially given that most people who 
use it are going to port it to "real" hardware sometime, I would suggest 
that you expose this stuff to configtool if possible.

=== Lewin A.R.W. Edwards (Embedded Engineer)
Work: http://www.digi-frame.com/
Personal: http://www.zws.com/ and http://www.larwe.com/

"... a man who is endowed with real qualities of leadership will be tempted 
to refrain from taking part in political life; because [...] the situation 
does not call for a man who has a capacity for constructive statesmanship 
but rather for a man who is capable of bargaining for the favour of the 
majority. Thus the situation will appeal to small minds and will attract 
them accordingly."

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [ECOS] Use of internal and external ram
@ 2001-04-24 18:01 Ho Shui Choy Stanley PS03B NCS
  0 siblings, 0 replies; 4+ messages in thread
From: Ho Shui Choy Stanley PS03B NCS @ 2001-04-24 18:01 UTC (permalink / raw)
  To: 'Daniel.Andersson@combitechsystems.com'; +Cc: Ecos-Discuss (E-mail)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2066 bytes --]

Go to the devs\serial\arm\<yourtarget> source folder, check that you have
the files "at91_serial.h" and "eb01_serial.c". Edit the cdl file
"ser_arm_eb01.cdl"
to compile "eb01_serial.c" instead of "eb01_serial_with_ints.c".


-----Original Message-----
From: Daniel.Andersson@combitechsystems.com
[ mailto:Daniel.Andersson@combitechsystems.com ]
Sent: Wednesday, April 25, 2001 01:05
To: scho@ncs.com.sg
Subject: RE: [ECOS] Use of internal and external ram


Hi again,

They run Ok for me to but when i enable a serial port in the "harware serial
driver" section then i need a file called: eb01_serial_with_ints.c and i
don´t have it. It is not includeed in the source from Carl. Do you have your
serial ports up and running.

> Yes, I have mangaged to build the sources provided by Carl 
> van Shauik after
> some modifications. I have also make the examples application 
> and flash it

What changes have you done? 

/Daniel


> 
> 
> -----Original Message-----
> From: Daniel.Andersson@combitechsystems.com
> [ mailto:Daniel.Andersson@combitechsystems.com ]
> Sent: Monday, April 23, 2001 18:40
> To: scho@ncs.com.sg
> Subject: RE: [ECOS] Use of internal and external ram
> 
> 
> Hi,
> 
> I am also working with the EB40 board. Which source code do 
> you work with?
> Is it then one provided by Carl van Shauik.
> 
> I can download ny eCos to the board but currently i am having 
> some problems
> with the serial port initialization. Do you make use of any 
> serial ports?
> 
> Regards, Daniel
> 
> > -----Original Message-----
> > From: Ho Shui Choy Stanley PS03B NCS [ mailto:scho@ncs.com.sg ]
> > Sent: den 23 april 2001 08:28
> > To: Ecos-Discuss (E-mail)
> > Subject: [ECOS] Use of internal and external ram
> > 
> > 
> > I am building eCos for AT91EB40
> > In my platform there is internal ram(addr 0x00100000) and 
> > external ram(addr
> > 0x02000000) how do I make use of both available ram?
> > 
> > Is it possible to specify that the stack space resides in the 
> > internal ram
> > while data in external ram?
> > 
> > Thanks
> > Stanley
> > 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] Use of internal and external ram
  2001-04-22 23:36 Ho Shui Choy Stanley PS03B NCS
@ 2001-04-23  8:27 ` Lewin A.R.W. Edwards
  0 siblings, 0 replies; 4+ messages in thread
From: Lewin A.R.W. Edwards @ 2001-04-23  8:27 UTC (permalink / raw)
  To: Ho Shui Choy Stanley PS03B NCS, Ecos-Discuss (E-mail)

Hi Stanley,

>I am building eCos for AT91EB40

Question: Where did you get the sources for this? Is this the old archived 
port mentioned on ecos-discuss some weeks ago, or are you collaborating 
with Daniel Andersson, or are you developing an independent port?

>In my platform there is internal ram(addr 0x00100000) and external ram(addr
>0x02000000) how do I make use of both available ram?
>Is it possible to specify that the stack space resides in the internal ram
>while data in external ram?

It's certainly possible (I do something very similar on the EP7212 - user, 
FIQ, IRQ, SVC stacks are in on-chip SRAM and heap is in off-chip DRAM). 
It's just a matter of tinkering with the startup code and linker script. 
For elegant integration into eCos, especially given that most people who 
use it are going to port it to "real" hardware sometime, I would suggest 
that you expose this stuff to configtool if possible.

=== Lewin A.R.W. Edwards (Embedded Engineer)
Work: http://www.digi-frame.com/
Personal: http://www.zws.com/ and http://www.larwe.com/

"... a man who is endowed with real qualities of leadership will be tempted 
to refrain from taking part in political life; because [...] the situation 
does not call for a man who has a capacity for constructive statesmanship 
but rather for a man who is capable of bargaining for the favour of the 
majority. Thus the situation will appeal to small minds and will attract 
them accordingly."

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ECOS] Use of internal and external ram
@ 2001-04-22 23:36 Ho Shui Choy Stanley PS03B NCS
  2001-04-23  8:27 ` Lewin A.R.W. Edwards
  0 siblings, 1 reply; 4+ messages in thread
From: Ho Shui Choy Stanley PS03B NCS @ 2001-04-22 23:36 UTC (permalink / raw)
  To: Ecos-Discuss (E-mail)

I am building eCos for AT91EB40
In my platform there is internal ram(addr 0x00100000) and external ram(addr
0x02000000) how do I make use of both available ram?

Is it possible to specify that the stack space resides in the internal ram
while data in external ram?

Thanks
Stanley

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-04-24 18:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-23 19:30 [ECOS] Use of internal and external ram Ho Shui Choy Stanley PS03B NCS
  -- strict thread matches above, loose matches on Subject: below --
2001-04-24 18:01 Ho Shui Choy Stanley PS03B NCS
2001-04-22 23:36 Ho Shui Choy Stanley PS03B NCS
2001-04-23  8:27 ` Lewin A.R.W. Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).