CN113721958B - Method for upgrading program of common port of rectifying side DSP and inverting side DSP - Google Patents

Method for upgrading program of common port of rectifying side DSP and inverting side DSP Download PDF

Info

Publication number
CN113721958B
CN113721958B CN202111005289.2A CN202111005289A CN113721958B CN 113721958 B CN113721958 B CN 113721958B CN 202111005289 A CN202111005289 A CN 202111005289A CN 113721958 B CN113721958 B CN 113721958B
Authority
CN
China
Prior art keywords
side dsp
pin
dsp
configuring
rectification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111005289.2A
Other languages
Chinese (zh)
Other versions
CN113721958A (en
Inventor
钟庭欢
任中福
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
East Group Co Ltd
Original Assignee
East Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by East Group Co Ltd filed Critical East Group Co Ltd
Priority to CN202111005289.2A priority Critical patent/CN113721958B/en
Publication of CN113721958A publication Critical patent/CN113721958A/en
Application granted granted Critical
Publication of CN113721958B publication Critical patent/CN113721958B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Rectifiers (AREA)
  • Information Transfer Systems (AREA)

Abstract

The invention discloses a method for upgrading a common port of a rectifying side DSP and an inverting side DSP, which comprises the following steps: the serial ports of the inversion side DSP are respectively connected with the serial ports of the rectification side DSP in parallel, and the serial ports comprise Tx pins; detecting whether an inversion side DSP program upgrading instruction sent by an upper computer is received or not; if yes, configuring the Tx pin of the rectifying side DSP as an input pin, and configuring the Tx pin of the inverting side DSP as an external pin so as to realize the upgrading of the inverting side DSP program; if not, configuring the Tx pin of the inversion side DSP as an input pin, and configuring the Tx pin of the inversion side DSP as an external pin so as to establish communication between the rectification side DSP and the outside or realize upgrading of the rectification side DSP program. According to the invention, the serial ports of the inversion side DSP are connected in parallel to the rectification side DSP, and the configuration of the Tx pins is changed in a matched manner, so that the rectification side DSP and the inversion side DSP can share one 232 port for program upgrading, the complexity of software and hardware design is low, and the method is suitable for large-scale popularization and application.

Description

Method for upgrading program of common port of rectifying side DSP and inverting side DSP
Technical Field
The invention relates to the technical field of digital signal processing, in particular to a method for upgrading a common port of a rectifying side DSP and an inverting side DSP.
Background
The uninterrupted power supply, UPS (Uninterruptible Power Supply) for short, can continuously supply high-quality power to the electric equipment in short power failure, so that the electric equipment can work normally, and has the function of stabilizing voltage, and is similar to a voltage stabilizer. The uninterruptible power supply is widely applied to the fields of uninterruptible operation such as hospitals, data storage equipment, large servers, data centers, computing centers, national defense command centers, control centers of large factories, aerospace control centers and the like.
At present, two independent control boards are adopted in the mainstream UPS hardware design, wherein one of the two independent control boards is mainly responsible for the functions of inversion side signal acquisition, inversion control algorithm realization, inversion control signal output and the like, and the other one of the two independent control boards is a rectification control board and mainly responsible for the functions of rectification side signal acquisition, rectification control algorithm realization, rectification control signal output and the like. The rectification control board is also responsible for external communication and other functions, and the communication mode is that the serial port of the DSP (Digital Signal Processing, digital signal processor) is converted into a 232 signal through an isolation optocoupler to realize external communication, as shown in fig. 1, the rectification side DSP program can be directly upgraded through the 232 port, and the inversion side does not need to directly communicate with the outside, so that the serial port of the inversion side DSP is not provided with the 232 port for communicating with the outside in the original design, and the inversion side DSP program cannot be upgraded.
Therefore, it is necessary to develop a technique capable of upgrading the inverter-side DSP program.
The above information is presented as background information only to aid in the understanding of the present disclosure and is not intended or admitted to be prior art relative to the present disclosure.
Disclosure of Invention
The invention provides a method for upgrading a program of a common port of a rectifying side DSP and an inverting side DSP, which aims to solve the defects in the prior art.
In order to achieve the above object, the present invention provides the following technical solutions:
a method for upgrading a program of a port shared by a rectifying side DSP and an inverting side DSP, the method comprising:
the serial ports of the inversion side DSP are respectively connected with the serial ports of the rectification side DSP in parallel correspondingly, and the serial ports comprise Tx pins;
detecting whether an inversion side DSP program upgrading instruction sent by an upper computer is received or not;
if yes, configuring the Tx pin of the rectifying side DSP as an input pin, and configuring the Tx pin of the inverting side DSP as a peripheral pin so as to realize the upgrading of the inverting side DSP program;
if not, configuring the Tx pin of the inversion side DSP as an input pin, and configuring the Tx pin of the rectification DSP as an external pin so as to establish communication between the rectification side DSP and the outside or realize upgrading of the rectification side DSP program.
Further, in the method for upgrading a common port of the rectifying side DSP and the inverting side DSP, the step of configuring the Tx pin of the inverting side DSP as an input pin and configuring the Tx pin of the rectifying DSP as an external pin to establish communication between the rectifying side DSP and the outside or to upgrade the rectifying side DSP includes:
detecting whether a rectifying side DSP program upgrading instruction sent by an upper computer is received or not;
if yes, configuring the Tx pin of the inversion side DSP as an input pin, and configuring the Tx pin of the rectification DSP as an external pin so as to realize upgrading of the rectification side DSP program;
if not, configuring the Tx pin of the inversion side DSP as an input pin, and configuring the Tx pin of the rectification DSP as an external pin so as to establish communication between the rectification side DSP and the outside.
Further, in the method that the rectification side DSP and the inversion side DSP share the port upgrade program, the serial port further includes an Rx pin and a GND pin;
the step of connecting the serial ports of the inverter side DSP in parallel with the serial ports of the rectifier side DSP includes:
the Tx pin of the inversion side DSP is correspondingly connected with the Tx pin of the rectification side DSP in parallel;
the Rx pins of the inversion side DSP are correspondingly connected with the Rx pins of the rectification side DSP in parallel;
and correspondingly connecting the GND pin of the inversion side DSP with the GND pin of the rectification side DSP in parallel.
Further, in the method for upgrading a port shared by the rectifying side DSP and the inverting side DSP, after configuring the Tx pin of the rectifying side DSP as an input pin and configuring the Tx pin of the inverting side DSP as an external pin to implement the step of upgrading the inverting side DSP program, the method further includes:
detecting whether the update of the inversion side DSP program is completed or not;
if yes, configuring the Tx pin of the inversion side DSP as an input pin, and configuring the Tx pin of the rectification side DSP as an external pin.
Further, in the method for upgrading the port shared by the rectifying side DSP and the inverting side DSP, after the step of respectively connecting the serial ports of the inverting side DSP and the serial ports of the rectifying side DSP in parallel, the method further includes:
the Tx pin of the inversion side DSP is configured as an input pin, and the Tx pin of the rectification side DSP is configured as a peripheral pin.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
according to the method for upgrading the common port of the rectifying side DSP and the inverting side DSP, the serial port of the inverting side DSP is connected to the rectifying side DSP in parallel, and the configuration of the Tx pins is changed in a matched mode, so that the rectifying side DSP and the inverting side DSP can share one 232 port for program upgrading under the condition that no external communication port is newly added, the software and hardware design complexity is low, and the method is suitable for large-scale popularization and application.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are only some embodiments of the invention, and that other drawings can be obtained from these drawings without inventive faculty for a person skilled in the art.
FIG. 1 is a prior art communication signal wiring diagram of a UPS rectifying side DSP;
fig. 2 is a flow chart of a method for upgrading a common port of a rectifying side DSP and an inverting side DSP according to a first embodiment of the present invention;
FIG. 3 is a communication signal wiring diagram of a 232 port shared by non-isolated serial ports of a UPS rectifying side DSP and an inverter side DSP in a first embodiment of the invention;
fig. 4 is a serial port signal direction configuration diagram of the rectifying side DSP and the inverting side DSP when the inverting side DSP communicates externally in the first embodiment of the present invention;
fig. 5 is a serial port signal direction configuration diagram of the rectifying side DSP and the inverting side DSP when the rectifying side DSP communicates externally in the first embodiment of the present invention;
fig. 6 is a flow chart of a method for upgrading a common port of a rectifying side DSP and an inverting side DSP according to a second embodiment of the present invention;
fig. 7 is a flow chart of a method for upgrading a common port of a rectifying side DSP and an inverting side DSP according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is apparent that the embodiments described below are only some embodiments of the present invention, not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the description of the present invention, it will be understood that when one component is referred to as being "connected" to another component, it can be directly connected to the other component or intervening components may also be present. When an element is referred to as being "disposed on" another element, it can be directly on the other element or intervening elements may also be present.
Furthermore, the terms "long," "short," "inner," "outer," and the like, as used herein, refer to an orientation or positional relationship based on that shown in the drawings, for convenience of description of the present invention, and are not intended to indicate or imply that the apparatus or elements referred to must have this particular orientation, operate in a particular orientation configuration, and thus should not be construed as limiting the invention.
The technical scheme of the invention is further described below by the specific embodiments with reference to the accompanying drawings.
Example 1
In view of the above-mentioned drawbacks of the prior art, the applicant has actively studied and innovated based on the practical experience and expertise which are rich in years of design and manufacture in this field, and in combination with the application of the theory, to hope to create a technology capable of solving the drawbacks of the prior art, and to realize the upgrade of the inverter-side DSP program. After continuous research and design and repeated sample test and improvement, the invention with practical value is finally created.
Referring to fig. 2, an embodiment of the present invention provides a method for upgrading a common port of a rectifying side DSP and an inverting side DSP, the method including:
s101, serial ports of the inversion side DSP are respectively connected with serial ports of the rectification side DSP in parallel, and the serial ports comprise Tx pins.
Preferably, the serial port further comprises an Rx pin and a GND pin; then, the step S101 further includes:
the Tx pin of the inversion side DSP is correspondingly connected with the Tx pin of the rectification side DSP in parallel;
the Rx pins of the inversion side DSP are correspondingly connected with the Rx pins of the rectification side DSP in parallel;
and correspondingly connecting the GND pin of the inversion side DSP with the GND pin of the rectification side DSP in parallel.
It should be noted that, in this embodiment, after the serial port of the inverter side DSP is connected in parallel to the rectifier side DSP, the isolation optocoupler of the rectifier side is shared, as shown in fig. 3. However, after such connection, there is a problem that, since the serial port signal on the inverting side is connected in parallel with the serial port signal on the rectifying side without isolation, for the Rx pin (default configuration is an input pin), the rectifying side DSP and the inverting side DSP can simultaneously receive signals and are not interfered with each other, but for the Tx pin (default configuration is an external pin), when one of the DSPs sends signals, the signal is affected by factors such as the Tx pin pull-up of the other DSP, so that the signal amplitude actually transmitted to the isolation optocoupler by the Tx pin is severely attenuated, and effective communication cannot be performed. Therefore, if it is desired to realize a normal communication function, it is necessary to solve a problem of how one of the DSPs is not affected by the Tx pin of the other DSP when transmitting signals. The solution adopted by the present embodiment is realized by changing the configuration parameters of the Tx pins of the DSP. The pins of the DSP are mostly multiplexing signals, and can be configured as input pins, output pins or peripheral pins, for example, as Tx pins are default as transmitting ends of serial ports, and should be configured as peripheral pins when the DSP is initialized. Since the Rx pins as the input signals of the two DSPs can receive the external 232 signals at the same time without being affected by each other, according to this idea, when the rectifying side DSP sends signals, the Tx pins of the inverting side DSP are configured as the input pins, so that the signals sent by the rectifying side DSP will not be affected by the inverting side DSP, and similarly, when the inverting side DSP sends signals, the Tx pins of the rectifying side DSP are configured as the input pins, so that the signals sent by the inverting side DSP will not be affected by the rectifying side DSP.
In view of this, after the step S101, the method further includes:
the Tx pin of the inversion side DSP is configured as an input pin, and the Tx pin of the rectification side DSP is configured as a peripheral pin.
Thus, even if the serial port of the inverter side DSP is connected in parallel to the rectifying side DSP, the Tx pin of the rectifying side DSP is not affected when the Tx pin of the inverter side DSP is configured as an input pin, and thus the normal communication of the rectifying side DSP is not affected.
S102, detecting whether an inversion side DSP program upgrading instruction sent by an upper computer is received or not; if yes, step S103 is executed, and if no, step S104 is executed.
It should be noted that, as described above, the Rx pin of the inverter side DSP and the Rx pin of the rectifier side DSP can receive signals at the same time, so when the host computer sends the program upgrade instruction of the inverter side DSP, the rectifier DSP and the inverter side DSP can receive the instruction at the same time.
In addition, since only the rectifying side DSP needs to communicate with the outside in general, the present embodiment defaults to configuring the Tx pin of the inverting side DSP as an input pin and configuring the Tx pin of the rectifying side DSP as an external pin.
S103, configuring the Tx pin of the rectifying side DSP as an input pin and configuring the Tx pin of the inverting side DSP as an external pin so as to realize the upgrading of the inverting side DSP program.
When the program of the inverter DSP is updated, the serial signal direction configuration of the rectifier DSP and the inverter DSP is shown in fig. 4, and the inverter DSP can normally communicate with the outside to update the program, which is not affected by the rectifier DSP.
S104, configuring the Tx pin of the inversion side DSP as an input pin, and configuring the Tx pin of the rectification DSP as an external pin so as to establish communication between the rectification side DSP and the outside or realize upgrading of the rectification side DSP program.
It should be noted that, when the program of the rectifying side DSP is updated, the serial port signal direction configuration of the rectifying side DSP and the inverting side DSP is shown in fig. 5, and the rectifying side DSP can normally communicate with the outside to realize the program update, which is not affected by the inverting side DSP.
According to the method for upgrading the common port of the rectifying side DSP and the inverting side DSP, the serial port of the inverting side DSP is connected to the rectifying side DSP in parallel, and the configuration of the Tx pins is changed in a matched mode, so that the rectifying side DSP and the inverting side DSP can share one 232 port for program upgrading under the condition that no external communication port is newly added, the software and hardware design complexity is low, and the method is suitable for large-scale popularization and application.
Example two
Fig. 6 is a flow chart of a method for upgrading a common port of a rectifying side DSP and an inverting side DSP according to a second embodiment of the present invention, where in the first embodiment, step S104 "configure a Tx pin of the inverting side DSP as an input pin and configure a Tx pin of the rectifying DSP as an external pin to establish communication between the rectifying side DSP and the outside or to implement upgrading of the rectifying side DSP program" is further optimized. The explanation of the same or corresponding terms as those of the above embodiments is not repeated here. Namely:
detecting whether a rectifying side DSP program upgrading instruction sent by an upper computer is received or not;
if yes, configuring the Tx pin of the inversion side DSP as an input pin, and configuring the Tx pin of the rectification DSP as an external pin so as to realize upgrading of the rectification side DSP program;
if not, configuring the Tx pin of the inversion side DSP as an input pin, and configuring the Tx pin of the rectification DSP as an external pin so as to establish communication between the rectification side DSP and the outside.
Based on the above optimization, as shown in fig. 6, the method for upgrading a common port of a rectifying side DSP and an inverting side DSP according to the present embodiment may include the following steps:
s201, serial ports of the inversion side DSP are respectively connected with serial ports of the rectification side DSP in parallel, and the serial ports comprise Tx pins.
S202, detecting whether an inversion side DSP program upgrading instruction sent by an upper computer is received or not; if yes, step S203 is executed, and if no, step S204 is executed.
S203, configuring the Tx pin of the rectifying side DSP as an input pin and configuring the Tx pin of the inverting side DSP as an external pin so as to realize the upgrading of the inverting side DSP program.
S204, detecting whether a rectifying side DSP program upgrading instruction sent by an upper computer is received or not; if yes, step S205 is executed, and if no, step S206 is executed.
It should be noted that, although the rectifying side DSP configures the Tx pin of the inverting side DSP as an input pin and configures the Tx pin of the rectifying DSP as an external pin in both normal communication with the outside and upgrading of the rectifying side DSP program, it is still necessary to detect whether the rectifying side DSP program upgrading instruction sent by the host computer is received, so that the rectifying side DSP can know the task that needs to be executed currently.
S205, configuring the Tx pin of the inversion side DSP as an input pin and configuring the Tx pin of the rectification DSP as an external pin so as to realize the upgrading of the rectification side DSP program.
S206, configuring the Tx pin of the inversion side DSP as an input pin, and configuring the Tx pin of the rectification DSP as an external pin so as to establish communication between the rectification side DSP and the outside.
It should be noted that, before the Tx pin of the inverter DSP is configured as an input pin and the Tx pin of the rectifying DSP is configured as a peripheral pin, it may be determined whether the inverter DSP program is updated before, if not, the default is that the Tx pin of the inverter DSP is configured as an input pin and the Tx pin of the rectifying DSP is configured as a peripheral pin, so that no modification is required.
According to the method for upgrading the common port of the rectifying side DSP and the inverting side DSP, the serial port of the inverting side DSP is connected to the rectifying side DSP in parallel, and the configuration of the Tx pins is changed in a matched mode, so that the rectifying side DSP and the inverting side DSP can share one 232 port for program upgrading under the condition that no external communication port is newly added, the software and hardware design complexity is low, and the method is suitable for large-scale popularization and application.
Example III
Referring to fig. 7, fig. 7 is a flowchart illustrating a method for upgrading a common port of a rectifying side DSP and an inverting side DSP according to an embodiment of the invention. Based on the technical solution provided in the first embodiment, in step S103, "the Tx pin of the rectification side DSP is configured as an input pin, and the Tx pin of the inversion side DSP is configured as an external pin, so as to implement the upgrade of the inversion side DSP program", the method is further optimized. The explanation of the terms identical to or corresponding to the above embodiments is not repeated herein, and specifically, the method provided in this embodiment may further include the following steps:
detecting whether the update of the inversion side DSP program is completed or not;
if yes, configuring the Tx pin of the inversion side DSP as an input pin, and configuring the Tx pin of the rectification side DSP as an external pin.
Based on the above optimization, as shown in fig. 7, the method for upgrading a common port of a rectifying side DSP and an inverting side DSP provided in this embodiment may specifically include the following steps:
s301, serial ports of the inversion side DSP are respectively connected with serial ports of the rectification side DSP in parallel, and the serial ports comprise Tx pins.
S302, detecting whether an inversion side DSP program upgrading instruction sent by an upper computer is received or not; if yes, step S303 is executed, and if no, step S304 is executed.
S303, configuring the Tx pin of the rectifying side DSP as an input pin and configuring the Tx pin of the inverting side DSP as an external pin so as to realize the upgrading of the inverting side DSP program.
S304, configuring the Tx pin of the inversion side DSP as an input pin, and configuring the Tx pin of the rectification DSP as an external pin so as to establish communication between the rectification side DSP and the outside or realize upgrading of the rectification side DSP program.
S305, detecting whether the update of the inversion side DSP program is completed or not; if yes, go to step S306, if no, return to step S305.
S306, configuring the Tx pin of the inversion side DSP as an input pin, and configuring the Tx pin of the rectification side DSP as an external pin.
It should be noted that, as described above, since only the rectifying side DSP needs to communicate with the outside in general, in this embodiment, after the completion of the program upgrade of the inverting side DSP is determined, the Tx pin of the inverting side DSP needs to be reconfigured as the input pin, and the Tx pin of the rectifying side DSP needs to be reconfigured as the peripheral pin.
According to the method for upgrading the common port of the rectifying side DSP and the inverting side DSP, the serial port of the inverting side DSP is connected to the rectifying side DSP in parallel, and the configuration of the Tx pins is changed in a matched mode, so that the rectifying side DSP and the inverting side DSP can share one 232 port for program upgrading under the condition that no external communication port is newly added, the software and hardware design complexity is low, and the method is suitable for large-scale popularization and application.
The description of the foregoing embodiments has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the disclosure. Individual elements or features of a particular embodiment are generally not limited to the particular embodiment, but, where applicable, may be interchanged and used with the selected embodiment even if not specifically shown or described. The same elements or features may also be varied in many ways. Such variations are not to be regarded as a departure from the disclosure, and all such modifications are intended to be included within the scope of the disclosure.
Example embodiments are provided so that this disclosure will be thorough, and will fully convey the scope to those skilled in the art. Numerous details are set forth, such as examples of specific parts, devices, and methods, in order to provide a thorough understanding of embodiments of the present disclosure. It will be apparent to one skilled in the art that the exemplary embodiments may be embodied in many different forms without the use of specific details, and neither should be construed to limit the scope of the disclosure. In certain example embodiments, well-known processes, well-known device structures, and well-known techniques are not described in detail.
The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. The terms "comprises" and "comprising" are inclusive and, therefore, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. The method steps, processes, and operations described herein are not to be construed as necessarily requiring their performance in the particular order discussed and illustrated, unless specifically indicated. It should also be appreciated that additional or alternative steps may be employed.
When an element or layer is referred to as being "on," "engaged with," "connected to" or "coupled to" another element or layer, it can be directly on, engaged with, connected to or coupled to the other element or layer, or intervening elements or layers may also be present. In contrast, when an element or layer is referred to as being "directly on" … …, "" directly engaged with "… …," "directly connected to" or "directly coupled to" another element or layer, there may be no intervening elements or layers present. Other words used to describe the relationship of elements should be interpreted in a similar manner (e.g., "between … …" and "directly between … …", "adjacent" and "directly adjacent", etc.). The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items. Although the terms first, second, third, etc. may be used herein to describe various elements, components, regions, layers and/or sections, these elements, components, regions, layers and/or sections should not be limited by these terms. These terms may be only used to distinguish one element, component, region or section from another element, component, region or section. Unless clearly indicated by the context, terms such as the terms "first," "second," and other numerical values are used herein to not imply a sequence or order. Accordingly, a first element, component, region, layer or section discussed below could be termed a second element, component, region, layer or section without departing from the teachings of the example embodiments.
Spatially relative terms, such as "inner," "outer," "below," "beneath," "lower," "above," "upper" and the like, may be used herein for ease of description to describe one element or feature's relationship to another element or feature's illustrated in the figures. Spatially relative terms may be intended to encompass different orientations of the device in addition to the orientation depicted in the figures. For example, if the device in the figures is turned over, elements described as "below" or "beneath" other elements or features would then be oriented "above" the other elements or features. Thus, the example term "below" … … can encompass both upward and downward orientations. The device may be otherwise oriented (rotated 90 degrees or otherwise) and interpreted in the relative description of the space herein.

Claims (5)

1. A method for upgrading a port shared by a rectifying side DSP and an inverting side DSP, the method comprising:
the serial ports of the inversion side DSP are respectively connected with the serial ports of the rectification side DSP in parallel correspondingly, and the serial ports comprise Tx pins;
detecting whether an inversion side DSP program upgrading instruction sent by an upper computer is received or not;
if yes, configuring the Tx pin of the rectifying side DSP as an input pin, and configuring the Tx pin of the inverting side DSP as a peripheral pin so as to realize the upgrading of the inverting side DSP program;
if not, configuring the Tx pin of the inversion side DSP as an input pin, and configuring the Tx pin of the rectification side DSP as an external pin so as to establish communication between the rectification side DSP and the outside or realize upgrading of the rectification side DSP program.
2. The method of claim 1, wherein configuring the Tx pin of the inverter side DSP as an input pin and configuring the Tx pin of the rectifier side DSP as an external pin to establish communication between the rectifier side DSP and the outside or to implement an upgrade to the rectifier side DSP program comprises:
detecting whether a rectifying side DSP program upgrading instruction sent by an upper computer is received or not;
if yes, configuring the Tx pin of the inversion side DSP as an input pin, and configuring the Tx pin of the rectification side DSP as an external pin so as to realize upgrading of the rectification side DSP program;
if not, configuring the Tx pin of the inversion side DSP as an input pin, and configuring the Tx pin of the rectification side DSP as an external pin so as to establish communication between the rectification side DSP and the outside.
3. The method of the port upgrade procedure shared by the rectifying side DSP and the inverting side DSP according to claim 2, wherein the serial port further comprises an Rx pin and a GND pin;
the step of connecting the serial ports of the inverter side DSP in parallel with the serial ports of the rectifier side DSP includes:
the Tx pin of the inversion side DSP is correspondingly connected with the Tx pin of the rectification side DSP in parallel;
the Rx pins of the inversion side DSP are correspondingly connected with the Rx pins of the rectification side DSP in parallel;
and correspondingly connecting the GND pin of the inversion side DSP with the GND pin of the rectification side DSP in parallel.
4. The method of claim 1, wherein after configuring the Tx pin of the rectifying side DSP as an input pin and the Tx pin of the inverting side DSP as an external pin to implement the step of upgrading the inverting side DSP program, the method further comprises:
detecting whether the update of the inversion side DSP program is completed or not;
if yes, configuring the Tx pin of the inversion side DSP as an input pin, and configuring the Tx pin of the rectification side DSP as an external pin.
5. The method of claim 1, wherein after the step of connecting the serial ports of the inverter side DSP and the serial ports of the rectifier side DSP in parallel, the method further comprises:
the Tx pin of the inversion side DSP is configured as an input pin, and the Tx pin of the rectification side DSP is configured as a peripheral pin.
CN202111005289.2A 2021-08-30 2021-08-30 Method for upgrading program of common port of rectifying side DSP and inverting side DSP Active CN113721958B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111005289.2A CN113721958B (en) 2021-08-30 2021-08-30 Method for upgrading program of common port of rectifying side DSP and inverting side DSP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111005289.2A CN113721958B (en) 2021-08-30 2021-08-30 Method for upgrading program of common port of rectifying side DSP and inverting side DSP

Publications (2)

Publication Number Publication Date
CN113721958A CN113721958A (en) 2021-11-30
CN113721958B true CN113721958B (en) 2024-04-02

Family

ID=78679115

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111005289.2A Active CN113721958B (en) 2021-08-30 2021-08-30 Method for upgrading program of common port of rectifying side DSP and inverting side DSP

Country Status (1)

Country Link
CN (1) CN113721958B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204856476U (en) * 2015-06-09 2015-12-09 天津三星电子有限公司 Interface arrangement and connecting device
CN107239422A (en) * 2017-06-15 2017-10-10 威海市天罡仪表股份有限公司 A kind of lossless method for receiving bursty data of TTL serial ports under low-power consumption mode
CN111221554A (en) * 2019-12-31 2020-06-02 北京润科通用技术有限公司 DSP circuit structure, DSP online program upgrading method and device
JP2020184827A (en) * 2019-05-07 2020-11-12 株式会社関電工 Method for updating ups

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002034160A (en) * 2000-07-12 2002-01-31 Sawafuji Electric Co Ltd Parallel operation device for inverter

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204856476U (en) * 2015-06-09 2015-12-09 天津三星电子有限公司 Interface arrangement and connecting device
CN107239422A (en) * 2017-06-15 2017-10-10 威海市天罡仪表股份有限公司 A kind of lossless method for receiving bursty data of TTL serial ports under low-power consumption mode
JP2020184827A (en) * 2019-05-07 2020-11-12 株式会社関電工 Method for updating ups
CN111221554A (en) * 2019-12-31 2020-06-02 北京润科通用技术有限公司 DSP circuit structure, DSP online program upgrading method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Design methods of Multi-DSP Parallel Processing System;Wei Wu等;2009 World Congress on Computer Science and Information Engineering;第458-464页 *
基于DSP的航空仪表信号模拟器设计研究;林坤;;电子设计工程;第26卷(第23期);第61-64、70页 *

Also Published As

Publication number Publication date
CN113721958A (en) 2021-11-30

Similar Documents

Publication Publication Date Title
US8521929B2 (en) Virtual serial port management system and method
CN110002005B (en) Reconfigurable micro-nano satellite system architecture and satellite system reconfiguration method
CN101901156B (en) Method and system for dynamically loading processor application programs
US8966443B2 (en) Method of bypassing an AUTOSAR software component of an AUTOSAR software system
CN107533527B (en) Master/slave management for redundant process controller modules
US10326643B2 (en) Self-configuring fault-tolerant operational group
US8397053B2 (en) Multi-motherboard server system
US9973447B2 (en) Built-in ethernet switch design for RTU redundant system
US20200145059A1 (en) Efficient control mechanism in distributed antenna modules
EP3109767A1 (en) Electronic device and method for controlling signal strength according to mode
CN113721958B (en) Method for upgrading program of common port of rectifying side DSP and inverting side DSP
CN105718322B (en) The abnormality eliminating method of more application module clients under same process
US20140253212A1 (en) Variable Voltage Level Translator
CN109117289B (en) Server system and method for managing dual-substrate management controller
US11853183B2 (en) Device for transmitting commands with circuit of circuit board to test connection interface, system and method thereof
JP5447626B1 (en) Cluster system and cluster system update method
CN103558829B (en) A kind of can the signal regulating device of management logic passage and method automatically
CN205301521U (en) Anti -interference digital process board test platform of general type
CN110850779A (en) Circuit of CAN bus interface expansion interface
WO2013102817A1 (en) Dynamic resource management in mobile computing devices
CN219255593U (en) Demonstrator interface circuit and industrial robot
CN105353297B (en) Universal anti-interference digital processing board test platform and method of testing
CN201004225Y (en) A switching structure of abnormal core re-construction SOC dynamic system
CN116627235A (en) Power supply monitoring method, device, equipment and storage medium
US6016517A (en) Data processing system and method for optimizing connector usage

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant