The invention belongs to the technical field of automobile electronic control, and particularly provides a microcontroller abstraction layer rapid configuration method and device, a microcontroller and a vehicle, and the method comprises the steps: creating corresponding classes for different function modules of a microcontroller chip; configuring class attributes and class methods according to the microcontroller chip; creating a configuration class object; running the class method to complete configuration and generate a configuration file; and importing the configuration file into an EB Tresos tool to generate an MCAL configuration code. If the configuration of the abstraction layer of the microcontroller needs to be modified, the class method of the corresponding configuration class is operated to update the configuration file, and then the step of importing the configuration file into an EB Tresos tool to generate an MCAL configuration code is executed. And the MCAL can be quickly configured, so that the development time is greatly saved.
本发明属于汽车电子控制技术领域,具体提供一种微控制器抽象层快速配置方法、装置、微控制器和车辆,所述方法包括:针对微控制器芯片不同功能模块创建相应的类;根据微控制器芯片配置类属性和类方法;创建配置类对象;运行类方法完成配置并生成配置文件;将配置文件导入EB Tresos工具生成MCAL配置代码。若需修改微控制器抽象层配置,运行相应的配置类的类方法更新配置文件然后执行:将配置文件导入EB Tresos工具生成MCAL配置代码的步骤。能够快速配置MCAL从而大大节约开发时间。
Rapid configuration method and device for abstraction layer of microcontroller, microcontroller and vehicle
一种微控制器抽象层快速配置方法、装置、微控制器和车辆
15.11.2024
Patent
Elektronische Ressource
Chinesisch
Implementing automotive microcontroller abstraction layer ( MCAL ) on 32 bit architectures
Kraftfahrwesen | 2006
|Implementing Automotive Microcontroller Abstraction Layer (MCAL) on 32 bit Architectures
SAE Technical Papers | 2006
|Fault repairing method of vehicle-mounted microcontroller and vehicle-mounted microcontroller
Europäisches Patentamt | 2023
|Wiley | 2020
|Springer Verlag | 2024
|