CN112579133A - Firmware program updating method and device, storage medium and electronic equipment - Google Patents

Firmware program updating method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN112579133A
CN112579133A CN202011591548.XA CN202011591548A CN112579133A CN 112579133 A CN112579133 A CN 112579133A CN 202011591548 A CN202011591548 A CN 202011591548A CN 112579133 A CN112579133 A CN 112579133A
Authority
CN
China
Prior art keywords
function
firmware
program
driver
firmware program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011591548.XA
Other languages
Chinese (zh)
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.)
Beijing Senseshield Technology Co Ltd
Original Assignee
Beijing Senseshield 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 Beijing Senseshield Technology Co Ltd filed Critical Beijing Senseshield Technology Co Ltd
Priority to CN202011591548.XA priority Critical patent/CN112579133A/en
Publication of CN112579133A publication Critical patent/CN112579133A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the disclosure provides a firmware program updating method, a firmware program updating device, a storage medium and electronic equipment, wherein the method comprises the following steps: the firmware program acquires a function address of a drive program corresponding to the firmware extension function in a drive inlet table, wherein the function address of the drive program is registered in the drive inlet table in advance; and the firmware program calls the firmware extended function according to the function address to update the function of the firmware program. The embodiment of the disclosure writes the function to be updated into the single chip microcomputer in a driver mode, and then can increase or modify the function of the firmware program in a driver adding mode, and the mode can realize the update of the program without downloading the complete firmware program, and can also remotely download the driver, and then can realize the update of the function without a fixed interface, thereby improving the overall performance of the single chip microcomputer.

Description

