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: vectors.s


My architecture is sh3 processor ,7729.
As you said, Flash is mapped at 0x0 & 0x80000000.
But what I don't understand is that, when it jumps to the High memory,
(0x8000000e in my case), shouldn't there  be some or the other pice of code
attached there,
But I'm not seeing any instruction placed at that address.


----- Original Message -----
From: "Andrew Lunn" <andrew dot lunn at ascom dot ch>
To: "Rupesh S" <rupeshs at myw dot ltindia dot com>
Cc: <ecos-discuss at sources dot redhat dot com>
Sent: Tuesday, April 15, 2003 11:56 PM
Subject: Re: [ECOS] vectors.s


> On Wed, Apr 16, 2003 at 09:23:11AM -0700, Rupesh S wrote:
> > Hi,
> >
> > In the dissambled code for vectors.s, at the label, "_reset_platform", I
> > find an instruction, " bra 8000000e".
> > Unfortunately, I could not find any code attched at that address.It
looked
> > important to me since the reset_platform is the place where the reset
vector
> > code jumps to..,
> > Can anyone tell me where the branching happens ?
> > Rupesh
>
> I don't know your hardware platform, but my guess is your flash is
> mapped into memory twice. Once at 0x0, and a second time at
> 0x800000000. The mapping at 0x0 is used to boot time. It will then
> jump into the high memory version and then unmap the low version.
>
>      Andrew
>
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
>


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