CN115658321A - Method and device for acquiring fault information of automobile instrument, electronic equipment and storage medium - Google Patents
Method and device for acquiring fault information of automobile instrument, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115658321A CN115658321A CN202211426708.4A CN202211426708A CN115658321A CN 115658321 A CN115658321 A CN 115658321A CN 202211426708 A CN202211426708 A CN 202211426708A CN 115658321 A CN115658321 A CN 115658321A
- Authority
- CN
- China
- Prior art keywords
- sram
- information
- abnormal
- log buffer
- buffer area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
本申请涉及汽车仪表技术领域,具体提供一种汽车仪表故障信息获取方法、装置、电子设备及存储介质,利用汽车仪表MCU的异常中断机制获取实时操作系统RTOS的异常现场信息,并且基于静态随机存取存储器SRAM的保留特性,避免异常现场信息丢失,通过SPI总线将异常现场信息中包含的CPU状态寄存器和堆栈信息发送给车机SOC,进而利于研发人员调用并分析异常现场信息、以定位问题,有效的节约了复现和排除故障的时间,提高仪表软件质量。其中,通过校验SRAM中日志缓存区的更新标记,来判断是否要发送SRAM中日志缓存区存储的CPU状态寄存器和堆栈信息,能够避免SPI总线负载的不必要占用。
This application relates to the technical field of automobile instrumentation, and specifically provides a method, device, electronic equipment, and storage medium for obtaining fault information of automobile instrumentation, which utilizes the abnormal interruption mechanism of the MCU of the automobile instrumentation to obtain abnormal field information of the real-time operating system RTOS, and based on static random memory Taking advantage of the retention characteristics of the memory SRAM to avoid the loss of abnormal site information, the CPU status register and stack information contained in the abnormal site information are sent to the SOC of the vehicle through the SPI bus, which is beneficial for the R&D personnel to call and analyze the abnormal site information to locate the problem. It effectively saves the time for reappearance and troubleshooting, and improves the quality of instrument software. Wherein, by checking the update flag of the log buffer area in the SRAM, it is judged whether to send the CPU status register and stack information stored in the log buffer area in the SRAM, which can avoid unnecessary occupation of the SPI bus load.
Description
技术领域technical field
本申请涉及汽车仪表技术领域,具体而言,涉及一种汽车仪表故障信息获取方法、装置、电子设备及存储介质。The present application relates to the technical field of automobile instrumentation, in particular, to a method, device, electronic equipment and storage medium for acquiring fault information of an automobile instrumentation.
背景技术Background technique
汽车仪表由各种仪表、指示器,特别是驾驶员用警示灯报警器等组成,为驾驶员提供所需的汽车运行参数信息。当汽车仪表程序运行过程中出现问题时,就需要第一时间得到故障时的仪表状态,以进行问题分析。Automobile instruments are composed of various instruments and indicators, especially warning lights and alarms for drivers, etc., which provide drivers with the required information on automobile operating parameters. When a problem occurs during the operation of the automobile instrument program, it is necessary to obtain the instrument status at the time of the failure in the first time for problem analysis.
目前,汽车仪表MCU日志的获取方式,大多是在电路板上插仿真器或者串口,通过在线工具实时获取。但是在量产仪表上留有Jtag插座(仿真器接插件)或者串口插座对产品的信息安全是有挑战的,一般不允许在量产仪表上保留会泄露系统信息的接插件,所以量产仪表上无法通过在线工具获取MCU的异常信息;并且异常现场不可能一直保留,只要仪表发生掉电或者重启,现场信息就丢失了,对于后续的分析、定位问题是十分不利的。另外,系统崩溃或者软件异常在量产版本上都是极低概率复现的,一旦无法获取异常发生时的现场信息,通过复现的方式还原故障现场会消耗大量的时间成本。At present, the way to obtain the MCU log of the automobile instrument is mostly to insert an emulator or a serial port on the circuit board, and obtain it in real time through online tools. However, leaving Jtag sockets (emulator connectors) or serial port sockets on mass-produced instruments is a challenge to product information security. Generally, it is not allowed to retain connectors that will leak system information on mass-produced instruments, so mass-produced instruments It is impossible to obtain the abnormal information of the MCU through online tools; and it is impossible to keep the abnormal site all the time. Once the instrument is powered off or restarted, the on-site information will be lost, which is very unfavorable for subsequent analysis and positioning problems. In addition, system crashes or software abnormalities are very low-probability recurrences in the mass-produced version. Once the on-site information at the time of the abnormality cannot be obtained, it will consume a lot of time and cost to restore the fault site through recurrence.
发明内容Contents of the invention
有鉴于此,本申请的目的在于提供一种汽车仪表故障信息获取方法、装置、电子设备及存储介质,能够基于静态随机存取存储器SRAM的保留特性,实现系统异常时CPU状态信息以及堆栈信息的获取,利于分析和定位汽车仪表问题。In view of this, the purpose of this application is to provide a method, device, electronic equipment and storage medium for acquiring fault information of automobile meters, which can realize the storage of CPU status information and stack information when the system is abnormal based on the retention characteristics of the static random access memory (SRAM). Acquisition is beneficial for analyzing and locating car instrument problems.
本申请实施例提供的一种汽车仪表故障信息获取方法,包括以下步骤:A method for acquiring fault information of an automobile meter provided in an embodiment of the present application includes the following steps:
将汽车仪表MCU中的静态随机存取存储器SRAM划分出日志缓存区;Divide the static random access memory SRAM in the automobile instrument MCU into the log buffer area;
基于所述汽车仪表MCU的异常中断机制获取实时操作系统RTOS的异常现场信息,并将所述RTOS的异常现场信息存储至所述SRAM中的日志缓存区;其中,所述RTOS的异常现场信息包括CPU状态寄存器和堆栈信息;Obtain the abnormal site information of the real-time operating system RTOS based on the abnormal interruption mechanism of the automobile instrument MCU, and store the abnormal site information of the RTOS into the log buffer area in the SRAM; wherein, the abnormal site information of the RTOS includes CPU status register and stack information;
基于SPI总线将存储至所述SRAM日志缓冲区中的异常现场信息发送至车机SOC。Based on the SPI bus, the abnormal site information stored in the SRAM log buffer is sent to the vehicle-machine SOC.
在一些实施例中,通过如下方式所述将汽车仪表MCU中的静态随机存取存储器SRAM划分出日志缓冲区:In some embodiments, the static random access memory SRAM in the automobile instrument MCU is divided into a log buffer as described in the following manner:
修改汽车仪表MCU的链接脚本文件,从SRAM中划分出日志缓存区,并将所述日志缓存区配置为保存模式,以使SRAM的存储阵列不掉电,保持所述日志缓存区中的数据。Modify the link script file of the automotive instrument MCU, divide the log buffer area from the SRAM, and configure the log buffer area as a save mode, so that the storage array of the SRAM will not be powered down and keep the data in the log buffer area.
在一些实施例中,所述基于所述汽车仪表MCU的异常中断机制获取实时操作系统RTOS的异常现场信息,包括以下步骤:In some embodiments, the abnormal interruption mechanism based on the automobile instrument MCU obtains the abnormal scene information of the real-time operating system RTOS, comprising the following steps:
响应汽车仪表MCU发生的异常,执行获取CPU状态寄存器和堆栈信息的命令;Respond to the abnormality of the MCU of the car instrument, execute the command to obtain the CPU status register and stack information;
基于RTOS的栈溢出钩子函数获取CPU状态寄存器和堆栈信息,得到实时操作系统RTOS的异常现场信息。The stack overflow hook function based on RTOS obtains the CPU status register and stack information, and obtains the abnormal scene information of the real-time operating system RTOS.
在一些实施例中,所述将所述RTOS的异常现场信息存储至所述SRAM中的日志缓存区之后,还包括以下步骤:In some embodiments, after storing the abnormal scene information of the RTOS into the log buffer area in the SRAM, the following steps are further included:
对所述SRAM中日志缓存区设置更新标记。An update flag is set for the log buffer area in the SRAM.
在一些实施例中,所述基于SPI总线将存储至所述SRAM日志缓冲区中的异常现场信息发送至车机SOC,包括以下步骤:In some embodiments, the sending of the abnormal scene information stored in the SRAM log buffer to the vehicle-machine SOC based on the SPI bus includes the following steps:
校验所述SRAM中日志缓存区的更新标记;Check the update mark of the log buffer area in the SRAM;
若所述SRAM中日志缓存区存在更新标记,解析所述SRAM中日志缓存区中的数据,获取所述汽车仪表MCU上次发生异常时的CPU状态寄存器和堆栈信息;If there is an update mark in the log buffer area in the SRAM, analyze the data in the log buffer area in the SRAM, and obtain the CPU status register and stack information when the automotive instrument MCU was abnormal last time;
将获取的所述CPU状态寄存器和堆栈信息基于SPI总线发送至车机SOC,并清除所述SRAM中日志缓存区的更新标记。Send the obtained CPU status register and stack information to the SOC of the vehicle based on the SPI bus, and clear the update flag of the log buffer area in the SRAM.
在一些实施例中,将获取的所述CPU状态寄存器和堆栈信息基于SPI总线发送至车机SOC的嵌入式多媒体卡中,以日志文件的方式进行保存,用于调取所述日志文件并进行分析,定位汽车仪表故障。In some embodiments, the obtained CPU status register and stack information are sent to the embedded multimedia card of the vehicle-machine SOC based on the SPI bus, and stored in the form of a log file for calling the log file and performing Analyze and locate vehicle instrument faults.
在一些实施例中,从所述SRAM中至少划分出2K字节的区域作为日志缓存区。In some embodiments, an area of at least 2K bytes is allocated from the SRAM as a log buffer area.
本申请实施例提供的一种汽车仪表故障信息获取装置,所述装置包括:An embodiment of the present application provides a device for acquiring fault information of an automobile instrument, the device comprising:
划分模块,用于将汽车仪表MCU中的静态随机存取存储器SRAM划分出日志缓存区;Divide module, be used for dividing the static random access memory SRAM in the automobile meter MCU into the log cache area;
获取模块,用于基于所述汽车仪表MCU的异常中断机制获取实时操作系统RTOS的异常现场信息,并将所述RTOS的异常现场信息存储至所述SRAM中的日志缓存区;其中,所述RTOS的异常现场信息包括CPU状态寄存器和堆栈信息;The obtaining module is used to obtain the abnormal site information of the real-time operating system RTOS based on the abnormal interruption mechanism of the automobile instrument MCU, and store the abnormal site information of the RTOS into the log buffer area in the SRAM; wherein the RTOS The abnormal scene information includes CPU status register and stack information;
发送模块,用于基于SPI总线将存储至所述SRAM日志缓冲区中的异常现场信息发送至车机SOC。The sending module is configured to send the abnormal site information stored in the SRAM log buffer to the vehicle-machine SOC based on the SPI bus.
本申请实施例提供的一种电子设备,包括处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当电子设备运行时,所述处理器与所述存储器之间通过总线通信,所述机器可读指令被所述处理器执行时执行上述任一项所述的汽车仪表故障信息获取方法的步骤。An electronic device provided by an embodiment of the present application includes a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor and the memory communicate with each other through the bus, and when the machine-readable instructions are executed by the processor, the steps of the method for acquiring fault information of the vehicle instrument described in any one of the above are executed.
本申请实施例提供的一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行上述任一项所述的汽车仪表故障信息获取方法的步骤。A computer-readable storage medium provided by an embodiment of the present application, the computer-readable storage medium stores a computer program, and when the computer program is run by a processor, it executes the steps of any one of the above-mentioned method for acquiring fault information of an automobile instrument .
本申请所述的一种汽车仪表故障信息获取方法、装置、电子设备及存储介质,将汽车仪表MCU中的静态随机存取存储器SRAM划分出日志缓存区;基于所述汽车仪表MCU的异常中断机制获取实时操作系统RTOS的异常现场信息,并将所述RTOS的异常现场信息存储至所述SRAM中的日志缓存区;其中,所述RTOS的异常现场信息包括CPU状态寄存器和堆栈信息;基于SPI总线将存储至所述SRAM日志缓冲区中的异常现场信息发送至车机SOC,避免汽车仪表发生掉电或者重启,现场信息丢失的问题,进而利于研发人员调用并分析异常现场信息、以定位问题,有效的节约了复现和排除故障的时间,提高仪表软件质量。A method, device, electronic equipment, and storage medium for acquiring fault information of an automobile meter described in the application divide the static random access memory SRAM in the automobile meter MCU into a log buffer area; based on the abnormal interruption mechanism of the automobile meter MCU Obtain the abnormal site information of the real-time operating system RTOS, and store the abnormal site information of the RTOS into the log buffer area in the SRAM; wherein, the abnormal site information of the RTOS includes CPU status registers and stack information; based on the SPI bus Send the abnormal site information stored in the SRAM log buffer to the car machine SOC to avoid the problem of loss of site information caused by power failure or restart of the vehicle instrument, and then facilitate the R&D personnel to call and analyze the abnormal site information to locate the problem. It effectively saves the time for reappearance and troubleshooting, and improves the quality of instrument software.
在某些实施例中,通过校验SRAM中日志缓存区的更新标记,来判断是否要发送SRAM中日志缓存区存储的CPU状态寄存器和堆栈信息,进而避免占用SPI总线的负载。In some embodiments, by checking the update flag of the log buffer area in the SRAM, it is judged whether to send the CPU status register and stack information stored in the log buffer area in the SRAM, thereby avoiding the load of the SPI bus.
附图说明Description of drawings
为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the accompanying drawings used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, so It should be regarded as a limitation on the scope, and those skilled in the art can also obtain other related drawings based on these drawings without creative work.
图1示出了本申请实施例提供的所述汽车仪表故障信息获取方法的流程图;Fig. 1 shows the flowchart of the method for obtaining fault information of the vehicle instrument provided by the embodiment of the present application;
图2示出了本申请实施例提供的所述车机SOC与汽车仪表MCU的连接框图;Fig. 2 shows the block diagram of the connection between the SOC of the vehicle and the MCU of the vehicle instrument provided by the embodiment of the present application;
图3示出了本申请实施例提供的基于所述汽车仪表MCU的异常中断机制获取实时操作系统RTOS的异常现场信息的流程图;Fig. 3 shows the flow chart of obtaining the abnormal site information of the real-time operating system RTOS based on the abnormal interruption mechanism of the automobile instrument MCU provided by the embodiment of the present application;
图4示出了本申请实施例提供的基于SPI总线将存储至所述SRAM日志缓冲区中的异常现场信息发送至车机SOC的流程图;Fig. 4 shows the flow chart of sending the abnormal site information stored in the SRAM log buffer to the vehicle-machine SOC based on the SPI bus provided by the embodiment of the present application;
图5示出了本申请实施例提供的车机SOC保存的日志文件的示意图;FIG. 5 shows a schematic diagram of log files saved by the vehicle-machine SOC provided by the embodiment of the present application;
图6示出了本申请实施例提供的汽车仪表故障信息获取装置的结构框图;Fig. 6 shows the structural block diagram of the automobile meter failure information acquisition device that the embodiment of the present application provides;
图7示出了本申请实施例提供的电子设备的结构框图。FIG. 7 shows a structural block diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,应当理解,本申请中附图仅起到说明和描述的目的,并不用于限定本申请的保护范围。另外,应当理解,示意性的附图并未按实物比例绘制。本申请中使用的流程图示出了根据本申请的一些实施例实现的操作。应该理解,流程图的操作可以不按顺序实现,没有逻辑的上下文关系的步骤可以反转顺序或者同时实施。此外,本领域技术人员在本申请内容的指引下,可以向流程图添加一个或多个其他操作,也可以从流程图中移除一个或多个操作。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the appended The figures are only for the purpose of illustration and description, and are not used to limit the protection scope of the present application. Additionally, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented in accordance with some embodiments of the application. It should be understood that the operations of the flowcharts may be performed out of order, and steps that have no logical context may be performed in reverse order or concurrently. In addition, those skilled in the art may add one or more other operations to the flowchart or remove one or more operations from the flowchart under the guidance of the content of the present application.
另外,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和标出的本申请实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。In addition, the described embodiments are only some of the embodiments of the present application, but not all of the embodiments. The components of the embodiments of the application generally described and identified in the drawings herein may be arranged and designed in a variety of different configurations. Accordingly, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of the present application.
需要说明的是,本申请实施例中将会用到术语“包括”,用于指出其后所声明的特征的存在,但并不排除增加其它的特征。It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features stated later, but does not exclude the addition of other features.
随着车辆的普及和发展,汽车仪表的功能也越来越丰富,其结构和系统也随之越来越复杂,在运行过程中出现故障的概率逐渐增大,如果不能获取汽车仪表的故障信息,很难定位问题,也无法进行分析并得到解决,进而造成安全隐患。尽管在现有技术中能够通过日志的方式获取汽车仪表的故障信息,但是如果出现系统崩溃或者应用逻辑死锁,日志发送线程均无法将异常现场信息发送给车机,并且目前的日志获取手段中没有获取CPU状态寄存器和堆栈信息,而这些信息定位汽车仪表问题的关键信息。基于此,本申请提出了一种汽车仪表故障信息获取方法、装置、电子设备及存储介质,能够基于静态随机存取存储器SRAM的保留特性,实现系统异常时CPU状态信息以及堆栈信息的获取,利于分析和定位汽车仪表问题。With the popularization and development of vehicles, the functions of automobile instrumentation are becoming more and more abundant, and its structure and system are also becoming more and more complex. The probability of failure during operation is gradually increasing. , it is difficult to locate the problem, and it is impossible to analyze and solve it, thus causing security risks. Although the fault information of the vehicle instrument can be obtained through the log in the prior art, if the system crashes or the application logic deadlock occurs, the log sending thread cannot send the abnormal site information to the vehicle, and the current log acquisition method CPU status registers and stack information, which are critical to locating the car's instrumentation issue, were not captured. Based on this, the application proposes a method, device, electronic equipment and storage medium for obtaining fault information of automobile meters, which can realize the acquisition of CPU status information and stack information when the system is abnormal based on the retention characteristics of static random access memory SRAM, which is beneficial to Analyze and locate automotive instrumentation issues.
参见说明书附图1,本申请实施例提供一种汽车仪表故障信息获取方法,所述方法包括以下步骤:Referring to accompanying drawing 1 of specification sheet, the embodiment of the present application provides a kind of automobile instrument failure information acquisition method, described method comprises the following steps:
S1、将汽车仪表MCU中的静态随机存取存储器SRAM划分出日志缓存区;S1, dividing the static random access memory SRAM in the automobile instrument MCU into a log buffer area;
为了清楚地了解本发明实施例的技术方案,可以先对应用场景进行示例性说明。所述汽车仪表独立于车机SOC(System on Chip片上系统)之外单独设置,但是汽车仪表MCU(Microcontroller Unit,微控单元)与车机SOC之间设置用于数据传输的SPI总线,在本申请中,主要通过SPI总线将SRAM所存储的汽车仪表发生故障时的现场异常信息发送给车机SOC。具体的,所述车机SOC与所述汽车仪表MCU的连接关系参见说明书附图2,其中,对于硬件部分,车机SOC和汽车仪表MCU均设置SPI控制器,汽车仪表MCU中设置SRAM(StaticRandom-Access Memory,静态随机存取存储器),车机SOC设置与其连接的存储设备和4G/5G通信模块;对于软件部分,汽车仪表MCU安装有SPI控制器驱动以及RTOS(Real TimeOperating System,实时操作系统)和要执行的日志线程,车机SOC安装有Android系统底层驱动以及Android系统和日志模块。In order to clearly understand the technical solutions of the embodiments of the present invention, an example application scenario may be described first. The car instrument is set independently from the car machine SOC (System on Chip System on Chip), but the SPI bus for data transmission is set between the car machine MCU (Microcontroller Unit, micro control unit) and the car machine SOC. In the application, the on-site abnormal information stored in the SRAM when the vehicle instrument fails is mainly sent to the vehicle SOC through the SPI bus. Specifically, the connection relationship between the SOC of the vehicle and the MCU of the vehicle instrument is shown in Figure 2 of the specification. -Access Memory, static random access memory), the storage device connected to the SOC of the car and the 4G/5G communication module; for the software part, the MCU of the car instrument is installed with an SPI controller driver and RTOS (Real TimeOperating System, real-time operating system ) and the log thread to be executed, the car-machine SOC is installed with the bottom layer driver of the Android system and the Android system and the log module.
基于上述车机SOC和汽车仪表MCU配置的硬件部分和软件部分,通过日志的方式将SRAM所存储的汽车仪表发生故障时的现场异常信息发送给车机SOC是完全能够实现的,其工作原理应为本领域技术人员所熟知的,在此不做赘述。Based on the above-mentioned hardware and software parts of the SOC of the vehicle and the MCU configuration of the vehicle instrument, it is completely possible to send the on-site abnormal information of the vehicle instrument stored in the SRAM to the SOC of the vehicle through logs. The working principle should be It is well known to those skilled in the art, and will not be repeated here.
步骤S1中,所述SRAM是随机存取存储器的一种,所谓的“静态”是指这种存储器只要保持通电,里面储存的数据就可以恒常保持,相对之下,动态随机存取存储器DRAM里面所储存的数据就需要周期性地更新。在本申请中,通过修改汽车仪表MCU的链接脚本文件,从SRAM中划分出日志缓存区,并将所述日志缓存区配置为保存模式,以使SRAM的存储阵列不掉电,保持所述日志缓存区中的数据。In step S1, the SRAM is a kind of random access memory. The so-called "static" means that as long as the memory is powered on, the data stored in it can be kept constantly. In contrast, the dynamic random access memory DRAM The stored data needs to be updated periodically. In this application, by modifying the link script file of the automobile instrument MCU, the log buffer area is divided from the SRAM, and the log buffer area is configured as a save mode, so that the storage array of the SRAM is not powered off, and the log buffer is kept. data in the cache.
在一实施例中,从SRAM中至少划分出2K字节的区域作为日志缓存区,用于后续保存汽车仪表发生故障时的现场异常信息。在其他实施例中,从SRAM中划分的日志缓存区的大小可以根据实际需要进行设置,本申请并对此进行限制和固定。In one embodiment, an area of at least 2K bytes is allocated from the SRAM as a log buffer area, which is used to subsequently save on-site abnormal information when an automobile instrument fails. In other embodiments, the size of the log buffer area divided from the SRAM can be set according to actual needs, which is not limited and fixed in this application.
S2、基于所述汽车仪表MCU的异常中断机制获取实时操作系统RTOS的异常现场信息,并将所述RTOS的异常现场信息存储至所述SRAM中的日志缓存区;其中,所述RTOS的异常现场信息包括CPU状态寄存器和堆栈信息;S2. Obtain the abnormal site information of the real-time operating system RTOS based on the abnormal interruption mechanism of the automobile instrument MCU, and store the abnormal site information of the RTOS into the log buffer area in the SRAM; wherein, the abnormal site information of the RTOS Information includes CPU status registers and stack information;
步骤S2中,所述汽车仪表MCU的异常中断机制是指汽车仪表MCU在程序运行过程中发生异常(某些异常状态或者一些系统的事件)时,去执行一些预先设定的,具有更高执行权利的命令,从而系统平滑的运行,待这更高执行权利的命令执行完毕之后,再返回发生异常的现场。在本申请中,通过预先设定,将具有更高执行权利的命令设定为:获取实时操作系统RTOS的异常现场信息,即CPU状态寄存器和堆栈信息。In step S2, the abnormal interruption mechanism of the automobile instrument MCU refers to that when the automobile instrument MCU is abnormal (some abnormal state or some system events) in the process of program operation, it will execute some preset, with higher execution The command of the right, so that the system runs smoothly, and returns to the scene where the abnormality occurred after the command of the higher execution right is executed. In this application, by presetting, the command with higher execution rights is set as: obtaining the abnormal scene information of the real-time operating system RTOS, that is, CPU status register and stack information.
在一实施例中,参见说明书附图3,所述基于所述汽车仪表MCU的异常中断机制获取实时操作系统RTOS的异常现场信息,包括以下步骤:In one embodiment, referring to accompanying drawing 3 of specification sheet, described based on the abnormal interruption mechanism of described automobile meter MCU obtains the abnormal field information of real-time operating system RTOS, comprises the following steps:
S201、响应汽车仪表MCU发生的异常,执行获取CPU状态寄存器和堆栈信息的命令;S201, in response to the abnormality that occurs in the MCU of the automobile instrument, execute the command to obtain the CPU status register and stack information;
S202、基于RTOS的栈溢出钩子函数获取CPU状态寄存器和堆栈信息,得到实时操作系统RTOS的异常现场信息;S202, the stack overflow hook function based on the RTOS obtains the CPU status register and the stack information, and obtains the abnormal scene information of the real-time operating system RTOS;
其中,所述钩子函数是实时操作系统RTOS的回调函数,在该实施例中,当汽车仪表MCU发生异常时,立即执行获取当前CPU状态寄存器和堆栈信息的命令,而该执行获取当前CPU状态寄存器和堆栈信息的命令即为钩子函数的触发条件,获取CPU状态寄存器和堆栈信息,进而得到实时操作系统RTOS的异常现场信息,并将得到的RTOS异常现场信息存储至SRAM中的日志缓存区。例如,当汽车仪表MCU上运行的实时操作系统RTOS检测到异常或者系统崩溃时,立即将当前处理器运行的现场信息保存至SRAM中的日志缓存区,比如PC(通用寄存器)指针,LR寄存器,堆栈指针等信息。Wherein, the hook function is a callback function of the real-time operating system RTOS. In this embodiment, when the automobile meter MCU is abnormal, it immediately executes the command to obtain the current CPU status register and stack information, and the execution obtains the current CPU status register. The command and stack information is the trigger condition of the hook function, and the CPU status register and stack information are obtained, and then the abnormal scene information of the real-time operating system RTOS is obtained, and the obtained RTOS abnormal scene information is stored in the log buffer area in the SRAM. For example, when the real-time operating system RTOS running on the MCU of the automobile instrument detects an abnormality or the system crashes, it immediately saves the on-site information of the current processor operation to the log buffer area in the SRAM, such as the PC (general register) pointer, LR register, stack pointer and other information.
S3、基于SPI总线将存储至所述SRAM日志缓冲区中的异常现场信息发送至车机SOC。S3. Send the abnormal field information stored in the SRAM log buffer to the vehicle SOC based on the SPI bus.
即,在基于SRAM的保留特性,获取汽车仪表MCU发生异常时CPU状态寄存器和堆栈信息之后,通过SPI总线将存储至所述SRAM日志缓冲区中的异常现场信息发送至车机SOC。由于汽车仪表异常的现象属于少数,若每次汽车仪表重启,就直接将SRAM日志缓冲区中的异常现场信息发送至车机SOC,势必会造成SPI总线负载的不必要占用,毕竟SRAM日志缓冲区中的异常现场信息可能是很久之前的了。基于此,在本申请中,为了避免过度占用SPI总线负载,将所述RTOS的异常现场信息存储至所述SRAM中的日志缓存区之后,还对所述SRAM中日志缓存区设置更新标记。That is, after obtaining the CPU status register and stack information when the MCU of the automobile meter is abnormal based on the retention characteristics of the SRAM, the abnormal scene information stored in the SRAM log buffer is sent to the vehicle SOC through the SPI bus. Since the abnormality of the car meter is rare, if the car meter is restarted every time, the abnormal scene information in the SRAM log buffer is directly sent to the car SOC, which will inevitably cause unnecessary occupation of the SPI bus load. After all, the SRAM log buffer The anomaly site information in may be a long time ago. Based on this, in this application, in order to avoid excessive occupation of the SPI bus load, after the abnormal site information of the RTOS is stored in the log buffer area in the SRAM, an update flag is also set in the log buffer area in the SRAM.
在一实施例中,参见说明书附图4,所述基于SPI总线将存储至所述SRAM日志缓冲区中的异常现场信息发送至车机SOC,包括以下步骤:In one embodiment, referring to accompanying drawing 4 of the description, the sending of the abnormal site information stored in the SRAM log buffer to the vehicle-machine SOC based on the SPI bus includes the following steps:
S301、校验所述SRAM中日志缓存区的更新标记;S301. Verify the update flag of the log buffer area in the SRAM;
S302、若所述SRAM中日志缓存区存在更新标记,解析所述SRAM中日志缓存区中的数据,获取所述汽车仪表MCU上次发生异常时的CPU状态寄存器和堆栈信息;S302. If there is an update mark in the log buffer area in the SRAM, analyze the data in the log buffer area in the SRAM, and obtain the CPU status register and stack information when the automotive meter MCU was abnormal last time;
S303、将获取的所述CPU状态寄存器和堆栈信息基于SPI总线发送至车机SOC,并清除所述SRAM中日志缓存区的更新标记。S303. Send the obtained CPU status register and stack information to the vehicle SOC based on the SPI bus, and clear the update flag of the log buffer area in the SRAM.
即,在汽车仪表重启之后,先校验SRAM中日志缓存区的更新标记,若存在更新标记,说明汽车仪表MCU在上次运行过程中出现了异常,并存储到了当时的CPU状态寄存器和堆栈信息,则通过SPI总线发送至车机SOC,同时清除SRAM中日志缓存区的更新标记,以避免下次汽车仪表重启之后通过SPI总线重复发送SRAM中日志缓存区的数据;而若,汽车仪表重启之后,校验到SRAM中日志缓存区不存在更新标记,车辆正常工作,并不占用SPI总线负载处理异常。That is, after the car instrument is restarted, first check the update flag of the log buffer in the SRAM. If there is an update flag, it means that the car instrument MCU has an exception during the last operation, and it is stored in the CPU status register and stack information at that time. , then send it to the SOC of the car through the SPI bus, and clear the update flag of the log buffer area in the SRAM at the same time, so as to avoid repeatedly sending the data in the log buffer area in the SRAM through the SPI bus after the next restart of the car meter; and if, after the car meter restarts , it is verified that there is no update flag in the log buffer area in the SRAM, the vehicle works normally, and does not occupy the SPI bus load to handle exceptions.
其中,将获取的所述CPU状态寄存器和堆栈信息基于SPI总线发送至车机SOC的嵌入式多媒体卡中,以日志文件的方式进行保存,用于后期调取所述日志文件并进行分析,定位汽车仪表故障。在一实施例中,所述日志为是文本文件,可以通过4G/5G通信模块或者USB等接口通过车机SOC进行调取,然后用记事本打开以查看内容。例如,参见说明书附图5,通过车机SOC获取的日志文件的内容如下:Wherein, the obtained CPU state register and stack information are sent to the embedded multimedia card of the vehicle SOC based on the SPI bus, and are saved in the form of a log file, which is used for later retrieval of the log file and analysis, positioning Car gauge malfunction. In one embodiment, the log is a text file, which can be retrieved through the SOC of the vehicle through an interface such as a 4G/5G communication module or USB, and then opened with Notepad to view the content. For example, referring to Figure 5 of the manual, the content of the log file obtained through the vehicle-machine SOC is as follows:
RFault:0xf7f8f9fa,RO:0xa5a5a5a5RFault: 0xf7f8f9fa, RO: 0xa5a5a5a5
R1:0x60000000,R2:0x280421e4R1: 0x60000000, R2: 0x280421e4
R3:0x2,R12:0xaR3:0x2, R12:0xa
LR:0x10508737,PC:0x104e066eLR: 0x10508737, PC: 0x104e066e
Psr:0x1000000,cfsr:0x400Psr: 0x1000000, cfsr: 0x400
FaultType:0xa1a2a3a4FaultType: 0xa1a2a3a4
根据该日志文件的信息以及对仪表软件的反汇编,很快能定位到该异常是访问了非法存储地址产生的HardFault(硬错误)异常。According to the information in the log file and the disassembly of the instrument software, it can be quickly located that the exception is a HardFault (hard error) exception generated by accessing an illegal storage address.
本申请提供的一种汽车仪表故障信息获取方法,利用汽车仪表MCU的异常中断机制获取实时操作系统RTOS的异常现场信息,并且基于静态随机存取存储器SRAM的保留特性,避免异常现场信息丢失,通过SPI总线将异常现场信息中包含的CPU状态寄存器和堆栈信息发送给车机SOC,进而利于研发人员调用并分析异常现场信息、以定位问题,有效的节约了复现和排除故障的时间,提高仪表软件质量。其中,通过校验SRAM中日志缓存区的更新标记,来判断是否要发送SRAM中日志缓存区存储的CPU状态寄存器和堆栈信息,能够避免SPI总线负载的不必要占用。A method for acquiring fault information of an automobile meter provided by the present application uses the abnormal interruption mechanism of the MCU of the automobile meter to obtain the abnormal site information of the real-time operating system RTOS, and based on the retention characteristics of the static random access memory SRAM, the loss of the abnormal site information is avoided. The SPI bus sends the CPU status register and stack information contained in the abnormal site information to the vehicle SOC, which is beneficial for the R&D personnel to call and analyze the abnormal site information to locate the problem, effectively saving the time for reappearance and troubleshooting, and improving the performance of the instrument. software quality. Wherein, by checking the update flag of the log buffer area in the SRAM, it is judged whether to send the CPU status register and stack information stored in the log buffer area in the SRAM, which can avoid unnecessary occupation of the SPI bus load.
基于同一发明构思,本申请实施例中还提供了一种汽车仪表故障信息获取装置,由于本申请实施例中的装置解决问题的原理与本申请实施例上述一种汽车仪表故障信息获取方法相似,因此装置的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, the embodiment of the present application also provides a vehicle meter fault information acquisition device, because the problem-solving principle of the device in the embodiment of the present application is similar to the above-mentioned method for obtaining the vehicle meter fault information in the embodiment of the present application, Therefore, the implementation of the device can refer to the implementation of the method, and the repetition will not be repeated.
如说明书附图6所示,本申请还提供了一种汽车仪表故障信息获取装置,所述装置包括:As shown in accompanying drawing 6 of the description, the present application also provides a device for acquiring fault information of an automobile meter, said device comprising:
划分模块601,用于将汽车仪表MCU中的静态随机存取存储器SRAM划分出日志缓存区;
获取模块602,用于基于所述汽车仪表MCU的异常中断机制获取实时操作系统RTOS的异常现场信息,并将所述RTOS的异常现场信息存储至所述SRAM中的日志缓存区;其中,所述RTOS的异常现场信息包括CPU状态寄存器和堆栈信息;The obtaining
发送模块603,用于基于SPI总线将存储至所述SRAM日志缓冲区中的异常现场信息发送至车机SOC。The sending
在一些实施方式中,所述划分模块601修改汽车仪表MCU的链接脚本文件,从SRAM中划分出日志缓存区,并将所述日志缓存区配置为保存模式,以使SRAM的存储阵列不掉电,保持所述日志缓存区中的数据。In some embodiments, the
在一些实施例中,所述划分模块601从所述SRAM中至少划分出2K字节的区域作为日志缓存区。In some embodiments, the
在一些实施方式中,所述获取模块602基于所述汽车仪表MCU的异常中断机制获取实时操作系统RTOS的异常现场信息,包括:In some embodiments, the obtaining
响应汽车仪表MCU发生的异常,执行获取CPU状态寄存器和堆栈信息的命令;Respond to the abnormality of the MCU of the car instrument, execute the command to obtain the CPU status register and stack information;
基于RTOS的栈溢出钩子函数获取CPU状态寄存器和堆栈信息,得到实时操作系统RTOS的异常现场信息。The stack overflow hook function based on RTOS obtains the CPU status register and stack information, and obtains the abnormal scene information of the real-time operating system RTOS.
在一些实施方式中,所述获取模块602将所述RTOS的异常现场信息存储至所述SRAM中的日志缓存区之后,还包括:In some implementation manners, after the obtaining
对所述SRAM中日志缓存区设置更新标记。An update flag is set for the log buffer area in the SRAM.
在一些实施方式中,所述发送模块603基于SPI总线将存储至所述SRAM日志缓冲区中的异常现场信息发送至车机SOC,包括:In some implementations, the sending
校验所述SRAM中日志缓存区的更新标记;Check the update mark of the log buffer area in the SRAM;
若所述SRAM中日志缓存区存在更新标记,解析所述SRAM中日志缓存区中的数据,获取所述汽车仪表MCU上次发生异常时的CPU状态寄存器和堆栈信息;If there is an update mark in the log buffer area in the SRAM, analyze the data in the log buffer area in the SRAM, and obtain the CPU status register and stack information when the automotive instrument MCU was abnormal last time;
将获取的所述CPU状态寄存器和堆栈信息基于SPI总线发送至车机SOC,并清除所述SRAM中日志缓存区的更新标记。Send the obtained CPU status register and stack information to the SOC of the vehicle based on the SPI bus, and clear the update flag of the log buffer area in the SRAM.
在一些实施方式中,所述发送模块603将获取的所述CPU状态寄存器和堆栈信息基于SPI总线发送至车机SOC的嵌入式多媒体卡中,以日志文件的方式进行保存,用于调取所述日志文件并进行分析,定位汽车仪表故障。In some implementations, the sending
本申请所提供的一种汽车仪表故障信息获取装置,通过划分模块将汽车仪表MCU中的静态随机存取存储器SRAM划分出日志缓存区;通过获取模块基于所述汽车仪表MCU的异常中断机制获取实时操作系统RTOS的异常现场信息,并将所述RTOS的异常现场信息存储至所述SRAM中的日志缓存区;其中,所述RTOS的异常现场信息包括CPU状态寄存器和堆栈信息;通过发送模块基于SPI总线将存储至所述SRAM日志缓冲区中的异常现场信息发送至车机SOC,避免汽车仪表发生掉电或者重启,现场信息丢失的问题,进而利于研发人员调用并分析异常现场信息、以定位问题,有效的节约了复现和排除故障的时间,提高仪表软件质量。并且在某些实施例中,通过发送模块校验SRAM中日志缓存区的更新标记,来判断是否要发送SRAM中日志缓存区存储的CPU状态寄存器和堆栈信息,进而避免占用SPI总线的负载。A device for acquiring fault information of an automobile meter provided by the application divides the static random access memory SRAM in the automobile meter MCU into a log buffer area through a division module; obtains real-time The abnormal site information of the operating system RTOS, and store the abnormal site information of the RTOS into the log buffer area in the SRAM; wherein, the abnormal site information of the RTOS includes CPU status registers and stack information; through the sending module based on SPI The bus sends the abnormal scene information stored in the SRAM log buffer to the car machine SOC, avoiding the problem of loss of field information caused by power failure or restart of the car instrument, and then facilitating the R&D personnel to call and analyze the abnormal scene information to locate the problem , which effectively saves the time for reappearance and troubleshooting, and improves the quality of instrument software. And in some embodiments, the update flag of the log buffer area in the SRAM is checked by the sending module to determine whether to send the CPU status register and stack information stored in the log buffer area in the SRAM, thereby avoiding the load of the SPI bus.
基于本发明的同一构思,说明书附图7所示,本申请实施例提供的一种电子设备700的结构,该电子设备700包括:至少一个处理器701,至少一个网络接口704或者其他用户接口703,存储器705,至少一个通信总线702。通信总线702用于实现这些组件之间的连接通信。该电子设备700可选的包含用户接口703,包括显示器(例如,触摸屏、LCD、CRT、全息成像(Holographic)或者投影(Projector)等),键盘或者点击设备(例如,鼠标,轨迹球(trackball),触感板或者触摸屏等)。Based on the same idea of the present invention, as shown in Figure 7 of the specification, the structure of an
存储器705可以包括只读存储器和随机存取存储器,并向处理器701提供指令和数据。存储器705的一部分还可以包括非易失性随机存取存储器(NVRAM)。The
在一些实施方式中,存储器705存储了如下的元素,可保护模块或者数据结构,或者他们的子集,或者他们的扩展集:In some embodiments, the
操作系统7051,包含各种系统程序,用于实现各种基础业务以及处理基于硬件的任务;
应用程序模块7052,包含各种应用程序,例如桌面(launcher)、媒体播放器(MediaPlayer)、浏览器(Browser)等,用于实现各种应用业务。The
在本申请实施例中,通过调用存储器705存储的程序或指令,处理器701用于执行如一种汽车仪表故障信息获取方法中的步骤,能够基于静态随机存取存储器SRAM的保留特性,实现系统异常时CPU状态信息以及堆栈信息的获取,利于分析和定位汽车仪表问题。In the embodiment of the present application, by calling the program or instruction stored in the
本申请还提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行如汽车仪表故障信息获取方法中的步骤。The present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is run by a processor, the steps in the method for acquiring failure information of an automobile meter are executed.
具体地,该存储介质能够为通用的存储介质,如移动磁盘、硬盘等,该存储介质上的计算机程序被运行时,能够执行上述汽车仪表故障信息获取方法。Specifically, the storage medium can be a general storage medium, such as a removable disk, a hard disk, etc., and when the computer program on the storage medium is run, the above-mentioned method for acquiring fault information of an automobile instrument can be executed.
在本申请所提供的实施例中,应该理解到,所揭露装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated. to another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some communication interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。A unit described as a separate component may or may not be physically separated, and a component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请提供的实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in the embodiments provided by the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are realized in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes. .
最后应说明的是:以上实施例,仅为本申请的具体实施方式,用以说明本申请的技术方案,而非对其限制,本申请的保护范围并不局限于此,尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本申请实施例技术方案的精神和范围。都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。Finally, it should be noted that: the above examples are only specific implementations of the application, used to illustrate the technical solutions of the application, rather than limiting it, and the scope of protection of the application is not limited thereto, although referring to the foregoing examples The present application has been described in detail, and those of ordinary skill in the art should understand that: within the technical scope disclosed in this application, any person familiar with this technical field can still modify or modify the technical solutions described in the foregoing embodiments. It is easy to think of changes, or perform equivalent replacements for some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application. All should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211426708.4A CN115658321A (en) | 2022-11-15 | 2022-11-15 | Method and device for acquiring fault information of automobile instrument, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211426708.4A CN115658321A (en) | 2022-11-15 | 2022-11-15 | Method and device for acquiring fault information of automobile instrument, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115658321A true CN115658321A (en) | 2023-01-31 |
Family
ID=85020881
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211426708.4A Pending CN115658321A (en) | 2022-11-15 | 2022-11-15 | Method and device for acquiring fault information of automobile instrument, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115658321A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115993996A (en) * | 2023-03-22 | 2023-04-21 | 南京芯驰半导体科技有限公司 | Method and system for realizing sleep mode based on RTOS |
CN116820898A (en) * | 2023-08-31 | 2023-09-29 | 合肥康芯威存储技术有限公司 | Method and system for monitoring running state of eMMC and computer readable storage medium |
WO2025055176A1 (en) * | 2023-09-15 | 2025-03-20 | 上海利氪科技有限公司 | Exception reset monitoring method and apparatus for multi-core micro-control unit |
-
2022
- 2022-11-15 CN CN202211426708.4A patent/CN115658321A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115993996A (en) * | 2023-03-22 | 2023-04-21 | 南京芯驰半导体科技有限公司 | Method and system for realizing sleep mode based on RTOS |
CN116820898A (en) * | 2023-08-31 | 2023-09-29 | 合肥康芯威存储技术有限公司 | Method and system for monitoring running state of eMMC and computer readable storage medium |
CN116820898B (en) * | 2023-08-31 | 2024-01-02 | 合肥康芯威存储技术有限公司 | Method and system for monitoring running state of eMMC and computer readable storage medium |
WO2025055176A1 (en) * | 2023-09-15 | 2025-03-20 | 上海利氪科技有限公司 | Exception reset monitoring method and apparatus for multi-core micro-control unit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115658321A (en) | Method and device for acquiring fault information of automobile instrument, electronic equipment and storage medium | |
US11567751B2 (en) | Providing system updates in automotive contexts | |
US9262283B2 (en) | Method for reading kernel log upon kernel panic in operating system | |
CN103430158B (en) | Use Execution Single Step to Diagnose Coding | |
CN114138644A (en) | BMC (baseboard management controller) debugging method, monitoring method, system, device, equipment and medium | |
US10514972B2 (en) | Embedding forensic and triage data in memory dumps | |
CN115935631A (en) | Test system and method for vehicle equipment and storage medium | |
US20020073359A1 (en) | System and method for high priority machine check analysis | |
US8230413B2 (en) | Detecting incorrect versions of files | |
CN115292082A (en) | A method and system for dealing with Assert downtime failure during BIOS startup | |
US7526756B2 (en) | Address watch breakpoints with basing pointers | |
US9009671B2 (en) | Crash notification between debuggers | |
CN113867834A (en) | Debugging plug-in calling method and device and computer readable storage medium | |
CN114327648B (en) | Driving debugging method and device, electronic equipment and storage medium | |
CN116795576A (en) | Log printing-based device driver debugging method and device and electronic device | |
CN110955566A (en) | Debugging method | |
CN112416695B (en) | Global variable monitoring method, device, equipment and storage medium | |
US20250124181A1 (en) | Vehicle model simulation performance optimization method, storage medium, processor and electronic device | |
US20250124182A1 (en) | Vehicle model simulation performance optimization system and computer device | |
JP3503504B2 (en) | Debug processing system, computer and debug processing method | |
CN117408061B (en) | Whole vehicle model simulation performance optimization system and computer device | |
CN112068980A (en) | Method and device for sampling information before CPU hang-up, equipment and storage medium | |
EP4538887A1 (en) | Method and system for optimizing the simulation performance of a whole vehicle mode | |
CN117408060B (en) | Whole vehicle model simulation performance optimization method, storage medium and electronic equipment | |
CN117827547B (en) | Method and system for recovering touch abnormality of vehicle-mounted display screen, electronic equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20231102 Address after: 401120 Building 2, No. 81, Tonggui Avenue, Yufengshan Town, Yubei District, Chongqing Applicant after: Beidou Xingtong Zhilian Technology Co.,Ltd. Applicant after: Beidou Xingtong Zhilian Technology (Nanjing) Co.,Ltd. Address before: 401120 No.3, Tonggui Avenue, Yufengshan Town, Yubei District, Chongqing Applicant before: Beidou Xingtong Zhilian Technology Co.,Ltd. |
|
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Country or region after: China Address after: 401120 Building 2, No. 81, Tonggui Avenue, Yufengshan Town, Yubei District, Chongqing Applicant after: Beidou Xingtong Zhilian Technology Co.,Ltd. Applicant after: Beidou Zhilian (Nanjing) Technology Co.,Ltd. Address before: 401120 Building 2, No. 81, Tonggui Avenue, Yufengshan Town, Yubei District, Chongqing Applicant before: Beidou Xingtong Zhilian Technology Co.,Ltd. Country or region before: China Applicant before: Beidou Xingtong Zhilian Technology (Nanjing) Co.,Ltd. |
|
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Country or region after: China Address after: 401120 Building 2, No. 81, Tonggui Avenue, Yufengshan Town, Yubei District, Chongqing Applicant after: Beidou Zhilian Technology Co.,Ltd. Applicant after: Beidou Xingtong Zhilian Technology (Nanjing) Co.,Ltd. Address before: No. 3 Tonggui Avenue, Yufengshan Town, Yubei District, Chongqing City Applicant before: Beidou Xingtong Zhilian Technology Co.,Ltd. Country or region before: China Applicant before: Beidou Xingtong Zhilian Technology (Nanjing) Co.,Ltd. |