Firmware program updating method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of single-chip microcomputers, and in particular, to a firmware program updating method and apparatus, a storage medium, and an electronic device.
Background
At present, the single chip microcomputer is widely applied to small and miniature equipment in various fields. The resources of the single chip microcomputer are usually very limited, and Windows, Linux and even android systems are difficult to run, and firmware programs are usually written directly in a systemless mode. Therefore, when the functions of the firmware program of the single chip microcomputer are expanded, the firmware program is often required to be downloaded again through a programming interface, and the operation is very inconvenient.
In the existing scheme, a starting program is usually downloaded in a single chip microcomputer, the starting program jumps to a firmware program to be executed in a normal working mode, and the firmware program can be downloaded by the starting program after a downloading mode is triggered.
Limited by the resources of the single chip microcomputer, the starting program is usually simple, the firmware program can only be downloaded through a special downloading interface (such as a serial port, a USB interface and the like), and the function of the firmware program cannot be updated under the condition that the complete firmware program is not updated.
Disclosure of Invention
In view of this, the embodiments of the present disclosure provide a method, an apparatus, a storage medium, and an electronic device for updating a firmware program, so as to solve the following problems in the prior art: limited by the resources of the single chip microcomputer, the complete firmware program can be downloaded only through a special downloading interface, and the function of the firmware program cannot be updated under the condition that the complete firmware program is not updated.
In one aspect, an embodiment of the present disclosure provides a method for updating a firmware program, including: the method comprises the steps that a firmware program obtains a function address of a driving program corresponding to a firmware extension function in a driving inlet table, wherein the function address of the driving program is registered in the driving inlet table in advance; and the firmware program calls the firmware extended function according to the function address to update the function of the firmware program.
In some embodiments, before the firmware program obtains the function address of the driver corresponding to the firmware extension function in the driver entry table, the method further includes: compiling the firmware extension function into the driver program through a compiler, wherein the firmware extension function calls a function in the firmware program in a function pointer mode; and writing the driving program into a memory of the single chip microcomputer.
In some embodiments, further comprising: and registering the function address of the driver in the drive entry table, and setting a corresponding index number for the function address.
In some embodiments, the acquiring, by the firmware program, a function address of a driver corresponding to the firmware extended function in the driver entry table includes: and the firmware program acquires the function address of the driver program in the drive entry table according to the index number.
On the other hand, an embodiment of the present disclosure provides an apparatus for updating a firmware program, including: the firmware extension function acquisition module is configured to enable a firmware program to acquire a function address of a driver program corresponding to a firmware extension function in a drive entry table, wherein the function address of the driver program is registered in the drive entry table in advance; and the calling module is configured to enable the firmware program to call the firmware extended function according to the function address so as to update the function of the firmware program.
In some embodiments, further comprising: the compiling module is configured to compile the firmware extended function into the driver program through a compiler, wherein the firmware extended function calls a function in the firmware program in a function pointer mode; and the writing module is configured to write the driving program into a memory of the single chip microcomputer.
In some embodiments, further comprising: and the registration module is configured to register the function address of the driver in the drive entry table and set a corresponding index number for the function address.
In some embodiments, the obtaining module is specifically configured to enable the firmware program to obtain a function address of the driver in the driver entry table according to the index number.
In another aspect, an embodiment of the present disclosure provides a storage medium storing a computer program, where the computer program is executed by a processor to implement the method provided in any embodiment of the present disclosure.
On the other hand, the embodiment of the present disclosure provides an electronic device, which at least includes a memory and a processor, where the memory stores a computer program, and the processor implements the method provided in any embodiment of the present disclosure when executing the computer program on the memory.
The embodiment of the disclosure writes the function to be updated into the single chip microcomputer in a driver mode, and then can increase or modify the function of the firmware program in a driver adding mode, and the mode can realize the update of the program without downloading the complete firmware program, and can also remotely download the driver, and then can realize the update of the function without a fixed interface, thereby improving the overall performance of the single chip microcomputer.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present disclosure, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a firmware program updating method according to a first embodiment of the disclosure;
fig. 2 is a schematic structural diagram of an apparatus for updating a firmware program according to a second embodiment of the disclosure;
fig. 3 is a schematic structural diagram of an electronic device according to a fourth embodiment of the disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described below clearly and completely with reference to the accompanying drawings of the embodiments of the present disclosure. It is to be understood that the described embodiments are only a few embodiments of the present disclosure, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the described embodiments of the disclosure without any inventive step, are within the scope of protection of the disclosure.
Unless otherwise defined, technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this disclosure belongs. The use of "first," "second," and similar terms in this disclosure is not intended to indicate any order, quantity, or importance, but rather is used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element or item listed before the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships may also be changed accordingly.
To maintain the following description of the embodiments of the present disclosure clear and concise, a detailed description of known functions and known components have been omitted from the present disclosure.
Limited by the resources of the single chip microcomputer, the complete firmware program can only be downloaded through a special downloading interface (such as a serial port, a USB interface and the like), the function of the firmware program cannot be updated under the condition that the complete firmware program is not updated, and more flexible updating modes such as remote updating of the firmware program cannot be realized.
A first embodiment of the present disclosure provides a firmware program updating method, a flow of the method is shown in fig. 1, and the method includes steps S101 to S102:
s101, the firmware program acquires a function address of a driver corresponding to the firmware extension function in a drive entry table, wherein the function address of the driver is registered in the drive entry table in advance.
In specific implementation, the firmware extended function is written according to a predetermined programming language, and the predetermined programming language may be any language capable of completing writing of the firmware extended function, such as C language, C + +, and the like.
After the compiling is finished, compiling the firmware extension function into a driving program through a compiler, wherein the firmware extension function calls a function in the firmware program in a function pointer mode; and then, writing the driving program into the memory of the single chip microcomputer.
In the above process, after the firmware extension function is compiled into the driver, the binary code that can be recognized by the computer system is obtained. The firmware extension function calls a function in the firmware program by means of a function pointer, wherein the function pointer is a pointer variable pointing to the function, so that the function pointer itself should refer to the pointer variable at first, but the pointer variable points to the function. Just as integer variables, character types, and arrays can be pointed to with pointer variables, embodiments of the present disclosure are pointing functions. At compile time, each function has an entry address, which is the address pointed to by the function pointer. With a pointer variable to a function, the function can be called with the pointer variable just as other types of variables can be referenced with the pointer variable.
After the driver is written into the memory of the single chip microcomputer, the function address of the driver is registered in the drive entry table for the acquisition and use in the step S101.
S102, the firmware program calls the firmware extension function according to the function address to update the function of the firmware program.
The firmware extended function is set for updating the function of the firmware program, the update may be an update of the existing firmware program function or a new firmware function, and since the update is to extend the firmware program to implement more or better functions, the update is collectively referred to as the firmware extended function.
The embodiment of the disclosure writes the function to be updated into the single chip microcomputer in a driver mode, and then can increase or modify the function of the firmware program in a driver adding mode, and the mode can realize the update of the program without downloading the complete firmware program, and can also remotely download the driver, and then can realize the update of the function without a fixed interface, thereby improving the overall performance of the single chip microcomputer.
In specific implementation, in order to obtain the function address more easily, when the function address of the driver is registered in the driver entry table, a corresponding index number is set for the function address. Furthermore, when the firmware program obtains the function address of the driver corresponding to the firmware extension function in the driver entry table, the function address of the driver can be obtained in the driver entry table according to the index number, so that the function address can be obtained more conveniently and quickly.
The above process is further illustrated below with reference to specific examples. This example includes steps S201 to S207:
s201, writing the firmware extension function into a function in a C language mode, and naming the function as func.
S202, func calls function func2 in the firmware program, because the func2 address is known and is marked as addr2, the call to func2 can be realized by the function pointer pffunc and is marked as addr 2.
S203, compiling func by using a compiler, such as Keil, to obtain a binary code.
And S204, writing the binary code into the singlechip memory, wherein the initial address is addr.
S205, registering addr in the drive entry table, wherein the index number of addr in the drive entry table is index.
S206, when the func function needs to be called, the firmware finds the addr in the drive entry table according to the index.
S207, the firmware program jumps to the addr address to execute, and therefore calling of the extended function is achieved.
According to the embodiment of the disclosure, functions that the firmware wants to modify or add can be realized by adding the driver, and the whole firmware program does not need to be compiled again; registering a function address in a driver by using a driver entry table without allocating the address of the driver in advance; the functions of the firmware program can be expanded only by downloading the driver and registering, and a special starting code is not needed for downloading the whole firmware program.
A second embodiment of the present disclosure provides an apparatus for updating a firmware program, where a schematic structure of the apparatus is shown in fig. 2, and the apparatus includes:
an obtaining module 10, configured to enable a firmware program to obtain, in a drive entry table, a function address of a driver corresponding to a firmware extended function, where the function address of the driver is registered in the drive entry table in advance; and the calling module 20 is coupled with the obtaining module 10 and configured to enable the firmware program to call the firmware extended function according to the function address so as to update the function of the firmware program.
In specific implementation, the firmware extended function is written according to a predetermined programming language, and the predetermined programming language may be any language capable of completing writing of the firmware extended function, such as C language, C + +, and the like.
The firmware extension function is compiled into a driver program through a compiler, wherein the firmware extension function calls a function in the firmware program in a function pointer mode; and the writing module is coupled with the compiling module and is configured to write the driving program into the memory of the single chip microcomputer. In the above process, after the firmware extension function is compiled into the driver, the binary code that can be recognized by the computer system is obtained. The firmware extension function calls a function in the firmware program by means of a function pointer, wherein the function pointer is a pointer variable pointing to the function, so that the function pointer itself should refer to the pointer variable at first, but the pointer variable points to the function. Just as integer variables, character types, and arrays can be pointed to with pointer variables, embodiments of the present disclosure are pointing functions. At compile time, each function has an entry address, which is the address pointed to by the function pointer. With a pointer variable to a function, the function can be called with the pointer variable just as other types of variables can be referenced with the pointer variable.
In specific implementation, the embodiment of the present disclosure may further include a registration module and an acquisition module, where the registration module is coupled to the write-in module or the acquisition module, and is configured to register a function address of the driver in the driver entry table and set a corresponding index number for the function address; and the acquisition module is specifically configured to enable the firmware program to acquire the function address of the driver program in the driver entry table according to the index number. By the method, when the firmware program obtains the function address of the driver corresponding to the firmware extension function in the drive entry table, the function address of the driver can be obtained in the drive entry table according to the index number, so that the function address can be obtained more conveniently and rapidly.
The embodiment of the disclosure provides a more convenient firmware program updating mode, and only the function to be expanded needs to be written as the driver, i.e. the driver can be added without updating the complete firmware program, and then the function of the firmware program can be added or modified in a mode of adding the driver.
A third embodiment of the present disclosure provides a storage medium, which is a computer-readable medium storing a computer program, which when executed by a processor implements the method provided in any embodiment of the present disclosure, including the following steps S11 to S12:
s11, the firmware program obtains the function address of the driver program corresponding to the firmware extension function in the drive entry table, wherein the function address of the driver program is registered in the drive entry table in advance;
s12, the firmware program calls the firmware extended function according to the function address to update the function of the firmware program.
Before the step that the processor executes the firmware program to obtain the function address of the driver corresponding to the firmware extended function in the drive inlet table, the computer program is further executed by the processor to perform the following steps: compiling the firmware extension function into a driver program through a compiler, wherein the firmware extension function calls a function in the firmware program in a function pointer mode; and writing the driving program into the memory of the single chip microcomputer.
The computer program is further executable by the processor to perform the steps of: registering the function address of the driver in the drive entry table, and setting a corresponding index number for the function address.
When the computer program is executed by the processor, and the step of acquiring the function address of the driver corresponding to the firmware extended function in the driver entry table is performed by the firmware program, the following steps are specifically performed by the processor: and the firmware program acquires the function address of the driver program in the drive inlet table according to the index number.
The embodiment of the disclosure writes the function to be updated into the single chip microcomputer in a driver mode, and then can increase or modify the function of the firmware program in a driver adding mode, and the mode can realize the update of the program without downloading the complete firmware program, and can also remotely download the driver, and then can realize the update of the function without a fixed interface, thereby improving the overall performance of the single chip microcomputer.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes. Optionally, in this embodiment, the processor executes the method steps described in the above embodiments according to the program code stored in the storage medium. Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again. It will be apparent to those skilled in the art that the modules or steps of the present disclosure described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. As such, the present disclosure is not limited to any specific combination of hardware and software.
A fourth embodiment of the present disclosure provides an electronic device, a schematic structural diagram of the electronic device may be as shown in fig. 3, where the electronic device includes at least a memory 901 and a processor 902, the memory 901 stores a computer program, and the processor 902, when executing the computer program on the memory 901, implements the method provided in any embodiment of the present disclosure. Illustratively, the electronic device computer program steps are as follows S21-S22:
s21, the firmware program obtains the function address of the driver program corresponding to the firmware extension function in the drive entry table, wherein the function address of the driver program is registered in the drive entry table in advance;
s22, the firmware program calls the firmware extended function according to the function address to update the function of the firmware program.
Before executing the computer program that the firmware program stored in the memory acquires the function address of the driver corresponding to the firmware extended function in the drive entry table, the processor further executes the following computer program: compiling the firmware extension function into a driver program through a compiler, wherein the firmware extension function calls a function in the firmware program in a function pointer mode; and writing the driving program into the memory of the single chip microcomputer.
The processor also executes the following computer program: registering the function address of the driver in the drive entry table, and setting a corresponding index number for the function address.
When the processor executes the computer program of the step that the firmware program stored in the memory acquires the function address of the driver corresponding to the firmware extended function in the driver entry table, the following computer program is specifically executed: and the firmware program acquires the function address of the driver program in the drive inlet table according to the index number.
The embodiment of the disclosure writes the function to be updated into the single chip microcomputer in a driver mode, and then can increase or modify the function of the firmware program in a driver adding mode, and the mode can realize the update of the program without downloading the complete firmware program, and can also remotely download the driver, and then can realize the update of the function without a fixed interface, thereby improving the overall performance of the single chip microcomputer.
Moreover, although exemplary embodiments have been described herein, the scope thereof includes any and all embodiments based on the disclosure with equivalent elements, modifications, omissions, combinations (e.g., of various embodiments across), adaptations or alterations. The elements of the claims are to be interpreted broadly based on the language employed in the claims and not limited to examples described in the present specification or during the prosecution of the application, which examples are to be construed as non-exclusive. It is intended, therefore, that the specification and examples be considered as exemplary only, with a true scope and spirit being indicated by the following claims and their full scope of equivalents.
The above description is intended to be illustrative and not restrictive. For example, the above-described examples (or one or more versions thereof) may be used in combination with each other. For example, other embodiments may be used by those of ordinary skill in the art upon reading the above description. In addition, in the foregoing detailed description, various features may be grouped together to streamline the disclosure. This should not be interpreted as an intention that a disclosed feature not claimed is essential to any claim. Rather, the subject matter of the present disclosure may lie in less than all features of a particular disclosed embodiment. Thus, the following claims are hereby incorporated into the detailed description as examples or embodiments, with each claim standing on its own as a separate embodiment, and it is contemplated that these embodiments may be combined with each other in various combinations or permutations. The scope of the disclosure should be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
While the present disclosure has been described in detail with reference to the embodiments, the present disclosure is not limited to the specific embodiments, and those skilled in the art can make various modifications and alterations based on the concept of the present disclosure, and the modifications and alterations should fall within the scope of the present disclosure as claimed.

