public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Eric de Jong" <list_ericdejong_10@gmx.net>
To: <ecos-discuss@sources.redhat.com>
Subject: Re: [ECOS] PPP on eCos(eb40a), continued...
Date: Fri, 17 Oct 2003 08:26:00 -0000	[thread overview]
Message-ID: <000201c39488$7552ce50$e33922c7@ericnt> (raw)
In-Reply-To: <200310161906.h9GJ6eJY008264@dns.vitacom.net>

The eb40a has for a RAM application 256kb internal ram which is shared for both
debugger (redboot, ~60kb), program code and data (stack, heap, constants, bss).
If you have placed external ram, the linker script must be changed to use it,
providing that the memory interface (EBI) is already configured for that memory.
Redboot should have done this already in vector.S and hal_platform_setup.h
For a ROM application, the program code comes in FLASH and  no debugger has to
be used to load your application. This will give you more free ram. But as you
replace redboot, I would not recommend it. Too much trouble.

1) expand your eb40a with extra ram, if not already placed (I have never done it
myself)
2) check if redboot does set up the EBI interface correctly.
3) change your linker script (target.ld) to place the bss section in the
external ram. See if there is enough stack space and heap space left.

Eric de Jong

----- Original Message -----
>This is not going to be much help, But I think you are right. It sounds like
>you are running out of RAM memory. Just the net component on its own without
>the PPP stack is large (in embedded terms).
>
>How much memory have you setup the target to have?

Well, the eb40a has 512k of RAM, I suposse that the space avaliable for the
stack is much less,cuz the other pakgs.



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

  parent reply	other threads:[~2003-10-17  8:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-16 19:06 Transferencia de Archivos
2003-10-16 20:54 ` [ECOS] gdb stubs in ecos Ottawa Guy
2003-10-17  9:32   ` Nick Garnett
2003-10-17  8:26 ` Eric de Jong [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-10-17  7:59 [ECOS] PPP on eCos(eb40a), continued Retallack, Mark (Siemens)
2003-10-16  7:47 Retallack, Mark (Siemens)
2003-10-16  4:32 [ECOS] PPP on eCos(eb40a) Transferencia de Archivos
2003-10-16  4:48 ` [ECOS] PPP on eCos(eb40a), continued Transferencia de Archivos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000201c39488$7552ce50$e33922c7@ericnt' \
    --to=list_ericdejong_10@gmx.net \
    --cc=ecos-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).