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

Multi-single-chip microcomputer synchronous programming system and method

A technology of single-chip microcomputer and program programming, which is applied in software deployment, instrumentation, electrical digital data processing, etc., can solve problems such as non-reusability, and achieve the effects of less error prone, universal applicability, and easy troubleshooting

Pending Publication Date: 2021-06-15
XUNDI SCI & TECH HUBEI PROV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to provide a system and method for synchronous programming of multiple single-chip microcomputers to solve the technical problems of non-reusable and convenient construction in the prior art

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
  • Multi-single-chip microcomputer synchronous programming system and method
  • Multi-single-chip microcomputer synchronous programming system and method

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment 1

[0035] Combine below Figure 1 to Figure 2 As shown, the embodiment of the present invention provides a multi-single-chip synchronous programming system, including a host 1 and a plurality of slaves 2, the host 1 and the plurality of slaves 2 are interconnected through the RS-485 bus, and the host 1 is connected through the RS-485 bus. The -485 bus sends a signal to call the slave 2, and each slave 2 corresponds to a unique single-chip microcomputer 3, and each slave 2 burns each single-chip microcomputer 3 through the RS-485 bus. The RS-485 bus is introduced in the programming system, so that one host 1 can simultaneously send the program to be programmed to multiple single-chip microcomputers 3 to be programmed, which can conveniently realize the simultaneous programming of multiple single-chip microcomputer 3 programs, It has the characteristics of simple operation, high efficiency of burning program, and less error-prone.

[0036] Specifically, both the host machine 1 and...

specific Embodiment 2

[0038] A method for synchronous programming of multiple single-chip microcomputers, comprising the following steps:

[0039] Sp1: According to the number and type of MCU 3 to be programmed, connect the master 1 to each slave 2 through the RS-485 bus, and the master 1 sends a confirmation signal to each slave 2;

[0040] Sp2: Each slave 2 returns a signal to the master 1 to determine whether there is a packet loss problem;

[0041] Sp3: Confirm that the connection between master 1 and each slave 2 is successfully established;

[0042] Sp4: Host 1 sends the programming program to each slave 2, with a command to prepare for programming;

[0043] Sp5: Slave 2 receives the command, invokes the programming program, and programs the MCU 3 through the USB to 485 module;

[0044] Sp6: Slave 2 generates burning record files according to the burning process, and sends the record files to master 1 for backup.

[0045]Specifically, the programming method of the slave 2 to the single-chi...

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 multi-single-chip microcomputer synchronous programming system and a method, and belongs to the technical field of single-chip microcomputer programming, the multi-single-chip microcomputer synchronous programming system comprises a host computer and a plurality of slave computers, the host computer and the plurality of slave computers are interconnected through an RS-485 bus, the host computer sends signals through the RS-485 bus to call the slave computers, each slave computer corresponds to a unique single-chip microcomputer, and each slave computer is used for burning each single chip microcomputer through the RS-485 bus. The RS-485 bus is introduced into a programming system, so that the host can simultaneously send programs to be programmed to a plurality of single-chip microcomputers to be programmed, the programs of the plurality of single-chip microcomputers can be conveniently programmed at the same time, the programming system has the characteristics of simplicity in operation, high program programming efficiency and difficulty in making mistakes, the host and the slaves are interconnected by adopting the RS-485 bus, burning is carried out between the slaves and the corresponding single-chip microcomputers in various modes, burning can be carried out in various modes of ISP, IAP and SWD / JTAG according to needs, different burning modes can be adopted for the single-chip microcomputers of different types, and the universality of the programming system is improved.

Description

technical field [0001] The invention relates to the technical field of single-chip microcomputer programming, in particular to a system and method for synchronous programming of multiple single-chip microcomputers. Background technique [0002] So far, most electronic products have been designed using a single-chip microcomputer as the main control chip to complete the realization of product functions. After the design, programming and debugging of these products are completed, the application program needs to be programmed to realize mass production. [0003] The programming of MCU programs is usually divided into two forms: online programming and offline programming. Offline programming usually needs to configure a set of programming tools, and put the microcontroller to be programmed into the chip holder of the programming tool or the test bench, so as to achieve the purpose of connecting with the microcontroller and programming. After programming a single-chip microcom...

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/61G06F13/40
CPCG06F8/61G06F13/4068
Inventor 杨耕王为敏刘毅聂佳佳
Owner XUNDI SCI & TECH HUBEI PROV