Design of an Alternative Hardware Abstraction Layer for Embedded Systems with Time-Controlled Hardware Access

Gabriel Simmann, Vinay Veeranna, Reiner Kriesten
{"title":"Design of an Alternative Hardware Abstraction Layer for Embedded Systems with Time-Controlled Hardware Access","authors":"Gabriel Simmann, Vinay Veeranna, Reiner Kriesten","doi":"10.4271/2024-01-2989","DOIUrl":null,"url":null,"abstract":"This paper proposes a novel approach to the design of a Hardware Abstraction Layer (HAL) specifically tailored to embedded systems, placing a significant emphasis on time-controlled hardware access. The general concept and utilization of a HAL in industrial projects are widespread, serving as a well-established method in embedded systems development. HALs enhance application software portability, simplify underlying hardware usage by abstracting its inherent complexity and reduce overall development costs through software reusability. Beyond these established advantages, this paper introduces a conceptual framework that addresses critical challenges related to debugging and mitigates input-related problems often encountered in embedded systems. This becomes particularly pertinent in the automotive context, where the intricate operational environment of embedded systems demands robust solutions. The HAL design presented in this paper mitigates these issues. The design is structured as a modular software concept, leveraging the strategic use of configuration tables to provide an abstracted, rapid and well-organized method for configuring hardware. Furthermore, those configuration tables are used to realize an application-specific time-controlled synchronization mechanism between the actual hardware data registers and an internal software representation of those. The application software exclusively interacts with this representation, preventing errors arising from unstable inputs and ensuring strict timing. This paper provides a detailed description of the design, with a focus on its modular structure for an efficient and memory-saving implementation. Moreover, the document explores and discusses potential extensions and adaptations to the proposed design, enhancing its flexibility for individual use cases. In conclusion, this comprehensive exploration seeks to contribute to the advancement of embedded systems development by offering a refined and adaptable HAL design.","PeriodicalId":510086,"journal":{"name":"SAE Technical Paper Series","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-07-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"SAE Technical Paper Series","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4271/2024-01-2989","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

This paper proposes a novel approach to the design of a Hardware Abstraction Layer (HAL) specifically tailored to embedded systems, placing a significant emphasis on time-controlled hardware access. The general concept and utilization of a HAL in industrial projects are widespread, serving as a well-established method in embedded systems development. HALs enhance application software portability, simplify underlying hardware usage by abstracting its inherent complexity and reduce overall development costs through software reusability. Beyond these established advantages, this paper introduces a conceptual framework that addresses critical challenges related to debugging and mitigates input-related problems often encountered in embedded systems. This becomes particularly pertinent in the automotive context, where the intricate operational environment of embedded systems demands robust solutions. The HAL design presented in this paper mitigates these issues. The design is structured as a modular software concept, leveraging the strategic use of configuration tables to provide an abstracted, rapid and well-organized method for configuring hardware. Furthermore, those configuration tables are used to realize an application-specific time-controlled synchronization mechanism between the actual hardware data registers and an internal software representation of those. The application software exclusively interacts with this representation, preventing errors arising from unstable inputs and ensuring strict timing. This paper provides a detailed description of the design, with a focus on its modular structure for an efficient and memory-saving implementation. Moreover, the document explores and discusses potential extensions and adaptations to the proposed design, enhancing its flexibility for individual use cases. In conclusion, this comprehensive exploration seeks to contribute to the advancement of embedded systems development by offering a refined and adaptable HAL design.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
为具有时间控制硬件访问功能的嵌入式系统设计替代硬件抽象层
本文提出了一种专为嵌入式系统设计的硬件抽象层(HAL)的新方法,重点强调时间控制的硬件访问。HAL 的一般概念和在工业项目中的应用非常广泛,是嵌入式系统开发中一种行之有效的方法。HAL 增强了应用软件的可移植性,通过抽象其固有的复杂性简化了底层硬件的使用,并通过软件的可重用性降低了整体开发成本。除了这些公认的优势外,本文还介绍了一种概念框架,可解决与调试相关的关键挑战,并减轻嵌入式系统中经常遇到的与输入相关的问题。这在汽车领域尤为重要,因为嵌入式系统错综复杂的运行环境需要稳健的解决方案。本文介绍的 HAL 设计可以缓解这些问题。该设计采用模块化软件概念,利用配置表的战略性使用,提供了一种抽象、快速和有序的硬件配置方法。此外,这些配置表还用于实现实际硬件数据寄存器与这些寄存器的内部软件表示之间的特定应用时间控制同步机制。应用软件专门与该表示法进行交互,防止因输入不稳定而产生错误,并确保严格的定时。本文详细介绍了这一设计,重点是其模块化结构,以实现高效和节省内存。此外,本文还探讨和讨论了对拟议设计的潜在扩展和调整,以增强其针对个别用例的灵活性。总之,这一全面的探讨旨在通过提供一种精炼且可调整的 HAL 设计,为嵌入式系统开发的进步做出贡献。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Thermal coupled structural analysis of a brake disc Development of Brake Shoe with Carbon Footprint Reduction Emergency Braking System: Verification of system behavior on commercial vehicles equipped with drum braking system Assets Maintenance Strategy Based on Operational Data Analysis Microstructural Analysis and Tribological Performance of Composite Iron Sulfides in Automotive Brake Pads
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1