WEC 2013 are finally available to all including a fix for running Compact 2013 RTM on Windows 8.1. In this blog I present one of my latest tools on Codeplex, an app for capturing (like a terminal) the COM output of a Hyper-V VM. This blog edition is a bit late as I've been working on another tool that I'll present in my next blog, another wizard. This one generates an insitu Managed Code OS Subproject! Compact 2013 vNext is still coming "soon".
Whilst Windows Embedded Compact Edition 2013 was released in June last year, there have been updates available to OEMs only, not to all developers. This started with the October 2013 update. Since then updates have been posted for November 2013, December 2013, and January 2014. All updates up to January 2014 have been packaged and made available at: http://www.microsoft.com/en-us/download/details.aspx?id=42027
A Virtual CEPC OS is built exactly as a CEPC in Platform Builder (in Visual Studio 2012/13). A CEPC is essential an x86 (32 bit) PC (with a suitable NIC (legacy)). The vCEPC is configured to exactly "mimc" the real hardware but runs as a Hyper-V VM. You create an OS project by selecting the "Generic CEPC" BSP. You then install and configure the vCEPC and then boot it via Hyper-V Manager. At startup you can press the Space Bar and set some options. See the last few slides in the following slideshow beow. When the OS is in the BOOTME phase you can connect via Platform Builder.
In Hyper-V caret a new VM. It will have no pre-installed operating system. Configure it with:
vCEPC settings in Hyper-V Manager
See V1.1 and V1.2 blogs in this series for setting up a VM.
More information (Click here)
The vCEPC screen shots during booting are in this slideshow. Click on VIEW SLIDE SHOW
A Hyper-V Virtual Machine can output (only) to serial ports. Hyper-V streams this as Named Pipes. This app captures the stream (line-by-line) and displays it. The displayed text can be copied to the clipboard or saved to a file.This is useful for Compact VMs which typically output debug messages to COM1 during the boot phase: The link is:
You run it on the Hyper-V Host desktop (Not in VM, not in Windows CE/Compact)
For some more information VIEW SLIDE SHOW
HVCapture capturing DHCP-Bootme phase of OS boot.
HVCaptureCOM capturing Serial Debug during download and EBoot.
CELoader is a simple TFTP loader for Windows Embedded Compact Eboot developed by eMVP, Thierry Joubert to meet a definite need. That is to be able to download and start a vCEPC without using Platform Builder .. just a prebuilt image file, nk.bin.
CELoader app and nk.bin in same folder.
Output during download.
As indicating in a previous blog, it is best to connect to a Windows OS VM using Remote Desktop (RDP) rather than connecting through Hyper-V Manager as you get better screen resolution options as well as Copy and Paste (not available through Hyper-V Manger connections). Please note though that you can't connect to a vCEPC through RDP. When you need to connect to more than one VNM through RDP I suggest that you install and use Remote Desktop Connection Manager:
I have it running OK on Windows 8.1, even though it was published 2010.
Remote Desktop Connection Manager
Trackback from David JonesHyper-V and Compact 2013 (3 articles)
Managed Code as part of the OS Build ( 3 articles) ...
FOOTNOTE If you want to use Windows Embedded Compact 7 in a Hyper-V environment use the CPEC BSP not the Virtual PC one. The Hyper-V emulator for Compact 2013 vCEPC will load such an OS.
UPDATE: This update DID fix the Windows 8.1 - Compact 2013 RTM .NET 4.X issue on my system