CN106708770A - Program downloading device - Google Patents

Program downloading device Download PDF

Info

Publication number
CN106708770A
CN106708770A CN201510772719.1A CN201510772719A CN106708770A CN 106708770 A CN106708770 A CN 106708770A CN 201510772719 A CN201510772719 A CN 201510772719A CN 106708770 A CN106708770 A CN 106708770A
Authority
CN
China
Prior art keywords
interfaces
interface
program downloading
wire jumper
data pins
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.)
Pending
Application number
CN201510772719.1A
Other languages
Chinese (zh)
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.)
CRRC Dalian R&D Co Ltd
Original Assignee
CRRC Dalian R&D 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 CRRC Dalian R&D Co Ltd filed Critical CRRC Dalian R&D Co Ltd
Priority to CN201510772719.1A priority Critical patent/CN106708770A/en
Publication of CN106708770A publication Critical patent/CN106708770A/en
Pending legal-status Critical Current

Links

Classifications

    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a program downloading device, which comprises a reset button, a mode selection switch, a jumper interface, a first DB9 interface and a second DB9 interface, wherein the data pin of the first DB9 interface is connected with the data pin of the second DB9 interface through the jumper interface; the first DB9 interface is used for connecting with a computer serial port; the second DB9 interface is used for connecting with a target board card; the reset button is connected with the second DB9 interface for generating a reset signal; the mode selection switch is connected with the second DB9 interface and is used for selecting a single chip microcomputer as a BOOT mode; the STM32 single chip microcomputer of the target board card is reset to the BOOT mode directly through a toggle switch to carry out program downloading, level reset does not need to be set through a computer, and a program downloading operation process is simplified.

Description

