Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Software burning method and device

A programming method and software technology, applied in software deployment, instruments, computing and other directions, can solve the problems of high cost, difficult operation, low programming efficiency, etc., to reduce programming costs, reduce manual operations, and improve programming. The effect of efficiency

Active Publication Date: 2019-07-05
UBTECH ROBOTICS CORP LTD
View PDF14 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the embodiment of the present invention provides a software programming method and device to solve the problem that in the prior art, when programming a chip, an additional programming hardware interface needs to be reserved, and there are many manual operations, which make the programming efficiency low, Difficulty and high cost of operation

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
  • Software burning method and device
  • Software burning method and device
  • Software burning method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0060] see figure 1 A schematic flow diagram of an embodiment of a software programming method is provided, which is suitable for the upper computer side, and is described in detail as follows:

[0061] Step S101 , sending a first data frame of a file to a lower computer, so that the lower computer sends first feedback information to the upper computer according to the first data frame.

[0062] The upper computer of this embodiment sends the data frame of the file to the lower computer through the communication protocol, and does not transfer data through the dedicated hardware interface for chip burning, such as the communication protocol of the CAN (Controller Area Network, controller local area network) communication bus. The communication protocol of other communication buses that can realize related functions can be used, for example, the communication protocol of RS232 bus, etc., so there is no need to reserve additional programming hardware interfaces, reducing manual ...

Embodiment 2

[0105] see Figure 4 A schematic flow diagram of an embodiment of another software programming method is provided, which is suitable for the side of the lower computer, and is described in detail as follows:

[0106] Step S401, receiving the first data frame of the file sent by the host computer, and judging whether the first data frame is an end data frame according to the frame identification byte of the first data frame.

[0107] Step S402, when the first data frame is an end data frame, send burning success information to the host computer.

[0108] Specifically, when all the data frames of the file are sent, the lower computer sends a burning success message to the upper computer, indicating that the communication between the upper computer and the lower computer is completed.

[0109] Optionally, when the host computer does not receive the data frame sent by the host computer within the preset time, it stops receiving the data frame sent by the host computer. When the ...

Embodiment 3

[0141] see Figure 5 A schematic diagram of an implementation flow of an embodiment of a software burning method for interaction between a host computer and a lower computer is provided, and the details are as follows:

[0142] Step S501, the upper computer sends the first data frame of the file to the lower computer.

[0143] Optionally, the upper computer and the lower computer are connected through a communication bus. Communication bus can be CAN (ControllerArea Network, controller local area network) bus, also can be other relevant buses that can realize described communication bus function, such as SPI (Serial Peripheral Interface, serial peripheral interface) bus, USB (UniversalSerial Bus, Universal Serial Bus) and RS232 bus, etc.

[0144] Step S502, the lower computer receives the first data frame sent by the upper computer, and judges whether the first data frame is an end data frame according to the frame discrimination byte of the first data frame; when the first ...

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 is applicable to the technical field of software program burning, and provides a software burning method and device. The method comprises the steps that an upper computer sends a first data frame of a file to a lower computer through a communication protocol, and the lower computer judges whether the received data frame is correct or not according to the first data frame and sends first feedback information to the upper computer; the upper computer loads a second data frame of the file according to the first feedback information, and judges whether the second data frame is an enddata frame of the file; if the file is the ending data frame, the upper computer sends the ending data frame to the lower computer and stops sending the file to the lower computer; and if not, the upper computer sends a second data frame to the lower computer. The chip can be automatically burnt through the communication bus, an extra burning hardware interface does not need to be reserved, meanwhile, chip program upgrading can be remotely controlled, manual operation is reduced, burning efficiency is improved, and burning cost is reduced.

Description

technical field [0001] The invention belongs to the technical field of chip program burning, and in particular relates to a software burning method and device. Background technique [0002] Burning refers to writing the software program into the chip or microcontroller. In the prior art, there are many ways to burn the software program of the chip. Usually, the chip itself is designed, and a burning hardware interface specially designed for the burning program is left, and then connected to the computer through the specified device, and the specified application is used. The software is finished burning. This programming method is more convenient for developing small batches of chips for products, but it is not suitable for programming large batches of chips. There are multiple steps such as line recording, chip power supply, computer application software opening, and burning program operation, etc., and the burning process cannot be controlled automatically, and the effic...

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): G06F8/61
CPCG06F9/44573G06F9/44578Y02D10/00
Inventor 熊友军白熹莫振敏赵计高
Owner UBTECH ROBOTICS CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products