CN109344099B - FPGA application system wireless debugging download device - Google Patents

FPGA application system wireless debugging download device Download PDF

Info

Publication number
CN109344099B
CN109344099B CN201810878637.9A CN201810878637A CN109344099B CN 109344099 B CN109344099 B CN 109344099B CN 201810878637 A CN201810878637 A CN 201810878637A CN 109344099 B CN109344099 B CN 109344099B
Authority
CN
China
Prior art keywords
debugging
jtag
wireless
fpga
signal
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
CN201810878637.9A
Other languages
Chinese (zh)
Other versions
CN109344099A (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.)
Tsinghua University
Original Assignee
Tsinghua University
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 Tsinghua University filed Critical Tsinghua University
Priority to CN201810878637.9A priority Critical patent/CN109344099B/en
Publication of CN109344099A publication Critical patent/CN109344099A/en
Application granted granted Critical
Publication of CN109344099B publication Critical patent/CN109344099B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/387Information transfer, e.g. on bus using universal interface adapter for adaptation of different data processing systems to different peripheral devices, e.g. protocol converters for incompatible systems, open system
    • 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
    • G06F13/4291Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a clocked protocol
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/02Amplitude-modulated carrier systems, e.g. using on-off keying; Single sideband or vestigial sideband modulation
    • H04L27/04Modulator circuits; Transmitter circuits
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Transceivers (AREA)

Abstract

本发明公开了一种FPGA应用系统无线调试下载装置,包括:调试计算机端,用于通过单通道高速USB转多功能UART/FIFO芯片实现USB到JTAG的转换,并且转换输出通用JTAG信号TMS、TCK、TDO和TDI,JTAG信号TMS、TCK和TDO通过超高频载波,并以ASK方式进行调制,经放大处理后通过微带天线发送输出;FPGA系统主控端,FPGA系统主控端与调试计算机端无线通信,其中,发送端的各路通过不同载波频率以ASK方式完成信号的调制和实时发送,且接收端通过带通滤波器完成对应通道的信号选择,并完成解调、放大和整形处理。该装置有效保证了JTAG信号的实时性且和有线连接调试具有相同的效果。

Figure 201810878637

The invention discloses a wireless debugging and downloading device for an FPGA application system, comprising: a debugging computer terminal, which is used to realize the conversion from USB to JTAG through a single-channel high-speed USB to multi-function UART/FIFO chip, and convert and output general JTAG signals TMS and TCK. , TDO and TDI, JTAG signals TMS, TCK and TDO are modulated in ASK mode through ultra-high frequency carrier, and after amplifying processing, the output is sent through the microstrip antenna; FPGA system main control terminal, FPGA system main control terminal and debugging computer In the wireless communication of the terminal, each channel of the transmitting terminal completes the modulation and real-time transmission of the signal in ASK mode through different carrier frequencies, and the receiving terminal completes the signal selection of the corresponding channel through the band-pass filter, and completes the demodulation, amplification and shaping. The device effectively guarantees the real-time performance of the JTAG signal and has the same effect as wired connection debugging.

Figure 201810878637

Description

FPGA应用系统无线调试下载装置FPGA application system wireless debugging download device

技术领域technical field

本发明涉及FPGA(Field-Programmable Gate Array,现场可编程逻辑门阵列)相关技术领域,特别涉及一种FPGA应用系统无线调试下载装置。The invention relates to the related technical field of FPGA (Field-Programmable Gate Array, field programmable gate array), in particular to a wireless debugging and downloading device for an FPGA application system.

背景技术Background technique

相关技术中,(1)FPGA下载器,独立的一个下载调试模块,一端通过USB(UniversalSerial Bus,通用串行总线)线缆与调试计算机互联,另一端通过线缆与JTAG(Joint TestAction Group,联合测试行为组织)接口互联,目前使用非常普遍,比较适合单板开发过程中的调试,FPGA应用系统在下载调试时需将模块单独拿出或在模块前面板预留JTAG接口。In the related art, (1) FPGA downloader, an independent download and debug module, one end is connected to the debugging computer through a USB (Universal Serial Bus, Universal Serial Bus) cable, and the other end is connected to a JTAG (Joint TestAction Group, Joint TestAction Group) cable through a cable. Test behavior organization) interface interconnection, which is very common at present, and is more suitable for debugging in the process of single-board development. When downloading and debugging the FPGA application system, the module needs to be taken out separately or the JTAG interface should be reserved on the front panel of the module.

(2)板载USB-JTAG下载器,将USB接口芯片+协控制器或USB转串行接口芯片直接做到模块板卡上,对外只预留一个USB接口,调试时通过USB线缆与调试计算机互联。(2) On-board USB-JTAG downloader, the USB interface chip + protocol controller or USB-to-serial interface chip is directly installed on the module board, and only one USB interface is reserved for the outside world. computer interconnection.

