...
After several minutes you will see that the build finished with an image up to 67MB in size. Because on default the Trizeps5 is equipt with 128MB of RAM, this is no problem. But if you have a bigger project or want less debugging modules (DLL's, EXE)in the CE6 image, you could:
Build –> Open Release Directory in Build Window
will show you where the_FLATRELEASEDIRECTORY
resides.Change the name of this directory from
TR5CONXS_ARMV4I_Debug
toTR5CONXS_ARMV4I_FullDebug
.Make a copy of the
TR5CONXS_ARMV4I_Release
directory and name itTR5CONXS_ARMV4I_Debug
.Build –> Advanced Build Commands –> ReBuild Current BSP and Subprojects
.Copy desired debug-DLL's and EXE to the debug directory.
Build –> Make Run-Time Image
Prepare SD-Card
The easiest way to load a debug-image, is to use a SD-card. Put nk_ram.nb0
and a autoboot.bat with following contents onto the card:
...
Now that you have a Windows CE5.0-Debug-Image, you can start to debug.
Select Target –> Connectivity Options
.
...
Now set:
Download
toNone
.Transport
toEthernet
.Debugger
toKdStub
.
Press Settings
-button next to the Transport
-box and power-up your device.
...
Now the kitl-debug-connection will be established and you may set breakpoints, use the Windows CE Shell
-extension or other powerfull debug tools of the Windows CE Platform Builder.
Download
CE6Demo-Project: ce6demo_2008_10_14.zip
Debug-Image: ce6demo_tr5conxs_2008_10_14_.zip