Claims (10)

1.一种固件程序的更新方法,其特征在于,包括:1. an update method of firmware program, is characterized in that, comprises: 固件程序在驱动入口表中获取固件扩展功能函数对应的驱动程序的函数地址,其中,所述驱动程序的函数地址是预先注册在所述驱动入口表中的;The firmware program obtains the function address of the driver corresponding to the firmware extended function function in the driver entry table, wherein the function address of the driver is pre-registered in the driver entry table; 固件程序根据所述函数地址调用所述固件扩展功能函数,以更新所述固件程序的功能。The firmware program calls the firmware extended function function according to the function address to update the function of the firmware program. 2.如权利要求1所述的固件程序的更新方法,其特征在于,所述固件程序在驱动入口表中获取固件扩展功能函数对应的驱动程序的函数地址之前,还包括:2. the update method of firmware program as claimed in claim 1 is characterized in that, before described firmware program obtains the function address of the driver program corresponding to firmware extension function function in the driver entry table, also comprises: 将所述固件扩展功能函数通过编译器编译为所述驱动程序,其中,所述固件扩展功能函数通过函数指针的方式调用所述固件程序中的函数;Compiling the firmware extended function function into the driver program by a compiler, wherein the firmware extended function function calls the function in the firmware program by means of a function pointer; 将所述驱动程序写入单片机存储器中。Write the driver into the memory of the microcontroller. 3.如权利要求1或2所述的固件程序的更新方法,其特征在于,还包括:3. the update method of firmware program as claimed in claim 1 or 2, is characterized in that, also comprises: 在所述驱动入口表中注册所述驱动程序的函数地址,并为所述函数地址设置对应的索引号。The function address of the driver is registered in the driver entry table, and a corresponding index number is set for the function address. 4.如权利要求3所述的固件程序的更新方法,其特征在于,所述固件程序在驱动入口表中获取固件扩展功能函数对应的驱动程序的函数地址,包括:4. the update method of firmware program as claimed in claim 3, is characterized in that, described firmware program obtains the function address of the driver program corresponding to firmware extension function function in driver entry table, comprises: 所述固件程序根据所述索引号在所述驱动入口表中获取所述驱动程序的函数地址。The firmware program obtains the function address of the driver in the driver entry table according to the index number. 5.一种固件程序的更新装置,其特征在于,包括:5. an update device of a firmware program, is characterized in that, comprises: 获取模块,配置为使固件程序在驱动入口表中获取固件扩展功能函数对应的驱动程序的函数地址,其中,所述驱动程序的函数地址是预先注册在所述驱动入口表中的;an acquisition module, configured to enable the firmware program to acquire the function address of the driver program corresponding to the firmware extended function function in the driver entry table, wherein the function address of the driver program is pre-registered in the driver entry table; 调用模块,配置为使固件程序根据所述函数地址调用所述固件扩展功能函数,以更新所述固件程序的功能。The calling module is configured to make the firmware program call the firmware extended function function according to the function address, so as to update the function of the firmware program. 6.如权利要求5所述的固件程序的更新装置,其特征在于,还包括:6. The update device of firmware program as claimed in claim 5, is characterized in that, also comprises: 编译模块,配置为将所述固件扩展功能函数通过编译器编译为所述驱动程序,其中,所述固件扩展功能函数通过函数指针的方式调用所述固件程序中的函数;a compiling module, configured to compile the firmware extended function function into the driver program through a compiler, wherein the firmware extended function function calls a function in the firmware program by means of a function pointer; 写入模块,配置为将所述驱动程序写入单片机存储器中。The writing module is configured to write the driver into the memory of the microcontroller. 7.如权利要求5或6所述的固件程序的更新装置,其特征在于,还包括:7. the update device of the firmware program as claimed in claim 5 or 6, is characterized in that, also comprises: 注册模块,配置为在所述驱动入口表中注册所述驱动程序的函数地址,并为所述函数地址设置对应的索引号。The registration module is configured to register the function address of the driver in the driver entry table, and set a corresponding index number for the function address. 8.如权利要求7所述的固件程序的更新装置,其特征在于,8. The update device of firmware program as claimed in claim 7, is characterized in that, 所述获取模块,具体配置为使所述固件程序根据所述索引号在所述驱动入口表中获取所述驱动程序的函数地址。The acquiring module is specifically configured to enable the firmware program to acquire the function address of the driver in the driver entry table according to the index number. 9.一种存储介质,存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至4中任一项所述方法的步骤。9 . A storage medium storing a computer program, wherein, when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented. 10 . 10.一种单片机,至少包括存储器、处理器,所述存储器上存储有计算机程序,其特征在于,所述处理器在执行所述存储器上的计算机程序时实现权利要求1至4中任一项所述方法的步骤。10. A single-chip computer, comprising at least a memory and a processor, wherein a computer program is stored on the memory, wherein the processor implements any one of claims 1 to 4 when executing the computer program on the memory the steps of the method.
CN202011591548.XA 2020-12-29 2020-12-29 Firmware program updating method and device, storage medium and electronic equipment Pending CN112579133A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011591548.XA CN112579133A (en) 2020-12-29 2020-12-29 Firmware program updating method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011591548.XA CN112579133A (en) 2020-12-29 2020-12-29 Firmware program updating method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN112579133A true CN112579133A (en) 2021-03-30

