Working with an emulators or a virtual environments is very useful in the embedded space as Hardware might not be available, connectivity might complicate the development process.
Up to Windows Embedded CE 6.0, an ARM emulator was provided in the box to allow for tests and debug on an emulated environment.
Windows Embedded Compact (new version of Windows CE) now comes with a Virtual PC BSP, allowing one to build, deploy and use a Virtual PC machine to do his work.
Here is a short video explaining how to setup a Virtual Machine to run a Windows Embedded CE/Compact image.
One really convenient tool used in the process is called diskprep and can be found here.
Hello Oli, I try to make the VHD with disk prep, but the virtual machine wound't initialize =/. I need to to an special configuration in my image? Or the default configuration will work? Tanks for attention.
Can you be more specific about what's happening? Are you trying to boot eboot, are you trying to set up a VHD with a bre-backed image? If yes, did you try this image first, booting using eboot?
I make a VHD with NK.bin and a boot from VHD like your second example in this video. Using the disk prep, but they stay only in black screen, before the CE logo. Before that, i try eboot and work fine. I can boot download image from eboot, but no from VHD boot.
By default KITL is active in any build, even realeaes builds. I suspect your image has KITL active in the project settings, and when the OS boots, it waits for KITL connection.
You should whether deactivate KITL in the project settings for your release build, or set the eboot settings to passive KITL.
I try to use this virtual machine to debug a stand alone Silverlight for Windows Embedded application. Unfortunatelly the command "ipconfig" in the virtual machine gives the message: "no IPv4 adapter found".
I think that something with my image is wrong but looking through the properties I activated all things handling network connections. Is it possible that drivers are missing?
A few questions to help sorting this out:
Did you setup the Networking for your VM?
Are you using Windows VPC in Windows 7 or VPC in VIsta or older WIndows?
In your Network Adapter settings (on the Host machine), do you have the "Virtual PC Network Filter Driver" activated? Or the Loopback Adapter?
Oliver, the video isn't playing. i checked it out in two machines, but the same issue persists .
Interestingly it plays here... Do you have SIlverlight installed?
Can you watch it directly on MS Showcase here:www.microsoft.com/.../800b1db1-f192-4346-be5f-46a57fe376c4
Anyone else experiencing the same issue?
Could you please share that VHD file with Windows Embedded Compact 7 on it?
It is a loot easier to download 256MB then 47GB.
Thank you in advance for all your help!
Let me look into this. There might be some licensing issues... Stay tuned
Did you had time to look into this matter? Or you didn't found any licensing issues and can post this VHD file for everyone?
Still looking into it... stay tuned
thank you very much for your blog, for me is one of the most important docs for WINCE7 setup.
Following that I'm able to run and debug managed/unmanaged applications on VPC.
Now it's time to drivers/services development.
But there is not way for me to reach my breakpoints on XXX_Init method.
If I build the the WINCE with debug configuration I receive "An unrecoverable processor error" at boot time.
I'm following the official doc "Building and Testing Your Device Driver
Windows Embedded Compact 7 Technical Article"
Do you have any suggestion?
In order to debug drivers, you need to compile a debug version of your OS image. Your XXX_Init function will be hit when the driver is mounted by the kernel, which requires that you have the right registry settings set for it. You can check if you driver is mounted by looking at registry key HKLM\Drivers\Active
PS: Where can I get your screen saver, it looks pretty cool.