...
Unlike the CoreMax
-project, which can be easily built for Release and Debug, the Demo
-project is far too big.
To be able to build a debug-image, we can use a trick:
Build OS –> Open Build Release Directory
will show you where the_FLATRELEASEDIRECTORY
resides.Change the name of this directory from
TR4CONXS_ARMV4I_Debug
toTR4CONXS_ARMV4I_FullDebug
.Make a copy of the
TR4CONXS_ARMV4I_Release
directory and name itTR4CONXS_ARMV4I_Debug
.Build OS –> Build Sysgen Current BSP
.Copy desired debug-DLL's and EXE to the debug directory.
Build OS –> Make Run-Time Image
This time Make Run-Time Image
will finish with success.
...
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 powerful debug tools of the Windows CE Platform Builder.
Download
Demo-Project: demo_2008_10_09.zip
Debug-Image: nk_ram_debug_2008_10_10.nb0