During the boot procedure of the CALDAQ system several code-files are stored in the memory of the REBOOTER transputer (code for DATACOLLECT transputers, ROCOLLECT transputers, READOUT transputers, LAYER1 TRIGGER transputers, TESTGSLT transputers and the Digital Card DSPs), and stay there as long as the CALDAQ system is running; if individual transputers in the CALDAQ system have to be rebooted the code which is stored in the REBOOTER's memory is used.
This means that a code change for any of these transputers or the DSPs always requires a full reboot of the CALDAQ system in order for the new code to be used.
DSP-code files are read via symbolic links in directory:
/zeus/transputer/online/vxx.y/bin/readout
The link names are daq_x.dsp, with 0x
9 or
a
x
f, so that a total of 16 different DSP-codes can be
used at the same time.
When adding a DSP-code or changing a DSP-code it is necessary to check/update the 'DSP.CODE.DESCR' array in include file dsp_codes.inc, describing some properties of the DSP-code.
Which DSP-code is booted on which Digital Card DSP is controlled by a DSP-code configuration file which is read via a symbolic link to directory:
/zeus/transputer/online/vxx.y/bin/host/dcconf
The actual files can be found in directory
calec_rc/defaults/dcconf
and are named dcconf_n.conf, with
0
n
16, so that a total of 16 different DSP-code configurations
are possible.
Which dcconf_n.conf is used is determined by the number on the 24th line of the DAQ configuration file (the line with the comment: DSP code config).