[go: up one dir, main page]

CN110531997B - Method for switching multiple production test firmware in Internet of things module production process - Google Patents

Method for switching multiple production test firmware in Internet of things module production process Download PDF

Info

Publication number
CN110531997B
CN110531997B CN201910814073.7A CN201910814073A CN110531997B CN 110531997 B CN110531997 B CN 110531997B CN 201910814073 A CN201910814073 A CN 201910814073A CN 110531997 B CN110531997 B CN 110531997B
Authority
CN
China
Prior art keywords
firmware
production test
production
internet
things module
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
CN201910814073.7A
Other languages
Chinese (zh)
Other versions
CN110531997A (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.)
Sichuan Ailian Technology Co ltd
Original Assignee
Sichuan Ailian 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 Sichuan Ailian Technology Co ltd filed Critical Sichuan Ailian Technology Co ltd
Priority to CN201910814073.7A priority Critical patent/CN110531997B/en
Publication of CN110531997A publication Critical patent/CN110531997A/en
Application granted granted Critical
Publication of CN110531997B publication Critical patent/CN110531997B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention relates to production testing of an Internet of things module, and discloses a method for switching a plurality of production testing firmware in the production flow of the Internet of things module, which is used for switching the plurality of production testing firmware back and forth in one production flow and carrying out production testing. The method comprises the following steps: a. combining a plurality of production test firmware into one firmware, and burning the firmware onto the flash of the Internet of things module through a burning tool; b. operating the Internet of things module, and carrying out production test on a production test firmware through a production test tool; c. after the production test is finished, switching to a new production test firmware for the production test; d. after the new production test firmware is tested, copying the next production test firmware in the flash to the position of the firmware which has been tested at the beginning; e. the Internet of things module is restarted, and the next production test firmware is operated to continue the production test; f. and c-e is circulated, so that a plurality of production test firmware can be switched back and forth in one production flow and the production test can be carried out.

Description

Method for switching multiple production test firmware in Internet of things module production process
Technical Field
The invention relates to production test of an Internet of things module, in particular to a method for switching a plurality of production test firmware in the production process of the Internet of things module.
Background
Today in the internet of things era, more and more internet of things devices come out, and with the help of various different internet of things IOT chips, the interconnection of everything is realized, so that great convenience is brought to the work and the life of people. Different manufacturers have different detection methods for IOT chips, so that the requirement that a plurality of production test firmware are required to be simultaneously burned into a flash arises.
In the prior art, a plurality of production test firmware needs to be burned for a plurality of times, and a plurality of production processes need to be adopted for different production test firmware to carry out production test, so that the production efficiency is reduced.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the method for switching the production test firmware in the production process of the Internet of things module is provided, and the production test firmware can be switched back and forth in one production process and can be subjected to production test.
The technical scheme adopted by the invention for solving the technical problems is as follows:
the method for switching a plurality of production test firmware in the production process of the Internet of things module comprises the following steps:
a. combining a plurality of production test firmware into one firmware, and burning the firmware onto a flash of the Internet of things module through a burning tool;
b. operating the Internet of things module, and carrying out production test on a production test firmware through a production test tool;
c. after the production test is finished, switching to a new production test firmware for the production test;
d. after the new production test firmware is tested, copying the next production test firmware in the flash to the position of the firmware of which the production test is finished at the beginning;
e. the Internet of things module is restarted, and the next production test firmware is operated to continue the production test;
f. and c-e is circulated, so that a plurality of production test firmware can be switched back and forth in one production flow and the production test can be carried out.
As a further optimization, in step a, each production test firmware is provided with a function of copying to a specific address through flash reading and writing.
The firmware can be copied to a flash specific address through a flash read-write copying function in the firmware, so that free switching between the firmware is convenient to realize.
As a further optimization, in the step a, firstly, a plurality of production test firmware are merged into one firmware through a Windows tool capable of merging a plurality of production test firmware, and then the merged firmware is burned onto the flash at one time through the Windows tool capable of burning the firmware onto the flash of the internet of things module.
Multiple burning can be avoided by combining a plurality of firmware and burning the firmware on the Internet of things module flash at one time, so that the production efficiency is improved.
The beneficial effects of the invention are:
by adding a flash read-write copy function in the firmware, in addition, combining a plurality of production test firmware into one firmware, and burning the firmware onto the flash of the Internet of things module through a burning tool; in the production flow, clearing the position of the firmware which has finished the production test flow, and then copying the new firmware of the specific address to the cleared position; therefore, the purposes that a plurality of production test firmware are switched back and forth in one production process and production test is carried out are achieved, and compared with the traditional method of burning for multiple times, the production efficiency is greatly improved by adopting the multiple production processes.
Drawings
Fig. 1 is a flowchart of a method for switching a plurality of production test firmware in a production process of an internet of things module in an embodiment.
Detailed Description
The invention aims to provide a method for switching a plurality of production test firmware in the production flow of an Internet of things module, which realizes the switching of the plurality of production test firmware back and forth in one production flow and carries out production test. The core idea is as follows: when the production test firmware is developed, a function of copying to a specific address through flash reading and writing is added into the firmware, after one production test firmware is tested, the operation is switched to another production test firmware through an AT instruction, after the production test is completed on a new production test firmware, the other production test firmware is copied to the position of the previous production test firmware through flash reading and writing, then the previous production test firmware is switched to start, and the switching operation of a plurality of production test firmware can be completed in a reciprocating manner.
In a specific implementation, to implement the multiple production test firmware switching scheme of the present invention, the following support parts are required:
1) An Internet of things chip with a certain size of flash is built in;
2) A plurality of production test firmware with flash read-write copy function;
3) A Windows tool capable of incorporating multiple production test firmware;
4) Windows tools capable of production testing;
5) The Windows tool can burn firmware to the flash of the Internet of things module.
The method comprises the following implementation steps:
a. combining a plurality of production test firmware into one firmware, and burning the firmware onto the flash of the Internet of things module through a burning tool;
b. running the Internet of things module, and performing production test on a production test firmware through a production test tool;
c. after the production test is finished, switching to a new production test firmware for the production test;
d. after the new production test firmware is tested, copying the next production test firmware in the flash to the position of the firmware which has been tested at the beginning;
e. the Internet of things module is restarted, and the next production test firmware is operated to continue the production test;
f. and c-e is circulated, so that a plurality of production test firmware can be switched back and forth in one production flow and the production test can be carried out.
Example (b):
as shown in fig. 1, the method for switching multiple production test firmware in the production process of the internet of things module in this embodiment is implemented by the following steps:
1. on the basis of original production test firmware, modifying program codes, newly adding a flash read-write copying function, emptying the position of the firmware which finishes the production test flow by the copying function, and copying data of a specific address to the emptied position;
2. combining a plurality of firmware with copy function into one firmware through a synthesis tool, and burning the synthesized firmware into the flash of the Internet of things module through a Windows burning tool;
3. the Internet of things module is powered on, runs in a first firmware Ota1.Bin, starts to perform production test through a Windows production test tool, and is switched to another firmware Ota2.Bin after the test is finished;
4. after the ota2.Bin production test is completed, a copy function is invoked, the ota3.Bin is copied to the position of the ota1.Bin, and the operation is switched to the ota3. Bin;
5. after the Ota3.Bin production test is completed, calling a copy function, copying the next firmware Ota4.Bin to the position of the last firmware Ota2.Bin which has completed the test, switching to the position of Ota2.Bin to operate Ota4.Bin and complete the production test;
6. the 4,5 step is circularly carried out, so that the circular switching can be carried out, the aim of switching a plurality of production firmware back and forth in one production flow is fulfilled, and the production efficiency is improved.