(3)无线USB传输技术,基于无线运行,启用新标准,可利用现有USB基础设施实现无线传输,符合USB规范,允许无线设备和扩充口在USB协议下通信。(3) Wireless USB transmission technology, based on wireless operation, enables new standards, can use existing USB infrastructure to achieve wireless transmission, conforms to USB specifications, and allows wireless devices and expansion ports to communicate under the USB protocol.

然而,(1)FPGA下载器使用时需要连接USB线缆和JTAG端线缆,FPGA应用系统模块在调试下载时需将模块单独拿出并单独供电,单端供电有电源接反、短路等风险;如模块前面板预留了JTAG接口,可直接将JTAG线缆连接到面板预留接口进行调试,调试接口需做好静电保护设计,避免长期插拔过程损坏控制器件,面板调试接口应用不能满足系统的电磁兼容设计要求。However, (1) the FPGA downloader needs to connect the USB cable and the JTAG cable when using it. The FPGA application system module needs to take out the module and supply power separately when debugging and downloading. Single-ended power supply has the risk of reverse power supply and short circuit. ;If the JTAG interface is reserved on the front panel of the module, you can directly connect the JTAG cable to the reserved interface on the panel for debugging. The debugging interface needs to be well designed for electrostatic protection to avoid damage to the control device during the long-term plugging and unplugging process. The application of the panel debugging interface cannot meet the requirements. EMC design requirements for the system.

(2)板载USB-JTAG下载器需要每个板卡模块都设计到板上,调试人员无需自带FPGA下载器,直接通过USB线缆互联即可调试下载,使用较为方便,但每个板卡模块上都需要设计USB-JTAG下载器,会占用一定的空间,增加板卡功耗,同时造成资源浪费,USB接口同时占用面板空间。(2) The on-board USB-JTAG downloader requires each board module to be designed on the board. The debugger does not need to bring his own FPGA downloader, and can directly debug and download through the USB cable interconnection. It is more convenient to use, but each board The USB-JTAG downloader needs to be designed on the card module, which will occupy a certain space, increase the power consumption of the board, and cause waste of resources, and the USB interface will occupy the panel space at the same time.

(3)基于无线USB传输技术实现在线下载调试模块,需要将USB接口协议数据通过无线方式发送出去,其中包括了很多USB协议信息,会对传输载波频率和带宽有很高的要求,同时会带来比较长的延时,造成调试工具无法找到设备或不能及时得到响应;接收端需要解析USB协议信息,并将其转换为JTAG信息,给设计增加了难度;此方法只能实现两个无线USB端之间的传输,如需同时连接多个设备,需在调试计算机上连接多个无线USB端,占用较多USB口,如使用MA-USB技术,需要得到MA-USB认证,同时需要操作系统的驱动更新支持。(3) To realize online download and debug module based on wireless USB transmission technology, it is necessary to send the USB interface protocol data wirelessly, which includes a lot of USB protocol information, which has high requirements on the transmission carrier frequency and bandwidth, and will carry Due to the long delay, the debugging tool cannot find the device or get a response in time; the receiving end needs to parse the USB protocol information and convert it into JTAG information, which increases the difficulty of the design; this method can only implement two wireless USB For transmission between terminals, if you need to connect multiple devices at the same time, you need to connect multiple wireless USB terminals on the debugging computer, which occupies more USB ports. If you use MA-USB technology, you need to get MA-USB certification, and you need an operating system. driver update support.

相关技术主要采用有线的方式实现下载调试,无线USB传输技术目前还未得到很好的支持和应用。The related technology mainly adopts the wired way to realize downloading and debugging, and the wireless USB transmission technology has not been well supported and applied at present.

发明内容SUMMARY OF THE INVENTION

本申请是基于发明人对以下问题的认识和发现作出的:This application is made based on the inventor's knowledge and discovery of the following issues:

在多片FPGA和多板卡协同工作的系统集成环境中,每一片FPGA都涉及到在线调试和代码下载固化,每个下载链路都需要通过USB线缆与调试计算机互联,才能实现计算机与被调试设备之间的数据传输,调试中还需不停地插拔切换不同下载链路。在一些特殊应用场合使用非常不便,如系统机箱上架后较高,插拔USB线缆会非常不便,同时增加线缆的长度,导致传输信号衰减严重,造成长时间在线调试和大量数据下载不稳定;如系统机箱设计为后插,机柜移动不方便,插拔线缆会显得非常不方便;同时设备之间通过调试线缆互联会造成隔离设备间共地,导致设备工作异常。In a system integration environment in which multiple FPGAs and multiple boards work together, each FPGA involves online debugging and code download and curing, and each download link needs to be connected to the debugging computer through a USB cable, so that the computer can be connected to the computer. When debugging data transmission between devices, it is necessary to constantly plug and unplug to switch between different download links during debugging. It is very inconvenient to use in some special applications. For example, after the system chassis is placed on the shelf, it is very inconvenient to plug and unplug the USB cable. At the same time, the length of the cable is increased, resulting in serious attenuation of the transmission signal, resulting in unstable online debugging for a long time and a large amount of data download. ; If the system chassis is designed to be rear-plugged, it is inconvenient to move the cabinet, and it will be very inconvenient to plug and unplug cables. At the same time, the interconnection between devices through debugging cables will cause the isolation equipment to share the ground, causing the equipment to work abnormally.

FPGA应用系统中涉及到多片FPGA协同工作和多模块同时工作,如果通过切换线缆去调试下载单模块中FPGA,会降低调试效率,如果同时存在多个相同型号的模块,容易造成设备不易区分,给调试带来极大不便。The FPGA application system involves multiple FPGAs working together and multiple modules working at the same time. If you switch cables to debug and download the FPGA in a single module, the debugging efficiency will be reduced. If there are multiple modules of the same model at the same time, it is easy to make the devices difficult to distinguish. , which brings great inconvenience to debugging.

结合系统集成技术和通用VPX、CPCI(Compact Peripheral ComponentInterconnect,紧凑型PCI)等系统规范,增加本发明中系统调试下载链路自动串联和JTAG信号无线传输,实现无物理连接的系统多设备调试下载装置。Combined with system integration technology and general VPX, CPCI (Compact Peripheral Component Interconnect, compact PCI) and other system specifications, the automatic serial connection of the system debugging download link and the wireless transmission of JTAG signals in the present invention are added to realize the system multi-device debugging and downloading device without physical connection. .

FPGA都通过JTAG接口协议完成器件的代码加载和在线调试,标准JTAG接口中模式选择TMS和时钟TCK可以一驱多,上一级设备的数据输出TDO接入下一级的数据输入TDI,以菊花链的方式实现多设备的串联,最终汇总到一个JTAG接口,通过无线传输与调试计算机互联。单模块上多片FPGA的JTAG接口、对外预留JTAG接口和通用规范定义的底板JTAG接口通过CPLD(Complex Programmable Logic Device,复杂可编程逻辑器件)进行智能管理,自动判断无线USB设备是否接入,模块是否为系统主设备,JTAG链路的自适应串联。All FPGAs complete the code loading and online debugging of the device through the JTAG interface protocol. In the standard JTAG interface, the mode selection TMS and clock TCK can be driven by one, and the data output TDO of the upper-level device is connected to the data input TDI of the next level. The chain method realizes the serial connection of multiple devices, and finally aggregates them into a JTAG interface, which is interconnected with the debugging computer through wireless transmission. The JTAG interface of multiple FPGAs on a single module, the externally reserved JTAG interface and the backplane JTAG interface defined by the general specification are intelligently managed through CPLD (Complex Programmable Logic Device, complex programmable logic device), and automatically determine whether the wireless USB device is connected. Whether the module is the system master or not, the adaptive concatenation of the JTAG link.

本发明旨在至少在一定程度上解决相关技术中的技术问题之一。The present invention aims to solve one of the technical problems in the related art at least to a certain extent.

为此,本发明的目的在于提出一种FPGA应用系统无线调试下载装置,该装置有效保证了JTAG信号的实时性,调试中响应及时,和有线连接调试具有相同的效果。Therefore, the purpose of the present invention is to provide a wireless debugging and downloading device for an FPGA application system, which effectively ensures the real-time nature of the JTAG signal, responds in a timely manner during debugging, and has the same effect as wired connection debugging.

为达到上述目的,本发明实施例提出了一种FPGA应用系统无线调试下载装置,包括:调试计算机端,用于通过单通道高速USB转多功能UART/FIFO芯片实现USB到JTAG的转换,并且转换输出通用JTAG信号TMS、TCK、TDO和TDI,所述JTAG信号TMS、TCK和TDO通过超高频载波,并以ASK方式进行调制,经放大处理后通过微带天线发送输出;FPGA系统主控端,所述FPGA系统主控端与所述调试计算机端无线通信,其中,发送端的各路通过不同载波频率以ASK方式完成信号的调制和实时发送,且接收端通过带通滤波器完成对应通道的信号选择,并完成解调、放大和整形处理。In order to achieve the above object, an embodiment of the present invention proposes a wireless debugging and downloading device for an FPGA application system, including: a debugging computer end, used for converting USB to JTAG through a single-channel high-speed USB to multi-function UART/FIFO chip, and converting Output general JTAG signals TMS, TCK, TDO and TDI, the JTAG signals TMS, TCK and TDO are modulated by the ultra-high frequency carrier and ASK mode, after amplifying processing, the output is sent through the microstrip antenna; the main control terminal of the FPGA system , the main control end of the FPGA system communicates wirelessly with the debugging computer end, wherein each channel of the transmitting end completes the modulation and real-time transmission of the signal in ASK mode through different carrier frequencies, and the receiving end completes the corresponding channel through the band-pass filter. Signal selection, and complete demodulation, amplification and shaping.

本发明实施例的FPGA应用系统无线调试下载装置,通过无线传输JTAG信号解决有线连接在使用中带来的不便和问题,在调试计算机端与系统主控端JTAG信号无线传输中,发送端各路通过不同载波频率以ASK方式完成信号的调制和实时发送,接收端通过带通滤波器完成对应通道的信号选择,并完成解调、放大和整形处理,整个无线传输过程中不涉及设备间通信协议的解析,从而有效保证了JTAG信号的实时性,调试中响应及时,和有线连接调试具有相同的效果。The wireless debugging and downloading device of the FPGA application system according to the embodiment of the present invention solves the inconvenience and problems caused by the wired connection in use by transmitting the JTAG signal wirelessly. The modulation and real-time transmission of the signal are completed in ASK mode through different carrier frequencies. The receiving end completes the signal selection of the corresponding channel through the band-pass filter, and completes the demodulation, amplification and shaping processing. The entire wireless transmission process does not involve the communication protocol between devices Therefore, the real-time performance of JTAG signal is effectively guaranteed, and the response is timely during debugging, which has the same effect as wired connection debugging.

另外,根据本发明上述实施例的FPGA应用系统无线调试下载装置还可以具有以下附加的技术特征:In addition, the device for wireless debugging and downloading of the FPGA application system according to the foregoing embodiments of the present invention may also have the following additional technical features:

进一步地,在本发明的一个实施例中,所述调试计算机端通过USB端口供电,且在预设工况下,通过外部供电模式供电。Further, in an embodiment of the present invention, the debugging computer terminal is powered by a USB port, and in a preset working condition, powered by an external power supply mode.

进一步地,在本发明的一个实施例中,所述调试计算机端的JTAG信号采用不同载波频率进行信号实时传输,载波频率包括315MHz、1200MHz、433MHz和868.3MHz。Further, in an embodiment of the present invention, the JTAG signal on the debugging computer side uses different carrier frequencies for signal real-time transmission, and the carrier frequencies include 315MHz, 1200MHz, 433MHz and 868.3MHz.

进一步地,在本发明的一个实施例中,还包括:多FPGA设备背板串联,用于通过系统背板各模块槽位定义的JTAG信号,并通过TDO和TDI串联实现数据通道的串联,TMS和TCK采用一驱多的方式连接。Further, in an embodiment of the present invention, it also includes: connecting multiple FPGA devices in series on the backplane, used for JTAG signals defined by each module slot on the system backplane, and realizing the series connection of data channels through TDO and TDI in series, TMS It is connected with TCK in a one-drive-multiple way.

进一步地,在本发明的一个实施例中,还包括:多FPGA设备无线串联,系统内各模块都设计JTAG无线传输功能,通过选择TDO超高频发送通道的本振频率和TDI超高频接收通道带通滤波器参数,实现两个模块TDO和TDI之间的无线连接。Further, in an embodiment of the present invention, it also includes: multiple FPGA devices are connected in series wirelessly, each module in the system is designed with a JTAG wireless transmission function, and the local oscillator frequency of the TDO ultra-high frequency transmission channel and the TDI ultra-high frequency receiving channel are selected. Channel bandpass filter parameters for wireless connection between two modules TDO and TDI.

进一步地,在本发明的一个实施例中,采用ASK的调制原理,载波幅度随着调制JTAG信号而变化,以在所述调试计算机端和所述FPGA系统主控端产生通信。Further, in an embodiment of the present invention, the modulation principle of ASK is adopted, and the amplitude of the carrier wave varies with the modulated JTAG signal, so as to generate communication between the debugging computer terminal and the FPGA system main control terminal.

进一步地,在本发明的一个实施例中,通过增加TDO信号和TDI信号的不同载波频率完成多设备的JTAG链路无线串联。Further, in an embodiment of the present invention, the wireless serial connection of JTAG links of multiple devices is completed by adding different carrier frequencies of the TDO signal and the TDI signal.

本发明附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the present invention will be set forth, in part, from the following description, and in part will be apparent from the following description, or may be learned by practice of the invention.

附图说明Description of drawings

本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and readily understood from the following description of embodiments taken in conjunction with the accompanying drawings, wherein:

图1为根据本发明一个实施例的FPGA应用系统无线调试下载装置的结构示意图;1 is a schematic structural diagram of a wireless debugging and downloading device for an FPGA application system according to an embodiment of the present invention;

图2为根据本发明一个实施例的多FPGA设备无线串联的结构示意图;2 is a schematic structural diagram of a wireless serial connection of multiple FPGA devices according to an embodiment of the present invention;

图3为根据本发明一个实施例的无线下载装置FPGA系统应用的示意图。FIG. 3 is a schematic diagram of an application of an FPGA system of a wireless download device according to an embodiment of the present invention.

