Download presentation
Presentation is loading. Please wait.
Published byCecily Palmer Modified over 9 years ago
1
Paolo Ciambrone INFN- LNF ODE ECS ODE ECS Off Detector Electronics for the muon system INFN - LNF Servizio Elettronica Laboratori Frascati A. Balla, M. Carletti, P. Ciambrone, G. Felici, M. Gatta
2
Paolo Ciambrone INFN- LNF ODE ECS 6 Apr. 2006 1 ECS interface ECS interface via ELMB cardECS interface via ELMB card –ATmega128 μprocessor with CAN controller –CANbus lines on the backplane 1 branch with up to 16 ODE1 branch with up to 16 ODE –RS232 serial interface for local access ELMB on-board connectionELMB on-board connection –Global reset Startup (programmable)Startup (programmable) ECS ( only way to reset TTCrx and GOL after startup)ECS ( only way to reset TTCrx and GOL after startup) –2 I 2 C bus 24 SYNC24 SYNC 13 GOL, TTCrx, L0 controller13 GOL, TTCrx, L0 controller Configuration, monitor, SYNC histogram read-outConfiguration, monitor, SYNC histogram read-out –1 bus JTAG Boundary scanBoundary scan CAN transceiver powered by ODE power supplyCAN transceiver powered by ODE power supply –Optocoupler must be foresee on PC- CAN interface for galvanic isolation 24 SYNC13 GOL TTCrx Board Controller JTAG Controller JTAG BUS ELMB CAN TRANSCEIVER I 2 C EMULATION JTAG TEST FACILITIES CAN BUS RS232
3
Paolo Ciambrone INFN- LNF ODE ECS 6 Apr. 2006 2 ODE chips and registers 24 SYNC chips24 SYNC chips –24 registers each (17 configuration, 7 monitor) 13 GOL chips13 GOL chips –6 registers each (4 configuration, 2 monitor) 1 TTCrx chips1 TTCrx chips –20 registers (11 configuration, 9 monitor) L0 controllerL0 controller –16 registers (12 configuration, 4 monitor) 690 registers of 8 bits690 registers of 8 bits –Single bit access needed –~ 430 objects in the CAN dictionary –Board configuration required several (many) registers accesses
4
Paolo Ciambrone INFN- LNF ODE ECS 6 Apr. 2006 3 Board configurations DAQ modeDAQ mode –SYNCs, GOLs, TTCrx, L0 controller configuration registers loaded via ECS –Standard acquisition mode DAQ-SYNC Test ModeDAQ-SYNC Test Mode –SYNCs, GOLs, TTCrx, L0 controller configuration registers loaded via ECS –Test DAQ data path Known patterns loaded in SYNC L0 derandomizer via ECSKnown patterns loaded in SYNC L0 derandomizer via ECS “Normal” data readout by board controller“Normal” data readout by board controller DAQ-Internal Test ModeDAQ-Internal Test Mode –GOLs, TTCrx, L0 controller configuration registers loaded via ECS –Test data link integrity and performances Known patterns loaded in L0 board controller via ECSKnown patterns loaded in L0 board controller via ECS 8 bits Pseudo-random sequence8 bits Pseudo-random sequence Trigger test modeTrigger test mode –SYNCs, GOLs, TTCrx configuration registers loaded via ECS –Test trigger link integrity and performances Fixed pattern defined via ECSFixed pattern defined via ECS 8 bits Pseudo-random sequence8 bits Pseudo-random sequence Histogram modeHistogram mode –SYNCs configuration registers loaded via ECS –Histogram readable via ECS DAQ data dumpDAQ data dump –DAQ GOL frame dumped in a internal FIFO –DUMP mode programmable and readable via ECS All TTCrx signals emulated via ECS (L0_YES, BC_res, EV_res, L0_res)All TTCrx signals emulated via ECS (L0_YES, BC_res, EV_res, L0_res) –NO L0_YES needed in test mode
5
Paolo Ciambrone INFN- LNF ODE ECS 6 Apr. 2006 4 ELMB firmware Final ELMB firmware releasedFinal ELMB firmware released –Bridge between CAN (RS232) interface and internal bus (I 2 C, JTag) –CANopen CiA DS-301 standard, limited to the so called Predefinited-Connection-Set but including the SDO Block Download/Upload protocols, and a semi-standard mechanism for Multiple PDO transmission protocol –implementation of an Object-Dictionary with more than 430 objects fully accessible “Standard” ELMB Firmware partially re-written (SEU compliance) for“Standard” ELMB Firmware partially re-written (SEU compliance) for –Optimization of data transfer speed Multiple PDO implemented (data transfer without protocol overhead)Multiple PDO implemented (data transfer without protocol overhead) –Local configuration procedures Single CAN command for board configurationSingle CAN command for board configuration Default settingDefault setting Histogram and dump FIFO downloadHistogram and dump FIFO download –Parallel internal access to minimize dead time –Use of internal EEPROM for data storage; –Implementation of the In-System-Programming, via Bootloader firmware, for the program-code renewing of the ELMB processor
6
Paolo Ciambrone INFN- LNF ODE ECS 6 Apr. 2006 5 Test program Serial interface for local accessSerial interface for local access –RS232 –Program on ELMB flash ram Shell for command decodingShell for command decoding
7
Paolo Ciambrone INFN- LNF ODE ECS 6 Apr. 2006 6 Test program ODE tester programODE tester program –Win32 application (visual basic + DLL in C language) –Management and work-benching of a ODE crate via CAN bus Bus traffic monitor (detailed information for each intercepted message)Bus traffic monitor (detailed information for each intercepted message) Node status monitor and control via Network-Management (NMT) facilityNode status monitor and control via Network-Management (NMT) facility Scripting language console for high level commandScripting language console for high level command CAN-JTag command translator (to be implemented)CAN-JTag command translator (to be implemented) Tool panels forTool panels for –Object-Dictionary access in reading and writing; –CANopen Error-Control-Protocols management: Node-guarding/Heartbeat, Life-guarding; –In-System-Programming; –SYNC chips histogram downloading and graphing; –ODE test procedures; –configuration and default parameters storing/retrieving; –etc... (?)
8
Paolo Ciambrone INFN- LNF ODE ECS 6 Apr. 2006 7 ODE framework Working in progress …Working in progress … –Translate some ODE tester functionalities in PVSS script but: ODE is an “optical” board, therefore its output required an “optical” receiver (TELL1 and Trigger board) to be controlled at he same timeODE is an “optical” board, therefore its output required an “optical” receiver (TELL1 and Trigger board) to be controlled at he same time –Some procedures (alignment, pulsing, …) required a contemporary control of other boards (Service Board, Dialog, …) –What the global experiment ECS want from us … –What can be useful for the Muon detector for monitoring and debug … –Manpower required and time schedule … Only 1 person involved in LNF (perhaps not enough)Only 1 person involved in LNF (perhaps not enough)
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.