Claims (1)

1. A method for realizing the switching of a plurality of production test firmware in the production process of an Internet of things module is characterized in that,
the method comprises the following steps:
a. combining a plurality of production test firmware into one firmware, and burning the firmware onto the flash of the Internet of things module through a burning tool;
b. operating the Internet of things module, and carrying out production test on a production test firmware through a production test tool;
c. after the production test is finished, switching to a new production test firmware for the production test;
d. after the new production test firmware is tested, copying the next production test firmware in the flash to the position of the firmware of which the production test is finished at the beginning;
e. the Internet of things module is restarted, and the next production test firmware is operated to continue the production test;
f. the steps c-e are circulated, so that a plurality of production test firmware can be switched back and forth in one production flow and the production test can be carried out;
in the step a, each production test firmware is provided with a function of copying to a specific address through flash reading and writing; the method comprises the steps of firstly merging a plurality of production test firmware into one firmware through a Windows tool capable of merging a plurality of production test firmware, and then burning the merged firmware onto a flash of the Internet of things module at one time through the Windows tool capable of burning the firmware onto the flash.
CN201910814073.7A 2019-08-30 2019-08-30 Method for switching multiple production test firmware in Internet of things module production process Active CN110531997B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910814073.7A CN110531997B (en) 2019-08-30 2019-08-30 Method for switching multiple production test firmware in Internet of things module production process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910814073.7A CN110531997B (en) 2019-08-30 2019-08-30 Method for switching multiple production test firmware in Internet of things module production process

Publications (2)

Publication Number Publication Date
CN110531997A CN110531997A (en) 2019-12-03
CN110531997B true CN110531997B (en) 2022-11-29

Family

ID=68665488

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910814073.7A Active CN110531997B (en) 2019-08-30 2019-08-30 Method for switching multiple production test firmware in Internet of things module production process

Country Status (1)