具体实施方式Detailed ways

下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本发明,而不能理解为对本发明的限制。The following describes in detail the embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary, and are intended to explain the present invention and should not be construed as limiting the present invention.

下面参照附图描述根据本发明实施例提出的FPGA应用系统无线调试下载装置。The following describes the device for wireless debugging and downloading of an FPGA application system according to an embodiment of the present invention with reference to the accompanying drawings.

图1是本发明一个实施例的FPGA应用系统无线调试下载装置的结构示意图。FIG. 1 is a schematic structural diagram of an apparatus for wireless debugging and downloading of an FPGA application system according to an embodiment of the present invention.

如图1所示,该FPGA应用系统无线调试下载装置10包括:调试计算机端100和FPGA系统主控端200。As shown in FIG. 1 , the wireless debugging and downloading device 10 of the FPGA application system includes: a debugging computer terminal 100 and a main control terminal 200 of the FPGA system.

其中,调试计算机端100用于通过单通道高速USB转多功能UART/FIFO芯片实现USB到JTAG的转换,并且转换输出通用JTAG信号TMS、TCK、TDO和TDI,JTAG信号TMS、TCK和TDO通过超高频载波,并以ASK方式进行调制,经放大处理后通过微带天线发送输出。FPGA系统主控端200FPGA系统主控端与调试计算机端无线通信,其中,发送端的各路通过不同载波频率以ASK方式完成信号的调制和实时发送,且接收端通过带通滤波器完成对应通道的信号选择,并完成解调、放大和整形处理。本发明实施例的装置10整个无线传输过程中不涉及设备间通信协议的解析,有效保证了JTAG信号的实时性,调试中响应及时,和有线连接调试具有相同的效果。Among them, the debugging computer terminal 100 is used to realize the conversion from USB to JTAG through the single-channel high-speed USB to multi-function UART/FIFO chip, and convert and output the general JTAG signals TMS, TCK, TDO and TDI, and the JTAG signals TMS, TCK and TDO pass the super The high-frequency carrier is modulated in ASK mode, and the output is sent through the microstrip antenna after amplification. FPGA system main control terminal 200 The FPGA system main control terminal communicates wirelessly with the debugging computer terminal, wherein each channel of the transmitting end completes the modulation and real-time transmission of the signal in ASK mode through different carrier frequencies, and the receiving end completes the corresponding channel through the band-pass filter. Signal selection, and complete demodulation, amplification and shaping. The apparatus 10 in the embodiment of the present invention does not involve the analysis of the communication protocol between devices during the entire wireless transmission process, effectively ensuring the real-time nature of the JTAG signal, and the timely response during debugging, and has the same effect as wired connection debugging.

具体而言,调试计算机端100通过单通道高速USB转多功能UART/FIFO芯片实现USB到JTAG的转换,转换输出通用JTAG信号TMS、TCK、TDO和TDI;JTAG信号TMS、TCK和TDO通过超高频载波,以ASK方式进行调制,经过放大后通过微带天线发送输出。FPGA系统主控端200设置于FPGA应用系统中主控槽位控制板,可通过超高频与调试计算机端进行无线收发传输,将解调、放大、整形后的JTAG信号于系统设备连接。其中,TCK用来测试时钟输入;TDI用来测试数据输入,数据通过TDI输入JTAG口;TDO用来测试数据输出,数据通过TDO从JTAG口输出;TMS用来测试模式选择,TMS用来设置JTAG口处于某种特定的测试模式。Specifically, the debugging computer terminal 100 realizes the conversion from USB to JTAG through the single-channel high-speed USB to multi-function UART/FIFO chip, and converts and outputs the general JTAG signals TMS, TCK, TDO and TDI; the JTAG signals TMS, TCK and TDO pass the ultra-high The frequency carrier is modulated in ASK mode, and after being amplified, the output is sent through the microstrip antenna. The main control terminal 200 of the FPGA system is arranged on the main control slot control board in the FPGA application system, and can transmit and receive wirelessly with the debugging computer terminal through UHF, and connect the JTAG signal after demodulation, amplification and shaping to the system equipment. Among them, TCK is used to test the clock input; TDI is used to test the data input, and the data is input to the JTAG port through TDI; TDO is used to test the data output, and the data is output from the JTAG port through TDO; TMS is used to test the mode selection, and TMS is used to set the JTAG The port is in a certain test mode.

进一步地,在本发明的一个实施例中,调试计算机端100通过USB端口供电,且在预设工况下,通过外部供电模式供电。Further, in an embodiment of the present invention, the debugging computer terminal 100 is powered through a USB port, and under a preset working condition, powered by an external power supply mode.

在本发明的一个实施例中,调试计算机端的JTAG信号采用不同载波频率进行信号实时传输,载波频率包括315MHz、1200MHz、433MHz和868.3MHz。In an embodiment of the present invention, the JTAG signal on the debugging computer side uses different carrier frequencies for real-time signal transmission, and the carrier frequencies include 315MHz, 1200MHz, 433MHz and 868.3MHz.

