DCD Register Configuration

Register Configuration is a graphical way to configure DCD Commands.

The WRITE command contains the following elements:

  • The command header where the user can choose the Target Width and the Action using dropdown menus
  • An information about the current command length in bytes
  • A list of WRITE registers, which is initially empty
  • “Add register” button, that adds a new register into the end of the list
  • “Insert Command Below” button, that adds a new command under the current one
  • “Duplicate” button, that duplicates the current command
  • “Delete” button, that deletes the current command

A WRITE register in the list is composed by two views:

  • Standard View:
    • Peripheral: A searchable dropdown where the user can search for the desired peripheral.
    • Register: After selecting a peripheral, this dropdown menu will be populated with all the registers the current peripheral has. Once selected a register, its available bitfields will appear in the bottom of the standard view.
    • Bitfields: Once a register is selected, the user can select a bitfield to get a brief description about it, and also highlight it on the bitfield section at the bottom.
    • Bits: The bitfields of the currently selected register. Each individual bit has togglable value, the user can change the value between 0 and 1 using mouse clicks.
    • The description of the currently selected bitfield can be seen by hovering the mouse over it.
    Figure 1. Write command with one register
  • Advanced View:
    • Address: This field is synchronized with the value generated by the Peripheral – Register pair. It can also be manually set. The default encoding for this field is HEX, but it can also be set in DEC (by omitting the 0x prefix).
    • Value/Mask: This field is synchronized with the value generated by the Bitfields. It can also be manually set. The encoding is exactly as on the address field.
    • Advanced Only: Toggles the advanced mode.
    • Add above: Creates another WRITE register above the current one.
    • Delete: Removes the current WRITE register from the list.
Note: Manually editing fields in the Advanced view can generate different errors. To be able to get elevated control over the values toggle the Advanced Mode. In this mode, the Standard View is disabled, removing some of the constraints (ex. The value in the Value/Mask field does not need to fit into the available bit fields anymore).

A CHECK command only contains one CHECK register. It also has a header, similar to the WRITE command, and the two buttons for Inserting a command below and Delete.

The CHECK register is also similar to the WRITE register, but it contains an additional Count field in the Advanced view.

Figure 2. Check Command with advanced mode on

Finally, the NOP command is very simple. It has no registers, it is not configurable and it presents a very simple, static header. The only two elements present in the NOP command are the “Insert Command Below” and “Delete” buttons we find on every command.

Figure 3. NOP Command