Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Overview

There are two types of configuration files discussed in this document.  One defines the register architecture, and the other defines the register values.  In both cases YAML formatted text files are used.

For additional background on defining CPSW Hierarchies with YAML, see: http://www.slac.stanford.edu/grp/lcls/controls/docs/cpsw/framework/with-at-support/README.yamlDefinition.html

How to update yaml architecture configuration files

...

in the IOC

 The YAML Architecture .  The YAML Archictecture Configuration (YAC) is a set of text files that define all of defines the registers supported by the firmwarehardware. It is typically delievered delivered by the hardware engineer as a gzipped tar file containing one subdirectory.

To install a new YAC:

  1. Remove the existing YAC subdirectory from ${TOP}/yaml, or arrange to use new subdirectory name.
  2. Untar the YAC file under ${TOP}/yaml.
  3. In the IOC startup script st.cmd, update the 2nd parameter of YCPSWASYNConfig() to point to the 000TopLevel.yaml file within the YAC. For example, "yaml/AmcCarrierBcm_project.yaml/000TopLevel.yaml".

How to update yaml defaults configuration files in the IOC

The YAML Defaults Configuration (TDC) is a single text file that sets the values of some registersdefines a register initialization sequence.

Before installing a YDC file a couple of fixups are typically required.

 

To install a new YDC:

  1. Copy the YDC file to the ${TOP}/yaml directory.
  2. In in IOC startup script st.cmd, update the LOAD_FILE macro of the dbLoadRecords(dv/saveLoadConfig.db) command to point to the YDF file. For example, "LOAD_FILE=yaml/defaults_bcm.yaml".

How to add registers from firmware upgrade to map with the IOC

How to update the list of BSA PVs served by the IOC