CN107329775B - WIFI firmware burning method - Google Patents

WIFI firmware burning method Download PDF

Info

Publication number
CN107329775B
CN107329775B CN201710381433.XA CN201710381433A CN107329775B CN 107329775 B CN107329775 B CN 107329775B CN 201710381433 A CN201710381433 A CN 201710381433A CN 107329775 B CN107329775 B CN 107329775B
Authority
CN
China
Prior art keywords
firmware
wifi module
wifi
server
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710381433.XA
Other languages
Chinese (zh)
Other versions
CN107329775A (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.)
Hangzhou Telehems Electronics Technology Co ltd
Original Assignee
Hangzhou Telehems Electronics 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 Hangzhou Telehems Electronics Technology Co ltd filed Critical Hangzhou Telehems Electronics Technology Co ltd
Priority to CN201710381433.XA priority Critical patent/CN107329775B/en
Publication of CN107329775A publication Critical patent/CN107329775A/en
Application granted granted Critical
Publication of CN107329775B publication Critical patent/CN107329775B/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/445Program loading or initiating
    • 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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

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

Abstract

The invention provides a WIFI firmware burning method, which comprises the following steps: manufacturing WIFI module firmware; allocating an MAC address for the WIFI module firmware; burning the WIFI module firmware into the WIFI module; starting a first bootstrap program, and detecting whether the firmware of the WIFI module is normal; after the WIFI equipment is powered on, the WIFI module firmware sends a connection instruction to the server; the server issues a second bootstrap program starting instruction and a configuration file; the WIFI module firmware starts a second bootstrap program and detects whether the function of the WIFI equipment is normal; and if the function of the WIFI equipment runs normally, setting a firmware mark of the firmware of the WIFI module as formal firmware. The test firmware and the formal firmware are combined into one firmware, so that the burning times are reduced, remote large-scale batch burning can be performed through the cooperation of the power-on networking of the WIFI equipment and the server, the firmware coverage is executed in batches, and the working efficiency is improved.

Description

