Five Wire provides the ability to acquire protocol data from your embedded microprocessor or FPGA. To make the contents of the protocol human readable, Five Wire provides decoders which separate the individual transactions and convert the bit stream into human readable numbers and labels.
To apply a decoder to a particular data stream the user must select the decoder to be applied such as RS232, I2C, SPI, LIN, VALUE, etc. Next the decoder must be configured to provide needed parameters such as which channels to use, serial baud rate, etc. Once the configuration is complete the decoder will analyze the selected channels and add transaction marks with human readable decode strings.
The decode process takes place in two steps. First the decoder scans the acquisition and identifies the transaction units. If the protocol is complex it will further subdivide the transaction into its constituent elements. In the second step the DCD script is applied to each transaction or transaction element to generate the text label that will describe the transaction. Each transaction is then marked with a box and label in the display.
The DCD script is a simple text file that can be edited with notepad or other simple text editors. The DCD script provides an opportunity for the user to customize the decode output text to be more descriptive of their usage of the protocol. For example, the DCD script can be modified to interpret numeric values that represent register addresses and display the register name instead of its address. This document describes the operation and syntax of DCD script files to support user customization.Anewin DCD Script Reference.pdf