CN106681778A - Multi-single-chip-microcomputer one-time flash system based on network and implementation method - Google Patents

Multi-single-chip-microcomputer one-time flash system based on network and implementation method Download PDF

Info

Publication number
CN106681778A
CN106681778A CN201710036275.4A CN201710036275A CN106681778A CN 106681778 A CN106681778 A CN 106681778A CN 201710036275 A CN201710036275 A CN 201710036275A CN 106681778 A CN106681778 A CN 106681778A
Authority
CN
China
Prior art keywords
chip microcomputer
firmware
message
network
implementation method
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
CN201710036275.4A
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.)
Shenzhen Desert Intelligence Control Technology Co Ltd
Original Assignee
Shenzhen Desert Intelligence Control 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 Desert Intelligence Control Technology Co Ltd filed Critical Shenzhen Desert Intelligence Control Technology Co Ltd
Priority to CN201710036275.4A priority Critical patent/CN106681778A/en
Publication of CN106681778A publication Critical patent/CN106681778A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality

Abstract

The invention provides a multi-single-chip-microcomputer one-time flash system based on a network and an implementation method. The method comprises the steps of preparing construction of a hardware system of thee multi-single-chip-microcomputer one-time flash system based on the network, wherein the hardware system is formed by all single chip microcomputers needing to flash firmware and a PC end; causing all the single chip microcomputers and the PC end to be connected with the network simultaneously; causing the PC end to identify the single chip microcomputers through different IP addresses; through self-defined communication protocols, causing the PC end to send firmware contents to all the single chip microcomputers and flashing the firmware to all the single chip microcomputers one by one; verifying the firmware contents through the self-defined communication protocols; and sending the firmware contents. The multi-single-chip-microcomputer one-time flash system has the advantages of being higher in efficiency, flashing the firmware more conveniently and being more diversified in flashing function.

Description

A kind of network multiple single chip microcomputer once brush machine system and implementation method
【Technical field】
The present invention relates to embedded development technical field, more particularly to a kind of network multiple single chip microcomputer once brush machine system System and implementation method.
【Background technology】
Artificial wiring brush machine is needed during traditional single-chip microcomputer brush machine, when the single-chip microcomputer for writing with a brush dipped in Chinese ink firmware is needed certain amount is reached When, the inefficiency by way of firmware is write with a brush dipped in Chinese ink in artificial wiring, and waste time and energy;When single-chip microcomputer is placed in Package casing, brush Write firmware often to also need to take shell apart, be inconvenient profit;When the excessive single-chip microcomputer of firmware content can not be stored disposably, need Write with a brush dipped in Chinese ink one by one.
【The content of the invention】
Present invention aim at solve to need artificial wiring brush machine during traditional single-chip microcomputer brush machine, when needing to write with a brush dipped in Chinese ink firmware When single-chip microcomputer reaches certain amount, the inefficiency by way of firmware is write with a brush dipped in Chinese ink in artificial wiring, and waste time and energy;When single-chip microcomputer is put When in Package casing, write with a brush dipped in Chinese ink firmware and often also need to take shell apart, be inconvenient profit;When the excessive single-chip microcomputer of firmware content can not During disposable storage, the not enough of the problem write with a brush dipped in Chinese ink one by one is needed and a kind of new network multiple single chip microcomputer that provide once is brushed Machine system and implementation method.
The present invention is achieved through the following technical solutions:A kind of network multiple single chip microcomputer once brush machine system and Implementation method, comprises the steps:
(1) prepare to build the hardware system of network multiple single chip microcomputer once brush machine system;Hardware system by need brush All single-chip microcomputers of firmware and a PC end are constituted;
(2) all single-chip microcomputers and PC ends connect network simultaneously;
(3) PC ends are identified by different IP address to single-chip microcomputer;
(4) by self-defining communication protocol, PC ends send firmware content to all single-chip microcomputers and write with a brush dipped in Chinese ink one by one firmware to All single-chip microcomputers;
(5) by self-defining Verification for Communication Protocols firmware content;
(6) complete to send firmware content.
Further, hardware system is made up of all single-chip microcomputers for needing brush firmware and a PC end in the step (1), All single-chip microcomputers turn WIFI module comprising external serial ports or raspberry group supports that the system module of WIFI, PC ends must be supported to send Firmware and interface display.
Further, all single-chip microcomputers of the step (2) and PC ends connect network simultaneously;By router transmitting WIFI letters Number, and all single-chip microcomputers and PC ends connect upper this WIFI signal simultaneously.
Further, step (3) the PC ends are identified by different IP address to single-chip microcomputer;In connection network letter On the premise of number, with PC ends single-chip microcomputer is connected one by one, and the IP address to single-chip microcomputer is modified, and is such as revised as 192.168.1.1,192.168.1.2,192.168.1.3,192.168.1.4,192.168.1.n.
Further, the step (4) by self-defining communication protocol, PC ends send firmware content to all single-chip microcomputers And firmware is write with a brush dipped in Chinese ink one by one to all single-chip microcomputers;Self-defining communication protocol is:0xbe+1byte id+1byte sequence+ 2bytes length+N bytes data, when sending lower a piece of news every time, sequence number adds one, and during re-transmission, sequence number is constant.
Further, the step (5) is by self-defining Verification for Communication Protocols firmware content;PC ends send every time one After message, the response for receiving the identical sequence number that single-chip microcomputer sends is needed just to carry out the transmission of next serial number message, Automatically the message is resend after otherwise 1s, sequence number is constant, re-transmission does not receive yet afterwards response 5 times and is then judged to time-out; If repeatedly receiving the message of same sequence number, the message for only receiving for the first time is effective, on the basis of original, when main frame sends After Send_Over, slave computer is needed to No. 02 message of one same sequence number of host computer response;Afterwards slave computer is under transmission One sequence number sends checking message to host computer;
Empirical tests, if transmission information can not be mutually matched with response message, the message failure returns to step (4), continue to send firmware content;
Empirical tests, if transmission information can be mutually matched with response message, the message correctly sends, and goes to step (6), it is successfully transmitted firmware content.
Further, the step (6) completes to send firmware content, the interface display brush machine success of PC ends.
The beneficial effects of the present invention is:
(1) it is in hgher efficiency, in conventional brush write method, ability brush machine after wiring, and a single-chip microcomputer can only be write with a brush dipped in Chinese ink every time Firmware, introduce network brush machine method after, the firmware that can simultaneously support multi-disc single-chip microcomputer updates, greatly improve renewal consolidate The efficiency of part, greatly reduces workload;
(2) write with a brush dipped in Chinese ink firmware to be more convenient, when needing the single-chip microcomputer for writing with a brush dipped in Chinese ink firmware to reach certain amount, by artificial wiring brush The mode for writing firmware is very inconvenient, and wastes time and energy, and when single-chip microcomputer is placed in Package casing, writes with a brush dipped in Chinese ink firmware and often also needs to Take shell apart, be inconvenient profit, firmware is write with a brush dipped in Chinese ink by way of network convenient;
(3) function is write with a brush dipped in Chinese ink more diversified, after introducing self-defining communication protocol so that during single-chip microcomputer renewal firmware not Whole firmwares must be disposably stored, solves the problems, such as that firmware content is excessive well, make to write with a brush dipped in Chinese ink firmware functional diversities.
【Description of the drawings】
Fig. 1 is network multiple single chip microcomputer of the invention once brush machine system construction drawing;
Fig. 2 is network multiple single chip microcomputer of the invention once brush machine system brush multimachine schematic diagram;
Fig. 3 is network multiple single chip microcomputer of the invention once brush machine system brush machine flow chart;
Fig. 4 is the sequential chart of self-defining communication protocol of the present invention.
【Specific embodiment】
Below in conjunction with the accompanying drawings and specific embodiment is described further to the present invention:
As shown in Figure 1, Figure 2, Figure 3, Figure 4, a kind of network multiple single chip microcomputer once brush machine system and implementation method, bag Include following steps:
(1) prepare to build the hardware system of network multiple single chip microcomputer once brush machine system;Hardware system by need brush All single-chip microcomputers of firmware and a PC end are constituted;
(2) all single-chip microcomputers and PC ends connect network simultaneously;
(3) PC ends are identified by different IP address to single-chip microcomputer;
(4) by self-defining communication protocol, PC ends send firmware content to all single-chip microcomputers and write with a brush dipped in Chinese ink one by one firmware to All single-chip microcomputers;
(5) by self-defining Verification for Communication Protocols firmware content;
(6) complete to send firmware content.
Further, hardware system is made up of all single-chip microcomputers for needing brush firmware and a PC end in the step (1), All single-chip microcomputers turn WIFI module comprising external serial ports or raspberry group supports that the system module of WIFI, PC ends must be supported to send Firmware and interface display.
Further, all single-chip microcomputers of the step (2) and PC ends connect network simultaneously;By router transmitting WIFI letters Number, and all single-chip microcomputers and PC ends connect upper this WIFI signal simultaneously.
Further, step (3) the PC ends are identified by different IP address to single-chip microcomputer;In connection network letter On the premise of number, with PC ends single-chip microcomputer is connected one by one, and the IP address to single-chip microcomputer is modified, and is such as revised as 192.168.1.1,192.168.1.2,192.168.1.3,192.168.1.4,192.168.1.n.
Further, the step (4) by self-defining communication protocol, PC ends send firmware content to all single-chip microcomputers And firmware is write with a brush dipped in Chinese ink one by one to all single-chip microcomputers;Self-defining communication protocol is:0xbe+1byte id+1byte sequence+ 2bytes length+N bytes data, when sending lower a piece of news every time, sequence number adds one, and during re-transmission, sequence number is constant.
Further, the step (5) is by self-defining Verification for Communication Protocols firmware content;PC ends send every time one After message, the response for receiving the identical sequence number that single-chip microcomputer sends is needed just to carry out the transmission of next serial number message, Automatically the message is resend after otherwise 1s, sequence number is constant, re-transmission does not receive yet afterwards response 5 times and is then judged to time-out; If repeatedly receiving the message of same sequence number, the message for only receiving for the first time is effective, on the basis of original, when main frame sends After Send_Over, slave computer is needed to No. 02 message of one same sequence number of host computer response;Afterwards slave computer is under transmission One sequence number sends checking message to host computer;
Empirical tests, if transmission information can not be mutually matched with response message, the message failure returns to step (4), continue to send firmware content;
Empirical tests, if transmission information can be mutually matched with response message, the message correctly sends, and goes to step (6), it is successfully transmitted firmware content.
Further, the step (6) completes to send firmware content, the interface display brush machine success of PC ends.
The announcement and teaching of book according to the above description, those skilled in the art in the invention can also be to above-mentioned embodiment party Formula carries out appropriate change and modification.Therefore, specific embodiment disclosed and described above is the invention is not limited in, to this Some modifications and changes of invention should also be as falling in the scope of the claims of the present invention.Although additionally, this specification Used in some specific terms, but these terms are merely for convenience of description, do not constitute any restriction to the present invention.

Claims (7)

1. a kind of network multiple single chip microcomputer once brush machine system and implementation method, it is characterised in that:Comprise the steps:
(1) prepare to build the hardware system of network multiple single chip microcomputer once brush machine system;Hardware system is by needing brush firmware All single-chip microcomputers and PC end constitute;
(2) all single-chip microcomputers and PC ends connect network simultaneously;
(3) PC ends are identified by different IP address to single-chip microcomputer;
(4) by self-defining communication protocol, PC ends send firmware content to all single-chip microcomputers and write with a brush dipped in Chinese ink one by one firmware to own Single-chip microcomputer;
(5) by self-defining Verification for Communication Protocols firmware content;
(6) complete to send firmware content.
2. network multiple single chip microcomputer once brush machine system and implementation method according to claim 1, it is characterised in that:Institute State hardware system in step (1) to be made up of all single-chip microcomputers for needing brush firmware and a PC end, all single-chip microcomputers are comprising external Serial ports turns WIFI module or raspberry group supports that the system module of WIFI, PC ends must be supported to send firmware and interface display.
3. network multiple single chip microcomputer once brush machine system and implementation method according to claim 1, it is characterised in that:Institute The all single-chip microcomputers of step (2) and PC ends are stated while connecting network;WIFI signal, and all single-chip microcomputers and PC are launched by router End connects upper this WIFI signal simultaneously.
4. network multiple single chip microcomputer once brush machine system and implementation method according to claim 1, it is characterised in that:Institute State step (3) PC ends to be identified single-chip microcomputer by different IP address;Connection network signal on the premise of, with PC ends by One connects single-chip microcomputer, and the IP address to single-chip microcomputer is modified, and is such as revised as 192.168.1.1,192.168.1.2, 192.168.1.3,192.168.1.4,192.168.1.n.
5. network multiple single chip microcomputer once brush machine system and implementation method according to claim 1, it is characterised in that:Institute Step (4) is stated by self-defining communication protocol, firmware content is to all single-chip microcomputers and writes with a brush dipped in Chinese ink firmware one by one to institute for the transmission of PC ends There is single-chip microcomputer;Self-defining communication protocol is:0xbe+1byte id+1byte sequence+2bytes length+N Bytes data, when sending lower a piece of news every time, sequence number adds one, and during re-transmission, sequence number is constant.
6. network multiple single chip microcomputer once brush machine system and implementation method according to claim 1, it is characterised in that:Institute Step (5) is stated by self-defining Verification for Communication Protocols firmware content;PC ends are sent every time after a piece of news, need to receive list The response of the identical sequence number that piece machine sends just carries out the transmission of next serial number message, resends automatically after otherwise 1s The message, sequence number is constant, and re-transmission does not receive yet afterwards response 5 times and is then judged to time-out;If repeatedly receiving same sequence number Message, then effectively, on the basis of original, after main frame sends Send_Over, slave computer is needed the message for only receiving for the first time Will be to No. 02 message of one same sequence number of host computer response;Afterwards slave computer comes in the next sequence number of transmission to host computer Send checking message;
Empirical tests, if transmission information can not be mutually matched with response message, the message failure returns to step (4), after Supervention send firmware content;
Empirical tests, if transmission information can be mutually matched with response message, the message correctly sends, and goes to step (6), It is successfully transmitted firmware content.
7. network multiple single chip microcomputer once brush machine system and implementation method according to claim 1, it is characterised in that:Institute State step (6) to complete to send firmware content, the interface display brush machine success of PC ends.
CN201710036275.4A 2017-01-17 2017-01-17 Multi-single-chip-microcomputer one-time flash system based on network and implementation method Pending CN106681778A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710036275.4A CN106681778A (en) 2017-01-17 2017-01-17 Multi-single-chip-microcomputer one-time flash system based on network and implementation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710036275.4A CN106681778A (en) 2017-01-17 2017-01-17 Multi-single-chip-microcomputer one-time flash system based on network and implementation method

