Universitat Politècnica de Catalunya. Departament de Física, Universitat Politècnica de Catalunya. LAB - Laboratori d'Aplicacions Bioacústiques, Aiello, Sebastiano, Albert, Arnauld, Alves Garre, Sergio, Aly, Zineb, Ambrosone, Antonio, Ameli, Fabrizio, André, Michel, Androutsou, E., Anghinolfi, Marco, Anguita, M., Aphecetche, Laurent, Ardid Ramírez, Miguel, Ardid Ramírez, Joan Salvador, Atmani, H, Universitat Politècnica de Catalunya. Departament de Física, Universitat Politècnica de Catalunya. LAB - Laboratori d'Aplicacions Bioacústiques, Aiello, Sebastiano, Albert, Arnauld, Alves Garre, Sergio, Aly, Zineb, Ambrosone, Antonio, Ameli, Fabrizio, André, Michel, Androutsou, E., Anghinolfi, Marco, Anguita, M., Aphecetche, Laurent, Ardid Ramírez, Miguel, Ardid Ramírez, Joan Salvador, and Atmani, H
The KM3NeT Collaboration is building and operating two deep sea neutrino telescopes at the bottom of the Mediterranean Sea. The telescopes consist of latices of photomultiplier tubes housed in pressure-resistant glass spheres, called digital optical modules and arranged in vertical detection units. The two main scientific goals are the determination of the neutrino mass ordering and the discovery and observation of high-energy neutrino sources in the Universe. Neutrinos are detected via the Cherenkov light, which is induced by charged particles originated in neutrino interactions. The photomultiplier tubes convert the Cherenkov light into electrical signals that are acquired and timestamped by the acquisition electronics. Each optical module houses the acquisition electronics for collecting and timestamping the photomultiplier signals with one nanosecond accuracy. Once finished, the two telescopes will have installed more than six thousand optical acquisition nodes, completing one of the more complex networks in the world in terms of operation and synchronization. The embedded software running in the acquisition nodes has been designed to provide a framework that will operate with different hardware versions and functionalities. The hardware will not be accessible once in operation, which complicates the embedded software architecture. The embedded software provides a set of tools to facilitate remote manageability of the deployed hardware, including safe reconfiguration of the firmware. This paper presents the architecture and the techniques, methods and implementation of the embedded software running in the acquisition nodes of the KM3NeT neutrino telescopes., The authors acknowledge the financial support of the funding agencies: Agence Nationale de la Recherche (contract ANR-15-CE31-0020), Centre National de la Recherche Scientifique (CNRS), Commission européenne (FEDER fund and Marie Curie Program), Labex UnivEarthS (ANR-10-LABX-0023 and ANR-18-IDEX-0001), Paris Île-de-France Region, France; Shota Rustaveli National Science Foundation of Georgia (SRNSFG, FR-22-13708), Georgia; The General Secretariat of Research and Innovation (GSRI), Greece Istituto Nazionale di Fisica Nucleare (INFN), Ministero dell'Università e della Ricerca (MIUR), PRIN 2017 program (Grant NAT-NET 2017W4HA7S) Italy; Ministry of Higher Education, Scientific Research and Innovation, Morocco, and the Arab Fund for Economic and Social Development, Kuwait; Nederlandse Organisatie voor Wetenschappelijk Onderzoek (NWO), the Netherlands; The National Science Centre, Poland (2021/41/N/ST2/01177); The grant “AstroCeNT: Particle Astrophysics Science and Technology Centre”, carried out within the International Research Agendas programme of the Foundation for Polish Science financed by the European Union under the European Regional Development Fund; National Authority for Scientific Research (ANCS), Romania; Grants PID2021-124591NB-C41, -C42, -C43 funded by MCIN/AEI/ 10.13039/501100011033 and, as appropriate, by “ERDF A way of making Europe”, by the “European Union” or by the “European Union NextGenerationEU/PRTR”, Programa de Planes Complementarios I+D+I (refs. ASFAE/2022/023, ASFAE/2022/014), Programa Prometeo (PROMETEO/2020/019) and GenT (refs. CIDEGENT/2018/034, /2019/043, /2020/049. /2021/23) of the Generalitat Valenciana, Junta de Andalucía (ref. SOMM17/6104/UGR, P18-FR-5057), EU: MSC program (ref. 101025085), Programa María Zambrano (Spanish Ministry of Universities, funded by the European Union, NextGenerationEU), Spain; The European Union's Horizon 2020 Research and Innovation Programme (ChETEC-INFRA - Project no. 101008324)., Peer Reviewed, Article signat per 266 autors/es:S. Aiello, A. Albert, S. Alves Garre, Z. Aly, A. Ambrosone, F. Ameli, M. Andre, E. Androutsou, M. Anghinolfi, M. Anguita, L. Aphecetche, M. Ardid, S. Ardid, H. Atmani, J. Aublin, C. Bagatelas, L. Bailly-Salins, Z. Bardačová, B. Baret, S. Basegmez du Pree, Y. Becherini, M. Bendahman, F. Benfenati , M. Benhassi, D.M. Benoit, E. Berbee, V. Bertin, V. van Beveren, S. Biagi, M. Boettcher, J. Boumaaza, M. Bouta, M. Bouwhuis, C. Bozza, R.M. Bozza, H. Brânzaş, F. Bretaudeau, R. Bruijn, J. Brunner, R. Bruno, E. Buis, R. Buompane, J. Busto, B. Caiffi, D. Calvo, S. Campion, A. Capone, F. Carenini, V. Carretero, T. Cartraud, P. Castaldi, V. Cecchini, S. Celli, L. Cerisy, M. Chabab, M. Chadolias, A. Chen, S. Cherubini , T. Chiarusi, M. Circella, R. Cocimano, J.A.B. Coelho, A. Coleiro, R. Coniglione, P. Coyle, A. Creusot, A. Cruz, G. Cuttone, R. Dallier, Y. Darras, A. De Benedittis, B. De Martino, V. Decoene, R. Del Burgo, L.S. Di Mauro, I. Di Palma, A.F. Díaz, D. Diego-Tortosa, C. Distefano, A. Domi, C. Donzaud, D. Dornic, M. Dörr, E. Drakopoulou, D. Drouhin, R. Dvornický, T. Eberl, E. Eckerová, A. Eddymaoui, T. van Eeden, M. Eff, D. van Eijk, I. El Bojaddaini, S. El Hedri, A. Enzenhöfer, G. Ferrara, M.D. Filipović, F. Filippini, L.A. Fusco, O. Gabella, J. Gabriel, S. Gagliardini, T. Gal, J. García Méndez, A. Garcia Soto, C. Gatius Oliver, N. Geißelbrecht, H. Ghaddari, L. Gialanella, B.K. Gibson, E. Giorgio, A. Girardi, I. Goos, D. Goupilliere, S.R. Gozzini, R. Gracia, K. Graf, C. Guidi, B. Guillon, M. Gutiérrez , H. van Haren, A. Heijboer, A. Hekalo, L. Hennig, J.J. Hernández-Rey, F. Huang, W. Idrissi Ibnsalih, G. Illuminati, C.W. James, P. Jansweijer, M. de Jong, P. de Jong, B.J. Jung, P. Kalaczyński, O. Kalekin, U.F. Katz, N.R. Khan Chowdhury, A. Khatun, G. Kistauri, C. Kopper, A. Kouchner, V. Kulikovskiy, R. Kvatadze, M. Labalme, R. Lahmann, G. Larosa, C. Lastoria, A. Lazo, S. Le Stum, G. Lehaut, E. Leonora, N. Lessing, G. Levi, M. Lindsey Cl, Postprint (published version)