SWAN Concentrator and WAN Subsystem Troubleshooting Guide
Installing and Using the SWAN Tools
SWAN Concentrator and WAN Subsystem Troubleshooting Guide—426992-008
5-38
WANTCB
WANTCB
The WANTCB tool obtains the task control block (TCB) information from the SWAN
CLIP. The TCB contains internal information about the tasks in the pSOS environment.
This information is useful for debugging specific problems.
The WANTCB tool is compatible with SWAN firmware versions released after
T7953AAG. (T7953AAG and pre-T7953AAG firmware does not support WANFBT.
The WANTCB command is non-destructive and can be run safely at any time when the
SWAN CLIP is active. The output of the WANTCB command is stored in a file (code
101). This file contains the following information for all tasks running on the SWAN
CLIP:
•
Program Counter PC (initial, current)
•
Stack Pointer A7 (initial, current)
•
Frame Pointer A6
•
Task Name and Task ID
•
A5 Register
•
Number of ticks of processor usage since the last reset
WANTCB Command Syntax
The WANTCB command has this syntax:
HELP
initiates the WANTCB help system.
TRACKID “trackid”
is an ADAPTER TRACKID string. The string must be enclosed in quotation marks.
CLIPn
selects ON or OFF for rebooting the indicated CLIP. The default is OFF.
WANTCB { HELP | TRACKID "trackid"
[ ,CLIP1 { ON | OFF } ,FILE1 clip1-tcb-filename ]
[ ,CLIP2 { ON | OFF } ,FILE2 clip2-tcb-filename ]
[ ,CLIP3 { ON | OFF } ,FILE3 clip3-tcb-filename ]
[ ,CLIP4 { ON | OFF } ,FILE4 clip4-tcb-filename ]
[ ,CLIP5 { ON | OFF } ,FILE5 clip5-tcb-filename ]
[ ,CLIP6 { ON | OFF } ,FILE6 clip6-tcb-filename ] }