Family

ID=75144047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011591548.XA Pending CN112579133A (en) 2020-12-29 2020-12-29 Firmware program updating method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112579133A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024108339A1 (en) * 2022-11-21 2024-05-30 河南许继仪表有限公司 Message registration and subscription method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1912833A (en) * 2006-08-29 2007-02-14 华南理工大学 Embedded operation system driver dynamic update method
CN101776990A (en) * 2009-01-13 2010-07-14 联发科技股份有限公司 Firmware extension method and firmware generator
CN106325915A (en) * 2015-07-01 2017-01-11 广达电脑股份有限公司 System, method and computer readable storage medium for updating computer firmware
US20200133652A1 (en) * 2018-10-25 2020-04-30 American Megatrends, Inc. Techniques of updating host device firmware via service processor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1912833A (en) * 2006-08-29 2007-02-14 华南理工大学 Embedded operation system driver dynamic update method
CN101776990A (en) * 2009-01-13 2010-07-14 联发科技股份有限公司 Firmware extension method and firmware generator
CN106325915A (en) * 2015-07-01 2017-01-11 广达电脑股份有限公司 System, method and computer readable storage medium for updating computer firmware
US20200133652A1 (en) * 2018-10-25 2020-04-30 American Megatrends, Inc. Techniques of updating host device firmware via service processor

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
MONKEA123: "linux驱动模块的加载和卸载", 《HTTPS://BLOG.CSDN.NET/MONKEA123/ARTICLE/DETAILS/103905469?》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024108339A1 (en) * 2022-11-21 2024-05-30 河南许继仪表有限公司 Message registration and subscription method and system

