Tuesday, June 2, 2009

WES 2009, Virtual PC and Windows PE [Updated]

When experiencing Windows Embedded Standard, you need an x86 device to boot the OS. The first solution is to use a spare computer and deploy the Runtime image to the hard drive at every OS re-generation. Except if you are a skew driver fan, but mounting and unmounting the hard-drive to push the new binaries on the target, is quite painful after two or three manipulations. So another solution could be to use the current hard drive of your development computer, and reserve a partition for WES. In this case no screw driver is required, as the partition is visible directly under the OS of you development computer. The only restriction, in this case, is too reboot the development machine to get the WES OS booted. But this solution is also painful, as booting the development OS can take a while, and all development tools have to be reloaded. The ultimate solution is to use an x86 virtualizer, like Virtual PC or other. When using the virtualizer, the way to reboot the WES OS is by launching the virtualizer software.

Use a Virtual PC :
First you need to create a new virtual machine and a hard drive, you can find all the details in the Virtual PC blog.
Then you have to prepare the hard drive to receive the WES files. And for this, you have to create a partition.... and at this point you are locked, except if you have in your drawer, an old booting floppy disk and a floppy disk reader...
Microsoft is providing for IT's a Windows Automated Installation Kit, available for free from their website. This kit provides cool applications, called WinPE, and ways to easily have a booting CD-ROM iso that can be customised to integrate all the applications that can be useful to deploy an OS, like Windows XP, Vista, and WES.

Prepare your booting CD-ROM :
After downloading and installing the AIK package, launch Startup Menu->Microsoft Windows AIK->Windows PE Tools Command Prompt.
1) Initial Folder Creation
copype x86 [Destination_Folder_Path]

2) Add custom Files
Copy required custom files to the ISO folder in \ISO. Like bootsect.exe available in "Windows AIK\Tools\PETools\x86".

3) Build the customized ISO
oscdimg -n -b[path to etfsboot.com file]\efsboot.com [path to the ISO folder] [path and name of the iso to generate]


Boot the ISO :
When the iso image is generated, then you have to boot it under Virutual PC, by launching the Configuration done previously and going to the CD menu. Then attach the iso file, and Virutal PC should boot on the virutal CD-ROM drive.

Partitions creations :
When WinPE 2.0 boot up, it initialize a shell from where you can launch batch scripts or single comands. >e gonna use diskpart to create, format partition.
Launch dispart from the shell window (PERFORM ALL THOSE COMMANDS FROM THE VIRTUAL PC COMMAND WINDOW ONLY).


1) List the available disks :
list disk

2) Select the disk
select disk 0

3) Clean Up the disk
clean

4) Create a partition
create partition primary size=XXXXX

5) Assigne a letter to the partition
assign letter=C

6) Format the partition
format fs=ntfs quick

7) Activate the partition to be bootable by the Virutal PC BIOS
active

8) Exit diskpart
exit

Then you have to store the boot sector on the partition, diskpart provided with WinPE 2.0 store by default the Vista boot sector, that is not compatible with WES 2009.
9) Prepare boot sector
bootsect /NT52 C:
Note : bootsect.exe can be found in the AIK installation folder and pushed into the CD-ROM Iso

Push files to the target :
The hard drive is now ready to receive the WES runtime files, and the easy way to push those files from the development machine to the virtual hard drive is using the network and the sharing capabilities of Windows.
Share the folder used for the generation of the WES image on the development computer, and use netuse from the Virtual PC to access it.
Then use xcopy to get the files onto the virtual hard drive.

Conclusion :
Using the Virtual PC is fairly easy to get and experiment WES.

- Nicolas

Sunday, April 26, 2009

Is Windows CE 6.0 R2 real time ?

Who says that Windows CE 6.0 R2 is not realtime operating system!! For those who are suspicious about this fact, please have a look to this article. And check this video.

<br/><a href="http://video.msn.com/video.aspx?vid=b50f33e5-c08a-42a1-b2ad-e634de801c7c" target="_new" title="Windows Embedded CE 6.0 Real-Time Beckhoff Demo">Video: Windows Embedded CE 6.0 Real-Time Beckhoff Demo</a>


- Nicolas

Wednesday, April 22, 2009

Windows Embedded CE Trainings

Adeneo Embedded, Windows Embedded Gold Partner, propose Windows CE 6.0 training sessions in Europe and North America with a FREE ARM based development kit offered to each attendee (value $1500). More details click here.
Next sessions are:

  • June 8th to 11th 2009: Paris, FR - EMEA
  • June 8th to 11th 2009: Denver, CO - US
For these sessions, Adeneo Embedded offers a 10% early bird discount for registration done at least 4 weeks before the event!
Here is the agenda:
  • Module 1: CE 6.0 OS features
  • Module 2: Platform development tools
  • Module 3: Inside the OS
  • Module 4: CE 6.0 OS Components
  • Module 5: CE 6.0 Build process
  • Module 6: Board Support Package (BSP)
  • Module 7: Device Driver concepts
  • Module 8: Customize an OS Design
  • Module 9: Application development
  • Module 10: Testing the OS
For more information and registration, contact sales@adeneo-embedded.com
For complete Windows Embedded CE 6.0 training program click here.

- Nicolas

Tuesday, April 14, 2009

IE8and Smart Device project issues

The Visual Studio team have blogged about an issue with Visual Studio 2005/2008 after installing IE8 (Here’s a link to the blog article). You can have this issue when creating a Smart Device project in Visual Studio 2008, the fix is very simple, a change to your desktop registry.

- Nicolas

Tuesday, March 24, 2009

Windows Embedded Standard 2009 Exam Prep Kit Now Available

The first 3 chapters of the exam preparation kit for the Windows Embedded certification are now available here. These chapters are only in English at this time, but additional languages are being developed and will be available in the next few months.

- Nicolas

Wednesday, March 18, 2009

Windows Embedded CE 6.0 training by Adeneo Embedded

Adeneo Embedded, Windows Embedded Gold Partner, propose Windows CE 6.0 training sessions in Europe and North America with a FREE ARM based development kit offered to each attendee (value $1000).

Next sessions are
April 13th to 16th 2009: Boston, MA
April 20th to 23rd 2009: Munich, Germany
May 4th to 7th 2009: Los Angeles, CA


For these sessions, Adeneo Embedded offers a 10% early bird discount for registration done at least 4 weeks before the event !
Here is the agenda:


Module 1: CE 6.0 OS features
Module 2: Platform development tools
Module 3: Inside the OS
Module 4: CE 6.0 OS Components
Module 5: CE 6.0 Build process
Module 6: Board Support Package (BSP)
Module 7: Device Driver concepts
Module 8: Customize an OS Design
Module 9: Application development
Module 10: Testing the OS


For more information and registration, contact sales@adeneo-embedded.com
Click here for complete Windows Embedded CE 6.0 training program by Adeneo Embedded
- Nicolas

Tuesday, March 3, 2009

ATMEL BSPs for free

This is areally exiting news, Atmel just published the source version of the Atmel AT91SAM9 ARM926EJ-S™-based embedded MPUs Board Support Package for Microsoft Windows Embedded CE 6.0 and 5.0, originaly developped by Adeneo Embedded.
This to provide an easy access to the Atmel's processors evaluation kits, and Atmel's processors.

See the Atmel Press Release about this topic.

- Nicolas