You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 47e5a40
Browse filesBrowse the repository at this point in the historyBrowse files
The `CardConfigurator` utilizes the `Parameters` class, the same class where Parameters are specified for DMA channels. For the
@@ -394,6 +409,20 @@ running instance of readout.exe or roc-bench-dma fail.
394
409
### roc-config
395
410
Configures the CRU. Can be executed with a list of parameters, or with a [configuration file](#configuration-file). Uses the [Card Configurator](#card-configurator). For more details refer to the `--help` dialog of the binary.
396
411
412
+
The `--clock-config` option (`yes`, `no`, `only`; default `yes`) sets when the CRU clock is configured. The clock
413
+
configuration (clock selection, TTC/PON calibration and GBT calibration) is slow, so it can be done separately from the
414
+
rest of the configuration:
415
+
* `yes`: the clock is configured together with the other settings.
416
+
* `no`: the clock configuration is skipped, and only the other settings are configured.
417
+
* `only`: only the clock is configured, and the other settings are left untouched.
418
+
419
+
When `--force` is not set, only the settings selected by `--clock-config` are compared with the current card state to decide
420
+
whether reconfiguring is needed. Example:
421
+
```
422
+
o2-roc-config --id=b0:00.0 --tf=32 --clock-config=only # configure the clock
423
+
o2-roc-config --id=b0:00.0 --tf=32 --clock-config=no # configure the rest, without touching the clock
Copy file name to clipboardExpand all lines: doc/releaseNotes.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,3 +103,7 @@ This file describes the main feature changes for released versions of ReadoutCar
103
103
## v0.46.2 - 03/03/2026
104
104
- boost compatibility
105
105
- removed some obsolete CRU BAR code
106
+
107
+
## next
108
+
- o2-roc-config: added option --clock-config=[yes, no, only] to configure the CRU clock separately from the rest, cf [ORC-518](https://its.cern.ch/jira/browse/ORC-518). Default yes (unchanged behavior).
109
+
- BarInterface::configure() and CardConfigurator now take a ConfigureOptions struct (force, clockConfig) instead of bool force.
"Clock (TTC) configuration [yes, no, only]: yes = configure clock with the rest (default), no = skip clock configuration, only = configure only the clock");
333
338
options.add_options()("test-mode-ORC501",
334
339
po::bool_switch(&o2::roc::testModeORC501),
335
340
"Flag to enable test mode as described in JIRA ORC-501");
@@ -430,11 +435,32 @@ class ProgramConfig : public Program
0 commit comments