...
- Remove the existing YAC subdirectory from ${TOP}/yaml, or arrange to use new subdirectory name.
- Untar the YAC file under ${TOP}/yaml.
- 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.
- 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.
- 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.
- 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.