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: PPP on eCos(eb40a), continued...


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


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