Implement a cold-reset routine for the X2O
Description
After the implementation and merge of !291 (merged), the X2O board will be minimally supported. In order words, data taking should be possible once the hardware will be configured (e.g. synthesizers, optics, firmware,...) by an external means. No facility will be provided in cmsgemos
for this initial configuration.
Instead, a cold-reset procedure, similar to the one for the CTP7 should be implemented. It consists in powering up the TX lasers, configuring the clock synthesizers, loading the firmware(s), and establishing the Chip2Chip communication,... Like in the case of the CTP7, calling external tools should be avoided as much as possible. It has two purposes: (1) facilitate the deployment and (2) provide good error-checking and then error-reporting to the user. Python code can be called, if the library exists only in that form, via pybind11
. Calling a rogue script is discouraged.