Similar Documents

Publication Publication Date Title
CN103677922B (en) The method and apparatus started to application software
US10929149B2 (en) Method and system for updating firmware
WO2020001112A1 (en) Application method for platform supporting multiple types of devices, and mobile terminal
EP3207453B1 (en) Api versioning independent of product releases
CN103853586A (en) Method of realizing wireless card driver in UEFI (unified extensible firmware interface) layer
WO2018040270A1 (en) Method and device for loading linux-system elf file in windows system
CN110244983B (en) Method, terminal device and storage medium for fixing serial port number
CN109445823A (en) A kind of MCU firmware fast updating method
CN105589699A (en) Serial number information update method, device and terminal
CN112015522A (en) System function expansion method, device and computer readable storage medium
CN106775754A (en) The compatible processing method and processing device of application
CN112579133A (en) Firmware program updating method and device, storage medium and electronic equipment
CN112148388A (en) Computer program hooking method and system
CN111290740B (en) Application program development method and device, computer equipment and storage medium
CN106502750B (en) OTA upgrade method and Bluetooth chip
CN110609705B (en) Method for improving MCU bus efficiency, intelligent terminal, storage medium and chip
US11023217B2 (en) Systems and methods for support of selective processor microcode updates
WO2023060893A1 (en) Storage space management method and apparatus, and device and storage medium
US9208112B1 (en) Permanent allocation of a large host memory
CN106294143B (en) Debugging method and device for register of chip
CN117270873A (en) Real-time compiling method, device, equipment and medium based on Android application
CN111399926A (en) Method and device for downloading starting program
CN103677846A (en) SQLite database development kit and development method thereof
CN114880632A (en) Method for obtaining confusion resources, intelligent terminal and computer readable storage medium
WO2017128589A1 (en) Method of generating executable file and art virtual machine execution method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210330

RJ01 Rejection of invention patent application after publication