Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Mdaq-D3 : a C++ Distributed Driver Development Framework
1. Mdaq-D3 :
a C++ Distributed Driver
Development Framework
Chavas Joël, Château Frédéric, Druillole Frédéric,
Usher Nathan, Pollacco Emmanuel
and Anvar Shebli
Joël Chavas (CEA Irfu) – 24 october 2011 – IEEE NSS 2011
3. Control of a system of electronic
cards
ethernet
I2C SPI
AGetBus
Joël Chavas (CEA Irfu) – 24 october 2011 – IEEE NSS 2011
4. A system of electronic cards -
software point of view
Devices I2C
SPI
AgetBus
Node .
Node
.
.
ECC
ECC Ice
Ice
Nodes (with OS)
Nodes (with OS)
VxWorks
VxWorks
Linux
Linux
...
...
Joël Chavas (CEA Irfu) – 24 october 2011 – IEEE NSS 2011
5. Distributed Driver Development -
where we want to arrive
remote driver read / write protocol
functions
Joël Chavas (CEA Irfu) – 24 october 2011 – IEEE NSS 2011
6. Distributed Driver Development -
where we want to arrive
● Remote driver functions using remote register
access
● Dynamic development through configuration
(no recompilation)
Joël Chavas (CEA Irfu) – 24 october 2011 – IEEE NSS 2011
7. A system of electronic cards -
software point of view
Devices I2C
SPI
AgetBus
Node .
Node
.
.
ECC
ECC Ice
Ice
Nodes (with OS):
Nodes (with OS):
VxWorks
VxWorks
Linux
Linux
...
...
Joël Chavas (CEA Irfu) – 24 october 2011 – IEEE NSS 2011
12. GET configuration
ONE POLICY PER DEVICE
Joël Chavas (CEA Irfu) – 24 october 2011 – IEEE NSS 2011
13. Distributed Driver Development -
user guide
● Prototype
● define the access policies
● configuration: interface between firmware and software
● remote driver functions on the ECC
● Final product
● Some driver functions brought to the nodes for the sake of
performance
● In both cases
● system structure defined at run-time (configuration)
Joël Chavas (CEA Irfu) – 24 october 2011 – IEEE NSS 2011
17. A run
remote driver access policies
functions
Joël Chavas (CEA Irfu) – 24 october 2011 – IEEE NSS 2011
18. A run
remote driver access policies
functions
configure
Joël Chavas (CEA Irfu) – 24 october 2011 – IEEE NSS 2011
19. A run
remote driver read / write protocol
functions
Joël Chavas (CEA Irfu) – 24 october 2011 – IEEE NSS 2011
20. From prototype to performance
move some driver functions
into the cards
Joël Chavas (CEA Irfu) – 24 october 2011 – IEEE NSS 2011
21. Your application as an ECC client
ECC client ::
ECC client
script
script
GUII
GU Ecc
Ecc
testbench
testbench
..
..
..
Joël Chavas (CEA Irfu) – 24 october 2011 – IEEE NSS 2011
22. Libraries
●
CompoundConfig
●
Flexible advanced configuration tool
●
Mdaq-D3
●
A Distributed Driver Development framework
Today’s distribution mode: ask Shebli Anvar or
myself for a tarball (Shebli.Anvar@cea.fr;
joel.chavas@cea.fr)
Licencing: GPL-like Cecill (open source, special
contract for proprietary licencing)
Joël Chavas (CEA Irfu) – 24 october 2011 – IEEE NSS 2011
23. Conclusion
● Mdaq-D3:
● A framework for the slow control of a system of
electronic cards
● Distributed driver development
(through remote register access)
● Dynamic development through configuration
(no recompilation)
● An interface between firmware and software
Joël Chavas (CEA Irfu) – 24 october 2011 – IEEE NSS 2011
24. Thanks
● Engineers:
● Shebli Anvar, Frédéric Druillole, Nathan Usher,
Patrick Sizun
● Grants:
● ANR GET
● Eurotalents program
Joël Chavas (CEA Irfu) – 24 october 2011 – IEEE NSS 2011
25. Mdaq-D3 for a dynamic
Distributed Driver Development
remote driver read / write protocol
functions
configuration
Joël Chavas (CEA Irfu) – 24 october 2011 – IEEE NSS 2011