具体而言,调试计算机端100通过USB端口供电,例如,使用远距离下载调试,需要增大发射端功率,可使用外部供电模式;调试计算机端100的JTAG信号采用四种不同载波频率进行信号实时传输,载波频率f1为315MHz,f2为1200MHz,f3为433MHz,f4为868.3MHz。Specifically, the debugging computer terminal 100 is powered through the USB port. For example, when using long-distance download debugging, the power of the transmitter needs to be increased, and an external power supply mode can be used; the JTAG signal of the debugging computer terminal 100 uses four different carrier frequencies for real-time signal processing For transmission, the carrier frequency f1 is 315MHz, f2 is 1200MHz, f3 is 433MHz, and f4 is 868.3MHz.

进一步地,在本发明的一个实施例中,本发明实施例的装置10采用ASK的调制原理,载波幅度是随着调制JTAG信号而变化的,在调试计算机端100和FPGA系统主控端200产生通信。Further, in an embodiment of the present invention, the device 10 of the embodiment of the present invention adopts the modulation principle of ASK, and the carrier amplitude changes with the modulation of the JTAG signal. communication.

本发明实施例通过FPGA系统主控端200的JTAG链路,结合系统背板中的JTAG链路串联,最终实现FPGA应用系统中所有模块中FPGA的JTAG链路串联,最终通过无线传输,完成系统所有设备的下载调试,此方式比较适合用于设备数较多的FPGA应用系统中。In the embodiment of the present invention, through the JTAG link of the main control terminal 200 of the FPGA system, combined with the serial connection of the JTAG link in the system backplane, the JTAG link of the FPGA in all modules in the FPGA application system is finally realized in series, and finally the system is completed through wireless transmission. Downloading and debugging of all devices, this method is more suitable for FPGA application systems with a large number of devices.

进一步地,在本发明的一个实施例中,通过增加TDO信号和TDI信号的不同载波频率完成多设备的JTAG链路无线串联。Further, in an embodiment of the present invention, the wireless serial connection of JTAG links of multiple devices is completed by adding different carrier frequencies of the TDO signal and the TDI signal.

具体而言,本发明实施例通过增加TDO和TDI信号的不同载波频率,完成多设备的JTAG链路无线串联,为了减少频段间的干扰,此方式比较适合用于设备数较少的FPGA应用系统中。Specifically, in this embodiment of the present invention, by increasing the different carrier frequencies of TDO and TDI signals, the wireless serial connection of JTAG links of multiple devices is completed. In order to reduce interference between frequency bands, this method is more suitable for FPGA application systems with fewer devices. middle.

无线下载装置FPGA系统应用如图2所示,设备机箱中的一块板卡作为FPGA系统主控端200,负责无线JTAG信号的收发,调试计算机端100通过USB接入无线调试下载装置,实现FPGA应用系统的FPGA的在线调试和下载功能。The FPGA system application of the wireless download device is shown in Figure 2. A board in the equipment chassis is used as the main control terminal 200 of the FPGA system, which is responsible for the transmission and reception of wireless JTAG signals. The debugging computer terminal 100 is connected to the wireless debugging download device through USB to realize the FPGA application. The online debugging and download function of the FPGA of the system.

进一步地,在本发明的一个实施例中,如图1所示,本发明实施例的装置10还包括:多FPGA设备背板串联300。其中,多FPGA设备背板串联300用于通过系统背板各模块槽位定义的JTAG信号,并通过TDO和TDI串联实现数据通道的串联,TMS和TCK采用一驱多的方式连接。Further, in an embodiment of the present invention, as shown in FIG. 1 , the apparatus 10 in the embodiment of the present invention further includes: a multi-FPGA device backplane series connection 300 . Among them, the multi-FPGA device backplane series 300 is used for the JTAG signal defined by each module slot on the system backplane, and the data channel is connected in series through TDO and TDI. TMS and TCK are connected in a one-drive-many manner.

进一步地,在本发明的一个实施例中,如图3所示,本发明实施例的装置10还包括:多FPGA设备无线串联。其中,多FPGA设备无线串联,系统内各模块都设计JTAG无线传输功能,通过选择TDO超高频发送通道的本振频率和TDI超高频接收通道带通滤波器参数,实现两个模块TDO和TDI之间的无线连接。Further, in an embodiment of the present invention, as shown in FIG. 3 , the apparatus 10 in the embodiment of the present invention further includes: wireless serial connection of multiple FPGA devices. Among them, multiple FPGA devices are wirelessly connected in series, and each module in the system is designed with JTAG wireless transmission function. By selecting the local oscillator frequency of the TDO ultra-high frequency transmission channel and the band-pass filter parameters of the TDI ultra-high frequency receiving channel, the two modules TDO and Wireless connection between TDIs.

