User`s guide
4 Embedded Option
4-12
DOSLoader Target Setup
DOSLoader mode allows you to copy the xPC Target kernel to the target flash
disk, remove the 3.5 inch disk drive, and then boot the xPC Target kernel.
Alternatively, you can also boot the xPC Target kernel from the target PC
3.5 inch disk drive. The target application is still downloaded from the host PC.
Use this mode for applications where an xPC Target host is not easily
accessible.
This section includes the following topics:
• “Updating Environment Properties and Creating a Boot Disk” on page 4-12
— Select
DOSLoader mode in the xPC Target Explorer window.
• “Copying the Kernel to Flash Memory” on page 4-14 — Copy the xPC Target
kernel to the flash disk on the target PC and then start the kernel running.
• “Creating a Target Application for DOSLoader Mode” on page 4-16 —
Create, download, and run a target application from a host PC.
Updating Environment Properties and Creating a
Boot Disk
xPC Target uses the environment properties to determine what files to create
for the various target boot modes.
This procedure assumes you have serial or network communication working
correctly between your host computer and a target PC. It is helpful to
successfully create a target application with the
TargetBoot option in the xPC
Target Explorer
window set to BootFloppy before trying to create a kernel
that boots from DOS.
1 On the host computer, start MATLAB.
2 In the MATLAB Command Window, type
xpcexplr
The xPC Target Explorer window opens.
3 In the xPC Target Explorer xPC Target Hierarchy pane, select a target PC
Configuration node.
4 From the Target boot mode list, select DOSLoader.