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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