另外,FPGA应用系统中模块插入自动检测,通过监测自动串联背板对应模块的JTAG链路。系统中各模块设计JTAG主/从模式检测信号,系统主控端JTAG为主模式,主控端控制其它槽位模块都为从模式,并通过背板串联起来。In addition, in the FPGA application system, the module is inserted into the automatic detection, and the JTAG link of the corresponding module on the backplane is automatically connected in series by monitoring. Each module in the system is designed with JTAG master/slave mode detection signal, the system master control terminal JTAG master mode, the master control terminal controls other slot modules to be slave mode, and connected in series through the backplane.

本发明实施例具有以下有益效果:The embodiment of the present invention has the following beneficial effects:

(1)解决有线调试带来的不便和局限性。(1) Solve the inconvenience and limitations caused by wired debugging.

(2)应用系统中只需在主控端设计无线JTAG即可对整个应该系统模块中FPGA进行调试下载。(2) In the application system, it is only necessary to design wireless JTAG on the main control end to debug and download the FPGA in the entire system module.

(3)不再考虑JTAG接入时是否电平匹配,不再因电平不匹配而损坏设备链路。(3) It is no longer considered whether the level matches when the JTAG is connected, and the device link is no longer damaged due to the level mismatch.

(4)选择频段不会对通用无线设备造成影响。(4) The selection of frequency bands will not affect general wireless devices.

(5)不使用时可以选择关掉JTAG无线传输功能,降低功耗。(5) When not in use, you can choose to turn off the JTAG wireless transmission function to reduce power consumption.

(6)调试设备时可以远离系统散热风扇等带来的噪音,提高调试效率。(6) When debugging the equipment, it can be far away from the noise caused by the system cooling fan, etc., and improve the debugging efficiency.

根据本发明实施例提出的FPGA应用系统无线调试下载装置,通过无线传输JTAG信号解决有线连接在使用中带来的不便和问题,在调试计算机端与系统主控端JTAG信号无线传输中,发送端各路通过不同载波频率以ASK方式完成信号的调制和实时发送,接收端通过带通滤波器完成对应通道的信号选择,并完成解调、放大和整形处理,整个无线传输过程中不涉及设备间通信协议的解析,从而有效保证了JTAG信号的实时性,调试中响应及时,和有线连接调试具有相同的效果。According to the wireless debugging and downloading device of the FPGA application system proposed by the embodiment of the present invention, the inconvenience and problems caused by wired connection in use are solved by wirelessly transmitting JTAG signals. Each channel completes signal modulation and real-time transmission in ASK mode through different carrier frequencies. The receiving end completes the signal selection of the corresponding channel through a band-pass filter, and completes demodulation, amplification and shaping processing. The entire wireless transmission process does not involve equipment. The analysis of the communication protocol effectively guarantees the real-time nature of the JTAG signal, and the response is timely during debugging, which has the same effect as the wired connection debugging.

此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本发明的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature delimited with "first", "second" may expressly or implicitly include at least one of that feature. In the description of the present invention, "plurality" means at least two, such as two, three, etc., unless otherwise expressly and specifically defined.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, description with reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples", etc., mean specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine the different embodiments or examples described in this specification, as well as the features of the different embodiments or examples, without conflicting each other.

尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present invention have been shown and described above, it should be understood that the above-mentioned embodiments are exemplary and should not be construed as limiting the present invention. Embodiments are subject to variations, modifications, substitutions and variations.

Claims (7)

1. The utility model provides a wireless debugging download apparatus of FPGA application system which characterized in that includes:
the debugging computer terminal is used for converting a single-channel high-speed USB into a multifunctional UART/FIFO chip to realize conversion from the USB to the JTAG and converting and outputting universal JTAG signals TMS, TCK, TDO and TDI, wherein the JTAG signals TMS, TCK and TDO are modulated in an ASK mode through ultrahigh frequency carrier waves and are transmitted and output through a microstrip antenna after being amplified;
the FPGA system main control end is in wireless communication with the debugging computer end, wherein each path of the sending end completes signal modulation and real-time sending in an ASK mode through different carrier frequencies, and the receiving end completes signal selection of a corresponding channel through a band-pass filter and completes demodulation, amplification and shaping processing.
2. The FPGA application system wireless debugging and downloading device of claim 1, wherein the debugging computer terminal is powered by a USB port and is powered by an external power supply mode when the transmission power needs to be increased to meet remote debugging.
3. The wireless debugging and downloading device of claim 2, wherein the JTAG signal of the debugging computer terminal uses different carrier frequencies for signal real-time transmission, and the carrier frequencies include 315MHz, 1200MHz, 433MHz and 868.3 MHz.
4. The FPGA application system wireless debugging downloading device of claim 1, further comprising:
the multi-FPGA equipment backplane is connected in series and used for realizing series connection of data channels through JTAG signals defined by each module slot position of the system backplane and through TDO and TDI series connection, and the TMS and the TCK are connected in a one-drive-multi mode.
5. The FPGA application system wireless debugging downloading device of claim 4, further comprising:
the multiple FPGA devices are connected in series in a wireless mode, JTAG wireless transmission functions are designed for all modules in the system, and wireless connection between the TDO and the TDI is achieved by selecting the local oscillation frequency of the TDO ultrahigh frequency transmitting channel and the band-pass filter parameters of the TDI ultrahigh frequency receiving channel.
6. The FPGA application system wireless debugging download device of claim 1, wherein the amplitude of the carrier varies with the modulation of the JTAG signal by using ASK modulation principle to generate communication between the debugging computer terminal and the FPGA system main control terminal.
7. The FPGA application system wireless debugging download apparatus of claim 1, wherein the wireless serial connection of JTAG links of multiple devices is completed by adding different carrier frequencies of TDO signal and TDI signal.
CN201810878637.9A 2018-08-03 2018-08-03 FPGA application system wireless debugging download device Active CN109344099B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810878637.9A CN109344099B (en) 2018-08-03 2018-08-03 FPGA application system wireless debugging download device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810878637.9A CN109344099B (en) 2018-08-03 2018-08-03 FPGA application system wireless debugging download device

