Building a Windows Embedded CE6 Image for Trizeps5 from Scratch
This application note will guide you through the steps needed, to create your own Windows Embedded CE 6 image. This is demonstrated for a BSP for Trizeps V, but the steps will almost also apply for other Trizeps-boards.
Preparation
First of all you need to install Microsoft's Platform Builder for Windows Embedded CE 6.0:
Visual Studio 2005
Visual Studio SP1 (Service Pack 1)
Windows Embedded CE 6.0 (Platform-Builder Plug-In for Visual Studio 2005)
Windows Embedded CE 6.0 SP1 (Service Pack 1)
Windows Embedded CE 6.0 R2 Update
Windows Embedded CE 6.0 R3
Windows Embedded CE 6.0 Cumulative Product Update Rollup Package (through 12/31/2012)
Remaining Windows CE 6.0 QFEs
If asked during install for which platforms, you must select ARMV4I and XScale. If you already have an installation, you can add those platform, by running the Platform-Builder installer. Before using the latest Trizeps-BSP, update the Platform-Builder using Windows Embedded CE Downloads.
Install the Seco BSP for Trizeps V.
Creating a new Project
Start Visual Studio 2005 and select
File –> New Project..
Select
Platform Builder CE 6.0, OS Design
as project-type and give your project a name. In this example, we will useCE6Demo
.
Follow the instructions of the OS Design Wizard.
Select the Board-Support-Packages you want to use this project with; i.e. you might want to add
TR4CONXS
to add support for the Trizeps4-BSP. Since this example uses Trizeps5, select TR5CONXS.
Select a design-template that matches your needs.
The following New Platform Wizard-pages allow us to add further components. Don't worry too much if you forgot to select a component here. Adding and removing components can be done later. In this example add ActiveSync. This is a nice tool, you would probably want and need for debugging your application.
Add Wired Local Area Networking to support the ethernet-chip of the Trizeps5.
Now the wizard is done.
Depending on components added, some security warnings might get displayed
Modify a Project
After the OS Design Wizard
has generated a new workspace, you may want to do some modifications. <columns> NEWCOL On the left you see the Catalog Items View
. If this window is not shown, use View –> Other Windows –> Catalog Items View
to add it. This view will show which catalog-items are included into your Windows Embedded CE Image.
A green check-mark shows that an item is included.
A green box indicates that an item was included because of an dependancy.
A red cross indicates that an item could not be included because of missing dependanies.
To add an item check a box. Let's add some drivers:
Wave Driver
Trizeps Framebuffer Device (with
Cached Mode
andHigh-Color
set)Select the display-type. The ConXS-evaluation-board uses an LTA065A041F.
KuK Extras
VNC Server
Select
No keyboard (dummy)
DM9000 Ethernet-Controller
PCMCIA/Compact Flash
PCF8593 ( This is the RTC mounted on the ConXS)
Trizeps Serial Port
IPSM4000
Trizeps SDMMC
Trizeps SDMMC (on board)
UCB Touch
Trizeps USB Slave
USB Host
After adding the drivers you might note, that there are two crosses at Trizeps SDMMC
. If you want to know why they got excluded, do a mouse right-click on the item and select Reasons for Exclusion of Item
.
In this case you only need to add SD Memory
.
</columns> Never forget to choose RAM-based Registry
(SYSGEN_FSREGRAM).
If you select PCMCIA/CompactFlash
don't forget to select the Compact Flash / PC Card Storage (ATADISK)
catalog-item.
When you want to use ActiveSync, you should include USB Function Clients –> serial
component.
You might also want to add the USB Storage Class Driver
, so that you can plug USB-memory-sticks.
Build a Project
If you think you are done with your modifications, call Build –> Build Solution
.
Wait. . . . . .
After several minutes the build should complete with:
Three files are generated:
nk_ram.nb0 ( Image will be loaded to RAM and execute).
nk_rom.nb0 ( Image will be stored to flash (uncompressed); view Flash Division of Trizeps I to VI, because this file is usually too large).
nk_zip.nb0 ( Image will be stored to flash (compressed))
What's next
After your created those images you may proceed to download them to your Trizeps-module. Take a look at the bootloader documentation for information on how to do this.
In the next step you might want to add further features or delete some to reduce size or licensing cost.
Download
Demo-Project: ce6demo_2008_10_14.zip
Retail-Image: ce6demo_tr5conxs_2008_10_14.nb0