49
© Sealevel Systems, Inc. R91001 Manual | SL9211 11/2022
Target Deployment and Execution
After your application is built using Visual Studio, either a debug or release executable, it may be desirable
to copy it onto the SDCARD or NAND Flash. This would provide a means to store and execute your
application without the need for connectivity to a host computer. The first step is transferring your
application to a suitable directory on the SDCARD or on-board NAND Flash. To accomplish this you will
need to establish connectivity via Mobile Device Center or ActiveSync as outlined in the Relio R9 Quick Start
section above.
Figure 23-
Application Placement
The Relio R9 Runtime image comes pre-loaded with a utility program called “SpringBoard”. This utility
provides a solution for automatically running your applications at startup. Rather than copying your
application files to ‘/Windows/Startup/’ - which is in volatile memory - the executables should be copied to
‘/Storage Card/startup/’ or `/nandflash/startup/’. After Windows CE runs, SpringBoard automatically starts
applications located in the NAND Flash followed by applications in the Storage Card.
SpringBoard also provides a way to specify program arguments by supplying an XML configuration file.
You will need to create a simple XML file called “startup.xml”. This XML file should consist of an element
list each with an application name and the desired arguments for that application. (See Figure 24.) This
file must reside in the following location: ‘/storage card/startup/startup.xml’ and/or
‘/nandflash/startup/startup.xml’.
If the startup.xml file is not found or is not desired, SpringBoard will still automatically run all the
applications placed in the aforementioned directory structure, only no arguments will be included
for those applications.
Figure 24 -
startup.xml
<?xml version="1.0" encoding="utf-8" ?>
<program name="
sample1 exe
" arguments="
/i 1019 /w