Program downloading apparatus
Technical field
The present embodiments relate to row embedded development technology, more particularly to a kind of program downloading apparatus.
Background technology
At present, the download program mode of the single-chip microcomputer of the STM32 series for being gone out based on ST Microelectronics, All it is to be using download program, common mode is carried out under BOOT patterns by RS232 interfaces:Will Board including the STM32 single-chip microcomputers is coupled together, it is necessary to by Serial Port Line one end using Serial Port Line and computer Every wire bonding on each pin of the STM32 single-chip microcomputers, then drawn to BOOT by computer Pin applies high level so that STM32 single-chip microcomputers reboot into BOOT patterns, enter under line program Carry, complete to remove Serial Port Line again after downloading.
However, such board it is a fairly large number of when, be required for needing by computer to BOOT every time Pin increases level, can just carry out download program, and operating process is cumbersome.
The content of the invention
Program downloading apparatus provided in an embodiment of the present invention, for solving in a fairly large number of of such board When, it is required for needing every time increasing level to BOOT pins by computer, download program can be just carried out, The cumbersome problem of operating process.
First aspect present invention provides a kind of program downloading apparatus, including:Reset key, model selection are opened Pass, wire jumper interface, a DB9 interfaces and the 2nd DB9 interfaces;Wherein, a DB9 interfaces Data pins be connected with the data pins of the 2nd DB9 interfaces by the wire jumper interface;
The first DB9 interfaces are used for and computer serial port connection;The 2nd DB9 interfaces are used for and mesh Target card is connected;The reset key is connected with the 2nd DB9 interfaces, for producing reset signal; The mode selection switch is connected with the 2nd DB9 interfaces, is BOOT patterns for selecting single-chip microcomputer.
In one embodiment of this invention, also include:Printed circuit board;The reset key, the mould Formula selecting switch, the wire jumper interface, a DB9 interfaces and the 2nd DB9 interfaces difference It is welded on the printed circuit board.
In one embodiment of this invention, a DB9 interfaces are pass interface.
In one embodiment of this invention, a DB9 interfaces are needle-like interface.
In one embodiment of this invention, the reception data pins of a DB9 interfaces are by the jump The reception data pins that line interface is switched with the 2nd DB9 are connected, the hair of a DB9 interfaces Data pins are sent to be connected by the transmission data pins that the wire jumper interface is switched with the 2nd DB9;
It is patch cord or direct-connected line that the wire jumper interface is used for selection target board connecting line.
In one embodiment of this invention, the mode selection switch is additionally operable to selection single-chip microcomputer normally to open Dynamic model formula.
The program downloading apparatus that the present invention is provided, for being connected between target board and computer, including: Reset key, mode selection switch, wire jumper interface, a DB9 interfaces and the 2nd DB9 interfaces;Its In, the data pins of a DB9 interfaces pass through the wire jumper interface and the 2nd DB interfaces Data pins are connected;The first DB9 interfaces are used for and computer serial port connection;2nd DB9 connects Mouth with target board for connecting;The reset key is connected with the 2nd DB9 interfaces, for producing Reset signal;The mode selection switch is connected with the 2nd DB9 interfaces, for selecting single-chip microcomputer to be BOOT start-up modes, are directly arrived the STM32 monolithic processor resettings of target board by toggle switch Download program is carried out under BOOT patterns, it is not necessary to level is set by computer and is resetted, simplify download program Operating process.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to reality The accompanying drawing to be used needed for example or description of the prior art is applied to be briefly described, it should be apparent that, under Accompanying drawing in the description of face is some embodiments of the present invention, for those of ordinary skill in the art, On the premise of not paying creative labor, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic diagram of present procedure download apparatus embodiment one;
Fig. 2 is the schematic diagram of present procedure download apparatus embodiment one;
Fig. 3 is the schematic diagram of the example of present procedure download apparatus one.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with this hair Accompanying drawing in bright embodiment, is clearly and completely described to the technical scheme in the embodiment of the present invention, Obviously, described embodiment is a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained under the premise of creative work is not made The every other embodiment for obtaining, belongs to the scope of protection of the invention.
Fig. 1 is the schematic diagram of present procedure download apparatus embodiment one;Fig. 2 is downloaded for present procedure The schematic diagram of device embodiment one, as depicted in figs. 1 and 2, the program downloading apparatus that the present embodiment is provided, Including:Reset key, mode selection switch, wire jumper interface, a DB9 interfaces and the 2nd DB9 connect Mouthful;Wherein, the data pins of a DB9 interfaces pass through the wire jumper interface and the 2nd DB9 The data pins connection of interface;
The first DB9 interfaces are used for and computer serial port connection;The 2nd DB9 interfaces are used for and mesh Target card is connected;The reset key is connected with the 2nd DB9 interfaces, for producing reset signal; The mode selection switch is connected with the 2nd DB9 interfaces, is BOOT patterns for selecting single-chip microcomputer. The DB9 interfaces occurred in the present invention are exactly the conventional nine kinds of needles interface of industry.
Fig. 3 is the schematic diagram of the example of present procedure download apparatus one, and example as shown in Figure 3 shows A kind of device when implement schematic layout pattern on circuit boards, in implementing, preferably The program downloading apparatus also include:Printed circuit board;The reset key, the mode selection switch, The wire jumper interface, a DB9 interfaces and the 2nd DB9 interfaces are respectively welded at the print On circuit board processed.
In any of the above-described embodiment, a DB9 interfaces are pass interface;First DB9 Interface is needle-like interface.The reception data pins of the first DB9 interfaces pass through the wire jumper interface and institute State the reception data pins connection of the 2nd DB9 switches, the transmission data pins of a DB9 interfaces The transmission data pins switched with the 2nd DB9 by the wire jumper interface are connected;
It is patch cord or direct-connected line that the wire jumper interface is used for selection target board connecting line.The pattern It is normal startup mode that selecting switch is additionally operable to selection single-chip microcomputer.
Specifically, with reference to shown in Fig. 2 away from figure, the program downloading apparatus, for giving STM32 monolithics Machine downloads.Device has two DB9 interfaces, and one is needle-like, and one is collection in pass, device Into reset key, mode selection switch and wire jumper interface.
First DB9 interfaces J1 of described pass for standard RS232 interfaces, for computer end string Mouth connection, the 2nd DB9 interfaces of needle-like are used for and the connection of target board, and internal 2 pin is the number of RS232 According to pin (Transmit Data, TXD) line is sent, 3 pin are the data receiver pin (Receive of RS232 Data, RXD) line, 5 pin are ground connection (Ground, GND).
2nd DB9 interfaces J2 of described needle-like is used for and the connection of target board, and internal 2 pin is RS232 TXD lines, 2 pin with wire jumper interface J3 are connected, and 3 pin are the RXD lines of RS232, and wire jumper connects 3 pin of mouth J3 are connected, and 5 pin are GND, and 4 pin output reset signal, 7 pin export BOOT signals, 8 pin are that 3.3V powers;
Described reset key S1, produces low level reset signal, the 4 of the logical J2 of reset signal after pressing Pin is transferred on the reset pin of target board single-chip microcomputer;
Described mode selection switch S2, for selecting start-up mode to select as BOOT patterns and general Logical start-up mode, 1 pin connection 3.3V power supplys, 4 pin connect GND by R2, and 2,3 pin are connected to J2 7 pin on, when 1 pin side is pushed by switching S2, reset single-chip microcomputer enter BOOT patterns, when It is normal startup mode when switch S2 pushes 4 pin;
Described wire jumper interface J3, cross spider and direct-connected line for selecting RS232 connecting lines, when 1,3 When connection and 2,4 connection, using the direct-connected holding wires of RS232, when 3,5 connections and 4,6 During connection, RS232 crossbar signal lines are used.
During using described download apparatus, first by serial ports cable respectively by computer and STM32 Target Boards Card is connected on device, and switch S2 is pushed into BOOT patterns, then presses reset key S1, STM32 Advance to BOOT patterns, it is possible to download by serial ports.
Finally, the present invention also provides a kind of program downloading system, including with the electricity of related computer program Brain, target board and above-mentioned program downloading apparatus, it is succinct by journey by the program downloading apparatus Sequence is downloaded on target board.
The program downloading apparatus that the present embodiment is provided, for being connected between target board and computer, the journey Sequence download apparatus reset key, mode selection switch, wire jumper interface, a DB9 interfaces and the 2nd DB9 Interface;Wherein, the data pins of a DB9 interfaces pass through the wire jumper interface and described second The data pins connection of DB interfaces;The first DB9 interfaces are used for and computer serial port connection;Described Two DB9 interfaces are used for and the connection of target board;The reset key is connected with the 2nd DB9 interfaces, For producing reset signal;The mode selection switch is connected with the 2nd DB9 interfaces, for selecting Single-chip microcomputer is BOOT start-up modes, directly passes through toggle switch by the STM32 single-chip microcomputers of target board Reset to and carry out download program under BOOT patterns, it is not necessary to level is set by computer and is resetted, simplify journey The operating process that sequence is downloaded.
In addition, when target board is more, can quickly by connecing on the program downloading apparatus Mouth linking objective board and computer, by mode selection switch rapidly by the monolithic processor resetting of target board Download program is carried out under to BOOT patterns, download program speed is effectively improved, and improve Consumer's Experience.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than right Its limitation;Although being described in detail to the present invention with reference to foregoing embodiments, this area it is common Technical staff should be understood:It can still modify to the technical scheme described in foregoing embodiments, Or equivalent is carried out to which part or all technical characteristic;And these modifications or replacement, and The scope of the essence disengaging various embodiments of the present invention technical scheme of appropriate technical solution is not made.

