Mobile Apps - 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
WinCE
(1)
OEMAddressTable
(1)
Bruce.Eitman
(1)
OEMinit
(1)
GuruCE
(1)
EMVP
(1)
Consultancy
(1)
Lauterbach
(1)
Michel Verhagen [eMVP] replied to Brian A.
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.
Brian A. replied to Michel Verhagen [eMVP]
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
Bruce Eitman [eMVP] replied to Brian A.
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
512MB RAM and 256MB NOR Flash memory mapping in WinCE 6.0 Mobile Apps In My platform I am using 512MB RAM and 256MB NOR Flash. I am using ARM Platform. I would like to know how to configure the OEMAddresstable for 512MB, 256MB NOR flash and other peripherals too. WinCE supports only 512MB of cached address. So If I map the entire 512 MB of other pheripherals? Please help me in this regard. Thanks in Advance. WindowsCE Platform Builder Discussions WinCE (1) OEMAddresstable (1) EMVP (1) Eurotech (1) Aritcles (1) Windows (1) Nand (1) Pheripherials (1) we cannot blog You can map more than 512MB of hardware in Windows CE, just not using OEMAddressTable. That means that the theoretical limit for RAM is 512MB. Theoretical becuase more than likely, you will need to map other hardware for the kernel to use via OEMAddressTable. - - Bruce Eitman (eMVP) Senior Engineer Bruce.Eitman AT Eurotech DOT com My BLOG http: / / geekswithblogs.net
it works fine. Interesting! WindowsCE Platform Builder Discussions Windows Embedded CE 6.0 R2 (1) WinCE (1) DwOEMTotalRAM (1) IMGRAMxxx (1) OEMAddressTable (1) Bruce.Eitman (1) EMVP (1) PlatformBuilder (1) The first thing come out in my mind is if the OEMAddressTable make corresponding change when enabling IMGRAM64? Thanks for the reply, I am not sure what IMGRAMxxx variable only influences the <Your BSP Root> \ FILE \ config.bib but nothing else. The OEMAddressTable is a PA to VA memory mapping table reported by OAL to Kernel and then Page Translation Table for MMU. Frankly speaking, your config.bib setting need to match your OEMAddressTable setting or the kernel will not work at all. Note that in some CEPC based BSP will use the following statement to fix up the OEMAddressTable in config.bib file which just eliminated the need of modifying source code. nk.exe
virtual address of (0x38000000)? - - Message posted via http: / / www.pocketpcjunkies.com WindowsCE App Development Discussions OEMAddressTable (1) OALAddressTable (1) Bruce.Eitman (1) EMVP (1) Addr.HighPart (1) Addr.LowPart (1) Call MmMapIoSpace(). Tell us what your problem is. You do not need an entry in OEMAddressTable to do this from your driver Bruce Eitman (eMVP) Senior Engineer Bruce.Eitman AT EuroTech DOT com My BLOG http: / / geekswithblogs.net / bruceeitman EuroTech Inc. www.EuroTech.com
Reg. Booting wince 5.0 Mobile Apps Hi, I wrote eboot and am loading OS to Wince device. After loading OS it hangs. I am not getting any debug messages after that 2004 at 18:25:00 ProcessorType = 0920 Revision = 0 sp_abt = ffff5000 sp_irq = ffff2800 sp_undef = ffffc800 OEMAddressTable = 80205f84 www.clabsys.com Where i have to debug. Please suggest. Even i am not getting the clock configured. Regards, Vina WindowsCE Embedded Discussions Windows Embedded (1) OEMAddressTable (1) OEMLaunch (1) RAMVerify (1) EMVP (1) ProcessorType (1) Vina (1) Tél (1) The good is that you have a problem in your code someplace. A debug build could help. - - Bruce Eitman (eMVP) Senior Engineer beitman AT applieddata DOT net Applied Data Systems www.applieddata.net An 78 - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - 7c6a7377-6ce2-4de9-934e-244a6dbdef7b@v29g2000hsf.googlegroups.com. . . On Jan 25, 4:10 am, "Bruce Eitman [eMVP]" Hi, Even in debug mode also i didn't get any debug messages once
2004 at 18:25:00 ProcessorType = 0411 Revision = 4 sp_abt = ffff5000 sp_irq = ffff2800 sp_undef = ffffc800 OEMAddressTable = 86605b14 Sp = ffffc7cc OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35 OEMIoControl: Unsupported Code 0x10100d0 that the target halts. Any explanation to this behaviour? Thanks Eli WindowsCE Platform Builder Discussions OEMAddressTable (1) OEMIoControl (1) Bruce.Eitman (1) EMVP (1) ProcessorType (1) ReadRegistry (1) DeviceFolder (1) LoadDevice (1) The low amount of I don't really expect much, if any, output after that on a retail build. - - Bruce Eitman (eMVP) Senior Engineer Bruce.Eitman AT EuroTech DOT com My BLOG http: / / geekswithblogs.net / bruceeitman EuroTech Inc. www.EuroTech.com