Equinox Systems Cirrus Manuel Page 127

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 147
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 126
CobraNet Programmer’s Reference
Error Code Reference
DS651PM25 ©Copyright 2006 Cirrus Logic, Inc. 127
9.2 Error Code Interpretation
Errors are listed and described in section 9.3 below. Errors are keyed by Byte Code and
Flash Code. Flash codes are used when a fatal fault is reported (see section 9.1 above).
Byte codes are used for all other runtime error reporting.
A conversion between raw error codes reported via the errorCode MI variable and the
byte code key values is required to correctly interpret error conditions. Error codes are
represented differently on 24-bit and 32-bit platforms. The conversion between error code
and byte code for each platform is described in section 9.2.1 and section 9.2.2 below.
9.2.1 24-bit Error Code Interpretation
On 24-bit platforms (reference design and CM-1), the byte code is presented in the most-
significant 8 bits of the 24-bit error code reported. To derive a byte code from an error
code, divide the error code by 65,535. Alternatively when the error code is expressed as a
hexadecimal value, the byte code (in hexadecimal form) is in the 5th and 6th digits.
Convert this value to decimal representation and look up the byte code in the table below.
9.2.2 32-bit Error Code Interpretation
For 32-bit platforms (CM-2, CS4961xx, and CS1810xx), the byte code is presented in the
least-significant 8 bits of the 32-bit error code. To retrieve the byte code, strip off the most-
significant 24 bits by taking the error code modulo 256. Alternatively, when the error code
is expressed as a hexadecimal value, the byte code (in hexadecimal form) appears in the
first and second digits. Convert this value to decimal representation and look up the byte
code in the table below.
Vue de la page 126
1 2 ... 122 123 124 125 126 127 128 129 130 131 132 ... 146 147

Commentaires sur ces manuels

Pas de commentaire