Unlock instant, AI-driven research and patent intelligence for your innovation.

BootLoader program upgrade method based on photoelectric transmission

A technology of photoelectric transmission and program upgrade, which is applied in the direction of program control, instrument, computer control, etc., and can solve the problems of inconvenient research and development of disassembled watches

Inactive Publication Date: 2017-08-11
ZHEJIANG WEIXING INTELLIGENT METER STOCK
View PDF13 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] When a gas meter company develops a smart meter, it is necessary to modify, upgrade and then debug the main control MCU application program on the meter. However, the main control MCU is generally installed inside the meter. The cumbersome process of disassembling the meter is very inconvenient

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • BootLoader program upgrade method based on photoelectric transmission
  • BootLoader program upgrade method based on photoelectric transmission
  • BootLoader program upgrade method based on photoelectric transmission

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0076] In this implementation example, an ultrasonic smart gas meter is used as the program upgrade object, and an integrated photoelectric head with a USB interface is connected and communicated with the computer host computer. The integrated photoelectric head can be magnetically adsorbed on the transparent case above the photoelectric circuit of the ultrasonic smart gas meter , in fact, as long as the host computer operation is performed on the computer.

[0077] figure 1 For the Xmodem protocol transmission process, the sender only supports the transmission method with checksum. The receiver first sends a NAK signal to initiate the transmission. If the sender does not return data, the receiver needs to send a NAK signal after a timeout waiting period. data transmission. If the data transmission sent by the sender is correct, the receiver needs to send an ACK signal for confirmation; if the data transmission is wrong, the receiver sends a NAK signal. After receiving the N...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a BootLoader program upgrade method based on photoelectric transmission. A main control unit (MCU) module communicates with an upper computer module via a photoelectric transmission module by using a BootLoader function, an MCU program upgrade data packet in the upper computer module is downloaded to the MCU module via an Xmodem protocol, and the MCU module and the upper computer module need to synchronously switch the Baud rate to improve the upgrade rate, specifically: after the upper computer module sends a handshake command to the MCU module, the MCU module returns a handshake command to the upper computer module; after accurately receiving the handshake command of the MCU module, the upper computer module sends a command of entering BOOT to the MCU module; then the MCU module enters the BOOT, and returns a command of acknowledging entering the BOOT to the upper computer module; and the upper computer module starts the Xmodem protocol, begins transmitting the MCU program upgrade data packet and flashes the ROM of the MCU module. The method avoids the problems of trouble of detaching a gas meter and safety.

Description

technical field [0001] The invention combines the photoelectric transmission with the function of the BootLoader program, relates to a method for upgrading the application program of the main control MCU, and in particular relates to a method for upgrading the application program of the main control board of the ultrasonic gas meter without disassembly. Background technique [0002] Bootloader is the first piece of code that the embedded system executes after power-on, and it runs before the application program runs. In the operating system, it can initialize hardware devices and establish a memory space map, thereby bringing the system's hardware and software environment to a suitable state, so as to prepare the correct environment for the final call to the operating system kernel. Here we use the BootLoader function to use the Self_Programming_Library function library provided by Renesas to perform online programming of the main control MCU application. [0003] When a ga...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G05B19/042
CPCG05B19/0423G05B2219/24005
Inventor 李季方炯赵烽烽张磊
Owner ZHEJIANG WEIXING INTELLIGENT METER STOCK