beautypg.com

Error reporting, 1 recoverable errors, 1 receive and transmit errors – Cirrus Logic CobraNet User Manual

Page 124: 2 faults, 2 unrecoverable errors, 1 fatal faults, 1 receive and transmit errors 8.1.2 faults

background image

124

©

Copyright 2006 Cirrus Logic, Inc.

DS651PM25

CobraNet Programmer’s Reference
Error Reporting

8.

Error Reporting

8.1

Recoverable Errors

Recoverable errors are indicated by an increment of

errorCount, update of errorCode,

errorIndicators and illumination of the TX error, RX error and/or Fault indicators, if
available. Note that some CobraNet devices do not present all indicators to the user. For
example, the CM-1 provides only the Fault indicator. There are numerous recoverable
error conditions that can cause an error indication. It is possible to determine the exact
cause of the most recently reported error conditions by reading the

errorCode variable

through the management interface.

8.1.1 Receive and Transmit Errors

Receive and transmit errors illuminate the RX Error and/or TX Error indicators. These
errors are reported with respect to the Ethernet interface. An RX error indicates trouble
receiving audio or control data from the network. A TX error indicates trouble transmitting
audio or control data onto the network. These errors may originate at peripherals
attached to the CobraNet interface. A framing error detected at the asynchronous serial
port is reported as a TX error because an inability to correctly receive asynchronous
serial data means that it can't be properly

transmitted onto the Ethernet. Difficulty locking

to the conductor clock is reported by simultaneous illumination of the RX error and TX
error indicators as a failure to lock affects both transmission and reception.

8.1.2 Faults

Illumination of the Fault indicator indicates detection of an unexpected condition. Some
fault conditions will also light the RX error and/or TX error indicators to give more specific
indication if the unexpected condition is in the receive or transmit processes.

8.2

Unrecoverable Errors

8.2.1 Fatal Faults

A fatal fault halts the CobraNet interface. Audio and control data delivery is suspended
while an error code is displayed as a flashing pattern on the Fault indicator. Once the
code has been displayed several times, the interface will automatically attempt to reset
itself.

The fatal fault code is displayed as a repeating set of three flash sequences. These three
flash sequences represent three digits of an octal error code. A single flash represents a
0 digit and 8 flashes represent a 7 digit. The three digits are delivered least significant
first. Convert from octal to decimal and divide by two to get the error code. Or the flash
sequences may be looked up directly in the Error Codes section of this document

As an example, a repeating pattern of 5 flashes then 2 flashes followed by 3 flashes
represents an octal code of 214. Converting to decimal and dividing by 2 yields error code
70.