Real-Time Logging Module

Introduction

It is important for the host to enable a logging feature to capture host-to-CSP and CSP-to-host messages. If a fault occurs, you should immediately retrieve a fault log with the Fault Log Query message, and send this information to Excel Technical Support for analysis.

Fault Logs

The two types of fault logs are as follows:

Fault Log (0x01). This is a NULL terminated ASCII string.

Fault Log and Stack Trace (0x03). This is a NULL terminated ASCII string, followed by the stack pointer of when the fault occurred, followed by a trace of the stack.

Card Status Report

An Alarm messages is often accompanied by a Card Status Report message. Pay special attention to the Card Status Report message. It contains information such as the card’s serial number and configuration. It could also contain other important information.

For example, in the message’s Card Status field, the "faults logged" bit could indicate that a software fault has occurred on a specific slot. In a case such as this, it is important for your host application to immediately send a Fault Log Query message to the card in that slot. The Fault Log Query message retrieves the fault information from the card. Send this information to Excel Technical Support for analysis.