Claims (6)

1. a kind of program downloading apparatus, it is characterised in that including:Reset key, mode selection switch, Wire jumper interface, the first nine kinds of needles serial communication interface DB9 interfaces and the 2nd DB9 interfaces;Wherein, it is described The data pipe that the data pins of the first DB9 interfaces pass through the wire jumper interface and the 2nd DB9 interfaces Pin is connected;
The first DB9 interfaces are used for and computer serial port connection;The 2nd DB9 interfaces are used for and mesh Target card is connected;The reset key is connected with the 2nd DB9 interfaces, for producing reset signal; The mode selection switch is connected with the 2nd DB9 interfaces, for selecting single-chip microcomputer to start BOOT Pattern.
2. program downloading apparatus according to claim 1, it is characterised in that also include:Printing electricity Road plate;The reset key, the mode selection switch, the wire jumper interface, a DB9 connect Mouth and the 2nd DB9 interfaces are respectively welded on the printed circuit board.
3. program downloading apparatus according to claim 1 and 2, it is characterised in that described first DB9 interfaces are pass interface.
4. program downloading apparatus according to claim 3 a, it is characterised in that DB9 Interface is needle-like interface.
5. program downloading apparatus according to claim 3 a, it is characterised in that DB9 The reception data pins that the reception data pins of interface are switched by the wire jumper interface with the 2nd DB9 Connection, the transmission data pins of a DB9 interfaces pass through the wire jumper interface and the 2nd DB9 The transmission data pins connection of switch;
It is patch cord or direct-connected line that the wire jumper interface is used for selection target board connecting line.
6. program downloading apparatus according to claim 4 or 5, it is characterised in that the pattern choosing It is normal startup mode to select switch and be additionally operable to selection single-chip microcomputer.
CN201510772719.1A 2015-11-12 2015-11-12 Program downloading device Pending CN106708770A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510772719.1A CN106708770A (en) 2015-11-12 2015-11-12 Program downloading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510772719.1A CN106708770A (en) 2015-11-12 2015-11-12 Program downloading device

Publications (1)

Publication Number Publication Date
CN106708770A true CN106708770A (en) 2017-05-24

Family

ID=58918306

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510772719.1A Pending CN106708770A (en) 2015-11-12 2015-11-12 Program downloading device

Country Status (1)

Country Link
CN (1) CN106708770A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413550A (en) * 2018-04-27 2019-11-05 北京天诚同创电气有限公司 A kind of chip serial ports program downloading control circuit

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101950265A (en) * 2010-09-19 2011-01-19 南京南瑞继保电气有限公司 Method for CPU board card program downloading and hardware online detection and plug-in connector
CN102156420A (en) * 2010-12-23 2011-08-17 天津职业技术师范大学 Device for accelerating downloading of data from computer to target memory of singlechip
CN202033741U (en) * 2010-12-23 2011-11-09 天津职业技术师范大学 Program download device for STC single-chip microcomputer
CN103514018A (en) * 2013-10-08 2014-01-15 上海电力学院 Method for remotely downloading programs based on STM32F4 controller
CN103678194A (en) * 2013-12-03 2014-03-26 中国科学院深圳先进技术研究院 Device used for ISP (internet service provider) downloading of STM (scanning tunneling microscope) 32 program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101950265A (en) * 2010-09-19 2011-01-19 南京南瑞继保电气有限公司 Method for CPU board card program downloading and hardware online detection and plug-in connector
CN102156420A (en) * 2010-12-23 2011-08-17 天津职业技术师范大学 Device for accelerating downloading of data from computer to target memory of singlechip
CN202033741U (en) * 2010-12-23 2011-11-09 天津职业技术师范大学 Program download device for STC single-chip microcomputer
CN103514018A (en) * 2013-10-08 2014-01-15 上海电力学院 Method for remotely downloading programs based on STM32F4 controller
CN103678194A (en) * 2013-12-03 2014-03-26 中国科学院深圳先进技术研究院 Device used for ISP (internet service provider) downloading of STM (scanning tunneling microscope) 32 program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413550A (en) * 2018-04-27 2019-11-05 北京天诚同创电气有限公司 A kind of chip serial ports program downloading control circuit

Similar Documents

Publication Publication Date Title
CN101848043B (en) Radio frequency test system and method
CN108475227A (en) Test functional component and data debugging method
CN101937414A (en) Method and device of sharing minitype USB interface for UART (Universal Asynchronous Receive/Transmitter) and USB (Universal Serial Bus)
CN104980882B (en) A method of calling NFC during printing device Auto Power On and bluetooth automatic matching
CN107885508A (en) A kind of Device Programming method and system
CN106547668A (en) Computer system fault alarming method, apparatus and system
CN109307833A (en) Apparatus for testing chip and chip detecting method
CN107092459A (en) Exchange method and interactive device and display screen control system
CN106708770A (en) Program downloading device
CN110659233A (en) Serial port information switching device and server
TW201236527A (en) Mainboard
CN211149275U (en) Primary frequency modulation function testing device
CN104021050B (en) Server
CN205139898U (en) Thing networking hardware development board
CN207281247U (en) Circuit board detection equipment
CN208953913U (en) Dsp chip selection circuit, device, control system and electrical equipment
CN105718338A (en) Information processing method and electronic device
CN103559064B (en) A kind of single-deck buckle program batch download equipment and method
CN202677376U (en) Device for downloading chip programs
CN208798186U (en) A kind of audio payment control circuit and mobile terminal
CN102646202A (en) Dual-SD (Secure Digital) card function for simulating SPI (Serial Peripheral Interface) manner
CN208062866U (en) The charging circuit and device of bluetooth headset
CN107346295A (en) A kind of data transmission cable and data transmission method
CN106407107A (en) Auxiliary software debugging method of universal type optical module
CN105824773A (en) Method for realizing multilevel cascade of multi-cell servers by means of calling OSD (On Screen Display) on basis of FPGA (Field Programmable Gate Array)

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170524