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: Questions about vectors.S (ARM port)


On Mon, Apr 29, 2002 at 11:01:26AM +0200, llandre wrote:
> [...]

> You're right but the code following that macro copies the exception vectors
> from ROM to RAM. So, if  I can not have RAM at 0, I think I'm obliged to
> change vectors.S even if it should be kept unchanged for all ARM-based
> micros.

Correct.  I ran an ARM7 board with ROM at 0 for a while by
using a customized vectors.S file.  The vectors in ROM jumped
through a table in RAM, and I modified eCos to use that.

That meant I had a couple non-standard eCos source files that I
had to maintain.  After a few months I decided it was too much
work, so I added some startup code to remap memory so that RAM
is at 0.

On subsequent products, I put that code into the bootloader so
that RAM is always at 0 and eCos apps don't have to worry about
it.

-- 
Grant Edwards
grante@visi.com

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