[go: up one dir, main page]

CN112700814B - EEPROM data reading method and device, electronic control equipment and medium - Google Patents

EEPROM data reading method and device, electronic control equipment and medium Download PDF

Info

Publication number
CN112700814B
CN112700814B CN202110006942.0A CN202110006942A CN112700814B CN 112700814 B CN112700814 B CN 112700814B CN 202110006942 A CN202110006942 A CN 202110006942A CN 112700814 B CN112700814 B CN 112700814B
Authority
CN
China
Prior art keywords
data block
memory data
nonvolatile memory
address information
sector
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.)
Active
Application number
CN202110006942.0A
Other languages
Chinese (zh)
Other versions
CN112700814A (en
Inventor
史家涛
张国花
刘晓波
陈娜娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Weichai Power Co Ltd
Original Assignee
Weichai Power Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Weichai Power Co Ltd filed Critical Weichai Power Co Ltd
Priority to CN202110006942.0A priority Critical patent/CN112700814B/en
Publication of CN112700814A publication Critical patent/CN112700814A/en
Application granted granted Critical
Publication of CN112700814B publication Critical patent/CN112700814B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/26Sensing or reading circuits; Data output circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B5/00Recording by magnetisation or demagnetisation of a record carrier; Reproducing by magnetic means; Record carriers therefor
    • G11B5/48Disposition or mounting of heads or head supports relative to record carriers ; arrangements of heads, e.g. for scanning the record carrier to increase the relative speed
    • G11B5/49Fixed mounting or arrangements, e.g. one head per track
    • G11B5/4969Details for track selection or addressing
    • G11B5/4992Circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B5/00Recording by magnetisation or demagnetisation of a record carrier; Reproducing by magnetic means; Record carriers therefor
    • G11B5/48Disposition or mounting of heads or head supports relative to record carriers ; arrangements of heads, e.g. for scanning the record carrier to increase the relative speed
    • G11B5/54Disposition or mounting of heads or head supports relative to record carriers ; arrangements of heads, e.g. for scanning the record carrier to increase the relative speed with provision for moving the head into or out of its operative position or across tracks
    • G11B5/55Track change, selection or acquisition by displacement of the head
    • G11B5/5521Track change, selection or acquisition by displacement of the head across disk tracks
    • G11B5/5526Control therefor; circuits, track configurations or relative disposition of servo-information transducers and servo-information tracks for control thereof

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Read Only Memory (AREA)

Abstract

The embodiment of the invention discloses a method and a device for reading EEPROM data, electric control equipment and a medium. The reading method comprises the following steps: after the vehicle electronic control unit is electrified, a sector magnetic head corresponding to a current nonvolatile memory data block is obtained; determining a sector range of a current active partition based on the sector head, and determining a target nonvolatile memory data block according to the sector range; and determining address information corresponding to the target nonvolatile memory data block according to the target nonvolatile memory data block, and copying the programmable read-only memory data into a random access memory according to the address information. The technical scheme of the embodiment of the invention shortens the determination time of the effective data address and improves the initial response time of the actuator.

Description

EEPROM数据的读取方法、装置、电控设备及介质EEPROM data reading method, device, electronic control equipment and medium

技术领域Technical Field

本发明实施例涉及发动机电控技术领域,尤其涉及一种EEPROM数据的读取方法、装置、电控设备及介质。The embodiments of the present invention relate to the field of engine electronic control technology, and in particular to a method, device, electronic control equipment and medium for reading EEPROM data.

背景技术Background Art

当前,车辆控制器多数依靠非易失性存储器(简称FLASH)进行可编程只读存储器(简称EEPROM)数据存储,但是不同单片机的FLASH数据块的大小不同,进而导致了不同控制器对EEPROM数据读取的时间不同。Currently, most vehicle controllers rely on non-volatile memory (FLASH) to store EEPROM data, but the sizes of FLASH data blocks of different microcontrollers are different, which leads to different controllers taking different times to read EEPROM data.

车辆ECU(Electronic Control Unit,电子控制单元)在上电初始化过程之中,确定有效数据地址位置的方式是依次寻址,即从上往下依次寻址进行解析,根据不同FLASH数据块的大小对应的寻址时间不同,当FLASH数据块过大时,且存储数据接近FLASH数据块尾地址时,则会导致初始化时间过长,进而影响整车控制器的初始化时间过长,同时,一些执行器动作无法及时响应。During the power-on initialization process, the vehicle ECU (Electronic Control Unit) determines the valid data address location by sequential addressing, that is, addressing and parsing from top to bottom. The addressing time varies according to the size of the FLASH data block. When the FLASH data block is too large and the stored data is close to the end address of the FLASH data block, the initialization time will be too long, which in turn affects the initialization time of the vehicle controller. At the same time, some actuator actions cannot respond in time.

发明内容Summary of the invention

本发明实施例提供一种EEPROM数据的读取方法、装置、电控设备及介质,以实现缩短有效数据地址的确定时间,提高执行器的初次响应时间。The embodiments of the present invention provide a method, device, electronic control equipment and medium for reading EEPROM data, so as to shorten the time for determining a valid data address and improve the initial response time of an actuator.

第一方面,本发明实施例提供了一种EEPROM数据的读取方法,该读取方法包括:In a first aspect, an embodiment of the present invention provides a method for reading EEPROM data, the method comprising:

在车辆电子控制单元上电后,获取当前非易失性存储器数据块对应的扇区磁头;After the vehicle electronic control unit is powered on, the sector head corresponding to the current non-volatile memory data block is obtained;

基于所述扇区磁头确定当前活动分区的扇区范围,并根据所述扇区范围确定目标非易失性存储器数据块;Determining a sector range of a current active partition based on the sector head, and determining a target non-volatile memory data block according to the sector range;

根据所述目标非易失性存储器数据块确定与其对应的地址信息,并根据所述地址信息将可编程只读存储器数据复制至随机存储器中。The address information corresponding to the target non-volatile memory data block is determined according to the target non-volatile memory data block, and the programmable read-only memory data is copied to the random access memory according to the address information.

第二方面,本发明实施例还提供了一种EEPROM数据的读取装置,该读取装置包括:In a second aspect, an embodiment of the present invention further provides a device for reading EEPROM data, the device comprising:

扇区磁头确定模块,用于在车辆电子控制单元上电后,获取当前非易失性存储器数据块对应的扇区磁头;The sector head determination module is used to obtain the sector head corresponding to the current non-volatile memory data block after the vehicle electronic control unit is powered on;

目标非易失性存储器数据块确定模块,用于基于所述扇区磁头确定当前活动分区的扇区范围,并根据所述扇区范围确定目标非易失性存储器数据块;a target non-volatile memory data block determination module, configured to determine a sector range of a current active partition based on the sector head, and determine a target non-volatile memory data block according to the sector range;

数据读取模块,用于根据所述目标非易失性存储器数据块确定与其对应的地址信息,并根据所述地址信息将可编程只读存储器数据复制至随机存储器中。The data reading module is used to determine the address information corresponding to the target non-volatile memory data block according to the target non-volatile memory data block, and copy the programmable read-only memory data to the random access memory according to the address information.

第三方面,本发明实施例还提供了一种电控设备,该电控设备包括:In a third aspect, an embodiment of the present invention further provides an electric control device, the electric control device comprising:

一个或多个处理器;one or more processors;

存储装置,用于存储多个程序,A storage device for storing a plurality of programs,

当所述多个程序中的至少一个被所述一个或多个处理器执行时,使得所述一个或多个处理器实现本发明第一方面实施例所提供的EEPROM数据的读取方法。When at least one of the multiple programs is executed by the one or more processors, the one or more processors implement the EEPROM data reading method provided by the embodiment of the first aspect of the present invention.

第四方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本发明第一方面实施例所提供的EEPROM数据的读取方法。In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for reading EEPROM data provided in the embodiment of the first aspect of the present invention.

本发明实施例的技术方案,通过在车辆电子控制单元上电后,获取当前非易失性存储器数据块对应的扇区磁头;基于所述扇区磁头确定当前活动分区的扇区范围,并根据所述扇区范围确定目标非易失性存储器数据块;根据所述目标非易失性存储器数据块确定与其对应的地址信息,并根据所述地址信息将可编程只读存储器数据复制至随机存储器中,解决了现有车辆ECU通过依次寻址确定有效数据地址位置导致EEPROM数据读取时间过长的问题,以实现缩短有效数据地址的确定时间,提高执行器的初次响应时间。The technical solution of the embodiment of the present invention is to obtain the sector head corresponding to the current non-volatile memory data block after the vehicle electronic control unit is powered on; determine the sector range of the current active partition based on the sector head, and determine the target non-volatile memory data block according to the sector range; determine the address information corresponding to the target non-volatile memory data block according to the address information, and copy the programmable read-only memory data to the random access memory according to the address information, thereby solving the problem that the existing vehicle ECU determines the valid data address position by sequential addressing, resulting in a long EEPROM data reading time, so as to shorten the determination time of the valid data address and improve the initial response time of the actuator.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是本发明实施例一提供的一种EEPROM数据的读取方法的流程图;FIG1 is a flow chart of a method for reading EEPROM data provided by Embodiment 1 of the present invention;

图2是本发明实施例二提供的一种EEPROM数据的读取方法的流程图;2 is a flow chart of a method for reading EEPROM data provided by Embodiment 2 of the present invention;

图3是本发明实施例三提供的一种EEPROM数据的读取装置的结构图;3 is a structural diagram of an EEPROM data reading device provided in Embodiment 3 of the present invention;

图4是本发明实施例四提供的一种电控设备的硬件结构示意图。FIG. 4 is a schematic diagram of the hardware structure of an electric control device provided in Embodiment 4 of the present invention.

具体实施方式DETAILED DESCRIPTION

为了使本发明的目的、技术方案和优点更加清楚,下面结合附图对本发明具体实施例作进一步的详细描述。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。In order to make the purpose, technical solution and advantages of the present invention clearer, the specific embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to explain the present invention, rather than to limit the present invention.

另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部内容。在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作(或步骤)描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。It should also be noted that, for ease of description, only the part relevant to the present invention but not all the content is shown in the accompanying drawings. It should be mentioned before discussing the exemplary embodiments in more detail that some exemplary embodiments are described as the processing or method described as a flow chart. Although the flow chart describes each operation (or step) as a sequential processing, many operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of each operation can be rearranged. When its operation is completed, the processing can be terminated, but it can also have additional steps not included in the accompanying drawings. The processing can correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.

实施例一Embodiment 1

图1为本发明实施例一提供的一种EEPROM数据的读取方法的流程图,本实施例可适用于对可编程只读存储器数据进行快速读取的情况,该方法可以由EEPROM数据的读取装置来执行,该装置可以通过软件和/或硬件的形式实现。具体包括如下步骤:FIG1 is a flow chart of a method for reading EEPROM data provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of quickly reading data from a programmable read-only memory. The method can be executed by an EEPROM data reading device, which can be implemented in the form of software and/or hardware. Specifically, the method comprises the following steps:

S110、在车辆电子控制单元上电后,获取当前非易失性存储器数据块对应的扇区磁头。S110: After the vehicle electronic control unit is powered on, a sector head corresponding to the current non-volatile memory data block is obtained.

其中,当前非易失性存储器数据块为当前Flash数据块,当前Flash数据块是64Kb,则当前Flash数据块仿真的EEPdata区域是8Kb,共有8个当前Flash数据块,可以分别设置为block0、block1、block2……block7,每个当前Flash数据块的长度为1024字。Among them, the current non-volatile memory data block is the current Flash data block. The current Flash data block is 64Kb, then the EEPdata area simulated by the current Flash data block is 8Kb. There are 8 current Flash data blocks in total, which can be set to block0, block1, block2...block7 respectively. The length of each current Flash data block is 1024 words.

在本领域中将每个磁道切成等长的圆弧,即扇区。每个扇区存放512B的数据和一些其他信息,例如存放位置标识符:扇区所在的柱面(Cylinder)、磁头(Header)以及扇区(Sector)。In the art, each track is cut into arcs of equal length, namely sectors. Each sector stores 512B of data and some other information, such as storage location identifiers: the cylinder (Cylinder) where the sector is located, the head (Header) and the sector (Sector).

扇区磁头用于读取当前非易失性存储器数据块的掩码,可以理解的是,每个非易失性存储器数据块对应一个掩码,每个非易失性存储器数据块的掩码用于记录非易失性存储器数据块的位置信息。The sector head is used to read the mask of the current non-volatile memory data block. It can be understood that each non-volatile memory data block corresponds to a mask, and the mask of each non-volatile memory data block is used to record the location information of the non-volatile memory data block.

在本实施例中,在车辆电子控制单元上电之前,还包括:写入历史非易失性存储器数据块,并将所述历史非易失性存储器数据块的首地址信息更新至对应的掩码区。In this embodiment, before the vehicle electronic control unit is powered on, the method further includes: writing a historical non-volatile memory data block, and updating the first address information of the historical non-volatile memory data block to the corresponding mask area.

进一步的,在将所述历史非易失性存储器数据块的历史地址信息更新至对应的掩码区之前,还包括:计算所述历史非易失性存储器数据块的校验和并写入所述历史非易失性存储器数据块的首地址中;根据所述校验和以及所述首地址确定所述历史非易失性存储器数据块的掩码区。Furthermore, before updating the historical address information of the historical non-volatile memory data block to the corresponding mask area, it also includes: calculating the checksum of the historical non-volatile memory data block and writing it into the first address of the historical non-volatile memory data block; determining the mask area of the historical non-volatile memory data block based on the checksum and the first address.

具体的,获取当前非易失性存储器数据块对应的扇区磁头,包括:获取所述当前非易失性存储器数据块对应的四维数数组,并依次读取所述四维数数组对应的扇区磁头。Specifically, obtaining the sector head corresponding to the current non-volatile memory data block includes: obtaining a four-dimensional array corresponding to the current non-volatile memory data block, and sequentially reading the sector heads corresponding to the four-dimensional array.

S120、基于所述扇区磁头确定当前活动分区的扇区范围,并根据所述扇区范围确定目标非易失性存储器数据块。S120: Determine a sector range of a current active partition based on the sector head, and determine a target non-volatile memory data block according to the sector range.

其中,当前活动分区是硬盘分区中的活动盘。Among them, the current active partition is the active disk in the hard disk partition.

目标非易失性存储器数据块是对扇区范围内的数据。目标非易失性存储器数据块为当前非易失性存储器数据块划分出的多个数据块,目标非易失性存储器数据块的数量为多个,多个目标非易失性存储器数据块组合可以得到当前非易失性存储器数据块。在本实施例中,通过将较大的当前非易失性存储器数据块分成多块,从而实现缩短EEPROM数据读取时间。The target non-volatile memory data block is data within a sector range. The target non-volatile memory data block is a plurality of data blocks divided from the current non-volatile memory data block. The number of target non-volatile memory data blocks is multiple, and the current non-volatile memory data block can be obtained by combining multiple target non-volatile memory data blocks. In this embodiment, by dividing a larger current non-volatile memory data block into multiple blocks, the EEPROM data reading time is shortened.

具体的,在获取所述当前非易失性存储器数据块对应的四维数数组,并依次读取所述四维数数组对应的扇区磁头后,根据所述扇区磁头通过对所述四维数数组进行解析确定当前活动分区的扇区范围。Specifically, after obtaining the four-dimensional array corresponding to the current non-volatile memory data block and sequentially reading the sector heads corresponding to the four-dimensional array, the sector range of the current active partition is determined by parsing the four-dimensional array according to the sector heads.

S130、根据所述目标非易失性存储器数据块确定与其对应的地址信息,并根据所述地址信息将可编程只读存储器数据复制至随机存储器中。S130, determining address information corresponding to the target non-volatile memory data block, and copying the programmable read-only memory data to the random access memory according to the address information.

在上述实施例的基础上,根据所述目标非易失性存储器数据块确定与其对应的地址信息,包括:对所述目标非易失性存储器数据块进行解析读取所述目标非易失性存储器数据块的掩码信息,并根据所述掩码信息确定所述目标非易失性存储器数据块对应的地址信息。Based on the above embodiment, the address information corresponding to the target non-volatile memory data block is determined, including: parsing the target non-volatile memory data block to read the mask information of the target non-volatile memory data block, and determining the address information corresponding to the target non-volatile memory data block according to the mask information.

进一步的,在根据所述目标非易失性存储器数据块确定与其对应的地址信息之后,还包括:将所述地址信息依次写入NVM结构体数组;相应的,根据所述地址信息将可编程只读存储器数据复制至随机存储器中,包括:通过调用可编程只读存储器的read函数从所述NVM结构体数组读取所述地址信息,并将所述地址信息对应的可编程只读存储器数据复制至随机存储器中。Furthermore, after determining the address information corresponding to the target non-volatile memory data block, it also includes: writing the address information into the NVM structure array in sequence; correspondingly, copying the programmable read-only memory data to the random access memory according to the address information, including: reading the address information from the NVM structure array by calling the read function of the programmable read-only memory, and copying the programmable read-only memory data corresponding to the address information to the random access memory.

本发明实施例的技术方案,通过在车辆电子控制单元上电后,获取当前非易失性存储器数据块对应的扇区磁头;基于所述扇区磁头确定当前活动分区的扇区范围,并根据所述扇区范围确定目标非易失性存储器数据块;根据所述目标非易失性存储器数据块确定与其对应的地址信息,并根据所述地址信息将可编程只读存储器数据复制至随机存储器中,解决了现有车辆ECU通过依次寻址确定有效数据地址位置导致EEPROM数据读取时间过长的问题,以实现缩短有效数据地址的确定时间,提高执行器的初次响应时间。The technical solution of the embodiment of the present invention is to obtain the sector head corresponding to the current non-volatile memory data block after the vehicle electronic control unit is powered on; determine the sector range of the current active partition based on the sector head, and determine the target non-volatile memory data block according to the sector range; determine the address information corresponding to the target non-volatile memory data block according to the address information, and copy the programmable read-only memory data to the random access memory according to the address information, thereby solving the problem that the existing vehicle ECU determines the valid data address position by sequential addressing, resulting in a long EEPROM data reading time, so as to shorten the determination time of the valid data address and improve the initial response time of the actuator.

实施例二Embodiment 2

图2为本发明实施例二提供的一种EEPROM数据的读取方法的流程图,本实施例以上述实施例为基础进行优化。FIG. 2 is a flow chart of a method for reading EEPROM data provided in a second embodiment of the present invention. This embodiment is optimized based on the above embodiment.

相应的,本实施例的方法具体包括:Accordingly, the method of this embodiment specifically includes:

S210、写入历史非易失性存储器数据块,并将所述历史非易失性存储器数据块的首地址信息更新至对应的掩码区。S210, writing a historical non-volatile memory data block, and updating the first address information of the historical non-volatile memory data block to the corresponding mask area.

进一步的,在将所述历史非易失性存储器数据块的历史地址信息更新至对应的掩码区之前,还包括:计算所述历史非易失性存储器数据块的校验和并写入所述历史非易失性存储器数据块的首地址中;根据所述校验和以及所述首地址确定所述历史非易失性存储器数据块的掩码区。Furthermore, before updating the historical address information of the historical non-volatile memory data block to the corresponding mask area, it also includes: calculating the checksum of the historical non-volatile memory data block and writing it into the first address of the historical non-volatile memory data block; determining the mask area of the historical non-volatile memory data block based on the checksum and the first address.

其中,历史非易失性存储器数据块是预先存储在扇区内的数据,历史非易失性存储器数据块对应的扇区信息可以包括历史非易失性存储器数据块的掩码以及历史非易失性存储器数据块信息。The historical non-volatile memory data block is data pre-stored in a sector, and the sector information corresponding to the historical non-volatile memory data block may include a mask of the historical non-volatile memory data block and historical non-volatile memory data block information.

具体的,存储历史非易失性存储器数据块的过程是先写入历史非易失性存储器数据块,计算其校验和并写入历史非易失性存储器数据块的首地址,查核当前校验和首地址所属掩码,并更新此历史非易失性存储器数据块的掩码位置信息到历史非易失性存储器数据块对应的掩码区,每个历史非易失性存储器数据块对应有相应个数不同的掩码区位置,依次更新完成。Specifically, the process of storing the historical non-volatile memory data block is to first write the historical non-volatile memory data block, calculate its checksum and write the first address of the historical non-volatile memory data block, check the mask to which the current checksum first address belongs, and update the mask position information of this historical non-volatile memory data block to the mask area corresponding to the historical non-volatile memory data block. Each historical non-volatile memory data block corresponds to a corresponding number of mask area positions with different numbers, which are updated in sequence.

S220、在车辆电子控制单元上电后,获取所述当前非易失性存储器数据块对应的四维数数组,并依次读取所述四维数数组对应的扇区磁头。S220. After the vehicle electronic control unit is powered on, obtain the four-dimensional array corresponding to the current non-volatile memory data block, and read the sector heads corresponding to the four-dimensional array in sequence.

S230、根据所述扇区磁头通过对所述四维数数组进行解析确定当前活动分区的扇区范围,并根据所述扇区范围确定目标非易失性存储器数据块。S230: Determine the sector range of the current active partition by parsing the four-dimensional array according to the sector head, and determine the target non-volatile memory data block according to the sector range.

S240、对所述目标非易失性存储器数据块进行解析读取所述目标非易失性存储器数据块的掩码信息,并根据所述掩码信息确定所述目标非易失性存储器数据块对应的地址信息。S240: parse the target non-volatile memory data block to read mask information of the target non-volatile memory data block, and determine address information corresponding to the target non-volatile memory data block according to the mask information.

示例性的,对当前非易失性存储器数据块划分为1024字节一块,得到目标非易失性存储器数据块,相应的,当前非易失性存储器数据块划分为64块,即得到64块目标非易失性存储器数据块,并依次顺序进行掩码信息标记为掩码0、掩码1、掩码2、掩码3……掩码63。Exemplarily, the current non-volatile memory data block is divided into 1024-byte blocks to obtain a target non-volatile memory data block. Accordingly, the current non-volatile memory data block is divided into 64 blocks, that is, 64 target non-volatile memory data blocks are obtained, and the mask information is marked in sequence as mask 0, mask 1, mask 2, mask 3...mask 63.

进一步的,在本实施例中采用掩码进行掩码记录,则只需要64bit,也就是8个字节就能完整记录非易失性存储器数据块的地址信息,即在掩码区的位置信息。Furthermore, in this embodiment, a mask is used for mask recording, and only 64 bits, that is, 8 bytes, are needed to completely record the address information of the non-volatile memory data block, that is, the position information in the mask area.

示例性的,参见下表1为非易失性存储器数据块block与掩码的对应关系示意表,结合表1可知,在本实施例的方案中,当非易失性存储器数据块block1存储时用到了第3个地址块时,即bit 0-bit 2由1写成0,当非易失性存储器数据块block4存储时使用到第30个地址块时,即bit0—29由1写成0。由于非易失性存储器数据块的地址信息只能由1写成0,且不可逆,地址只能越来越大,bit位置由0到63位全部被写成0,则代表当前非易失性存储器数据块被全部占用。For example, see Table 1 below, which is a table showing the correspondence between the non-volatile memory data block block and the mask. In combination with Table 1, it can be seen that in the solution of this embodiment, when the non-volatile memory data block block1 uses the third address block when storing, that is, bit 0-bit 2 is written from 1 to 0, and when the non-volatile memory data block block4 uses the 30th address block when storing, that is, bit 0-29 is written from 1 to 0. Since the address information of the non-volatile memory data block can only be written from 1 to 0, and is irreversible, the address can only become larger and larger, and the bit positions from 0 to 63 are all written as 0, which means that the current non-volatile memory data block is fully occupied.

表1为非易失性存储器数据块block与掩码的对应关系示意表Table 1 is a schematic diagram of the correspondence between non-volatile memory data blocks and masks

S250、将所述地址信息依次写入NVM结构体数组。S250, writing the address information into the NVM structure array in sequence.

S260、通过调用可编程只读存储器的read函数从所述NVM结构体数组读取所述地址信息,并将所述地址信息对应的可编程只读存储器数据复制至随机存储器中。S260, reading the address information from the NVM structure array by calling a read function of the programmable read-only memory, and copying the programmable read-only memory data corresponding to the address information to a random access memory.

本发明实施例的技术方案,把大的非易失性存储器数据块划分成小的地址块,并使用掩码地址进行信息编码,对非易失性存储器数据块的具体位置信息精准编码,ECU上电解析掩码可以快速确定当前非易失性存储器数据块的有效数据位置,直接到对应非易失性存储器数据块地址复制有效数据。避免了当非易失性存储器数据块过大时,ECU上电时从上往下寻址有效数据时间过长的问题,快速确定当前有效数据位置,不用依赖于依次地址解读浪费的大量时间,缩短有效数据地址的确定时间,同时,未使用镜像随机存储器直接复制非易失性存储器数据到目的地址,减少程序初始化运行时间,提前执行器动作时间,降低控制器的初始化时间的差异性及过长问题。The technical solution of the embodiment of the present invention divides a large non-volatile memory data block into small address blocks, and uses a mask address to encode information, accurately encodes the specific location information of the non-volatile memory data block, and the ECU can quickly determine the valid data position of the current non-volatile memory data block by parsing the mask when it is powered on, and directly copy the valid data to the corresponding non-volatile memory data block address. This avoids the problem that when the non-volatile memory data block is too large, the ECU takes too long to address the valid data from top to bottom when it is powered on, and quickly determines the current valid data position without relying on a lot of time wasted by sequential address interpretation, shortening the time to determine the valid data address. At the same time, the non-volatile memory data is directly copied to the destination address without using a mirror random access memory, which reduces the program initialization running time, advances the actuator action time, and reduces the difference and excessive length of the controller initialization time.

实施例三Embodiment 3

图3为本发明实施例三提供的一种EEPROM数据的读取装置的结构图,本实施例可适用于对可编程只读存储器数据进行快速读取的情况。FIG. 3 is a structural diagram of an EEPROM data reading device provided in a third embodiment of the present invention. This embodiment is applicable to the case of quickly reading data from a programmable read-only memory.

如图3所示,所述读取装置包括:扇区磁头确定模块310、目标非易失性存储器数据块确定模块320和数据读取模块330,其中:As shown in FIG3 , the reading device comprises: a sector head determination module 310, a target non-volatile memory data block determination module 320 and a data reading module 330, wherein:

扇区磁头确定模块310,用于在车辆电子控制单元上电后,获取当前非易失性存储器数据块对应的扇区磁头;The sector head determination module 310 is used to obtain the sector head corresponding to the current non-volatile memory data block after the vehicle electronic control unit is powered on;

目标非易失性存储器数据块确定模块320,用于基于所述扇区磁头确定当前活动分区的扇区范围,并根据所述扇区范围确定目标非易失性存储器数据块;A target non-volatile memory data block determination module 320, configured to determine a sector range of a current active partition based on the sector head, and determine a target non-volatile memory data block according to the sector range;

数据读取模块330,用于根据所述目标非易失性存储器数据块确定与其对应的地址信息,并根据所述地址信息将可编程只读存储器数据复制至随机存储器中。The data reading module 330 is used to determine the address information corresponding to the target non-volatile memory data block according to the target non-volatile memory data block, and copy the programmable read-only memory data to the random access memory according to the address information.

本实施例的EEPROM数据的读取装置,通过在车辆电子控制单元上电后,获取当前非易失性存储器数据块对应的扇区磁头;基于所述扇区磁头确定当前活动分区的扇区范围,并根据所述扇区范围确定目标非易失性存储器数据块;根据所述目标非易失性存储器数据块确定与其对应的地址信息,并根据所述地址信息将可编程只读存储器数据复制至随机存储器中,解决了现有车辆ECU通过依次寻址确定有效数据地址位置导致EEPROM数据读取时间过长的问题,以实现缩短有效数据地址的确定时间,提高执行器的初次响应时间。The EEPROM data reading device of the present embodiment obtains the sector head corresponding to the current non-volatile memory data block after the vehicle electronic control unit is powered on; determines the sector range of the current active partition based on the sector head, and determines the target non-volatile memory data block according to the sector range; determines the address information corresponding to the target non-volatile memory data block according to the address information, and copies the programmable read-only memory data to the random access memory according to the address information, thereby solving the problem that the existing vehicle ECU determines the valid data address position by sequential addressing, resulting in a long EEPROM data reading time, so as to shorten the determination time of the valid data address and improve the initial response time of the actuator.

在上述各实施例的基础上,在车辆电子控制单元上电之前,还包括:Based on the above embodiments, before the vehicle electronic control unit is powered on, the method further includes:

写入历史非易失性存储器数据块,并将所述历史非易失性存储器数据块的首地址信息更新至对应的掩码区。The historical non-volatile memory data block is written, and the first address information of the historical non-volatile memory data block is updated to the corresponding mask area.

在上述各实施例的基础上,在将所述历史非易失性存储器数据块的历史地址信息更新至对应的掩码区之前,还包括:Based on the above embodiments, before updating the historical address information of the historical non-volatile memory data block to the corresponding mask area, the method further includes:

计算所述历史非易失性存储器数据块的校验和并写入所述历史非易失性存储器数据块的首地址中;Calculating a checksum of the historical non-volatile memory data block and writing it into the first address of the historical non-volatile memory data block;

根据所述校验和以及所述首地址确定所述历史非易失性存储器数据块的掩码区。A mask area of the historical non-volatile memory data block is determined according to the checksum and the first address.

在上述各实施例的基础上,获取当前非易失性存储器数据块对应的扇区磁头,包括:On the basis of the above embodiments, obtaining the sector head corresponding to the current non-volatile memory data block includes:

获取所述当前非易失性存储器数据块对应的四维数数组,并依次读取所述四维数数组对应的扇区磁头。A four-dimensional array corresponding to the current non-volatile memory data block is obtained, and sector heads corresponding to the four-dimensional array are read in sequence.

在上述各实施例的基础上,基于所述扇区磁头确定当前活动分区的扇区范围,包括:On the basis of the above embodiments, determining the sector range of the current active partition based on the sector head includes:

根据所述扇区磁头通过对所述四维数数组进行解析确定当前活动分区的扇区范围。The sector range of the current active partition is determined by parsing the four-dimensional array according to the sector head.

在上述各实施例的基础上,根据所述目标非易失性存储器数据块确定与其对应的地址信息,包括:Based on the above embodiments, determining address information corresponding to the target non-volatile memory data block includes:

对所述目标非易失性存储器数据块进行解析读取所述目标非易失性存储器数据块的掩码信息,并根据所述掩码信息确定所述目标非易失性存储器数据块对应的地址信息。The target non-volatile memory data block is parsed to read mask information of the target non-volatile memory data block, and address information corresponding to the target non-volatile memory data block is determined according to the mask information.

在上述各实施例的基础上,在根据所述目标非易失性存储器数据块确定与其对应的地址信息之后,还包括:On the basis of the above embodiments, after determining the address information corresponding to the target non-volatile memory data block, the method further includes:

将所述地址信息依次写入NVM结构体数组;Writing the address information into the NVM structure array in sequence;

相应的,根据所述地址信息将可编程只读存储器数据复制至随机存储器中,包括:Accordingly, copying the programmable read-only memory data to the random access memory according to the address information includes:

通过调用可编程只读存储器的read函数从所述NVM结构体数组读取所述地址信息,并将所述地址信息对应的可编程只读存储器数据复制至随机存储器中。The address information is read from the NVM structure array by calling a read function of the programmable read-only memory, and the programmable read-only memory data corresponding to the address information is copied to the random access memory.

上述各实施例所提供的EEPROM数据的读取装置可执行本发明任意实施例所提供的EEPROM数据的读取方法,具备执行EEPROM数据的读取方法相应的功能模块和有益效果。The EEPROM data reading device provided in the above embodiments can execute the EEPROM data reading method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of executing the EEPROM data reading method.

实施例四Embodiment 4

图4为本发明实施例四提供的一种电控设备的结构示意图,如图4所示,该电控设备包括处理器410、存储器420、输入装置430和输出装置440;电控设备中处理器410的数量可以是一个或多个,图4中以一个处理器410为例;电控设备中的处理器410、存储器420、输入装置430和输出装置440可以通过总线或其他方式连接,图4中以通过总线连接为例。Figure 4 is a schematic diagram of the structure of an electronic control device provided in Embodiment 4 of the present invention. As shown in Figure 4, the electronic control device includes a processor 410, a memory 420, an input device 430 and an output device 440; the number of processors 410 in the electronic control device can be one or more, and Figure 4 takes one processor 410 as an example; the processor 410, memory 420, input device 430 and output device 440 in the electronic control device can be connected via a bus or other means, and Figure 4 takes connection via a bus as an example.

存储器420作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本发明实施例中的EEPROM数据的读取方法对应的程序指令/模块(例如,EEPROM数据的读取装置中的扇区磁头确定模块310、目标非易失性存储器数据块确定模块320和数据读取模块330)。处理器410通过运行存储在存储器420中的软件程序、指令以及模块,从而执行电控设备的各种功能应用以及数据处理,即实现上述的EEPROM数据的读取方法。The memory 420, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions/modules corresponding to the method for reading EEPROM data in the embodiment of the present invention (for example, the sector head determination module 310, the target non-volatile memory data block determination module 320 and the data reading module 330 in the device for reading EEPROM data). The processor 410 executes various functional applications and data processing of the electronic control device by running the software programs, instructions and modules stored in the memory 420, that is, realizes the above-mentioned method for reading EEPROM data.

存储器420可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端的使用所创建的数据等。此外,存储器420可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器420可进一步包括相对于处理器410远程设置的存储器,这些远程存储器可以通过网络连接至电控设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 420 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 420 may further include a memory remotely arranged relative to the processor 410, and these remote memories may be connected to the electric control device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

输入装置430可用于接收输入的数字或字符信息,以及产生与电控设备的用户设置以及功能控制有关的键信号输入。输出装置440可包括显示屏等显示设备。The input device 430 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the electronic control device. The output device 440 may include a display device such as a display screen.

实施例五Embodiment 5

本发明实施例五还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行一种EEPROM数据的读取方法,该读取方法包括:Embodiment 5 of the present invention further provides a storage medium including computer executable instructions, wherein the computer executable instructions are used to execute a method for reading EEPROM data when executed by a computer processor, the method comprising:

在车辆电子控制单元上电后,获取当前非易失性存储器数据块对应的扇区磁头;After the vehicle electronic control unit is powered on, the sector head corresponding to the current non-volatile memory data block is obtained;

基于所述扇区磁头确定当前活动分区的扇区范围,并根据所述扇区范围确定目标非易失性存储器数据块;Determining a sector range of a current active partition based on the sector head, and determining a target non-volatile memory data block according to the sector range;

根据所述目标非易失性存储器数据块确定与其对应的地址信息,并根据所述地址信息将可编程只读存储器数据复制至随机存储器中。The address information corresponding to the target non-volatile memory data block is determined according to the target non-volatile memory data block, and the programmable read-only memory data is copied to the random access memory according to the address information.

当然,本发明实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的方法操作,还可以执行本发明任意实施例所提供的EEPROM数据的读取方法中的相关操作。Of course, the computer executable instructions of a storage medium including computer executable instructions provided by an embodiment of the present invention are not limited to the method operations described above, and can also execute related operations in the EEPROM data reading method provided by any embodiment of the present invention.

通过以上关于实施方式的描述,所属领域的技术人员可以清楚地了解到,本发明可借助软件及必需的通用硬件来实现,当然也可以通过硬件实现,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如计算机的软盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(RandomAccess Memory,RAM)、闪存(FLASH)、硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.

值得注意的是,上述EEPROM数据的读取装置的实施例中,所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本发明的保护范围。It is worth noting that in the embodiment of the above-mentioned EEPROM data reading device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (8)

1. A method of reading EEPROM data, comprising:
Writing a historical nonvolatile memory data block, and updating the head address information of the historical nonvolatile memory data block to a corresponding mask area;
Wherein before updating the history address information of the history nonvolatile memory data block to the corresponding mask area, the method further comprises: calculating the checksum of the historical nonvolatile memory data block and writing the checksum into the first address of the historical nonvolatile memory data block; determining a mask area of the historical nonvolatile memory data block according to the checksum and the head address;
After the vehicle electronic control unit is electrified, a sector magnetic head corresponding to a current nonvolatile memory data block is obtained;
Determining a sector range of a current active partition based on the sector head, and determining a target nonvolatile memory data block according to the sector range; the target nonvolatile memory data block is a plurality of data blocks divided by the current nonvolatile memory data block;
and determining address information corresponding to the target nonvolatile memory data block according to the target nonvolatile memory data block, and copying the programmable read-only memory data into a random access memory according to the address information.
2. The method of claim 1, wherein obtaining a sector head corresponding to a current nonvolatile memory block of data comprises:
And acquiring a four-dimensional number array corresponding to the current nonvolatile memory data block, and sequentially reading a sector magnetic head corresponding to the four-dimensional number array.
3. The method of claim 2, wherein determining the sector range of the current active partition based on the sector head comprises:
and determining the sector range of the current active partition by analyzing the four-dimensional number array according to the sector magnetic head.
4. The method of claim 1, wherein determining address information corresponding to the target nonvolatile memory data block from the target nonvolatile memory data block comprises:
and analyzing the target nonvolatile memory data block to read mask information of the target nonvolatile memory data block, and determining address information corresponding to the target nonvolatile memory data block according to the mask information.
5. The method of claim 1, further comprising, after determining address information corresponding to the target nonvolatile memory data block from the target nonvolatile memory data block:
Writing the address information into an NVM structure array in sequence;
Correspondingly, copying the programmable read-only memory data into the random access memory according to the address information comprises the following steps:
and reading the address information from the NVM structure body array by calling a read function of the programmable read-only memory, and copying the programmable read-only memory data corresponding to the address information into the random access memory.
6. An EEPROM data reading apparatus, comprising:
Writing a historical nonvolatile memory data block, and updating the head address information of the historical nonvolatile memory data block to a corresponding mask area;
Wherein before updating the history address information of the history nonvolatile memory data block to the corresponding mask area, the method further comprises: calculating the checksum of the historical nonvolatile memory data block and writing the checksum into the first address of the historical nonvolatile memory data block; determining a mask area of the historical nonvolatile memory data block according to the checksum and the head address;
The sector magnetic head determining module is used for acquiring a sector magnetic head corresponding to a current nonvolatile memory data block after the vehicle electronic control unit is electrified;
The target nonvolatile memory data block determining module is used for determining the sector range of the current active partition based on the sector magnetic head and determining a target nonvolatile memory data block according to the sector range; the target nonvolatile memory data block is a plurality of data blocks divided by the current nonvolatile memory data block;
and the data reading module is used for determining address information corresponding to the target nonvolatile memory data block according to the target nonvolatile memory data block and copying the programmable read-only memory data into the random access memory according to the address information.
7. An electronic control device, characterized in that the electronic control device comprises:
One or more processors;
a storage means for storing one or more programs;
When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method of reading EEPROM data as claimed in any one of claims 1 to 5.
8. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when executed by a processor, implements a method of reading EEPROM data according to any one of claims 1-5.
CN202110006942.0A 2021-01-05 2021-01-05 EEPROM data reading method and device, electronic control equipment and medium Active CN112700814B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110006942.0A CN112700814B (en) 2021-01-05 2021-01-05 EEPROM data reading method and device, electronic control equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110006942.0A CN112700814B (en) 2021-01-05 2021-01-05 EEPROM data reading method and device, electronic control equipment and medium

Publications (2)

Publication Number Publication Date
CN112700814A CN112700814A (en) 2021-04-23
CN112700814B true CN112700814B (en) 2024-08-16

Family

ID=75514699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110006942.0A Active CN112700814B (en) 2021-01-05 2021-01-05 EEPROM data reading method and device, electronic control equipment and medium

Country Status (1)

Country Link
CN (1) CN112700814B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113223584B (en) * 2021-05-26 2024-08-27 合肥康芯威存储技术有限公司 Memory and data reading method thereof
CN116149577B (en) * 2023-04-24 2023-07-07 杭州炬华科技股份有限公司 Data processing method, system and readable storage medium based on rotary pool

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1679107A (en) * 2002-08-29 2005-10-05 飞思卡尔半导体公司 Storage system with non-volatile memory for storing data
CN1991801A (en) * 2005-11-30 2007-07-04 株式会社东芝 Access control apparatus, access control method, memory access control device, and memory access control method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001134496A (en) * 1999-11-04 2001-05-18 Hitachi Ltd Storage device using nonvolatile semiconductor memory
JP2003177934A (en) * 2001-12-13 2003-06-27 Oki Electric Ind Co Ltd Digital signal processor
US8468293B2 (en) * 2009-07-24 2013-06-18 Apple Inc. Restore index page
US8990657B2 (en) * 2011-06-14 2015-03-24 Freescale Semiconductor, Inc. Selective masking for error correction
US10528273B2 (en) * 2017-11-07 2020-01-07 Nxp Usa, Inc. Dynamic compression in an electrically erasable programmble read only memory (EEPROM) emulation system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1679107A (en) * 2002-08-29 2005-10-05 飞思卡尔半导体公司 Storage system with non-volatile memory for storing data
CN1991801A (en) * 2005-11-30 2007-07-04 株式会社东芝 Access control apparatus, access control method, memory access control device, and memory access control method

Also Published As

Publication number Publication date
CN112700814A (en) 2021-04-23

Similar Documents

Publication Publication Date Title
EP1909184B1 (en) Mapping information managing apparatus and method for non-volatile memory supporting different cell types
JP4406339B2 (en) Controller, memory card and control method thereof
US20070016719A1 (en) Memory device including nonvolatile memory and memory controller
US9563551B2 (en) Data storage device and data fetching method for flash memory
US9563553B2 (en) Data storing method and embedded system
KR100533682B1 (en) Data managing device and method for flash memory
JP4253272B2 (en) Memory card, semiconductor device, and control method of semiconductor memory
US8015344B2 (en) Apparatus and method for processing data of flash memory
CN112700814B (en) EEPROM data reading method and device, electronic control equipment and medium
CN114968130B (en) Chain table initialization device, method, system, computer equipment and storage medium
CN118276779A (en) Management control method, device, equipment and medium of nonvolatile memory
CN112083882A (en) SRAM (static random Access memory) dead point processing method, system and device and computer equipment
CN111966531B (en) Data snapshot method and device, computer equipment and storage medium
CN113841116B (en) Arithmetic processing device, vehicle control device, and update method
CN113515082A (en) Polling communication method and device
CN110147332B (en) Management method of directory data and memory device
CN114371816A (en) A data storage method and electronic device
CN114327979A (en) Method and device for obtaining stack information of thread crash
CN116185563B (en) Software simulation algorithm based on vehicle-gauge microcontroller data flash memory
CN101339513B (en) Data updating method for basic input/output system
US11907127B2 (en) Devices, systems, and methods for configuring a storage device with cache
JP2000243093A (en) Data storing method for flash memory and data reading out method from flash memory
JP4127307B2 (en) Data storage device, data processing system, data processing method, and data processing device
CN118821245B (en) Write protection mapping method, device, computer readable storage medium and electronic device
CN120909957B (en) Data writing method and electronic equipment

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
GR01 Patent grant
GR01 Patent grant