Versions Compared

Key

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

...

  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 1st parameter of YCPSWASYNConfigcpswLoadYamlFile() to point to the 000TopLevel.yaml file within the YAC.
    For example, "yaml/AmcCarrierBcm_project.yaml/000TopLevel.yaml".
    Note: When YCPSWASYNConfig() is called after cpswLoadYamlFile(), the 2nd argument of YCPSWASYNConfig() – the YAML path – is ignored.

How to update the yaml defaults configuration in the IOC

...

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

In order to map a CPSW register to an EPICS PV, entries in 3 different configuration files are required.

  1. YAML Architecture Configuration (YAC). This file is supplied by the hardware engineer, and it defines the full set of registers that can potentially be mapped.
  2. Dictionary file. This text file defines the mapping from YAML register path to Asyn parameter name. The register paths in this file must appear in the YAC (above) as well.
  3. Substitution file. The file generates EPICS PVs for Asyn parameters. The Asyn parameter names in this file must appear in the dictionary file (above) as well.

 

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