beautypg.com

Welltech SPCI2S Intel NetStructure SS7 Boards User Manual

Page 20

background image

SS7 Programmer’s Manual for SPCI2, SPCI4 and CPM8 Issue 2

Page 20

3.2.2 Generating system.txt

This section describes the procedure for generating a system configuration file
(system.txt) and details any operating specific differences in behaviour of the
development packages.

First the file must contain LOCAL declarations for all modules that are to run on the
host computer. As a minimum this must include the SSD module and the timer
module. Hence the following declarations must exist:

LOCAL 0x20

* ssd / ssds - Board interface task

LOCAL 0x00

* tim_xxx - Timer task

LOCAL declarations are also required for any optional modules running on the host.
Typically this will include s7_mgt and the user’s own application module. It may also
include any host based protocol modules and the s7_log utility. For example:

LOCAL 0xcf

* s7_mgt - Management/config task

LOCAL 0x2d

* upe - Example user part task

LOCAL 0x3d

* s7_log - Prints messages to screen/file

Once all the LOCAL declarations are in place, REDIRECT commands should be
added for all modules that are running on the board so that any messages destined
for these modules are transported via ssd (module_id = 0x20) and the device driver
to reach the board.

The following REDIRECT commands are always required:

REDIRECT

0x71 0x20 *

MTP2

module

REDIRECT

0x10 0x20 * CT bus/Clocking control module

REDIRECT

0x8e 0x20 * On-board management module

In addition REDIRECT commands are required for all protocols running on the
board. This will usually include MTP3 and one or more user parts. Examples of
these commands are given below:

REDIRECT

0x23 0x20 *

ISUP

module

REDIRECT

0x4a 0x20 *

TUP

module

REDIRECT

0x33 0x20 *

SCCP

module

REDIRECT

0x14 0x20 *

TCAP

module

REDIRECT

0x22 0x20 *

MTP3

module

Having ensured that all modules running on the board are accessible it is then
necessary to ensure that any status indications issued from the board will
successfully arrive at a module running on the host. (If this does not happen then
the system will quickly run out of available messages for inter-process
communication). Two module_id’s (0xdf and 0xef) require redirection to a suitable
process running on the host, initially these messages should be redirected to the
s7_log utility which will print out a line for each message received. Ultimately the
user’s own application will expect to receive these notifications.

REDIRECT

0xdf 0x3d * LIU/MTP2 status messages -> s7_log

REDIRECT

0xef 0x3d * Other indications -> s7_log

This manual is related to the following products: