CN114780153A - Boot program starting method and related device - Google Patents

Boot program starting method and related device Download PDF

Info

Publication number
CN114780153A
CN114780153A CN202210333733.1A CN202210333733A CN114780153A CN 114780153 A CN114780153 A CN 114780153A CN 202210333733 A CN202210333733 A CN 202210333733A CN 114780153 A CN114780153 A CN 114780153A
Authority
CN
China
Prior art keywords
configuration information
storage module
configuration
flash storage
control unit
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.)
Granted
Application number
CN202210333733.1A
Other languages
Chinese (zh)
Other versions
CN114780153B (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.)
Shenzhen Xihua Technology Co Ltd
Original Assignee
Shenzhen Xihua Technology 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 Shenzhen Xihua Technology Co Ltd filed Critical Shenzhen Xihua Technology Co Ltd
Priority to CN202210333733.1A priority Critical patent/CN114780153B/en
Publication of CN114780153A publication Critical patent/CN114780153A/en
Application granted granted Critical
Publication of CN114780153B publication Critical patent/CN114780153B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4403Processor initialisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The embodiment of the application discloses a Boot program starting method and a related device, wherein the method is applied to a micro control unit, the micro control unit is in communication connection with a Flash storage module, and the method comprises the following steps: acquiring first configuration information of a Flash storage module, wherein the first configuration information is used for representing communication configuration of the Flash storage module; determining a target configuration operated in the micro control unit according to the first configuration information and a preset mapping relation, wherein the mapping relation comprises the mapping relation between the first configuration information of the Flash storage module and the operation configuration of the micro control unit, and the target configuration comprises at least one of a communication bus type and a read-write operation instruction; and starting the Boot program according to the target configuration. The embodiment of the application is beneficial to being compatible with the Flash storage modules of different models and improving the running stability of the Flash storage modules.

Description

Boot program starting method and related device
Technical Field
The application relates to the technical field of chips, in particular to a Boot program starting method and a related device.
Background
At present, in the process of starting a main control chip through a Boot program, the main control chip can only support the starting of one type of Flash storage module by default and cannot be compatible with multiple types of Flash storage modules. Therefore, how to improve the compatibility of the main control chip becomes a problem to be solved urgently.
Disclosure of Invention
The embodiment of the application provides a Boot program starting method and a related device, which are beneficial to being compatible with Flash storage modules of different models and improving the running stability of the Flash storage modules.
On the first hand, the embodiment of the application provides a Boot program starting method, which is applied to a micro control unit, wherein the micro control unit is in communication connection with a Flash storage module; the method comprises the following steps:
acquiring first configuration information of the Flash storage module, wherein the first configuration information is used for representing the communication configuration of the Flash storage module;
determining a target configuration operated in the micro control unit according to the first configuration information and a preset mapping relation, wherein the mapping relation comprises the mapping relation between the first configuration information of the Flash storage module and the operation configuration of the micro control unit, and the target configuration comprises at least one of a communication bus type and a read-write operation instruction;
and starting the Boot program according to the target configuration.
In a second aspect, an embodiment of the present application provides a Boot program starting device, which is applied to a micro control unit, where the micro control unit is in communication connection with a Flash storage module; the device comprises an acquisition unit, a determination unit and an activation unit, wherein,
the acquisition unit is used for acquiring first configuration information of the Flash storage module, wherein the first configuration information is used for representing the communication configuration of the Flash storage module;
the determining unit is configured to determine a target configuration running in the micro control unit according to the first configuration information and a preset mapping relationship, where the preset mapping relationship includes a mapping relationship between the first configuration information of the Flash storage module and the running configuration of the micro control unit, and the target configuration includes at least one of a communication bus type and a read-write operation instruction;
and the starting unit is used for starting the Boot program according to the target configuration.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for executing the steps in the first aspect of the embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program causes a computer to execute some or all of the steps described in the first aspect of the embodiment of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, where the computer program product comprises a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps as described in the first aspect of embodiments of the present application.
The embodiment of the application has the following beneficial effects:
it can be seen that, in the Boot program starting method and the related apparatus described in the embodiments of the present application, first configuration information of a Flash storage module is obtained, where the first configuration information is used to represent communication configuration of the Flash storage module, and a target configuration running in a micro control unit is determined according to the first configuration information and a preset mapping relationship, where the mapping relationship includes a mapping relationship between the first configuration information of the Flash storage module and running configuration of the micro control unit, and the target configuration includes at least one of a communication bus type and a read-write operation instruction, and the Boot program is started according to the target configuration; therefore, the target configuration running in the micro control unit is determined according to the first configuration information and the preset mapping relation, and the Boot program is controlled to be started according to the target configuration, so that the compatibility of the micro control unit is improved, the compatibility of the Flash memory modules of different models is realized, the stability of the Flash memory modules in running is improved, and the data safety is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1A is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 1B is a schematic flowchart of a Boot program starting method provided in an embodiment of the present application;
fig. 1C is a schematic structural diagram of a micro control unit according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a Boot program Boot method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a Boot program starting method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 5A is a block diagram of functional units of a Boot program Boot device according to an embodiment of the present application;
fig. 5B is a block diagram of functional units of a Boot program Boot apparatus according to an embodiment of the present disclosure;
fig. 5C is a block diagram illustrating functional units of a Boot device of a Boot program according to an embodiment of the present disclosure.
Detailed Description
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein may be combined with other embodiments.
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The key concepts and terms to which this application relates include, but are not limited to, the following:
(1) boot program, which may refer to a user Boot program, may be used to find and load a final operating system or firmware running on a chip.
(2) An OTP memory module, a type of memory, is generally referred to as a One Time Programmable (OTP) memory module. After the program is burnt into the OTP memory module, the program cannot be changed and cleared again. The micro control unit in the embodiment of the present application may use the OTP memory module as a storage medium.
(3) Flash memory module, a type of memory. The micro control unit in the embodiment of the application can use a Flash storage module as an external storage medium.
(4) The electronic device may be a portable electronic device, such as a cell phone, a tablet, a wearable electronic device with wireless communication capabilities (e.g., a smart watch), etc., that includes other functionality, such as personal digital assistant and/or music player functionality. Exemplary embodiments of the portable electronic device include, but are not limited to, portable electronic devices that carry an IOS system, an Android system, a Microsoft system, or other operating system. The portable electronic device may also be other portable electronic devices such as a Laptop computer (Laptop) or the like. It should also be understood that in other embodiments, the electronic device may not be a portable electronic device, but may be a desktop computer. The electronic device may further include a micro control unit, a central processing unit, and the like, which are not limited herein.
At present, in the process of starting a main control chip through a Boot program, the main control chip can only support the starting of one type of Flash memory module by default and cannot be compatible with various types of Flash memory modules. Flash memory modules produced by different manufacturers have different modes, speeds, commands and protocols, and even Flash memory modules produced by the same manufacturer and produced by different processes and batches may have different corresponding modes, speeds, commands and protocols. Therefore, how to improve the compatibility of the main control chip becomes a problem to be solved urgently.
Based on the above problems, the present application provides a Boot program starting method and a related apparatus, which are described in detail below with reference to the accompanying drawings.
Referring to fig. 1A, fig. 1A is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device comprises a processor and a memory, etc. Wherein the memory is connected with the processor. The Processor is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, executes various functions and processes data of the electronic device by running or executing software programs and/or modules stored in the memory and calling the data stored in the memory, thereby performing overall monitoring on the electronic device, and the Processor may be a Central Processing Unit (CPU), a Graphics Processing Unit (GPU) or a Network Processing Unit (NPU).
Further, the processor may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor.
The memory is used for storing software programs and/or modules, and the processor executes various functional applications of the electronic device by running the software programs and/or modules stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, a software program required for at least one function, and the like; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
Referring to fig. 1B, fig. 1B is a schematic flowchart of a Boot program starting method provided in an embodiment of the present application, and as shown in the figure, the Boot program starting method is applied to a micro control unit, and the micro control unit is in communication connection with a Flash storage module; the Boot program starting method comprises the following steps:
step 101, obtaining first configuration information of the Flash storage module.
The first configuration information may be used to represent a communication configuration of the Flash storage module. The first configuration information may be one or more, and is not limited herein.
The first configuration information may include at least one of a model of the Flash storage module, a communication bus type supported by the Flash storage module, and a read/write mode. The model of the Flash storage module may be directly represented by the real model of the Flash storage module, or may be represented by a combination of numbers and/or letters corresponding to the real model, which is not limited herein. The communication bus type supported by the Flash memory module may be a single line, a double line, a four line, etc. type of a Serial Peripheral Interface (SPI), which is not limited herein. The read/write mode supported by the Flash Memory module may be a read operation or a write operation performed by the central processing unit, or a read operation or a write operation performed by a Direct Memory Access (DMA), which is not limited herein.
The first configuration information may further include a null instruction period, a clock frequency division setting, a CS pin selection value, a cyclic redundancy check value, and the like of the Flash storage module.
And 102, determining target configuration running in the micro control unit according to the first configuration information and a preset mapping relation.
The mapping relation comprises the mapping relation between the first configuration information of the Flash storage module and the operation configuration of the micro control unit. The target configuration includes at least one of a communication bus type and a read-write operation instruction.
The mapping relationship may be stored in the micro control unit in advance. The mapping relationship may be a mapping relationship between the model of the Flash memory module and a communication bus type that should be operated in the micro control unit, a mapping relationship between a communication bus type supported by the Flash memory module and a communication bus type that should be operated in the micro control unit, or a mapping relationship between a read/write mode supported by the Flash memory module and a read/write mode that should be operated in the micro control unit, which is not limited herein.
And 103, starting the Boot program according to the target configuration.
In the specific implementation, the micro control unit is in communication connection with the Flash storage module, acquires first configuration information of the Flash storage module, determines target configuration running in the micro control unit according to the first configuration information and a preset mapping relation, and starts a Boot program according to the target configuration.
Therefore, the target configuration running in the micro control unit is determined according to the first configuration information and the preset mapping relation, and the Boot program is controlled to be started according to the target configuration, so that the compatibility of the micro control unit is improved, the compatibility of different types of Flash memory modules is realized, and the condition that the micro control unit can only identify one type of Flash memory module is avoided. Meanwhile, due to the fact that the compatibility of the micro control unit with the Flash storage module is improved, the communication quality of the micro control unit and the Flash storage module is more stable, and therefore the application of the method and the device are beneficial to improving the stability of the Flash storage module during operation, data stored in the Flash storage module are not easy to lose, and data safety is guaranteed.
In a possible example, please refer to fig. 1C, where fig. 1C is a schematic structural diagram of a micro-control unit provided in an embodiment of the present application, where the micro-control unit includes an OTP memory module, and the OTP memory module is in communication connection with the Flash memory module, and the step 102 determines a target configuration running in the micro-control unit according to a mapping relationship between the first configuration information and preset first configuration information and a running configuration, and may include the following steps:
and step 1021, acquiring second configuration information of the OTP storage module.
Step 1022, determining the target configuration according to the first configuration information, the second configuration information and the mapping relationship.
The second configuration information may be used to characterize a communication configuration of the OTP memory module. The first configuration information may be one or multiple, and is not limited herein.
The second configuration information may include at least one of communication debugging information and a scramble pattern. The communication debugging information may include a null instruction cycle corresponding to the OTP memory module and the Flash memory module, and may also include power-on delay settings of the OTP memory module and the Flash memory module, which are not limited herein.
It can be seen that, in the embodiment of the present application, the micro control unit may obtain second configuration information of the OTP memory module, where the second configuration information is used to characterize communication configuration of the OTP memory module, and determine a target configuration according to the first configuration information, the second configuration information, and the mapping relationship; therefore, the Boot program is started according to the first configuration information and the second configuration information, double-area configuration control over the Boot program of the Flash memory module and the OTP memory module is achieved, the compatibility of the micro control unit is improved, compatibility of different types of Flash memory modules is achieved, and the situation that the micro control unit can only identify one type of Flash memory module is avoided. Meanwhile, because the compatibility of the micro control unit to the Flash storage module is improved, and the communication quality of the micro control unit and the Flash storage module is more stable, the application of the embodiment mode is also favorable for improving the stability of the Flash storage module in operation, so that the data stored in the Flash storage module is not easy to lose, and the safety of the data is favorable for ensuring.
In a possible example, the mapping relationship includes a sub-mapping relationship, the sub-mapping relationship includes a mapping relationship between third configuration information and an operation configuration of the micro control unit, the third configuration information is used for representing a descrambling state of the first configuration information, the step 1022, determining the target configuration according to the first configuration information, the second configuration information and the mapping relationship, may include the following steps:
step 10221, determining a scrambling mode of the OTP memory module according to the second configuration information.
Step 10222, determine whether the scramble pattern is in the first state.
Step 10223, if yes, descrambling the first configuration information, and generating the third configuration information.
Step 10224, determining the target configuration running in the micro control unit according to the third configuration information and the sub mapping relation.
The first state may be used to instruct the OTP memory module to start scrambling. The third configuration information may be used to characterize a descrambling state of the first configuration information, and it may be considered that the contents indicated by the first configuration information and the third configuration information are substantially the same.
In specific implementation, the scrambling mode of the OTP memory module is determined according to the second configuration information, and the micro control unit descrambles the first configuration information of the Flash memory module to generate third configuration information when the scrambling mode is in the first state, that is, when the OTP memory module is started to be heated. And determining the target configuration operated in the micro-control unit according to the third configuration information and the sub-mapping relation.
Therefore, under the condition that the OTP memory module is started and scrambled, the first configuration information in the Flash memory module is descrambled in the Boot program, so that the Boot program starting flexibility is improved, the compatibility of the micro control unit is improved, and the Flash memory modules of different models are compatible.
In one possible example, before determining the target configuration running in the micro control unit according to the first configuration information and the preset mapping relationship in step 102, the method may further include the following steps:
step 01, processing the first configuration information to obtain a first check value corresponding to the first configuration information;
step 02, comparing the first check value with a first preset check value to determine whether the Flash storage module passes through cyclic redundancy check;
step 03, determining the target configuration according to the first configuration information and the mapping relation under the condition that the Flash storage module passes the cyclic redundancy check;
step 04, under the condition that the Flash storage module does not pass the cyclic redundancy check, counting the times of failing to pass the check to obtain the check times;
and step 05, generating first state checking information under the condition that the checking times are greater than a preset threshold value.
The first preset check value may be pre-stored in the micro control unit. The first preset check value may be set according to the first configuration information and the second configuration information, which is not limited herein.
The preset threshold may be set comprehensively according to factors such as the performance, the model, the application occasion, the model of the OTP memory module, and the like of the processor of the micro-control chip, and is not limited herein. The preset threshold may be, for example, 2, 3, 5, etc. And when the preset threshold value is 3, generating first state checking information under the condition that the Flash storage module fails in the cyclic redundancy check for 3 times. The first status check information may be used to indicate a cyclic redundancy check error.
In specific implementation, cyclic redundancy check may be performed on the first configuration information of the Flash storage module to obtain a first check value. And comparing the first check value with a first preset check value, if the first check value is consistent with the first preset check value, determining that the Flash storage module passes the cyclic redundancy check, and at the moment, further executing the step of determining the target configuration according to the first configuration information and the mapping relation.
If the first check value is inconsistent with the first preset check value, that is, the Flash storage module fails in the cyclic redundancy check, counting the times of the failed check, and generating first state check information under the condition that the check times are greater than a preset threshold value. The user can know that the running state of the micro control unit at the moment is that the Flash storage module does not pass the cyclic redundancy check according to the first state check information.
It can be seen that, in the embodiment of the present application, the micro control unit may process the first configuration information to obtain a first check value corresponding to the first configuration information, compare the first check value with a first preset check value to determine whether the Flash storage module passes the cyclic redundancy check, determine the target configuration according to the first configuration information and the mapping relationship when the Flash storage module passes the cyclic redundancy check, count the number of times that the Flash storage module fails the cyclic redundancy check to obtain the number of times that the Flash storage module passes the cyclic redundancy check, and generate first status check information when the number of times that the Flash storage module passes the cyclic redundancy check is greater than a preset threshold, where the first status check information is used to indicate a cyclic redundancy check error; in this way, the first configuration information is checked, which helps to ensure that the communication configuration in the Flash storage module is in a usable state.
In a possible example, the Boot program starting process includes performing read/write operation on the Flash storage module, and the step 103 of starting the Boot program according to the target configuration may include the following steps:
and step 1031, obtaining a target array pointer, a start address and an operation byte number corresponding to the target data.
And 1032, performing the read/write operation on the Flash storage module according to the target configuration, the target array pointer, the start address and the number of operation bytes.
The target data may be used to indicate data to be read/written in the Flash storage module. The start address may be used to indicate an address at which read/write operations are to be started on target data in the Flash memory module. The operation byte number can be used for indicating the byte number corresponding to the target data.
In specific implementation, under the condition that a DMA mode is used to perform read-write operation on a Flash memory module, before a target array pointer, a start address and an operation byte number corresponding to target data are obtained, multi-line related SPI setting and multi-line read-write command switching need to be set.
Therefore, the micro control unit can perform read operation or write operation on the Flash storage module according to the target configuration, the target array pointer, the starting address and the number of operation bytes, and is favorable for improving the read-write rate of the Flash storage module.
In a possible example, before the step 101 obtains the first configuration information of the Flash storage module, the method may further include the following steps:
and 06, acquiring the identity of the Flash storage module.
And step 07, acquiring the first configuration information of the Flash storage module under the condition that the identity exists in a preset identity library.
And 08, generating second state checking information under the condition that the identity exists in the preset identity library.
The identity mark can be used for representing the registration information of the Flash storage module in the micro control unit.
The second status check information may be used to indicate that the id is wrong.
The preset identity identification library can be stored in the micro control unit in advance. The identity library can store the identity corresponding to each Flash storage module.
In the specific implementation, whether the Flash storage module currently communicating with the micro control unit is registered in the micro control unit in advance can be determined through the identity of the Flash storage module. If the identity exists in the preset identity library, that is, if the Flash storage module currently communicating with the micro control unit is registered in the micro control unit in advance, the step of acquiring the first configuration information of the Flash storage module is further executed. If the preset identity identification library does not have the identity identification, second state checking information is generated, and a user can know that the current running state of the micro control unit is that the Flash storage module is not registered in advance according to the second state checking information.
It can be seen that, in the embodiment of the present application, an identity of a Flash storage module is obtained, where the identity is used to represent registration information of the Flash storage module in a micro control unit, and when the identity exists in a preset identity library, first configuration information of the Flash storage module and second configuration information of an OTP storage module are obtained, and when the identity does not exist in the preset identity library, second status check information is generated, and the second status check information is used to indicate that the identity is wrong; therefore, the registration information of the Flash storage module in the micro control unit is determined through the identity identification, and whether the first configuration information is acquired or not is determined according to the registration information, so that the stability of the Flash storage module in operation is improved, the data stored in the Flash storage module is not easy to lose, the stability of the Flash storage module in operation is ensured in data safety, and the data safety is ensured.
Consistent with the embodiment shown in fig. 1B, please refer to fig. 2, where fig. 2 is a schematic flowchart of a Boot program booting method provided in an embodiment of the present application, and the Boot program booting method is applied to an electronic device shown in fig. 1A, where the electronic device may be a micro control unit, and the micro control unit is in communication connection with a Flash storage module; the Boot program starting method comprises the following steps:
step 201, obtaining first configuration information of the Flash storage module, where the first configuration information is used to represent communication configuration of the Flash storage module.
Step 202, processing the first configuration information to obtain a first check value corresponding to the first configuration information.
Step 203, comparing the first check value with a first preset check value, and determining whether the Flash storage module passes a cyclic redundancy check.
And 204, under the condition that the Flash storage module passes the cyclic redundancy check, determining target configuration operated in the micro control unit according to the first configuration information and a preset mapping relation, wherein the mapping relation comprises the mapping relation between the first configuration information of the Flash storage module and the operation configuration of the micro control unit, and the target configuration comprises at least one of a communication bus type and a read-write operation instruction.
And 205, starting the Boot program according to the target configuration.
And step 206, under the condition that the Flash storage module fails to pass the cyclic redundancy check, counting the times of failing to pass the check to obtain the check times.
Step 207, generating first status check information when the check number is greater than a preset threshold, where the first status check information is used to indicate the crc error.
For the detailed description of steps 201 to 207, reference may be made to the corresponding steps of the Boot program booting method described in fig. 1B, and details are not repeated here.
It can be seen that, in the Boot program starting method described in the embodiment of the present application, first configuration information of the Flash storage module may be obtained, where the first configuration information is used to represent communication configuration of the Flash storage module, the first configuration information is processed to obtain a first check value corresponding to the first configuration information, the first check value is compared with a first preset check value to determine whether the Flash storage module passes cyclic redundancy check, and in a case that the Flash storage module passes the cyclic redundancy check, a target configuration running in the micro control unit is determined according to the first configuration information and a preset mapping relationship, where the mapping relationship includes a mapping relationship between the first configuration information of the Flash storage module and running configuration of the micro control unit, the target configuration includes at least one of a communication bus type and a read-write operation instruction, starting the Boot program according to the target configuration, counting the times of failing verification under the condition that the Flash storage module fails to pass the cyclic redundancy verification to obtain verification times, and generating first state check information under the condition that the verification times are greater than a preset threshold value, wherein the first state check information is used for indicating the cyclic redundancy verification error; therefore, the first configuration information is checked, so that the communication configuration in the Flash storage module is ensured to be in a usable state, the target configuration running in the micro control unit is determined according to the first configuration information and the preset mapping relation, and the Boot program is controlled to be started according to the target configuration, so that the compatibility of the micro control unit is improved, the compatibility of the Flash storage modules of different types is realized, the stability of the Flash storage module in operation is improved, and the data safety is ensured.
Referring to fig. 3, in keeping with the embodiment shown in fig. 1B, fig. 3 is a schematic flowchart of a Boot program starting method provided in an embodiment of the present application, and is applied to the electronic device shown in fig. 1A, where the electronic device may be a micro control unit, and the micro control unit is in communication connection with a Flash storage module; the Boot program starting method comprises the following steps:
301, obtaining an identity of the Flash storage module, where the identity is used to represent the registration information of the Flash storage module in the micro control unit.
Step 302, acquiring the first configuration information of the Flash storage module under the condition that the identity exists in a preset identity library.
Step 303, determining a target configuration running in the micro control unit according to the first configuration information and a preset mapping relationship, where the mapping relationship includes a mapping relationship between the first configuration information of the Flash storage module and the running configuration of the micro control unit, and the target configuration includes at least one of a communication bus type and a read-write operation instruction.
And 304, starting the Boot program according to the target configuration.
Step 305, generating second status check information under the condition that the identity does not exist in the preset identity library, where the second status check information is used for indicating that the identity is wrong.
For the detailed description of steps 301 to 305, reference may be made to the corresponding steps of the Boot program booting method described in fig. 1B, and details are not repeated here.
It can be seen that, in the Boot program starting method described in the embodiment of the present application, the identity of the Flash storage module is obtained, and the identity is used to represent the registration information of the Flash storage module in the micro control unit, under the condition that the identity mark exists in a preset identity mark library, first configuration information of a Flash storage module is obtained, determining a target configuration operated in the micro control unit according to the first configuration information and a preset mapping relation, wherein the mapping relation comprises the mapping relation between the first configuration information of the Flash storage module and the operation configuration of the micro control unit, the target configuration comprises at least one of a communication bus type and a read-write operation instruction, starting a Boot program according to the target configuration, and under the condition that the identity does not exist in the preset identity library, generating second state checking information, wherein the second state checking information is used for indicating that the identity is wrong. Therefore, the registration information of the Flash storage module in the micro control unit is determined through the identity identification, and whether the first configuration information is acquired or not is determined according to the registration information, so that the stability of the Flash storage module in operation is improved, the data stored in the Flash storage module is not easy to lose, the stability of the Flash storage module in operation is ensured in data safety, and the data safety is ensured.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, and as shown in the figure, the electronic device includes a processor, a memory, and a computer program or an instruction stored in the memory, where the computer program or the instruction is stored in the memory and configured to be executed by the processor. The electronic device may also include a communication interface. In an embodiment of the present application, the program includes instructions for performing the following steps:
acquiring first configuration information of the Flash storage module, wherein the first configuration information is used for representing the communication configuration of the Flash storage module;
determining a target configuration operated in the micro control unit according to the first configuration information and a preset mapping relation, wherein the mapping relation comprises the mapping relation between the first configuration information of the Flash storage module and the operation configuration of the micro control unit, and the target configuration comprises at least one of a communication bus type and a read-write operation instruction;
and starting the Boot program according to the target configuration.
It can be seen that, in the electronic device described in the embodiment of the present application, first configuration information of a Flash storage module may be obtained, where the first configuration information is used to represent communication configuration of the Flash storage module, and a target configuration running in a micro control unit is determined according to the first configuration information and a preset mapping relationship, where the mapping relationship includes a mapping relationship between the first configuration information of the Flash storage module and running configuration of the micro control unit, and the target configuration includes at least one of a communication bus type and a read-write operation instruction, and a Boot program is started according to the target configuration; therefore, the target configuration running in the micro control unit is determined according to the first configuration information and the preset mapping relation, and the Boot program is controlled to be started according to the target configuration, so that the compatibility of the micro control unit is improved, the compatibility of different types of Flash memory modules is realized, the stability of the Flash memory modules in running is improved, and the data safety is ensured.
In one possible example, the micro control unit includes an OTP memory module, the OTP memory module is communicatively connected to the Flash memory module, and in the aspect of determining the target configuration running in the micro control unit according to the mapping relationship between the first configuration information and the preset first configuration information and the running configuration, the program includes instructions for performing the following steps:
acquiring second configuration information of the OTP storage module, wherein the second configuration information is used for representing the communication configuration of the OTP storage module;
and determining the target configuration according to the first configuration information, the second configuration information and the mapping relation.
In one possible example, the mapping includes a sub-mapping, the sub-mapping includes a mapping between third configuration information and an operating configuration of the micro-control unit, the third configuration information is used for characterizing a descrambling status of the first configuration information, and in the aspect of determining the target configuration according to the first configuration information, the second configuration information and the mapping, the program includes instructions for:
determining a scrambling mode of the OTP memory module according to the second configuration information;
judging whether the scrambling mode is in a first state, wherein the first state is used for indicating the OTP storage module to start scrambling;
if so, descrambling the first configuration information to generate third configuration information;
and determining the target configuration operated in the micro control unit according to the third configuration information and the sub mapping relation.
In one possible example, the first configuration information includes at least one of a model number of the Flash storage module, a communication bus type supported by the Flash storage module, and a read/write manner.
In a possible example, before determining the target configuration to be run in the micro control unit according to the first configuration information and a preset mapping relationship, the program further includes instructions for performing the following steps:
processing the first configuration information to obtain a first check value corresponding to the first configuration information;
comparing the first check value with a first preset check value to determine whether the Flash storage module passes the cyclic redundancy check;
determining the target configuration according to the first configuration information and the mapping relation under the condition that the Flash storage module passes the cyclic redundancy check;
under the condition that the Flash storage module fails the cyclic redundancy check, counting the times of failing the check to obtain the check times;
and generating first state check information under the condition that the checking times are greater than a preset threshold, wherein the first state check information is used for indicating the cyclic redundancy check error.
In a possible example, the Boot program booting process includes performing read/write operations on the Flash storage module, and in terms of the Boot program being booted according to the target configuration, the Boot program includes instructions for performing the following steps:
acquiring a target array pointer, a start address and an operation byte number corresponding to target data, wherein the target data is used for indicating data to be subjected to the read/write operation in the Flash storage module, the start address is used for indicating an address at which the read/write operation is started on the target data in the Flash storage module, and the operation byte number is used for indicating the byte number corresponding to the target data;
and performing the read/write operation on the Flash storage module according to the target configuration, the target array pointer, the initial address and the number of operating bytes.
In a possible example, before the obtaining the first configuration information of the Flash storage module, the program further includes instructions for performing the following steps:
acquiring an identity of the Flash storage module, wherein the identity is used for representing the registration information of the Flash storage module in the micro control unit;
acquiring the first configuration information of the Flash storage module under the condition that the identity exists in a preset identity library;
and generating second state check information under the condition that the identity does not exist in the preset identity library, wherein the second state check information is used for indicating that the identity is wrong.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that in order to implement the above functions, it includes corresponding hardware structures and/or software modules for performing the respective functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the functional units may be divided according to the above method examples, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Referring to fig. 5A, fig. 5A is a block diagram of functional units of a Boot program Boot apparatus provided in an embodiment of the present application, where the apparatus 500 includes: an acquisition unit 501, a determination unit 502 and an activation unit 503, wherein,
the obtaining unit 501 is configured to obtain first configuration information of the Flash storage module, where the first configuration information is used to represent communication configuration of the Flash storage module;
the determining unit 502 is configured to determine a target configuration running in the micro control unit according to the first configuration information and a preset mapping relationship, where the preset mapping relationship includes a mapping relationship between the first configuration information of the Flash storage module and the running configuration of the micro control unit, and the target configuration includes at least one of a communication bus type and a read-write operation instruction;
the Boot unit 503 is configured to Boot the Boot program according to the target configuration.
It can be seen that, the Boot program starting apparatus described in this embodiment of the application may obtain first configuration information of a Flash storage module, where the first configuration information is used to represent communication configuration of the Flash storage module, determine, according to the first configuration information and a preset mapping relationship, a target configuration running in a micro control unit, where the mapping relationship includes a mapping relationship between the first configuration information of the Flash storage module and running configuration of the micro control unit, and the target configuration includes at least one of a communication bus type and a read-write operation instruction, and start the Boot program according to the target configuration; therefore, the target configuration running in the micro control unit is determined according to the first configuration information and the preset mapping relation, and the Boot program is controlled to be started according to the target configuration, so that the compatibility of the micro control unit is improved, the compatibility of different types of Flash memory modules is realized, the stability of the Flash memory modules in running is improved, and the data safety is ensured.
In a possible example, the micro control unit includes an OTP memory module, the OTP memory module is in communication connection with the Flash memory module, and in terms of determining the target configuration running in the micro control unit according to the mapping relationship between the first configuration information and the preset first configuration information and the running configuration, the determining unit 502 is specifically configured to:
acquiring second configuration information of the OTP memory module, wherein the second configuration information is used for representing the communication configuration of the OTP memory module;
and determining the target configuration according to the first configuration information, the second configuration information and the mapping relation.
In a possible example, the mapping relationship includes a sub-mapping relationship, the sub-mapping relationship includes a mapping relationship between third configuration information and an operation configuration of the micro control unit, the third configuration information is used for characterizing a descrambling state of the first configuration information, and in the aspect of determining the target configuration according to the first configuration information, the second configuration information and the mapping relationship, the determining unit 502 is specifically configured to:
determining a scrambling mode of the OTP memory module according to the second configuration information;
judging whether the scrambling mode is in a first state, wherein the first state is used for indicating the OTP storage module to start scrambling;
if so, descrambling the first configuration information to generate third configuration information;
and determining the target configuration operated in the micro control unit according to the third configuration information and the sub mapping relation.
In one possible example, the first configuration information includes at least one of a model number of the Flash storage module, a communication bus type supported by the Flash storage module, and a read/write manner.
In a possible example, the Boot program starting process includes performing read/write operations on the Flash storage module, and in terms of starting the Boot program according to the target configuration, the starting unit 503 is specifically configured to:
acquiring a target array pointer, a start address and operation byte numbers corresponding to target data, wherein the target data is used for indicating data to be subjected to the read/write operation in the Flash storage module, the start address is used for indicating an address for starting the read/write operation on the target data in the Flash storage module, and the operation byte numbers are used for indicating byte numbers corresponding to the target data;
and performing the read/write operation on the Flash storage module according to the target configuration, the target array pointer, the initial address and the number of operating bytes.
In one possible example, as shown in fig. 5B, the apparatus 500 may further include, as compared to fig. 5A described above: a verification unit 504 and a first status check unit 505, wherein,
the checking unit 504 is configured to process the first configuration information to obtain a first check value corresponding to the first configuration information;
the checking unit 504 is further configured to compare the first check value with a first preset check value, and determine whether the Flash storage module passes a cyclic redundancy check;
the determining unit 502 is configured to determine the target configuration according to the first configuration information and the mapping relationship when the Flash storage module passes the cyclic redundancy check;
the first state checking unit 505 is configured to count the number of times of failing to pass the cyclic redundancy check when the Flash storage module fails to pass the cyclic redundancy check, so as to obtain the number of times of checking;
the first status checking unit 505 is further configured to generate first status checking information when the check number is greater than a preset threshold, where the first status checking information is used to indicate that the cyclic redundancy check is incorrect.
It can be seen that the Boot program starting apparatus provided in this embodiment of the application may obtain first configuration information of the Flash storage module, where the first configuration information is used to represent communication configuration of the Flash storage module, process the first configuration information to obtain a first check value corresponding to the first configuration information, compare the first check value with a first preset check value, determine whether the Flash storage module passes cyclic redundancy check, and determine a target configuration running in the micro control unit according to the first configuration information and a preset mapping relationship when the Flash storage module passes the cyclic redundancy check, where the mapping relationship includes a mapping relationship between the first configuration information of the Flash storage module and running configuration of the micro control unit, where the target configuration includes at least one of a communication bus type and a read-write operation instruction, starting the Boot program according to the target configuration, counting the times of failing verification under the condition that the Flash storage module fails to pass the cyclic redundancy check to obtain the verification times, and generating first state check information under the condition that the verification times are greater than a preset threshold value, wherein the first state check information is used for indicating the cyclic redundancy check error; therefore, the first configuration information is checked, so that the communication configuration in the Flash storage module is ensured to be in a usable state, the target configuration running in the micro control unit is determined according to the first configuration information and the preset mapping relation, and the Boot program is controlled to be started according to the target configuration, so that the compatibility of the micro control unit is improved, the compatibility of the Flash storage modules of different types is realized, the stability of the Flash storage module in operation is improved, and the data safety is ensured.
In one possible example, as shown in fig. 5C, as compared to fig. 5A described above, the apparatus 500 may further include: a second status checking unit 506, wherein,
the obtaining unit 501 is further configured to obtain an identity of the Flash storage module, where the identity is used to represent registration information of the Flash storage module in the micro control unit;
the obtaining unit 501 is further configured to obtain the first configuration information of the Flash storage module under the condition that the identity exists in a preset identity library;
the second status checking unit 506 is configured to generate second status checking information under the condition that the identity does not exist in the preset identity library, where the second status checking information is used to indicate that the identity is wrong.
It can be seen that, the Boot program starting device provided in the embodiment of the present application obtains the identity of the Flash storage module, where the identity is used to represent the registration information of the Flash storage module in the micro control unit, under the condition that the identity mark exists in a preset identity mark library, first configuration information of a Flash storage module is obtained, determining a target configuration operated in the micro control unit according to the first configuration information and a preset mapping relation, wherein the mapping relation comprises the mapping relation between the first configuration information of the Flash storage module and the operation configuration of the micro control unit, the target configuration comprises at least one of a communication bus type and a read-write operation instruction, starting a Boot program according to the target configuration, and under the condition that the identity does not exist in the preset identity library, generating second state checking information, wherein the second state checking information is used for indicating that the identity is wrong. Therefore, the registration information of the Flash storage module in the micro control unit is determined through the identity identification, and whether the first configuration information is acquired or not is determined according to the registration information, so that the stability of the Flash storage module in operation is improved, the data stored in the Flash storage module is not easy to lose, the stability of the Flash storage module in operation is ensured, and the data safety is ensured.
It can be understood that the functions of each program module of the Boot program starting apparatus in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the relevant description of the foregoing method embodiment, which is not described herein again.
Embodiments of the present application further provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enables a computer to execute part or all of the steps of any one of the methods as described in the above method embodiments, and the computer includes a control platform.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any one of the methods as set out in the above method embodiments. The computer program product may be a software installation package, the computer comprising the control platform.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the above-described units is only one type of logical functional division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps of the methods of the above embodiments may be implemented by a program, which is stored in a computer-readable memory, the memory including: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing embodiments have been described in detail, and specific examples are used herein to explain the principles and implementations of the present application, where the above description of the embodiments is only intended to help understand the method and its core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A Boot program starting method is characterized by being applied to a micro control unit, wherein the micro control unit is in communication connection with a Flash storage module; the method comprises the following steps:
acquiring first configuration information of the Flash storage module, wherein the first configuration information is used for representing the communication configuration of the Flash storage module;
determining a target configuration operated in the micro control unit according to the first configuration information and a preset mapping relation, wherein the mapping relation comprises the mapping relation between the first configuration information of the Flash storage module and the operation configuration of the micro control unit, and the target configuration comprises at least one of a communication bus type and a read-write operation instruction;
and starting the Boot program according to the target configuration.
2. The method according to claim 1, wherein the micro control unit includes an OTP memory module, the OTP memory module is communicatively connected to the Flash memory module, and the determining a target configuration running in the micro control unit according to the mapping relationship between the first configuration information and preset first configuration information and a running configuration includes:
acquiring second configuration information of the OTP memory module, wherein the second configuration information is used for representing the communication configuration of the OTP memory module;
and determining the target configuration according to the first configuration information, the second configuration information and the mapping relation.
3. The method of claim 2, wherein the mapping comprises a sub-mapping comprising a mapping between third configuration information and an operating configuration of the micro-control unit, the third configuration information being used to characterize a descrambling status of the first configuration information, and wherein determining the target configuration based on the first configuration information, the second configuration information, and the mapping comprises:
determining a scrambling mode of the OTP storage module according to the second configuration information;
judging whether the scrambling mode is in a first state, wherein the first state is used for indicating the OTP storage module to start scrambling;
if so, descrambling the first configuration information to generate third configuration information;
and determining the target configuration operated in the micro control unit according to the third configuration information and the sub mapping relation.
4. The method according to any one of claims 1 to 3, wherein the first configuration information includes at least one of a model number of the Flash memory module, a communication bus type supported by the Flash memory module, and a read/write manner.
5. The method of claim 1, wherein prior to said determining a target configuration for operation in said micro-control unit based on said first configuration information and a predetermined mapping, said method further comprises:
processing the first configuration information to obtain a first check value corresponding to the first configuration information;
comparing the first check value with a first preset check value to determine whether the Flash storage module passes the cyclic redundancy check;
determining the target configuration according to the first configuration information and the mapping relation under the condition that the Flash storage module passes the cyclic redundancy check;
under the condition that the Flash storage module fails the cyclic redundancy check, counting the times of failing the check to obtain the check times;
and generating first state check information under the condition that the checking times are greater than a preset threshold, wherein the first state check information is used for indicating the cyclic redundancy check error.
6. The method according to claim 1, wherein the Boot program Boot process includes performing read/write operations on the Flash storage module, and the booting the Boot program according to the target configuration includes:
acquiring a target array pointer, a start address and an operation byte number corresponding to target data, wherein the target data is used for indicating data to be subjected to the read/write operation in the Flash storage module, the start address is used for indicating an address at which the read/write operation is started on the target data in the Flash storage module, and the operation byte number is used for indicating the byte number corresponding to the target data;
and performing the read/write operation on the Flash storage module according to the target configuration, the target array pointer, the initial address and the number of operation bytes.
7. The method according to claim 1, wherein before the obtaining the first configuration information of the Flash storage module, the method further comprises:
acquiring an identity of the Flash storage module, wherein the identity is used for representing the registration information of the Flash storage module in the micro control unit;
acquiring the first configuration information of the Flash storage module under the condition that the identity exists in a preset identity library;
and generating second state check information under the condition that the identity does not exist in the preset identity library, wherein the second state check information is used for indicating that the identity is wrong.
8. A Boot program starting device is characterized by being applied to a micro control unit, wherein the micro control unit is in communication connection with a Flash storage module; the device comprises an acquisition unit, a determination unit and an activation unit, wherein,
the acquisition unit is used for acquiring first configuration information of the Flash storage module, wherein the first configuration information is used for representing the communication configuration of the Flash storage module;
the determining unit is configured to determine a target configuration running in the micro control unit according to the first configuration information and a preset mapping relationship, where the preset mapping relationship includes a mapping relationship between the first configuration information of the Flash storage module and the running configuration of the micro control unit, and the target configuration includes at least one of a communication bus type and a read-write operation instruction;
and the starting unit is used for starting the Boot program according to the target configuration.
9. An electronic device comprising a processor, a memory, and a computer program or instructions stored on the memory, wherein the processor executes the computer program or instructions to implement the steps of the method of any one of claims 1-7.
10. A computer-readable storage medium, having stored thereon a computer program or instructions, which, when executed by a processor, carry out the steps of the method of any one of claims 1 to 7.
CN202210333733.1A 2022-03-31 2022-03-31 Boot program starting method and related device Active CN114780153B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210333733.1A CN114780153B (en) 2022-03-31 2022-03-31 Boot program starting method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210333733.1A CN114780153B (en) 2022-03-31 2022-03-31 Boot program starting method and related device

Publications (2)

Publication Number Publication Date
CN114780153A true CN114780153A (en) 2022-07-22
CN114780153B CN114780153B (en) 2023-08-08

Family

ID=82426276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210333733.1A Active CN114780153B (en) 2022-03-31 2022-03-31 Boot program starting method and related device

Country Status (1)

Country Link
CN (1) CN114780153B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996251A (en) * 2007-01-04 2007-07-11 炬力集成电路设计有限公司 Embedded system guiding method and device
CN104679592A (en) * 2013-12-02 2015-06-03 北京兆易创新科技股份有限公司 Method and system for dynamically distributing resources in microcontroller unit MCU
CN105354050A (en) * 2015-09-30 2016-02-24 深圳市九洲电器有限公司 Application software calling method for intelligent terminal
CN106528106A (en) * 2016-10-31 2017-03-22 武汉光迅科技股份有限公司 Embedded system booting method adaptive to various Flash chip types
CN111124517A (en) * 2019-12-23 2020-05-08 湖南国科微电子股份有限公司 Embedded chip boot starting method and device, computer equipment and storage medium
CN112379932A (en) * 2020-11-23 2021-02-19 歌尔科技有限公司 Boot method and Boot device of electronic equipment and electronic equipment
CN113741944A (en) * 2021-08-16 2021-12-03 南京苏美达智能技术有限公司 Machine program system with upgrading function, upgrading method and application

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996251A (en) * 2007-01-04 2007-07-11 炬力集成电路设计有限公司 Embedded system guiding method and device
CN104679592A (en) * 2013-12-02 2015-06-03 北京兆易创新科技股份有限公司 Method and system for dynamically distributing resources in microcontroller unit MCU
CN105354050A (en) * 2015-09-30 2016-02-24 深圳市九洲电器有限公司 Application software calling method for intelligent terminal
CN106528106A (en) * 2016-10-31 2017-03-22 武汉光迅科技股份有限公司 Embedded system booting method adaptive to various Flash chip types
CN111124517A (en) * 2019-12-23 2020-05-08 湖南国科微电子股份有限公司 Embedded chip boot starting method and device, computer equipment and storage medium
CN112379932A (en) * 2020-11-23 2021-02-19 歌尔科技有限公司 Boot method and Boot device of electronic equipment and electronic equipment
CN113741944A (en) * 2021-08-16 2021-12-03 南京苏美达智能技术有限公司 Machine program system with upgrading function, upgrading method and application