WIFI firmware burning method
Technical Field
The invention relates to the field of firmware burning, in particular to a WIFI firmware burning method.
Background
With the development of the times, electronic products are also more and more popular, and the general electronic products use embedded programs, wherein some devices are WIFI devices including WIFI modules.
Before the existing WIFI equipment leaves a factory, two firmware are generally needed, one is a test firmware for checking whether a WIFI module is normal, whether each component of the WIFI equipment meets a set standard and whether a product function meets a factory condition, and the other is a formal firmware which is a formal operation program of the WIFI equipment.
The burning sequence of the WIFI equipment generally includes that a test firmware is firstly burned into a WIFI module, whether the module is normal or not is detected, then the WIFI module and other components are assembled into a finished product of the WIFI equipment, a formal firmware is burned after the test firmware detects that the components meet standards, whether the product is normal or not is detected after burning is completed, and if the product is abnormal, the firmware is separately burned again. Because of the existence of a plurality of firmware, the production working hour is increased by repeatedly burning for many times, and the problem of increasing the probability of burning errors also exists.
Disclosure of Invention
In order to overcome the problems in the prior art, the invention provides a WIFI firmware burning method which can reduce the firmware downloading time, improve the working efficiency and reduce errors in the burning process.
The technical scheme adopted by the invention for solving the technical problem is as follows:
a WIFI firmware burning method comprises the following steps:
1) manufacturing WIFI module firmware, wherein the WIFI module firmware comprises a first bootstrap program, a second bootstrap program, a firmware mark and an application program;
2) allocating an MAC address for the WIFI module firmware;
3) burning the WIFI module firmware into the WIFI module, and setting a firmware mark of the WIFI module firmware as a test firmware;
4) starting a first bootstrap program, and detecting the current firmware state of the WIFI module;
5) assembling WIFI module firmware in a normal detection state into WIFI equipment, wherein after the WIFI equipment is powered on, the WIFI module firmware sends a connection instruction to a server, and the server stores a configuration file, an instruction program and a repair firmware program;
6) after receiving the connection instruction, the server issues an instruction for starting a second bootstrap program and issues a configuration file, and the online state of the server can ensure that the issued configuration file is the latest version;
7) starting a second bootstrap program, loading a configuration file, detecting whether the function of the WIFI equipment is normal or not by the WIFI module firmware, if the function of the WIFI equipment is abnormal, executing the step 8), and if the function of the WIFI equipment is normal, skipping to execute the step 10);
8) the WIFI module firmware feeds back the function abnormity information of the WIFI equipment to the server, the server loads corresponding repair firmware, and a downloading instruction is sent to the WIFI module firmware;
9) the WIFI module firmware downloads the repair firmware according to the service instruction, after the repair firmware is downloaded, the firmware mark of the WIFI module firmware is set as the repair firmware, a connection instruction is sent to the server, and the step 6 is skipped;
10) and if the function of the WIFI equipment runs normally, setting a firmware mark of the firmware of the WIFI module as formal firmware.
The firmware mark is used for marking the state result of the WIFI module firmware after testing and/or repairing.
In the step 3), the burning of the WIFI module firmware into the WIFI module refers to burning into an external Flash in the WIFI module.
In the step 4), starting the first bootstrap program means that the WIFI module moves the firmware of the WIFI module from the external Flash to the processor.
In the step 5), before the WIFI module firmware sends the connection instruction to the remote server, a firmware flag for checking the WIFI module firmware is further included, and when the firmware flag is a test firmware, the connection instruction is sent to the remote server.
The configuration file comprises calibration parameters of the WIFI equipment and is used for detecting whether parameters of all components meet standards. The configuration file can be expanded according to WIFI equipment matched with the configuration file produced by each manufacturer.
The beneficial effects of the invention are mainly as follows: compared with the prior art, the original test firmware and formal firmware are combined into one firmware, burning times are reduced, meanwhile, due to the fact that WIFI equipment is directly electrified and networked and a server is matched, remote large-scale batch burning can be conducted, firmware coverage is executed in batches, and working efficiency is improved.
Drawings
Fig. 1 is a flowchart of a WIFI firmware burning method provided by the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
Fig. 1 is a WIFI firmware burning method provided according to an embodiment of the present invention, including the following steps:
s101, manufacturing WIFI module firmware which comprises a first bootstrap program, a second bootstrap program, a firmware mark and an application program.
S102, distributing an MAC address for the WIFI module firmware;
s103, burning the WIFI module firmware into the WIFI module, and setting a firmware mark of the WIFI module firmware as a test firmware;
when the WIFI module firmware is burned, the WIFI module firmware is burned into an external Flash of the WIFI module, and meanwhile, a firmware mark of the WIFI module firmware is set as a test firmware.
S104, starting a first bootstrap program, and detecting whether the firmware of the WIFI module is normal;
and starting a first bootstrap program, moving the WIFI module firmware from the external Flash to the processor by the WIFI module, operating the WIFI module firmware, and detecting whether the WIFI module firmware is normal or not.
S105, assembling the WIFI module into WIFI equipment, and after the WIFI equipment is powered on, sending a connection instruction to a server by the WIFI module firmware;
after the WIFI module leaves the factory, the next step is that the WIFI module enters factory production, the WIFI module is assembled into WIFI equipment, such as WIFI intelligent sockets, WIFI routers and other equipment, a server is installed in a factory or other places in a unified mode, a firmware bootstrap program and a configuration file are installed in the server, and meanwhile the server can also load the firmware program.
After the WIFI equipment is powered on, the WIFI module firmware sends a connection instruction to the server, wherein the connection instruction comprises the MAC address of the WIFI equipment.
S106, the server receives the connection instruction, issues an instruction for starting a second bootstrap program and issues a configuration file;
the server loads a configuration file after receiving a connection instruction sent by the WIFI equipment, and issues a second bootstrap program starting instruction to the WIFI module firmware, wherein the configuration file comprises a unique identifier of the WIFI equipment and calibration parameters of the WIFI equipment, and the calibration parameters of the WIFI equipment are used for detecting whether parameters of each component meet standards, such as whether output voltage is normal or not, whether human body induction is normal or not, and the like.
S107, starting a second bootstrap program by the WIFI module firmware, detecting whether the function of the WIFI equipment is normal or not, if the function of the WIFI equipment is abnormal, turning to the step S108, and if the function of the WIFI equipment is normal, turning to the step S110;
s108, the WIFI module firmware feeds back the abnormal function of the equipment to the server, the server loads the repair firmware, and sends a command of downloading the repair firmware to the WIFI module firmware;
when the WIFI module firmware feeds back the abnormal function of the equipment to the server, the repair firmware can be uploaded to the server, the server loads the repair firmware, the repair firmware comprises a first bootstrap program, a second bootstrap program, a firmware mark and an application program, and the firmware mark is set to be the repair firmware.
S109, downloading the repair firmware by the WIFI module firmware, sending a connection instruction to the server after the repair firmware is downloaded, and going to the step S106;
and downloading the repair firmware by the WIFI module firmware, downloading the repair firmware into the external flash, and covering the original firmware.
And S110, if the function of the WIFI equipment runs normally, setting a firmware mark of the WIFI module firmware as formal firmware.
The examples are intended to illustrate the invention further, but are not intended to limit the invention to these specific embodiments. It will be appreciated by those skilled in the art that the present invention encompasses all alternatives, modifications and equivalents as may be included within the scope of the claims.

