[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [openrisc] ORP and reset vector



Hi!

This is one way to do it. But even more ofter you have memory controller, 
there are several such on Opencores, that have power on configuration, where 
you set where will your flash be (e.g. at 0x00000000), in boot code you 
reconfigure the MC and copy exception vectors to RAM e.g. at 0x00000000, then 
start the OS. I believe uClinux does it this way.

Marko

On Tuesday 03 December 2002 16:44, Marķa Bolado wrote:
> I guess that field EPH (Exception Prefix High) should be set by hardware
> when a reset ocurrs, so that exception vectors are searched for in memory
> area starting at 0xF0000000. (Look page 27 in Architecture Manual).
> Regards,
>     Marķa Bolado
>
> ----- Original Message -----
> From: "Sung-taek Lim" <stlim76@hotmail.com>
> To: <openrisc@opencores.org>
> Sent: Tuesday, December 03, 2002 9:08 AM
> Subject: [openrisc] ORP and reset vector
>
> > Current ORP recommends mapping RAM to address 0x0.
> > Then the reset vector at 0x100 belongs to RAM.
> > How can I expect a valid instruction would exists
> > there when I just turn the power on?
> >
> > _________________________________________________________________
> > The new MSN 8: advanced junk mail protection and 2 months FREE*
> > http://join.msn.com/?page=features/junkmail
> >
> > --
> > To unsubscribe from openrisc mailing list please visit
>
> http://www.opencores.org/mailinglists.shtml

--
To unsubscribe from openrisc mailing list please visit http://www.opencores.org/mailinglists.shtml