This is the mail archive of the
mailing list for the eCos project.
RE: ARM port: how to handle ROM at address 0 without MMU ?
- From: "Doyle, Patrick" <WPD at dtccom dot com>
- To: "'heinricg at esiee dot fr'" <heinricg at esiee dot fr>, "'ecos-discuss at ecos dot sourceware dot org'" <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 13 Feb 2004 09:28:03 -0500
- Subject: RE: [ECOS] ARM port: how to handle ROM at address 0 without MMU ?
Is this on a new board that you are designing or is it on an existing board?
What ARM processor are you using?
Every existing board I've seen has some way to swap the chip selects around
so that you can make RAM show up at address zero and ROM show up at whatever
address the RAM was at.
Sometimes this is built into the device itself.
If you are designing a new board around a device that doesn't support
swaping chip selects, then you might consider adding an external (fast) CPLD
to do the swapping for you.
> -----Original Message-----
> From: firstname.lastname@example.org [mailto:email@example.com]
> Sent: Friday, February 13, 2004 4:48 AM
> To: firstname.lastname@example.org
> Subject: [ECOS] ARM port: how to handle ROM at address 0 without MMU ?
> Hi all,
> I'm seen this topic discussed earlier on the list but I never
> really found an answer that matched my needs. The thing is I
> have a platform that has:
> - ROM at address 0
> - no MMU
> With the normal vectors.S file, I obviously get a data abort
> when it tries to write into exception vectors, as these are
> located in ROM.
> The question is: what do you think is the best way of
> modifying the vectors.S file in order to handle this? It
> seems like I will have to have a vector table in RAM and
> modify vectors.S so that exception handlers just jump to
> addresses set up in the RAM-vector table. Is that it or is
> there more to do? I'm worried that I may have to hack a lot
> of other files in eCOS... which will certainly result in a
> pretty unstable port as I am may not be aware of the
> implications of what I'll do.
> Thanks for your attention,
> Before posting, please read the FAQ:
> and search the list
> archive: http://ecos.sourceware.org/ml/ecos-discuss
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss