WinCE
(1)
OEMAddressTable
(1)
Bruce.Eitman
(1)
OEMinit
(1)
GuruCE
(1)
EMVP
(1)
Consultancy
(1)
Lauterbach
(1)

WINCE6, OEMinit() Crash - board bring up

Asked By Brian A.
30-Jan-10 09:10 AM
I am doing board bring up for our ARM9 platform. I have XLDR/Eboot up and
running and I am capable of downloading a kernel via Ethernet to NAND flash.
As soon as I execute the kernel it crashes in the OEMinit function. When I
hit break with my Lauterbach JTAG the SDRAM is just at some random point and
creates a bus error that releases the JTAG.

I am able to load all symbols at OAL level, but I cannot get it to break in
the beginning of OEMinit - the MMU should be turned off af this point?

Any thoughts?

Rgds
Brian

No, at the time of OEMInit Windows CE has already initialized andenabled the

Michel Verhagen [eMVP] replied to Brian A.
30-Jan-10 08:04 PM
No, at the time of OEMInit Windows CE has already initialized and
enabled the MMU. The MMU should be off at the moment you jump from the
bootloader to the CE image (but you can use the MMU in your bootloader
as long as you turn it off before the jump to CE).

Good luck,

Michel Verhagen, eMVP
Check out my blog: http://GuruCE.com/blog

GuruCE
Microsoft Embedded Partner
http://GuruCE.com
Consultancy, training and development services.

Hi Michel,thanks for you answer!Do you know where the MMU is enabled?

Brian A. replied to Michel Verhagen [eMVP]
03-Feb-10 04:13 AM
Hi Michel,

thanks for you answer!

Do you know where the MMU is enabled?

I am having a hard time finding the virtual addresses for my system (i.MX25,
ARM9, WinCE 6.0) to be able to load the symbols for my Lauterbach JTAG - any
ideas?

Thanks again!

Rgds
Brian

Since that is an ARM processor, it uses OEMAddressTable to initialize theMMU.

Bruce Eitman [eMVP] replied to Brian A.
03-Feb-10 08:33 AM
Since that is an ARM processor, it uses OEMAddressTable to initialize the
MMU.  While you can look for how the kernel uses that, you will be better to
look for the OEMAddressTable in your BSP.  Note that it might be implemented
as something like OALAddressTable.

--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT Eurotech DOT com
My BLOG http://geekswithblogs.net/bruceeitman

Eurotech Inc.
www.Eurotech.com
Post Question To EggHeadCafe