Publications (2)

Publication Number Publication Date
CN109344099A CN109344099A (en) 2019-02-15
CN109344099B true CN109344099B (en) 2020-06-19

Family

ID=65291284

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810878637.9A Active CN109344099B (en) 2018-08-03 2018-08-03 FPGA application system wireless debugging download device

Country Status (1)

Country Link
CN (1) CN109344099B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110888046A (en) * 2019-11-25 2020-03-17 展讯通信(上海)有限公司 System-on-chip and test method, storage medium and terminal thereof
CN112255598B (en) * 2020-10-14 2023-09-26 四川九洲空管科技有限责任公司 FPGA remote online debugging method, device and system based on optical fiber communication
CN116679994B (en) * 2023-07-21 2023-10-31 北京汤谷软件技术有限公司 High-efficiency interface configuration method for FPGA prototype verification platform

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101301240A (en) * 2008-05-21 2008-11-12 清华大学深圳研究生院 Electric cochlea Chinese fixed electric stimulation amplitude changing pattern in vitro voice processing equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7401257B2 (en) * 2003-08-28 2008-07-15 Renesas Technology Corp. Microcomputer and method for developing system program
CN103051385B (en) * 2013-01-06 2015-10-07 北京邮电大学 The optical fiber asymmetric full-duplex cut-in method that a kind of wire and wireless merges and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101301240A (en) * 2008-05-21 2008-11-12 清华大学深圳研究生院 Electric cochlea Chinese fixed electric stimulation amplitude changing pattern in vitro voice processing equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《基于USB虚拟技术的FPGA远程片内调试方法实现》;翟刚毅;《雷达与对抗》;20150630;第35卷(第2期);第42-55页 *

Also Published As

Publication number Publication date
CN109344099A (en) 2019-02-15

Similar Documents

Publication Publication Date Title
CN109344099B (en) FPGA application system wireless debugging download device
CN102025148A (en) Power line network system with data relay function
CN212391573U (en) Chip testing device and equipment
CN106066838B (en) Expansion Module and Expansion Method Based on FPGA Multi-channel UART
CN103412810A (en) System packaging chip capable of testing internal signals and test method
CN214256300U (en) Universal software radio platform
CN103888970A (en) Test equipment
TW201340594A (en) Amplifier circuit for USB port
CN103617145B (en) A kind of self-defined bus and its implementation
CN107255975B (en) Device and method for realizing rapid loading of FPGA (field programmable Gate array) program by utilizing high-speed bus
CN102654847B (en) PXIe zero-slot controller
CN206907017U (en) Usb signal extender, usb signal transmission system
CN213813918U (en) Automatic test system for USB Type-C slave interface test
CN103914421B (en) Data terminal, data transmission system and hot-swap control method
CN117169825A (en) Interference signal generation method, device and system and storage medium
CN101674142A (en) Production test system of large-scale short-distance wireless data transmission equipment
CN210804414U (en) Circuit with reusable communication interface
CN209330163U (en) Suitable for uplink communication module of 230MHz power wireless private network concentrator
CN217363089U (en) Chip verification device
CN202551015U (en) Intermediate frequency digital processing board with parallel interfaces
CN201910809U (en) Portable CPCI (compact peripheral component interface) structure link detection device
CN215006630U (en) Clock trigger board, device and system for PCIe rate switching
CN207039564U (en) A kind of half-duplex is anti-to disturb infrared serial interface circuit certainly
CN210431447U (en) Driving device for JTAG chain length distance transmission
CN205301521U (en) Anti -interference digital process board test platform of general type

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