Windows CE Memory Management - Windows Mobile Software Development

Hi,
I spent some time reading the Windows CE 3.0 source code but still cannot figure where the page descriptors are located. According to the source code they should start at virtual address 0xFFFFD000. I am trying to write a hack to enable the write back cache of the XScale PXA255 CPUs. Any ideas?

Related

anyone have eMbedded visual basic software,please

i need the software to run some program if anyone can send that or any links to download thanks
Hi,
The SDK for Pocket PC is actually available for free at Microsoft!
You just have to search a little for it: use "Pocket PC SDK 2002" as keywords at www.microsoft.com, or try this direct link:
http://www.microsoft.com/downloads/...4a-bd94-4167-b817-2b2e548b2e92&DisplayLang=en
The SDK for Pocket PC 2003 only includes VC++ 4.0, but the SDK for Pocket PC 2002 contains both VCC++ 3.0 and Visual Basic CE 3.0.
For VB Apps to run, you need to install the VBRUN-Runtime library on the PDA.
Be aware that embedded VB has some severe drawbacks, compared to VB6:
- you don't have the DoEvent command, so no "multitasking"
- you don't have VAR() and VAL()
- you don't have many of the controls
- it is VERY slow
More info's about it:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbceide/htm/evbstart.asp
Cheers,
vma
VBRuntime.cab
VBRuntime.cab
Note that it is better to write your apps in Visual C++ rather than VB, as VB will not be supported on future devices...
eMbedded Visual Basic can run on WM 2003, just use the following link to download the runtime library from the following link:
http://msdn.microsoft.com/mobility/windowsmobile/downloads/evb_eula.aspx
This will allow any applications written using eVB 3 to run on your device!

linux on hp ipaq 614c

Hi,
i'm trying to run linux on my HP Ipaq 614c, and I have discovered that kernel + modules for Asus P525 have worked well on my ipaq, but only few things are working ( touchscreen, bluetooth ). So I need to compile my own kernel + modules. Can anyone tell my how to do this?? thanks a lot
Oh boy, where to start? Do you have any experience with linux on the desktop, particuarly with building your own kernel and editing system configuration files? If not, I would suggest you get VERY familar with how linux works on the desktop/laptop (especially with the command line) before you go into embedded systems.
Yes, I have a lot of experience with linux on desktop, building kernel and editing config files, but the problem is, I have never compiled linux kernel for any handheld. I have downloaded handheld kernel tree from cvs.handhelds.org, and also som cross toolchain, but I have no idea if the toolchain is good for my HP IPAQ ( Intel Xscale PXA27x Processor 520 Mhz ), and also I don't know how to config kernel before compilation, to get this kernel work on my IPAQ.
Hi,
does anybody know where can I get latest linux kernel tree with -hh patch and support for ASUS P525 ?? I have tried kernel from cvs.handhelds.org (kernel26 - 2.6.21-hh20) but there was no support for ASUS P525 when I tried to config the kernel. Thanks a lot.

Windows Phone 7 Emulator image

Here we go!
http://www.4shared.com/file/241929851/fc8a5591/WM70C1.html
Some good guys should dump it. ECEC at 50(dec)
Windows Phone 7 Emulator dump
here you are
http://forum.xda-developers.com/showthread.php?p=5890971
who is willing to port to other device?
You can download dumped packages here:
http://www.multiupload.com/WYKJJNBZOV
however this ROM for X86 CPU, so it's complete useless for ARM devices.
Also ROMIMAGE format without relocations, so it can't be relocked to other addresses.
(note - in my dump there wrong machine type in dll/exe files. It must be X86 instead of ARM)
Core is Windows CE 7.0 with multi-CPU support.
Cotulla said:
You can download dumped packages here:
http://www.multiupload.com/WYKJJNBZOV
however this ROM for X86 CPU, so it's complete useless for ARM devices.
Also ROMIMAGE format without relocations, so it can't be relocked to other addresses.
(note - in my dump there wrong machine type in dll/exe files. It must be X86 instead of ARM)
Core is Windows CE 7.0 with multi-CPU support.
Click to expand...
Click to collapse
Well considering it was dumped from an emulator that runs on windows it makes sense that it's only x86 compatible lol.

PPC2002 Emulator / Image

Hello everybody,
I am working in a german company where we're still using old iPAQs (iPAQ PE2030) with Windows Mobile 2002 because the application doesn't work on Windows Mobile 2003 or higher.
Now I'm looking for an emulator or an emulator-image for WM2002 for the Microsoft Device Emulator. I can't find any Image of PPC2002 on Google and I hope maybe to find the image here.
It would be nice if there's a solution to get it work, because a reprogram of it will cost thousands of euros.
Thanks in advance,
Patrick
Have a look at post #2 in here.
http://forum.xda-developers.com/showthread.php?t=777850
Embedded Visual Tools 3.0 (C++ and VB) came with an emulator of sorts for WM 2002 SE, which installs with the compiler. It is not a true emulator as such, like those run by Device Emulator Manager, but it is as near as you are going to get. The compilers create special x86 emulator executable versions that the emulator can run, and you can debug.
When you are satisfied with it, switch the compile to release, and it will generate an ARM code executable to run on the device.
The emulator images running under Device Emulator Manager can run ARM code executables, but the EVT emulator can't.
The problem is that you will need the source code for the app to compile it.

[SOLVED] Disassembling DLLs in WP7 firmware?

Hi there, first post but I could use some assistance.
I took the stock emulator image that's included with the dev tools and ran (I believe, this was a bit ago) viewbin.exe, cvrtbin.exe, and dumprom.exe on the image (basically the same technique that's used to dump the Zune firmware), resulting in all the files.
In particular, I'm looking to reverse engineer the MTPZ protocol, so I looked at MtpHandshakePlugin.dll which seems to be just what I need based on the strings contained within. When I load it into IDA Disassembler, IDA correctly finds strings and the exports and imports and what not. The problem is, it can't seem to find any function declarations or code. The only code it auto-analyzed was the start function, which was two instructions, the second instruction being a jump into a memory location it couldn't find. Prior to analysis IDA informed me that MIPS (the architecture of the image) supported memory mapping and that I could manually map addresses.
So, I assume that this jump address is memory mapped and I have to figure out where to map that to, after which IDA should be able to find all the code. The problem is, how do I know where to map the address to?
Long-ish post, I know, but any help would be much appreciated!
Hi,
Your problem is that IDA is using the wrong machine type. The DLL's are X86 from the emulator not ARM. You need to switch the machine type in the PE header to X86.
I typically just do this by hex editing the byte sequence C0 01 to 4C 01 but you can use any PE editor for this.
Ah, you are absolutely right. The thought crossed my mind earlier but I quickly dismissed it. Everything seems to be analyzed perfectly.
Thanks a ton!

Categories

Resources