SYS Module
2-452
Module Configuration Parameters
Description
The SYS module makes available a set of general-purpose functions that
provide basic system services, such as halting program execution and
printing formatted text. In general, each SYS function is patterned after a
similar function normally found in the standard C library.
SYS does not directly use the services of any other DSP/BIOS module
and therefore resides at the bottom of the system. Other DSP/BIOS
modules use the services provided by SYS in lieu of similar C library
functions. The SYS module provides hooks for binding system-specific
code. This allows programs to gain control wherever other DSP/BIOS
modules call one of the SYS functions.
SYS Manager
Properties
The following global properties can be set for the SYS module in the SYS
Manager Properties dialog of the DSP/BIOS Configuration Tool or in a
Tconf script.
❏
Trace Buffer Size
. The size of the buffer that contains system trace
information. This system trace buffer can be viewed only by looking
for the SYS_PUTCBEG symbol in the Code Composer Studio
memory view. For example, by default the Putc function writes to the
trace buffer.
Tconf Name: TRACESIZE
Type: Numeric
Example:
bios.SYS.TRACESIZE = 512;
❏
Trace Buffer Memory
. The memory segment that contains system
trace information.
Tconf Name: TRACESEG
Type: Reference
Example:
bios.SYS.TRACESEG = prog.get("myMEM");
Name
Type
Default
TRACESIZE
Numeric
512
TRACESEG
Reference
prog.get("DARAM")
ABORTFXN
Extern
prog.extern("UTL_doAbort")
ERRORFXN
Extern
prog.extern("UTL_doError")
EXITFXN
Extern
prog.extern("UTL_halt")
PUTCFXN
Extern
prog.extern("UTL_doPutc")