Diagnostic tools for automotive ECUs
Diagnostické nástroje pro řídicí jednotky aut
Authors
Supervisors
Reviewers
Editors
Other contributors
Journal Title
Journal ISSN
Volume Title
Publisher
České vysoké učení technické v Praze
Czech Technical University in Prague
Czech Technical University in Prague
Date of defense
Abstract
Vývoj automobilových aplikací vyžaduje přístup k diagnostickým údajům řídicích jednotek (ECU). Zatímco existuje mnoho komerčních aplikací, které tuto funkci poskytují, nabídka řešení s otevřeným zdrojovým kódem je mnohem menší a často má omezenou funkčnost. Tato diplomová práce se tuto situaci pokouší zlepšit. Představuje návrh a implementaci tří knihoven potřebných pro vývoj diagnostické aplikace napsanou v programovacím jazyce Rust. Problémy, které knihovny řeší, jsou asynchronní komunikace přes protokol ISO-TP, asynchronní komunikace přes UDS a parsování databází popsaných standardem ODX. Jsou uvedeny dvě ukázkové aplikace využívající vyvinuté knihovny. Aplikace pro příkazový řádek, která umožňuje provádět základní diagnostické služby a číst data uložená v připojené řídicí jednotce. A aplikace zobrazující proces převodu přijatých dat na reálné hodnoty.
Development of automotive application requires access to diagnostic data of the engine control units (ECUs). While there are many commercial applications providing that functionality, the offer of an open-source solution is much smaller and often of limited functionality. This diploma theses attempts to improve that. It presents the design and implementation of three libraries required for an automotive diagnostic application written in the Rust programming language. The problems solved by the libraries are asynchronous communication over ISO-TP protocol, asynchronous communication over UDS, and parsing of the ODX database. Two example applications using the developed libraries are presented. The command line application that allows the execution of basic diagnostic services and the reading of the data stored in the connected ECU. And the application showing the process of translating the received data into real-world values.
Development of automotive application requires access to diagnostic data of the engine control units (ECUs). While there are many commercial applications providing that functionality, the offer of an open-source solution is much smaller and often of limited functionality. This diploma theses attempts to improve that. It presents the design and implementation of three libraries required for an automotive diagnostic application written in the Rust programming language. The problems solved by the libraries are asynchronous communication over ISO-TP protocol, asynchronous communication over UDS, and parsing of the ODX database. Two example applications using the developed libraries are presented. The command line application that allows the execution of basic diagnostic services and the reading of the data stored in the connected ECU. And the application showing the process of translating the received data into real-world values.
Description
Keywords
Citation
Permanent link
Rights/License
A university thesis is a work protected by the Copyright Act of the Czech Republic. Extracts, copies and transcripts of the thesis are allowed for personal use only and at one`s own expense. The use of thesis should be in compliance with the Copyright Act.
Vysokoškolská závěrečná práce je dílo chráněné autorským zákonem. Je možné pořizovat z něj na své náklady a pro svoji osobní potřebu výpisy, opisy a rozmnoženiny. Jeho využití musí být v souladu s autorským zákonem v platném znění.
Vysokoškolská závěrečná práce je dílo chráněné autorským zákonem. Je možné pořizovat z něj na své náklady a pro svoji osobní potřebu výpisy, opisy a rozmnoženiny. Jeho využití musí být v souladu s autorským zákonem v platném znění.