Supercharge Your Innovation With Domain-Expert AI Agents!

Mistake-proofing programming method for double CPUs

A technology for error prevention and program programming, which is applied in error detection/correction, software deployment, instruments, etc. It can solve the problems of inconvenient field program upgrades, long test cycles, and many additional devices, so as to improve system testability and reliability. Maintainability, reduce the probability of program download errors, and detect the only effect of the criterion

Pending Publication Date: 2020-10-16
SHAANXI AVIATION ELECTRICAL
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 1) Multiple manual confirmations, resulting in low work efficiency;
[0006] 2) Printed board markings will have problems such as oil pollution and unclear markings.
[0007] 3) After the program download is completed, in order to prevent programming errors, a lot of additional equipment is required for functional testing, and the test period is long;
[0008] 4) It is not convenient for the field to quickly upgrade the program

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
  • Mistake-proofing programming method for double CPUs
  • Mistake-proofing programming method for double CPUs
  • Mistake-proofing programming method for double CPUs

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The purpose of the present invention is to propose a simple and reliable dual-CPU error-proof programming design, reduce the probability of program download errors between the dual CPUs, and improve work efficiency while improving program download accuracy.

[0029] The basic idea of ​​the present invention is to use the one-way conductivity of the diode to add a dual CPU error prevention circuit in the product with dual CPUs, and to add a section of different I / O port control in the program programmed into the dual CPUs. Code, through the I / O port control code to control each I / O port in the dual CPUs, wherein the I / O port of one CPU is controlled to generate a high level, and the I / O port of the other CPU is controlled to generate a low level; and The dual CPU error prevention circuit is composed of light-emitting diodes and voltage dividing resistors in series. The positive end of the light-emitting diodes is connected to the I / O port that generates high levels in the...

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 provides a mistake-proofing programming method for double CPUs. The unidirectional conductivity of the diode is utilized; a double-CPU mistake-proofing circuit is added in a product withdouble CPUs. The method comprises the following steps: respectively and correspondingly adding a section of different I / O port control codes in a program programmed to the two CPUs, controlling one I / O port in the two CPUs through the I / O port control codes, controlling the I / O port of one CPU to generate a high level, and controlling the I / O port of the other CPU to generate a low level; the double-CPU error-proof circuit is formed by connecting a light emitting diode and a divider resistor in series; the positive end of the light emitting diode is connected with an I / O port for generating high level in the CPU; the negative end of the light emitting diode is connected with the I / O port for generating low level in the other CPU; therefore, when a program is programmed for the double CPUs, if programming is correct, the light-emitting diode in the double-CPU mistake-proofing circuit is normally lightened, otherwise, the light-emitting diode is not lightened, so that whether programming of the double-CPU program is correct can be simply and visually judged.

Description

technical field [0001] The invention relates to the technical field of error prevention for dual CPUs, in particular to an error prevention programming method for dual CPUs. Background technique [0002] With the increasing number of product functions, electrical products based on multi-CPU architecture have appeared in the aviation electrical field and civil industrial electrical field. like figure 1 and 2 As shown, a product adopts a dual-CPU architecture. CPU1 is the main control chip and is mainly used for control strategy functions such as PWM. CPU2 is mainly used for protection functions such as temperature and fault alarms. Therefore, when the product is shipped or upgraded, the dual CPUs must be Download the corresponding software program. [0003] In order to improve the accuracy of the program download, the JTAG port of the program download of each CPU is specially marked with silk screen. When downloading the program, the programming personnel first need to co...

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
IPC IPC(8): G06F8/61G06F11/36
CPCG06F8/63G06F11/3664
Inventor 李龙春景卓王金强刘振陈亚平
Owner SHAANXI AVIATION ELECTRICAL
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More