CN205750767U - Instrument and meter online upgrading device based on IAP technology and GPRS module - Google Patents

Instrument and meter online upgrading device based on IAP technology and GPRS module Download PDF

Info

Publication number
CN205750767U
CN205750767U CN201620265515.9U CN201620265515U CN205750767U CN 205750767 U CN205750767 U CN 205750767U CN 201620265515 U CN201620265515 U CN 201620265515U CN 205750767 U CN205750767 U CN 205750767U
Authority
CN
China
Prior art keywords
instrument
gprs module
meter
stm32
core
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.)
Expired - Fee Related
Application number
CN201620265515.9U
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.)
Northwest Normal University
Original Assignee
Northwest Normal University
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 Northwest Normal University filed Critical Northwest Normal University
Priority to CN201620265515.9U priority Critical patent/CN205750767U/en
Application granted granted Critical
Publication of CN205750767U publication Critical patent/CN205750767U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

This utility model provides a kind of instrument and meter online upgrading device based on IAP technology and GPRS module, including the GPRS module being connected and the computer of accessible the Internet, during use, GPRS module is connected with the instrument and meter with STM32 as core.This online upgrading device uses GPRS module as the medium of instrument and meter Yu internet communication, it is connected with the serial ports of GPRS module by any one serial ports of STM32 microcontroller, complete the reception on instrument and meter of equipment operational order that the Internet transmission goes out and upgrading data and execution, it is achieved working environment is special can not the remote online upgrading of the instrument and meter with STM32 as core of field upgrade.

Description