Publications (1)

Publication Number Publication Date
CN106681778A true CN106681778A (en) 2017-05-17

Family

ID=58859460

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710036275.4A Pending CN106681778A (en) 2017-01-17 2017-01-17 Multi-single-chip-microcomputer one-time flash system based on network and implementation method

Country Status (1)

Country Link
CN (1) CN106681778A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107632847A (en) * 2017-09-27 2018-01-26 珠海研果科技有限公司 A kind of system brush machine based on WIFI and the method and apparatus of upgrading
CN111708558A (en) * 2020-06-10 2020-09-25 深圳大漠大智控技术有限公司 High-concurrency terminal firmware updating method and updating system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101777003A (en) * 2010-02-08 2010-07-14 宁波大学 Method for remotely updating program of industrial fuel gas meter data reader
CN102185727A (en) * 2011-06-09 2011-09-14 深圳市共进电子有限公司 System and method for writing serial numbers to product firmware in batches
CN104281469A (en) * 2014-08-26 2015-01-14 东风电子科技股份有限公司 Method and system for realizing refreshing and writing of ECU (Electronic Control Unit) program
CN104615075A (en) * 2015-02-05 2015-05-13 桂凌云 System for simultaneously brushing multiple vehicle-mounted chips
CN104991806A (en) * 2015-08-06 2015-10-21 广州唯控电子科技有限公司 Remote firmware upgrading system and method for single-chip microcomputer program
CN105978727A (en) * 2016-06-16 2016-09-28 深圳先进技术研究院 Node firmware updating method of wearable human body motion capture system
CN207216602U (en) * 2017-01-17 2018-04-10 深圳大漠大智控技术有限公司 A kind of network multiple single chip microcomputer once brush machine system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101777003A (en) * 2010-02-08 2010-07-14 宁波大学 Method for remotely updating program of industrial fuel gas meter data reader
CN102185727A (en) * 2011-06-09 2011-09-14 深圳市共进电子有限公司 System and method for writing serial numbers to product firmware in batches
CN104281469A (en) * 2014-08-26 2015-01-14 东风电子科技股份有限公司 Method and system for realizing refreshing and writing of ECU (Electronic Control Unit) program
CN104615075A (en) * 2015-02-05 2015-05-13 桂凌云 System for simultaneously brushing multiple vehicle-mounted chips
CN104991806A (en) * 2015-08-06 2015-10-21 广州唯控电子科技有限公司 Remote firmware upgrading system and method for single-chip microcomputer program
CN105978727A (en) * 2016-06-16 2016-09-28 深圳先进技术研究院 Node firmware updating method of wearable human body motion capture system
CN207216602U (en) * 2017-01-17 2018-04-10 深圳大漠大智控技术有限公司 A kind of network multiple single chip microcomputer once brush machine system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐亚: "《Novell TCP/IP实用指南》", 31 March 1994, 上海:上海科学普及出版社, pages: 236 - 237 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107632847A (en) * 2017-09-27 2018-01-26 珠海研果科技有限公司 A kind of system brush machine based on WIFI and the method and apparatus of upgrading
CN111708558A (en) * 2020-06-10 2020-09-25 深圳大漠大智控技术有限公司 High-concurrency terminal firmware updating method and updating system
CN111708558B (en) * 2020-06-10 2024-03-08 深圳大漠大智控技术有限公司 High concurrency terminal firmware updating method and updating system

