User`s guide
4 Embedded Option
4-12
DOS Loader Target Applications
This section includes the following topics:
•“Creating a Target Boot Disk for DOS Loader”
•“Creating a Target Application for DOS Loader”
Creating a Target Boot Disk for DOS Loader
As the first step, we assume you have created a DOS system disk and updated
the xPC Target environment by setting the property TargetBoot to
DOSLoader. From the xPC Target Setup window, click the BootDisk button
and xPC Target copies the necessary files to the DOS disk. The files that are
added to the DOS boot disk include:
•checksum.dat
•autoexec.bat
•xpcboot.com
•
*.rtb (where * is defined in the table below)
With the
DOSLoader mode, the correct *.rtb file is added to the DOS disk
according to the options specified in the following table.
Note The numeric value of n corresponds to the maximum model size. This
value is either 1, 4, or 16 megabytes. The default value for
n is 1, or a
1-megabyte maximum model size.
Table 4-1: DOSLoader Mode *.rtb File Naming Convention
xPC Target
environment
HostTargetComm:
RS232
HostTargetComm:
TCP/IP
TargetScope: Disabled xpcston.rtb xpctton.rtb
TargetScope: Enabled
xpcsgon.rtb xpctgon.rtb