Chapter 7 Command Line Interface (CLI) 83
SWerr directory
Table 24 includes the CLI commands for the Software Error (SWerr) utility. The firmware stores the Swerr messages into a cyclic buffer. The contents of the buffer are printed upon request.The commands are accessed from the SWerr directory.
Table 24 SWerr directory CLI commands
CLI command | Description |
|
|
PS <num> | Prints the Swerr buffer constants. All the accumulated swerr messages are |
| printed. |
| Where: |
| num is the number of error messages to print (optional). |
| The buffer stores the 20 most recent messages. |
|
|
GF | Displays the swerr error levels and control flags. |
| There are three error levels: inform, serious, and fatal. Each level has two |
| flags: Insert_flag, which stores error information in the buffer, and Print_flag, |
| which prints to the serial port when an error occurs. |
|
|
CF <level> <insert_flag> | Changes swerr control flags. |
<Fast_print_flag> |
|
<user_func_addr> | Where: |
| |
| level is in the range of 0...2. |
| insert_flag is true or false |
| Fast_print_flag is in the range of 0...2 (0 = print, 1 = print, 2 = fast print). |
| user_func_addr is the user function address (for firmware engineers only). |
|
|
DEL < number> | Deletes swerr messages from the buffer. |
| Where: |
| number is the number of swerr messages to delete (oldest messages are |
| deleted). Enter 0 to delete all swerr messages. |
|
|
DWN | Prints detailed debug information for one swerr message, stepping down |
| (back in time). |
|
|
UP | Prints detailed debug information for one swerr message, stepping up |
| (forward in time). |
|
|
PP | Prints detailed debug information for the current swerr message. |
|
|
HeLP | Prints the descriptions of all the commands in the swerr directory. |
|
|