The aim of this master thesis is to develop the safety code that runs on the Application kit board that Infineon is selling as a kit, to exploit the potentials of the Aurix™ microcontroller. In order to write embedded code for the Aurix™ microcontrollers the first thing was to really understand its internal structure, as well as the mindset to deal with multicore processors. Initially the focus was to take some time to study the user manual of the device in order to be aware of the general structure of the Aurix™ microcontroller. Since the main goal of this thesis work is to develop some safety mechanisms, the next step was to start a process of deep understanding of some functional blocks in order to gain the knowledge to develop specific code for the selected ones. The focus went from one block to another, studying the working principles and their safety issues. Following the Safety manual, the required mechanisms were developed in order to implement them in the project running in the Application Kit board. All this work of safety mechanism development was done in conjunction with the troubleshooting of the code that was already running on the system, also trying to figure out how everything was handled and how to add some other features to the system. A code organization work has also been done in order to use some cores to perform specific tasks and others to handle other requests; this has been done in order to create a code project that could be used as an example for someone that wants to really understand how to integrate the safety mechanisms in a working system, not only as a standalone project.

Lo scopo di questa tesi magistrale è stato quello di sviluppare il codice di sicurezza per la scheda Appkit, creata da Infineon per dimostrare le potenzialità del microcontrollore Aurix™ . Per sviluppare codice embedded per i microcontrollori Aurix™, per prima cosa è necessario capire la struttura interna ed il modo di gestire i processori multicore. Inizialmente il focus del lavoro è stato rivolto allo studio del manuale utente relativo al microcontrollore specifico montato sulla scheda, in modo da acquisire dimestichezza della struttura generale del device. Poichè l’obiettivo principale di questo lavoro di tesi è quello di sviluppare alcuni meccanismi di sicurezza, lo step successivo è stato quello di avviare un processo di profonda comprensione di alcuni blocchi funzionali al fine di acquisire le conoscenze per sviluppare del codice specificatamente dedicato. Il focus in seguito è passato da un blocco all’altro, studiando il principio di funzionamento e le problematiche di sicurezza di ciascuno di essi. I meccanismi richiesti sono stati sviluppati seguendo il Safety manual, in modo da poterli importare successivamente nel progetto software della scheda Application kit. Tutto questo lavoro di sviluppo dei meccanismi di sicurezza è stato svolto in concomitanza con la risoluzione dei problemi che inevitabilmente sorgevano nel momento della modifica del codice che era già in esecuzione sul sistema stesso, cercando anche di capire come venisse gestito il tutto e come aggiungere altre funzionalità al sistema. E’ stato fatto anche una riorganizzazione del codice per fare in modo che il carico di lavoro fosse distribuito in base a specifici criteri, questo per creare un esempio di codice che possa essere usato da chi volesse veramente capire come integrare i meccanismi di sicurezza in un sistema funzionante, non solo sotto forma di progetto indipendente.

Codice di safety per microcontrollori multicore Aurix ed implementazione di safety mechanisms

DISSEGNA, RICCARDO
2022/2023

Abstract

The aim of this master thesis is to develop the safety code that runs on the Application kit board that Infineon is selling as a kit, to exploit the potentials of the Aurix™ microcontroller. In order to write embedded code for the Aurix™ microcontrollers the first thing was to really understand its internal structure, as well as the mindset to deal with multicore processors. Initially the focus was to take some time to study the user manual of the device in order to be aware of the general structure of the Aurix™ microcontroller. Since the main goal of this thesis work is to develop some safety mechanisms, the next step was to start a process of deep understanding of some functional blocks in order to gain the knowledge to develop specific code for the selected ones. The focus went from one block to another, studying the working principles and their safety issues. Following the Safety manual, the required mechanisms were developed in order to implement them in the project running in the Application Kit board. All this work of safety mechanism development was done in conjunction with the troubleshooting of the code that was already running on the system, also trying to figure out how everything was handled and how to add some other features to the system. A code organization work has also been done in order to use some cores to perform specific tasks and others to handle other requests; this has been done in order to create a code project that could be used as an example for someone that wants to really understand how to integrate the safety mechanisms in a working system, not only as a standalone project.
2022
Safety software for multicore Aurix microcontroller and safety mechanisms implementation
Lo scopo di questa tesi magistrale è stato quello di sviluppare il codice di sicurezza per la scheda Appkit, creata da Infineon per dimostrare le potenzialità del microcontrollore Aurix™ . Per sviluppare codice embedded per i microcontrollori Aurix™, per prima cosa è necessario capire la struttura interna ed il modo di gestire i processori multicore. Inizialmente il focus del lavoro è stato rivolto allo studio del manuale utente relativo al microcontrollore specifico montato sulla scheda, in modo da acquisire dimestichezza della struttura generale del device. Poichè l’obiettivo principale di questo lavoro di tesi è quello di sviluppare alcuni meccanismi di sicurezza, lo step successivo è stato quello di avviare un processo di profonda comprensione di alcuni blocchi funzionali al fine di acquisire le conoscenze per sviluppare del codice specificatamente dedicato. Il focus in seguito è passato da un blocco all’altro, studiando il principio di funzionamento e le problematiche di sicurezza di ciascuno di essi. I meccanismi richiesti sono stati sviluppati seguendo il Safety manual, in modo da poterli importare successivamente nel progetto software della scheda Application kit. Tutto questo lavoro di sviluppo dei meccanismi di sicurezza è stato svolto in concomitanza con la risoluzione dei problemi che inevitabilmente sorgevano nel momento della modifica del codice che era già in esecuzione sul sistema stesso, cercando anche di capire come venisse gestito il tutto e come aggiungere altre funzionalità al sistema. E’ stato fatto anche una riorganizzazione del codice per fare in modo che il carico di lavoro fosse distribuito in base a specifici criteri, questo per creare un esempio di codice che possa essere usato da chi volesse veramente capire come integrare i meccanismi di sicurezza in un sistema funzionante, non solo sotto forma di progetto indipendente.
Functional safety
Embedded
micrcontroller
File in questo prodotto:
File Dimensione Formato  
Dissegna_Riccardo.pdf

accesso riservato

Dimensione 12.94 MB
Formato Adobe PDF
12.94 MB Adobe PDF

The text of this website © Università degli studi di Padova. Full Text are published under a non-exclusive license. Metadata are under a CC0 License

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.12608/45622