Claims (6)

1. A WIFI firmware burning method is characterized by comprising the following steps:
1) manufacturing WIFI module firmware, wherein the WIFI module firmware comprises a first bootstrap program, a second bootstrap program, a firmware mark and an application program;
2) allocating an MAC address for the WIFI module firmware;
3) burning the WIFI module firmware into the WIFI module, and setting a firmware mark of the WIFI module firmware as a test firmware;
4) starting a first bootstrap program, and detecting the current firmware state of the WIFI module;
5) assembling WIFI module firmware in a normal detection state into WIFI equipment, wherein after the WIFI equipment is powered on, the WIFI module firmware sends a connection instruction to a server, and the server stores a configuration file, an instruction program and a repair firmware program;
6) after receiving the connection instruction, the server issues an instruction for starting a second bootstrap program and issues a configuration file;
7) starting a second bootstrap program, loading a configuration file, detecting whether the function of the WIFI equipment is normal or not by the WIFI module firmware, if the function of the WIFI equipment is abnormal, executing the step 8), and if the function of the WIFI equipment is normal, skipping to execute the step 10);
8) the WIFI module firmware feeds back the function abnormity information of the WIFI equipment to the server, the server loads corresponding repair firmware, and a downloading instruction is sent to the WIFI module firmware;
9) the WIFI module firmware downloads the repair firmware according to the service instruction, after the repair firmware is downloaded, the firmware mark of the WIFI module firmware is set as the repair firmware, a connection instruction is sent to the server, and the step 6 is skipped;
10) and if the function of the WIFI equipment runs normally, setting a firmware mark of the firmware of the WIFI module as formal firmware.
2. The method of claim 1, wherein the firmware flag is used to mark a status result of the WIFI module firmware after testing and/or repairing.
3. The method for burning the WIFI firmware as claimed in claim 1, wherein in step 3), the burning of the WIFI module firmware into the WIFI module is to burn into an external Flash in the WIFI module.
4. The method for burning WIFI firmware as claimed in claim 1, wherein in step 4), starting the first boot program means that the WIFI module moves the WIFI module firmware from external Flash to the processor.
5. The method as claimed in claim 1, wherein in step 5), before the WIFI module firmware sends the connection command to the remote server, the method further includes checking a firmware flag of the WIFI module firmware, and when the firmware flag is a test firmware, sending the connection command to the server.
6. The method of claim 1, wherein the configuration file comprises calibration parameters of the WIFI equipment, and is used for detecting whether parameters of each component meet standards.
CN201710381433.XA 2017-05-25 2017-05-25 WIFI firmware burning method Active CN107329775B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710381433.XA CN107329775B (en) 2017-05-25 2017-05-25 WIFI firmware burning method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710381433.XA CN107329775B (en) 2017-05-25 2017-05-25 WIFI firmware burning method

Publications (2)

Publication Number Publication Date
CN107329775A CN107329775A (en) 2017-11-07
CN107329775B true CN107329775B (en) 2021-02-23

Family

ID=60193769

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710381433.XA Active CN107329775B (en) 2017-05-25 2017-05-25 WIFI firmware burning method

Country Status (1)

