Kristijan Vlašiček, Ivan Vidovic, N. Teslic, Nenad Pekez
{"title":"Program memory optimization for automatically generated tests for AUTOSAR RTE","authors":"Kristijan Vlašiček, Ivan Vidovic, N. Teslic, Nenad Pekez","doi":"10.1109/ZINC52049.2021.9499293","DOIUrl":null,"url":null,"abstract":"With the technological advancements in the automotive industry, the need for more electronic components has increased as well as for the appropriate software, that is, appropriate drivers. The development of such software is usually based on the AUTOSAR standard, while the required electronics use embedded computer systems. Considering that the embedded computer systems have limited resources, the software needs to be optimized. In this paper, the program memory of the considered software was optimized. The optimization was done using the following methods: introduction of generic functions, extraction of repetitive functions in the header files and dead code elimination. The optimization methods were applied by changing a code fragment written in C programming language. In that way, the program memory optimization method could be applied to all software components (SWCs) using Test Environment Generator (TEG). Afterward, the program code testing was done on a testing board. The results of the testing on board prove the functionality of the optimized program code. The applied methods optimized the memory usage (6.16% reduction) and preserved the functionality of the program code to an appropriate extent.","PeriodicalId":308106,"journal":{"name":"2021 Zooming Innovation in Consumer Technologies Conference (ZINC)","volume":"167 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-05-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 Zooming Innovation in Consumer Technologies Conference (ZINC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ZINC52049.2021.9499293","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
With the technological advancements in the automotive industry, the need for more electronic components has increased as well as for the appropriate software, that is, appropriate drivers. The development of such software is usually based on the AUTOSAR standard, while the required electronics use embedded computer systems. Considering that the embedded computer systems have limited resources, the software needs to be optimized. In this paper, the program memory of the considered software was optimized. The optimization was done using the following methods: introduction of generic functions, extraction of repetitive functions in the header files and dead code elimination. The optimization methods were applied by changing a code fragment written in C programming language. In that way, the program memory optimization method could be applied to all software components (SWCs) using Test Environment Generator (TEG). Afterward, the program code testing was done on a testing board. The results of the testing on board prove the functionality of the optimized program code. The applied methods optimized the memory usage (6.16% reduction) and preserved the functionality of the program code to an appropriate extent.