Instrument and meter online upgrading device based on IAP technology and GPRS module
Technical field
This utility model belongs to technology of instrument and meter and wireless communication technology field, relate to a kind of based on IAP technology and The instrument remote online upgrading device with STM32 as core of GPRS module.
Background technology
Instrument and meter with STM32 microcontroller as control core is widely used in industrial control field, due to some equipment works Make the particularity of environment, be unfavorable for field upgrade.Utilize GPRS module and IAP technology, can be with STM32 microcontroller for controlling The instrument and meter program remote online upgrading of core provides a kind of good solution.
In-service units (IAP) technology is system online upgrading and remote upgrade provides good solution, is also The upgrading of data storage and on-the-spot firmware brings great motility.The serial port of the most available microprocessor receives calculating The RS232 mouth of machine, realize online and remote easily by existing Internet, wireless network or other communication modes Journey upgrading and maintenance.
Summary of the invention
The purpose of this utility model is to provide a kind of instrument and meter online upgrading based on IAP technology and GPRS module dress Put, the instrument and meter with STM32 microcontroller as control core being unfavorable for field upgrade can be carried out remote online upgrading.
For achieving the above object, the technical solution adopted in the present invention is: a kind of based on IAP technology with the instrument of GPRS module Instruments and meters online upgrading device, including the GPRS module being connected and the computer of accessible the Internet, during use, by GPRS mould Block is connected with the instrument and meter with STM32 as core.
This utility model based on online upgrading device use GPRS module as the medium of instrument and meter Yu internet communication, It is connected with the serial ports of GPRS module by any one serial ports of STM32 microcontroller, completes the equipment that the Internet transmission goes out Operational order and upgrading data reception on instrument and meter and execution, it is achieved working environment special can not field upgrade with STM32 is the remote online upgrading of the instrument and meter of core.
Accompanying drawing explanation
Fig. 1 is the structural representation of this utility model online upgrading device.
Fig. 2 is the use state diagram of this utility model online upgrading device.
When Fig. 3 is with this utility model online upgrading device, GPRS module is connected with the serial ports of instrument and meter of need to upgrading and shows It is intended to.
Fig. 4 is the bottom Bootloader design frame chart of this utility model online upgrading device.
In Fig. 1: 1. GPRS module, 2. can be accessed by the computer of the Internet, the 3. instrument and meter with STM32 as core.
Detailed description of the invention
The utility model is described in further detail with detailed description of the invention below in conjunction with the accompanying drawings.
As it is shown in figure 1, this utility model online upgrading device, including the GPRS module 1 being connected and accessible the Internet Computer 2.
Need to working environment special and can not the instrument and meter 3 with STM32 as core of field upgrade upgrade time, GPRS module 1 is connected, as shown in Figure 2 with the instrument and meter 3 being somebody's turn to do with STM32 as core.GPRS module 1 with STM32 is The serial ports of the instrument and meter 3 of core connects, as it is shown on figure 3, the serial ports of the instrument and meter 3 with STM32 as core sends pin TX Receive pin RX with the serial ports of GPRS module 1 to connect, the serial ports of the instrument and meter 3 with STM32 as core receive pin RX with The serial ports of GPRS module 2 sends pin TX and connects, the pin RESET_OUT(pin of the instrument and meter 3 with STM32 as core RESET_OUT can be any one I/O port not used of STM32F103 series microprocessor, such as: PA0, PB1, PC2 etc.) Connecting with the reset pin RESET of GPRS module 1, (serial ports of the instrument and meter 3 with STM32 as core receives pin RX and transmission Pin TX can be that any pair serial ports of STM32F103 series microprocessor receives pin, as: STM32F103ZET6 USART1, PA9 are that serial ports sends pin, and PA10 is that serial ports receives pin;The USART3 of STM32F103VCT6, PB10 are serial ports Sending pin, PB11 is that serial ports receives pin.The pin RESET_OUT of the instrument and meter 3 with STM32 as core can be Any one I/O port of STM32F103 series microprocessor, the reset pin RESET Low level effective of GPRS module 1).
When the program of the instrument and meter 3 with STM32 as core needs to update, by the computer 2 of accessible the Internet Sending upgrade command and program AKU, GPRS module 1 carries out data penetration transmission by wireless network, the instrument with STM32 as core After instruments and meters 3 serial ports receives the upgrade command that GPRS module 1 serial ports transmits, the pending data such as system reset opening timing device Receive;Now, if the computer 2 of accessible the Internet has program AKU to send over, GPRS module 1 passes through wireless network Carry out data penetration transmission after, the serial ports of the instrument and meter 3 with STM32 as core starts to receive more new data and verifies storage;Number After receiving and verify correctly, program AKU overlay device original code, thus realize the long-range renewal of program.For Ensureing the reliability of number transmission, the built-in ICP/IP protocol of GPRS module 1 carries out the complete transparent transmission of data.
Transparent transmission mode completely namely realizes, by the Internet, the data transmit-receive that subscriber equipment is built with letter in server.Work Process: after GPRS module 1 powers on, module actively connects with data center server according to the server address arranged and port, Can send ID bag to server at once after in connection, ID bag can allow the ID of server identification current block;GPRS module sends After ID bag, can transparent transmission arbitrary data between server and GPRS module 1, it is ensured that the correctness of data.
As shown in Figure 4, this utility model instrument and meter with STM32 as core based on IAP technology and GPRS module is remote The bottom Bootloader design frame chart of journey online upgrading device.Instrument and meter 3 program with STM32 as core needs to update Time, the computer 2 of accessible the Internet just sends upgrade command and program AKU, by GPRS module 1 to carry out data saturating Passing, instrument and meter 3 serial ports with STM32 as core receives the pending data such as system reset opening timing device after upgrade command Receive;If now the computer 2 of accessible the Internet has program AKU to send over, counted by the carrying out of GPRS module 1 After transparent transmission, the serial ports of the instrument and meter 3 with STM32 as core starts to receive more new data and verifies storage;Data receiver is complete After finishing and verifying correctly, program AKU covers original code, thus realizes the long-range renewal of program;If data accept mistake Losing or data check failure, the instrument and meter 3 with STM32 as core performs source code.
The main control chip of the instrument and meter 3 with STM32 as core is pre-installed this Bootloader, this Bootloader and is used many Plant calibration technology, ensure the correctness of transmission data to greatest extent;Use bootloader mechanism, even if because of thunder bolt (power-off, programming Flash is unsuccessfully etc.) causes after upgrade unsuccessfully, and program also can return to the state before upgrading, is unlikely to because of liter Level failure, causes equipment to paralyse.

Claims (2)