Country Link
CN (1) CN107329775B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109634631A (en) * 2018-11-01 2019-04-16 北京锦鸿希电信息技术股份有限公司 Firmware restoration method, apparatus, electronic equipment and firmware restoration system
CN110531997B (en) * 2019-08-30 2022-11-29 四川爱联科技股份有限公司 Method for switching multiple production test firmware in Internet of things module production process
CN111352785B (en) * 2020-03-05 2022-12-20 苏州浪潮智能科技有限公司 Detection method and system for non-version-number firmware of storage server
CN111610427A (en) * 2020-04-15 2020-09-01 广东乐心医疗电子股份有限公司 Finished product testing method, circuit board testing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8230210B1 (en) * 2006-10-03 2012-07-24 America Megatrends, Inc Interactive firmware recovery
CN102693139A (en) * 2011-03-25 2012-09-26 比亚迪股份有限公司 Method and system for wirelessly upgrading mobile phone software
CN104123158A (en) * 2014-07-17 2014-10-29 杭州古北电子科技有限公司 WIFI module burning method and device
CN104461641A (en) * 2014-12-15 2015-03-25 福州瑞芯微电子有限公司 Data burning and writing method, system and equipment and target equipment
CN106301910A (en) * 2016-08-12 2017-01-04 深圳市双驰科技有限公司 The programming system of a kind of WiFi equipment and method thereof
CN106446620A (en) * 2016-10-28 2017-02-22 美的智慧家居科技有限公司 Permission setting and processing method and device of WIFI module

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8230210B1 (en) * 2006-10-03 2012-07-24 America Megatrends, Inc Interactive firmware recovery
CN102693139A (en) * 2011-03-25 2012-09-26 比亚迪股份有限公司 Method and system for wirelessly upgrading mobile phone software
CN104123158A (en) * 2014-07-17 2014-10-29 杭州古北电子科技有限公司 WIFI module burning method and device
CN104461641A (en) * 2014-12-15 2015-03-25 福州瑞芯微电子有限公司 Data burning and writing method, system and equipment and target equipment
CN106301910A (en) * 2016-08-12 2017-01-04 深圳市双驰科技有限公司 The programming system of a kind of WiFi equipment and method thereof
CN106446620A (en) * 2016-10-28 2017-02-22 美的智慧家居科技有限公司 Permission setting and processing method and device of WIFI module

Also Published As

Publication number Publication date
CN107329775A (en) 2017-11-07

Similar Documents

Publication Publication Date Title
CN107329775B (en) WIFI firmware burning method
CN102364891B (en) Method for upgrading software of embedded Ethernet equipment and embedded Ethernet equipment
US10880404B2 (en) On-vehicle control device and on-vehicle control device information update system
KR101827467B1 (en) Adaptive iot service system powered by detachable hardware module
US9098374B2 (en) Version control for software configurable aircraft systems
US10469620B2 (en) Method for transferring a new software version to at least one electricity meter via a communication network
CN105898490A (en) Upgrading method for remote controller, television and remote controller
CN108023778A (en) Firmware upgrade method and its system
CN103685487A (en) Child node updating method in wireless communication network
CN113660317B (en) Vehicle-mounted terminal remote upgrading method based on FTP protocol
CN103246583A (en) Electronic device with bulk molding compound (BMC) firmware repairing function and repairing method
CN112114853A (en) OTA-based software upgrading method, system and related device
CN103576598B (en) Based on programmable logic control system and the control method of wireless extensions bus mode
CN106648721A (en) Method and device for upgrading software
CN114172803B (en) Multi-FPGA version control and configuration system and method based on Ethernet switching technology
CN103491557B (en) The processing method and processing device of upgrading base station data
CN111537862A (en) PCBA test method and system
US20210136897A1 (en) Techniques for implementing a certain light characteristic
US20190109489A1 (en) Modular power distribution system & controls
CN105872106A (en) Over-the-air upgrade method, over-the-air server and terminal
WO2022110604A1 (en) Control method and control system for battery monitoring platform
CN104346209A (en) Updating method of substrate management controller
US20220126770A1 (en) On-board communication device, program, and communication method
CN113128710A (en) Fault detection method and device for emergency lamp, storage medium and electronic device
CN111930414A (en) Crane program management method, crane program remote management 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
GR01 Patent grant
GR01 Patent grant