190 likes | 384 Views
Controls Generic Front-End Software (CGFES ) & CO Hardware Abstraction Layer (COHAL). Progress, plans and experiences. Steen Jensen on behalf of / in collaboration with:
E N D
Controls Generic Front-End Software (CGFES)&CO Hardware Abstraction Layer (COHAL) Progress, plans and experiences Steen Jensen on behalf of / in collaboration with: CLIC-ACM team: F. Locci, S. Magnoni, B. BielawskiFESA team: S. Deghaye, G. SivatskiyCCDB team: Z. Zaharieva, J. Lopez De Coca, A. FernandesCMX team: F. Ehm, Y. Fischer, P. JurcsoTiming team: J.-C. Bau, I. Kozsar, X. PirouxDriver team: D. Cobas, M. Arruat, J. Lewis, L. GagoInstallation team: C. Dehavay, E. Said, S. CatinHW team: M. Cattin, T. WlostowskiOASIS team: A. Poncet, R. Bella
Presentation • Context and architecture overview • Objectives • CGFES workflow • COHAL progress • CGFES progress • Device migration planning • Experiences and suggestions Steen Jensen, BE-CO-FE - CO Technical Commitee, 21 November 2013
Context and architecture overview - After LS1, equipment groups will be responsible for their own systems/FECs and will provide first line support for them- Some controls-related FEC functionalities are generic and is provided by CO- CGFES (CO Generic Front-end Software) provides FESA classes supporting the following functionalities: Function generation Digital input/outputAnalog input/output Delay of pulses - COHAL = CO Hardware Abstraction Layer Applications / Working sets / Knobs InCA/LSA/AcqCore CMW FESA framework CGFES (FESA classes) COHAL Driverlib Driver Firmware FEC module Field bus Machine hardware Steen Jensen, BE-CO-FE - CO Technical Commitee, 21 November 2013
Objectives • Migrate a maximum number of GM devices to FESA3 • Migrate a maximum number of FESA2 devices to FESA3 • Align the COHAL layer with CO standards Steen Jensen, BE-CO-FE - CO Technical Commitee, 21 November 2013
Class/instance migration workflow GM class FESA2 class GM Class design Class code Class design Class design Instance data “D1” (GM ) “D1-OLD” (GM)@dummyFEC Instance file (“D1-NEW”) Device migration map Instance data FESA3 instances “D1-NEW” (FESA3) @FEC1 Class migration map Meta-data Deploy Unit Design Deploy Unit “D1” (FESA3) @FEC1 WorkingSet/Knob definitions FESA3 developer workspace CCDB Deploy Unit Working set D1 Knob D1 D1 Reference Settings D1 (FESA3 ) InCA DB FEC1 Consoles Steen Jensen, BE-CO-FE - CO Technical Commitee, 21 November 2013
CGFES - Classes CGAFG LN2WDog CGDIO CGPFG CGAO FEAlimMonitor CGAI June 2013 ao ai fecdiag fg dio Applications / Working sets / Knobs SNMP InCA/LSA/AcqCore CVORB CVORG GFAS VMOD-12A2 WIENER crate VMOD-12E8 VMOD-TTL VMOD-DOR ICV196 CMW FESA framework CGFES (FESA classes) Todo: 3 classes - bitmaps, enums and values New COHAL CGAFG Ln2WDog CGDIO CGPFG CGAO FEAlimMonitor CGAI CGTDEL Driverlib Driver cohal-diag cohal-diag cohal-diag cohal-diag cohal-diag cohal-diag November 2013 cohal-dio cohal-ao cohal-ai cohal-fg cohal-tim cohal-fecdiag Firmware SNMP FEC module CVORB CVORG GFAS VMOD-12A2 WIENER crate VMOD-12E8 VMOD-TTL VMOD-DOR ICV196 FMC-FINE-DELAY Field bus Done: New ICV196 driver integrated Machine hardware Steen Jensen, BE-CO-FE - CO Technical Commitee, 21 November 2013
ProgressCOHAL now conforms to CO standards • Moved to Make generic • Releasing to SVN as <project>/<project-product> • Deploying using major.minor.tiny versioning • Documentation re-enabled and linked with CGFES Wikihttps://wikis.cern.ch/display/CGFES/CGFES • No support for LynxOS in new version • Compiles for SLC5 and SLC6 Steen Jensen, BE-CO-FE - CO Technical Commitee, 21 November 2013
ProgressCOHAL now provides diagnostics • Exceptions standardized and catchable by FESA • cmwLogging integrated • CMX integrated • New timing library (timdt) integrated • No timing service provided to FESA classes Steen Jensen, BE-CO-FE - CO Technical Commitee, 21 November 2013
CGFESClass/instance migration GM class FESA2 class GM Class design Class code Class design Class design Instance data “D1” (GM ) “D1-OLD” (GM)@dummyFEC Instance file (“D1-NEW”) Device migration map Instance data FESA3 instances “D1-NEW” (FESA3) @FEC1 Class migration map Meta-data Deploy Unit Design Deploy Unit “D1” (FESA3) @FEC1 WorkingSet/Knob definitions FESA3 developer workspace CCDB Deploy Unit Working set D1 Knob D1 D1 Reference Settings D1 (FESA3 ) InCA DB FEC1 Consoles Steen Jensen, BE-CO-FE - CO Technical Commitee, 21 November 2013
CGFES progressClass implementations nearly done Steen Jensen, BE-CO-FE - CO Technical Commitee, 21 November 2013
CGFES progressClass migration maps nearly done Steen Jensen, BE-CO-FE - CO Technical Commitee, 21 November 2013
CGFES / COHAL estimatesDevelopments/tests Steen Jensen, BE-CO-FE - CO Technical Commitee, 21 November 2013
PlanningDevice migrations * No EIS devices => not needed for access tests in Feb 2014 Steen Jensen, BE-CO-FE - CO Technical Commitee, 21 November 2013
Experiences and suggestions Steen Jensen, BE-CO-FE - CO Technical Commitee, 21 November 2013
Experiences and suggestions Steen Jensen, BE-CO-FE - CO Technical Commitee, 21 November 2013
Conclusions • Changes in many components lead to big debugging overhead • COHAL layer aligned with CO conventions • CGFES FESA3 development 90% done, will be ready on time • Device migrations will be ready on time • Stabilize FESA / CCDB • Stabilize CMX • driverLib versioning, preferably as project/product • Firmware deployment procedure Required in order to prepare for operation: Steen Jensen, BE-CO-FE - CO Technical Commitee, 21 November 2013
Steen Jensen, BE-CO-FE - CO Technical Commitee, 21 November 2013
Device migrations – GM to CGFES current/todo/done Steen Jensen, BE-CO-FE - CO Technical Commitee, 21 November 2013
Device migrations – FESA2 to FESA3 current/todo/done Steen Jensen, BE-CO-FE - CO Technical Commitee, 21 November 2013