Also Published As

Publication number Publication date
CN114780153B (en) 2023-08-08

Similar Documents

Publication Publication Date Title
CN109542518B (en) Chip and method for starting chip
JP5270377B2 (en) Platform boot with bridge support
US20140156982A1 (en) Bootability with multiple logical unit numbers
CN113688087B (en) PCIE (peripheral component interface express) device enumeration method, system, storage medium and device
CN110096314B (en) Interface initialization method, device, equipment and computer readable storage medium
US11314665B2 (en) Information processing system, information processing device, BIOS updating method for information processing device, and BIOS updating program for information processing device
WO2013103335A1 (en) Backing up firmware during initialization of device
US7600106B2 (en) System and method for enabling/disabling write-protection of a basic input output system
CN110780909A (en) Distributed embedded system upgrading method and device
CN108920159B (en) Security upgrading method and device and electronic equipment
CN115756984A (en) Memory test method, device, equipment and storage medium
CN114968864B (en) Verification environment construction method, chip verification method and system
CN114138333A (en) Program loading method and related device
CN110399168B (en) System starting method, device and equipment for multiple data disk storage servers
EP2429226A1 (en) Mobile terminal and method for protecting its system data
CN112417802B (en) Method, system, equipment and storage medium for simulating storage chip
CN114780153B (en) Boot program starting method and related device
CN108985402B (en) RAID card information acquisition method and related device
CN115688120A (en) Secure chip firmware importing method, secure chip and computer readable storage medium
CN114691227A (en) Multi-mode starting method and device of BIOS (basic input output System), electronic equipment and storage medium
CN113672260A (en) CPU initialization method for processor
CN108334351A (en) A kind of method and device of modification boot sequence
WO2020097863A1 (en) Flashing control method, flashing control apparatus and terminal device
CN114546899A (en) USB device connection method, system and computer readable storage medium
JP7501808B2 (en) IC chip

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