1. an instrument and meter online upgrading device based on IAP technology and GPRS module, it is characterised in that include being connected The computer (2) of GPRS module (1) and accessible the Internet, during use, by the string of the instrument and meter (3) with STM32 as core Mouth sends pin and connects with the serial ports reception pin of GPRS module (1), and the serial ports of the instrument and meter (3) with STM32 as core connects Spasm foot sends pin with the serial ports of GPRS module (1) and connects, the pin RESET_ of the instrument and meter (3) with STM32 as core OUT connects with the reset pin of GPRS module (1), and GPRS module (1) built-in ICP/IP protocol carries out the complete transparent transmission of data.
Instrument and meter online upgrading device based on IAP technology and GPRS module the most according to claim 1, its feature exists In, the pin RESET_OUT of the described instrument and meter (3) with STM32 as core is that STM32F103 series microprocessor is any one The individual I/O port not having to use.
CN201620265515.9U 2016-04-01 2016-04-01 Instrument and meter online upgrading device based on IAP technology and GPRS module Expired - Fee Related CN205750767U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201620265515.9U CN205750767U (en) 2016-04-01 2016-04-01 Instrument and meter online upgrading device based on IAP technology and GPRS module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201620265515.9U CN205750767U (en) 2016-04-01 2016-04-01 Instrument and meter online upgrading device based on IAP technology and GPRS module

Publications (1)

Publication Number Publication Date
CN205750767U true CN205750767U (en) 2016-11-30

Family

ID=57374662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201620265515.9U Expired - Fee Related CN205750767U (en) 2016-04-01 2016-04-01 Instrument and meter online upgrading device based on IAP technology and GPRS module

Country Status (1)

Country Link
CN (1) CN205750767U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598671A (en) * 2016-12-14 2017-04-26 上海华阳检测仪器有限公司 Vibration measurer upgrading device and working method thereof
CN106874049A (en) * 2017-02-17 2017-06-20 安图实验仪器(郑州)有限公司 Online method for updating program based on STM32 IAP
CN107301067A (en) * 2017-05-26 2017-10-27 安徽四创电子股份有限公司 Beidou subscriber machine remote update system and its upgrade method based on IAP technologies

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598671A (en) * 2016-12-14 2017-04-26 上海华阳检测仪器有限公司 Vibration measurer upgrading device and working method thereof
CN106874049A (en) * 2017-02-17 2017-06-20 安图实验仪器(郑州)有限公司 Online method for updating program based on STM32 IAP
CN107301067A (en) * 2017-05-26 2017-10-27 安徽四创电子股份有限公司 Beidou subscriber machine remote update system and its upgrade method based on IAP technologies
CN107301067B (en) * 2017-05-26 2019-01-29 安徽四创电子股份有限公司 Beidou subscriber machine remote update system and its upgrade method based on IAP technology

Similar Documents

Publication Publication Date Title
CN104149717B (en) A kind of long-range noiseless renewal system and method for car load control
CN205750767U (en) Instrument and meter online upgrading device based on IAP technology and GPRS module
CN105573810A (en) Remote upgrade method and remote upgrade device for wireless sensor network node
CN105741126A (en) Management method and management apparatus of air conditioner, server, terminal and communication module
CN105513313A (en) Sensor automatic interactive smart household system
CN105869319A (en) Supervision system and supervision method for preventing movement of POS machine
CN103838591A (en) Upgrading method and device of multiple single-chip microcomputers based on serial buses
CN203179120U (en) Intelligent door control system and signal transmitter
CN106128072A (en) Intelligence instrument remote meter reading, control system and remote meter reading, control method
CN103268107A (en) System and method for greenhouse remote automatic monitoring and control
CN109196543A (en) Online energy auditing system
CN109286654A (en) Remote equipment debugging system and method based on serial ports
CN103227813A (en) Automatic long-distance updating system and method for family Internet of Things system
CN107690759A (en) The monitoring method of optical module, optical mode block system and optical module
CN106322689A (en) Novel air conditioner remote controller
CN102664655B (en) Transponder message reading and writing device
CN103885436A (en) Handheld type system for reading, programming and recalibrating ECU of diesel engine and method thereof
CN103745515A (en) Intelligent combined equipment system and control method
CN107515757A (en) Software program upgrade method and system, terminal
CN105138379A (en) Method for on-line upgrading based on Ymodem protocol
CN102568186A (en) Parameter configuration and system updating device of non-contact data acquisition instrument
CN106331183B (en) Implementation method, Internet of things control device and the Internet of things system of Internet of Things
CN108491221A (en) Update, fault detection system and the method for embedded system
CN109885315A (en) A kind of method of the wireless wifi programming program of SCM system
CN203733017U (en) Switch cabinet dynamic indicating device

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20161130

Termination date: 20170401