Windows Embedded Compact 7 Development on Windows 10
Although the following scenario works keep in mind that it is not necessarily supported by Microsoft, use the information at own risk. It’s important to note that official Support for Visual Studio 2008 ends April 10th 2018.
Recently I spent time looking into this scenario, a colleague pointed me to a post on the MSDN forums where users had got a WEC 7 image to boot with Hyper-V on Windows 10.
So I thought I would try it
The high level steps I performed were as follows:
- Setup Hyper-V Networking.
- Create NAT Network & Switch.
- Install & Configure DHCP server.
- Setup the Developer Tools.
- Install Visual Studio 2008 with SP 1
- Install Windows Embedded Compact 7
- Create Simple OS Design.
- Create BSP clone based on Virtual PC BSP
- Tweak for use with Hyper-V
- Configure Network
- Create OS Design project
- Create BSP clone based on Virtual PC BSP
- Add Hyper-v Guest for WEC 7
- Create Virtual Machine
- Run VM & Download OS Image
So here it goes these are the detailed steps I performed to get my Embedded Compact Developer environment migrated to Windows 10
Requirements
- Windows 10 Creators Update –1703
- Visual Studio 2008 Pro SP1
- Windows Embedded Compact 7 with Jan 2016 Update
- DHCP for Windows
1. Setup Hyper-V Networking
Network Address Translation allows us define a private IP address range for our VM’s, whereby traffic will be re-routed through our host machines network interface, this together with a DCHP server allows us to allocated individual private IP’s to our VM’s and also allows them access to the public internet. NAT is not strictly necessary here but this is my preferred way of configuring networking for my Virtual Machines.
Initial NAT Network support was added in the Anniversary Update release of Windows 10, although there were some restrictions on its usage see the WinNAT capabilities and limitations blog post – in the Creators Update release the windows team vastly improved NAT support by amongst other things adding support for multiple NAT networks.
1.1 Create NAT Network & Add Switch
From the windows Start Menu, search for PowerShell right click and select “Run as Administrator”
[” network which we created earlier & click next.
[.
To install Windows Embedded Compact 7 you must meet the following requirements.
2.1 Install Visual Studio 2008
Based on the requirements we need to install Visual Studio 2008 with SP1, and it needs to be the Professional or higher SKU.
1. Run the Visuals Studio 2008 installer, click Install Visual Studio
[ Ether device selected in toolbar & click Attach Device; the following window will be shown.
It may take a moment for the device to be detected, select the device from the list and click apply.
[![image](GHOST_URL/content/images/
4. The image will now be downloaded to the device.
[![image](GHOST_URL/content/images/
5. Progress will be shown in VS2008 & in the VM Console Window.
[![image](GHOST_URL/content/images/
6. Once download completes WEC will boot
[![image](GHOST_URL/content/images/
There you go so now you can enjoy Windows 10 and still develop for Embedded Compact 7, of course your mileage may vary – There are no guarantees regarding this scenario and although it may work now there is no way to know if it will continue to work on future releases of Hyper-V/Windows.
Let me know your thoughts & issues.
Troubleshooting Tips
tftp timeout
[![image](GHOST_URL/content/images/
https://blogs.msdn.microsoft.com/obloch/2010/08/12/windows-embedded-compact-7-and-virtual-pc-bsp/