User guide
4: ICP Download, Configuration, and Initialization
DC 900-1338I 65
3. Run the
make_size utility program, specifying the desired buffer size when
prompted.
4. Copy the new
buffer.size file to the freeway/boot directory for subsequent down-
loads.
However, since in most cases the maximum buffer size is not changed, it is suggested
that the
#define variable DEFAULT_FNAME be changed if the default size of 1024 is not
acceptable.
4.2 OS/Impact Configuration and Initialization
A complete ICP run-time system is composed of a system-services module and one or
more user-application modules. One of the user-application modules must include a
configuration table and a system task initialization routine. For example, the system-
services module provided with toolkit is the binary image file (
xio_2424.mem,
xio_2432.mem, or xio_6000.mem), and the sample user-application modules are the
sample protocol software binary image (
sps_fw_2424.mem, sps_fw_2432.mem, or
sps_fw_6000.mem).
The last step of the download script file specifies an entry point or start-up address for
execution of the downloaded code (see the
INIT command in Figure 4–1). This entry
point must be the address of your system task initialization routine (or the address of
the
icpnnnnc.mem debug module if you are running with the SDS debug monitor).
After download completes and control has been transferred to your task initialization
routine, system configuration and initialization begin as described in the remainder of
this section.