Similar Documents

Publication Publication Date Title
US9201826B2 (en) Extensible WSE hub to support a multi-hop tree of USB hubs or peripherals over a wireless link
CN103616927B (en) A kind of data communication server
CN102376153B (en) The method of collector and carrier wave meter remote upgrade in automatic meter reading system
CN104780054B (en) A kind of gateway to the wake-up of control area net(CAN) network or suspend mode
CN108337120A (en) A kind of remote upgrade method of internet-of-things terminal equipment
CN102523637B (en) Ethernet base, network system and data forwarding method
CN106534178B (en) System and method for realizing RapidIO network universal socket
CN102025792A (en) Router and IP address setting method thereof
CN103248526A (en) Communication equipment and method for achieving out-of-band monitoring and management, and master-slave switching method
CN102711095B (en) A kind of method of the node in wireless sensor network being carried out to radio upgrade
CN202394228U (en) USB (Universal Serial Bus) equipment
CN106681778A (en) Multi-single-chip-microcomputer one-time flash system based on network and implementation method
CN103856411B (en) Switching system connected with UART interface of router
CN207216602U (en) A kind of network multiple single chip microcomputer once brush machine system
CN206759733U (en) A kind of equipment communicated based on bluetooth
CN103873566A (en) Method and device of accessing mobile equipment
CN207516996U (en) A kind of microcontroller multinode downloader based on CAN
CN106936723A (en) A kind of bluetooth router and method for routing based on tunneling mechanism
CN204305007U (en) A kind of handheld device infrared communication system
CN104346310B (en) A kind of high-performance I2C slaves data exchange circuit and method
CN105071953A (en) Internet-of-things intelligent equipment firmware and application upgrading method
CN102546401B (en) Universal serial bus (USB) 3.0 local area network top speed data switchboard
CN210348467U (en) Modular design structure capable of updating MCU software
RU2011134933A (en) HYBRID CELLULAR COMMUNICATION NETWORK
CN108196857A (en) A kind of method based on network update UEFI firmwares

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