This is the mail archive of the ecos-discuss@sourceware.org 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: interrupt/virtual vectors confusion


On Wed, Aug 17, 2005 at 08:40:25AM +0100, Matt Sartori wrote:
> I'm not sure I understand how this would work. Switching my board into
> RAM boot mode means that it maps internal RAM (0x20000000) to
> 0x00000000. On reset it always start execution from 0x0 but will in this
> case find nothing there to execute. On the other hand if booting in the
> boards normal mode (USER mode with flash mapped to 0x0) it will boot
> fine but when your app wants to change the vector at 0x18 it, as you
> pointed out, fail to do so.
> Jumping into high address mapping (by that I understand that when an
> exception/interrupt occurs all the instructions in the vector at 0x0
> jump to another vector in RAM) is what I want to do but still haven't
> quite worked out where to do - presumably by changing the vector setup
> of Redboot.

Can you change the mode on the fly? Normally you start with ROM at
address 0x0 and them move it out of the way and put RAM there. See if
this is possible with you hardware.

        Andrew

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


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