Country Link
CN (1) CN110531997B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102023910A (en) * 2009-09-10 2011-04-20 英业达股份有限公司 Detection method for firmware switching
CN103593216A (en) * 2013-11-12 2014-02-19 上海斐讯数据通信技术有限公司 Method for making system files of ubi format into factory burn image files
CN105144097A (en) * 2013-05-14 2015-12-09 桑迪士克科技股份有限公司 Firmware updates for multiple product configurations
CN105301422A (en) * 2015-06-05 2016-02-03 江苏博锐格电子科技有限公司 Board-level TPMS emission module batch testing system and testing method thereof
CN105630559A (en) * 2015-12-25 2016-06-01 广州视源电子科技股份有限公司 Method and system for burning board firmware
CN107273170A (en) * 2017-07-03 2017-10-20 西南交通大学 A SoPC program remote update system and method
CN107329775A (en) * 2017-05-25 2017-11-07 杭州赫智电子科技有限公司 A kind of WIFI firmware burnings method
CN108897576A (en) * 2018-06-19 2018-11-27 上海繁易信息科技股份有限公司 A method of the quick start BOOT based on ARM chip

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729201A (en) * 2012-10-11 2014-04-16 上海手机测试公共服务平台有限公司 Testing method for wireless firmware upgrade
US11042383B2 (en) * 2018-02-03 2021-06-22 Insyde Software Corp. System and method for boot speed optimization using non-volatile dual in-line memory modules

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102023910A (en) * 2009-09-10 2011-04-20 英业达股份有限公司 Detection method for firmware switching
CN105144097A (en) * 2013-05-14 2015-12-09 桑迪士克科技股份有限公司 Firmware updates for multiple product configurations
CN103593216A (en) * 2013-11-12 2014-02-19 上海斐讯数据通信技术有限公司 Method for making system files of ubi format into factory burn image files
CN105301422A (en) * 2015-06-05 2016-02-03 江苏博锐格电子科技有限公司 Board-level TPMS emission module batch testing system and testing method thereof
CN105630559A (en) * 2015-12-25 2016-06-01 广州视源电子科技股份有限公司 Method and system for burning board firmware
CN107329775A (en) * 2017-05-25 2017-11-07 杭州赫智电子科技有限公司 A kind of WIFI firmware burnings method
CN107273170A (en) * 2017-07-03 2017-10-20 西南交通大学 A SoPC program remote update system and method
CN108897576A (en) * 2018-06-19 2018-11-27 上海繁易信息科技股份有限公司 A method of the quick start BOOT based on ARM chip

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
STM32 Flash读写;Flash地址对应的存储内容及方式;;猪哥-嵌入式;《https://blog.csdn.net/u012351051/article/details/77097559/》;20170811;第1-2页 *
Universal framework for remote firmware updates of low-power devices;OndrejKachman 等;《Computer Communications》;20190501(第139期);第91-102页 *
基于OpenWrt的智能路由系统研究与实现;刘孝雷;《中国优秀硕士学位论文全文数据库 信息科技辑》;20170315(第3期);I136-634 *
基于片外SPI Flash的OTP烧录器的设计与实;连赟 等;《杭州电子科技大学学报》;20131015;第33卷(第5期);第32-34页 *

Also Published As

Publication number Publication date
CN110531997A (en) 2019-12-03

Similar Documents

Publication Publication Date Title
CN103645920A (en) Embedded system program burning method and system
CN101526917B (en) Method for reproducing test scripts based on data drive
CN108829465B (en) Local dynamic loading system and method based on direct read-write FLASH
CN109508178A (en) program development method and device
EP1701358B1 (en) Data write-in method for flash memory
CN103677885A (en) ARM FLASH simple program programming method
CN113504463A (en) Probe signal multiplexing method in FPGA prototype verification
CN110543299A (en) Cloud computing management platform code generation method and device
CN1809896A (en) Semiconductor test apparatus and control method therefor
CN110531997B (en) Method for switching multiple production test firmware in Internet of things module production process
CN100337196C (en) Diagram programing device and programable display
CN100359472C (en) A Processing Method of Library Function Call in Binary Translation
CN102629212A (en) Method for indirectly programming to NANDFLASH based on J-LINK
CN100501683C (en) Automatic identification method for the type of flash memory used in the product
CN115129570A (en) Memory performance test method and related device
CN112860316A (en) Kernel of openEular open source system and BSP transplanting method
CN112783557A (en) Method for parallel execution of loading and decompression in Linux kernel
CN111522591A (en) Method for realizing quick start software of VxWorks cert and computer program product
CN111858204A (en) A random multi-use case power-on and power-off test method and system for solid-state drives
CN109710537B (en) Intelligent automatic testing method and system
CN114356289B (en) A multi-platform shader usage method and related device
CN117033251A (en) Regression testing method and device for multi-version system of mobile electronic equipment
CN1280728C (en) Debagging method for digital signal processing system
CN1195811A (en) Language processing system which generates debugging source file corresponding to optimization image and method therefor
CN114968207A (en) A BIOS-oriented BS agile development method

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 621000 Sichuan Ailian Technology Co.,Ltd., Anzhou Industrial Park, Mianyang City, Sichuan Province

Applicant after: Sichuan Ailian Technology Co.,Ltd.

Address before: 621000 Mianyang city of Sichuan Province, Sichuan Industrial Park, love science and Technology Co.

Applicant before: SICHUAN AI-LINK TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant