CN106647519A - Multifunctional USB-JTAG interface FPGA download line based on single-chip microcomputer - Google Patents
Multifunctional USB-JTAG interface FPGA download line based on single-chip microcomputer Download PDFInfo
- Publication number
- CN106647519A CN106647519A CN201611253006.5A CN201611253006A CN106647519A CN 106647519 A CN106647519 A CN 106647519A CN 201611253006 A CN201611253006 A CN 201611253006A CN 106647519 A CN106647519 A CN 106647519A
- Authority
- CN
- China
- Prior art keywords
- chip microcomputer
- fpga
- idcode
- host computer
- jtag interface
- 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
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0426—Programming the control sequence
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/23—Pc programming
- G05B2219/23194—Check validity data by writing in sector control data and check data
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a multifunctional USB-JTAG interface FPGA download line based on a single-chip microcomputer. The single-chip microcomputer is used to simulate a JTAG protocol, and the function of the corresponding download line is realized, and at the same time, an upper computer is used to convert a programmed file according to the model of the FPGA acquired by the single-chip microcomputer, and is used to transmit the file to the single-chip microcomputer by a USB interface, and then the single-chip microcomputer is used to transmit the file to an FPGA development board. The multifunctional USB-JTAG interface FPGA download line is advantageous in that versatility is provided, and one line and one program are adapted to various FPGA development boards, and therefore expenses incurred for repurchasing devices are prevented, the costs of the download line are reduced, and upgrade extension is conveniently carried out.
Description
Technical field
The present invention relates to the technical field of field programmable gate array FPGA downloading wires, and in particular to one kind is based on single
The Multifunctional USB of piece machine-jtag interface FPGA downloading wires.
Background technology
In the industry the Liang great FPGA production firms of main flow are xilinx and altera, and the FPGA of two supports jtag interface
Downloading wire carries out programming, but the downloading wire of two is all only supported to configure oneself chip, and cannot use with, and this not only gives
User is brought using upper inconvenience, and increased cost.
The content of the invention
The present invention proposes a kind of USB- based on single-chip microcomputer (single-chip microcomputer model CY7C68013A that the present invention is adopted)
JTAG downloading wires, can support that the FPGA to Xilinx, Altera and the chip of other support jtag interface programmings are configured.
The technical solution used in the present invention is:A kind of SCM Based Multifunctional USB-jtag interface FPGA downloading wires,
By chip microcontroller, host computer procedure first loads single-chip microcomputer firmware to its Core Feature by USB interface, and single-chip microcomputer is performed
Firmware program, by jtag interface No. ID of fpga chip is read, and returns to host computer procedure, and host computer obtains IDCODE
Afterwards, programming file is changed on demand, be sent to single-chip microcomputer, and programming is in FPGA.
The SCM Based Multifunctional USB-jtag interface FPGA downloading wires, is read first by single-chip microcomputer
IDCODE, makes state machine return to TEST-LOGIC-RESET.Control TMS and clock, makes state machine through Run-Test/
Idle, Select-DR-Scan, Select-IR-Scan, Capture-IR jump to SHIFT-IR states.Send to state machine
Read the instruction of IDCODE.
Then control TMS and clock, make state machine through Exit1-IR, Updata-IR, Select-DR-Scan,
Capture-IR comes Shift-DR states, reads IDCODE, returns to host computer.Host computer is obtained after IDCODE, is turned on demand
Programming file is changed, single-chip microcomputer (CY7C68013A) is sent to, single-chip microcomputer (CY7C68013A) controls JTAG TAG data programming
In entering FPGA.
The present invention principle be:
Resolving ideas of the present invention are exactly to use single-chip simulation JTAG protocol, realize the function of respective downloaded line, while on
Position machine needs the model according to the FPGA obtained by single-chip microcomputer, conversion programming file to be sent to single-chip microcomputer by USB, then by
Single-chip microcomputer is sent to FPGA development boards.The firmware program of single-chip microcomputer, simulates JTAG TAP state machines, reads IDCODE, obtains
The model of FPGA, returns to host computer, and host computer polling routine data obtain more information, and make a choice, conversion programming text
Part, is sent to single-chip microcomputer, continues to simulate JTAG protocol programming file.
Advantage of the present invention and good effect are:
(1) advantage of the present invention is versatility, realizes one program of single line and adapts to many FPGA development boards.
(2) advantage of the present invention is low cost, and the present invention adopts single-chip microcomputer price to be adopted well below specific download line
Chip price, the average price of downloading wire can be substantially reduced.
(3) advantage of the present invention is autgmentability, and firmware is stored in PC ends, and upper computer software is on startup by firmware loads to list
Piece machine, therefore need to only update the firmware file at PC ends and just can realize the upgrading or extension of downloading wire function.
Description of the drawings
Fig. 1 is JTAG TAG state machines in prior art;
Fig. 2 uses scene for downloading wire of the present invention;
Fig. 3 is workflow of the present invention;
Fig. 4 is workflow schematic diagram of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawings and specific embodiment further illustrates the present invention.
As shown in figure 1, the core of JTAG is TAG state machines, in SHIFT-IR state write instructions, then SHIFT-DR again
State reads or writes data.By Single-chip Controlling jtag interface sequential in the present invention, according to state transition figure, enter first
Enter SHIFT-IR states, write control instruction (such as reads ID instructions, write configuration data instruction), and then state of a control machine enters
Enter SHIFT-DR states, read or write data (such as chip id, configuration data) corresponding with control instruction.
As shown in Fig. 2 downloading wire one end is connected to PC by USB interface, the other end is connected to by jtag interface
The download mouth of FPGA, PC is by the downloading wire by configuration file programming to FPGA.
As shown in Figure 3 and Figure 4, first IDCODE is read by single-chip microcomputer, the tms signal in jtag interface puts one, keeps 5
Individual clock (practical operation maintains 10 clock in order to ensure resetting), makes state machine return to TEST-LOGIC-RESET.
Control TMS and clock, makes state machine through Run-Test/Idle, Select-DR-Scan, Select-IR-
Scan, Capture-IR jump to SHIFT-IR states.
TMS is set as 0, TDI and clock is controlled, the instruction for reading IDCODE is sent to state machine, start to send from lowest order
Data.
Last cycle of said process redirects state machine state while reading in last position 0 of instruction, then controls
TMS processed and clock, makes state machine come through Exit1-IR, Updata-IR, Select-DR-Scan, Capture-IR
Shift-DR states.
TMS is set as 0, clock is controlled, 32 data are read from TDO, return to host computer, obtain IDCODE.
Host computer is obtained after IDCODE, and programming file is changed on demand, is sent to Single-chip Controlling JTAG TAG and data are burnt
In writing into FPGA.
Claims (2)
1. a kind of SCM Based Multifunctional USB-jtag interface FPGA downloading wires, its Core Feature passes through single-chip microcomputer reality
It is existing, it is characterised in that:First host computer procedure loads single-chip microcomputer firmware by USB interface, and single-chip microcomputer performs firmware program, passes through
Jtag interface reads No. ID of fpga chip, and returns to host computer procedure, and host computer is obtained after IDCODE, and programming is changed on demand
File, is sent to single-chip microcomputer, and programming is in FPGA.
2. SCM Based Multifunctional USB according to claim 1-jtag interface FPGA downloading wires, it is characterised in that:
First IDCODE is read by single-chip microcomputer, make state machine return to TEST-LOGIC-RESET;Control TMS and clock, makes state
Machine jumps to SHIFT-IR shapes through Run-Test/Idle, Select-DR-Scan, Select-IR-Scan, Capture-IR
State;The instruction for reading IDCODE is sent to state machine;
Then TMS and clock is controlled, state machine is made through Exit1-IR, Updata-IR, Select-DR-Scan, Capture-
IR comes Shift-DR states, reads IDCODE, returns to host computer;Host computer is obtained after IDCODE, and programming text is changed on demand
Part, is sent to single-chip microcomputer, and Single-chip Controlling JTAG TAG enters data programming in FPGA.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611253006.5A CN106647519A (en) | 2016-12-30 | 2016-12-30 | Multifunctional USB-JTAG interface FPGA download line based on single-chip microcomputer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611253006.5A CN106647519A (en) | 2016-12-30 | 2016-12-30 | Multifunctional USB-JTAG interface FPGA download line based on single-chip microcomputer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106647519A true CN106647519A (en) | 2017-05-10 |
Family
ID=58836809
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611253006.5A Pending CN106647519A (en) | 2016-12-30 | 2016-12-30 | Multifunctional USB-JTAG interface FPGA download line based on single-chip microcomputer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106647519A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107346257A (en) * | 2017-07-03 | 2017-11-14 | 山东超越数控电子有限公司 | A kind of implementation method and device for turning JTAG renewal FPGA programs based on Shen prestige server USB |
CN107608846A (en) * | 2017-08-30 | 2018-01-19 | 西安微电子技术研究所 | A kind of debugging link and adjustment method that TAP interfaces are embedded for FPGA |
CN108400899A (en) * | 2018-06-08 | 2018-08-14 | 山东超越数控电子股份有限公司 | A kind of remote update system and method for FPGA |
TWI699101B (en) * | 2019-09-19 | 2020-07-11 | 英業達股份有限公司 | System and method for online cascaded loading firmware based on boundary scan |
CN112947262A (en) * | 2021-04-16 | 2021-06-11 | 西南科技大学 | FPGA development board |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6173419B1 (en) * | 1998-05-14 | 2001-01-09 | Advanced Technology Materials, Inc. | Field programmable gate array (FPGA) emulator for debugging software |
CN1545004A (en) * | 2003-11-25 | 2004-11-10 | 浙江大学 | High speed USB data communication interface arrangement |
US7454556B1 (en) * | 2005-02-02 | 2008-11-18 | Xilinx, Inc. | Method to program non-JTAG attached devices or memories using a PLD and its associated JTAG interface |
CN101540604A (en) * | 2008-03-21 | 2009-09-23 | 鸿富锦精密工业(深圳)有限公司 | Loading wire of programmable logic device |
CN102609286A (en) * | 2012-02-10 | 2012-07-25 | 株洲南车时代电气股份有限公司 | System for updating FPGA (Field Programmable Gate Array) configuration program from a long distance based on control of processor and method therefor |
CN103530262A (en) * | 2012-07-05 | 2014-01-22 | 李鹏宇 | Multifunctional download line with USB interface |
CN104657178A (en) * | 2015-02-26 | 2015-05-27 | 江苏影速光电技术有限公司 | Method for configuring FPGA (Field Programmable Gate Array) by use of interface technology |
CN204808307U (en) * | 2015-04-24 | 2015-11-25 | 南京锆石光电科技有限公司 | FPGACPLD procedure downloader based on USB singlechip |
-
2016
- 2016-12-30 CN CN201611253006.5A patent/CN106647519A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6173419B1 (en) * | 1998-05-14 | 2001-01-09 | Advanced Technology Materials, Inc. | Field programmable gate array (FPGA) emulator for debugging software |
CN1545004A (en) * | 2003-11-25 | 2004-11-10 | 浙江大学 | High speed USB data communication interface arrangement |
US7454556B1 (en) * | 2005-02-02 | 2008-11-18 | Xilinx, Inc. | Method to program non-JTAG attached devices or memories using a PLD and its associated JTAG interface |
CN101540604A (en) * | 2008-03-21 | 2009-09-23 | 鸿富锦精密工业(深圳)有限公司 | Loading wire of programmable logic device |
CN102609286A (en) * | 2012-02-10 | 2012-07-25 | 株洲南车时代电气股份有限公司 | System for updating FPGA (Field Programmable Gate Array) configuration program from a long distance based on control of processor and method therefor |
CN103530262A (en) * | 2012-07-05 | 2014-01-22 | 李鹏宇 | Multifunctional download line with USB interface |
CN104657178A (en) * | 2015-02-26 | 2015-05-27 | 江苏影速光电技术有限公司 | Method for configuring FPGA (Field Programmable Gate Array) by use of interface technology |
CN204808307U (en) * | 2015-04-24 | 2015-11-25 | 南京锆石光电科技有限公司 | FPGACPLD procedure downloader based on USB singlechip |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107346257A (en) * | 2017-07-03 | 2017-11-14 | 山东超越数控电子有限公司 | A kind of implementation method and device for turning JTAG renewal FPGA programs based on Shen prestige server USB |
CN107608846A (en) * | 2017-08-30 | 2018-01-19 | 西安微电子技术研究所 | A kind of debugging link and adjustment method that TAP interfaces are embedded for FPGA |
CN107608846B (en) * | 2017-08-30 | 2020-09-29 | 西安微电子技术研究所 | Debugging link and debugging method for embedded TAP interface of FPGA |
CN108400899A (en) * | 2018-06-08 | 2018-08-14 | 山东超越数控电子股份有限公司 | A kind of remote update system and method for FPGA |
TWI699101B (en) * | 2019-09-19 | 2020-07-11 | 英業達股份有限公司 | System and method for online cascaded loading firmware based on boundary scan |
CN112947262A (en) * | 2021-04-16 | 2021-06-11 | 西南科技大学 | FPGA development board |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106647519A (en) | Multifunctional USB-JTAG interface FPGA download line based on single-chip microcomputer | |
CN105224345B (en) | A kind of programmable logic device remote update system and its method | |
CN105474178B (en) | Verifying and debugging based on programmable interface | |
CN106680697A (en) | Test detector of digital signal processor | |
CN104809014B (en) | A kind of system remote radio upgrade method | |
CN102053850A (en) | Method for on-line FPGA logic upgrade | |
CN205067685U (en) | Verification device of chip | |
CN105718339A (en) | FPGA/CPLD remote debugging system and method | |
CN107633867B (en) | SPI flash memory test system and method based on FT4222 | |
CN102801818A (en) | Universal sensor interface acquisition system based on ZigBee technology | |
CN102750243A (en) | Easily-debugged embedded system of complex SD (secure digital) interface | |
CN203338129U (en) | Detection device used for access controller mass production | |
CN103714190B (en) | Simple efficient on-line simulation method and simple efficient on-line simulation interface circuit | |
CN103914331A (en) | Emulator supporting multi-chip configuration function | |
CN103150436A (en) | Assistance analysis device for EDA debugging process based on ChipScope | |
CN109582571B (en) | Online debugging method and device, debugging slave computer, debugging host computer and system | |
CN204808307U (en) | FPGACPLD procedure downloader based on USB singlechip | |
CN209281376U (en) | A kind of STM32 development board with emulator function | |
CN204166524U (en) | A kind of artificial debugging and code download tool | |
CN101751492A (en) | Micro-controller and simulation system thereof | |
CN211698947U (en) | Numerical control system FPGA-flash memory chip configuration circuit | |
CN106531217B (en) | FLASH device programming method and system for programmable logic device | |
CN203480502U (en) | C*Core simulator terminal of USB (Universal Serial Bus) interface | |
CN206931075U (en) | A kind of program burn writing device | |
CN203706531U (en) | Embedded development device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170510 |
|
RJ01 | Rejection of invention patent application after publication |