User guide
90 DC 900-1338I
Protocol Software Toolkit Programmer Guide
configuration table, described in Section 4.2 on page 65, are located in the spsasm.asm
file located in the freeway/icpcode/proto_kit/src directory.
OS/Impact’s
osinit routine initializes the operating system variables and data structures,
then creates the timer task and the tasks specified in the configuration table. These are
the protocol task (
spstsk) and the utility task (spshio). Section 4.2.4 describes the osinit
procedure in more detail.
Figure 6–1: Sample ICP2424 Protocol Software Memory Layout
3161
Header Buffer
Partition
Reserved
1000000
1001000
10FFFFF
1021800
Data Buffer
Partition
1021000
Temporary Buffer
Partition
Shared Memory
Protocol Task, Utility
Task, and Interrupt
Service Routines
OS/Impact
Reserved
800000
801200
sps_fw_2424.mem
818000
Task Init Routine
812000
Debug Monitor
(optional)
icp2424c.mem
xio_2424.mem
CPU Private Memory
init stack
spstsk stack
spshio stack
Unallocated