Font Size: a A A

Realization Of DSP Online Debugging System Based On USB And JTAG Interface

Posted on:2018-02-08Degree:MasterType:Thesis
Country:ChinaCandidate:S ChenFull Text:PDF
GTID:2348330542450274Subject:Engineering
Abstract/Summary:PDF Full Text Request
With the development of science and technology,digital signal processing has penetrated into our life,such as the balance of the car,fast charge,more and more popular UAV,the DSP are constantly being applied in various fields,and with the increase of DSP device design,more and more problems are brought.Both domestic and foreign companies design the debugger to solve the problem,but their design for DSP hardware chip with high cost,it does not apply to the DSP chip,which has special function.Therefore,we are based on the low cost,using the common USB interface and JTAG interface is designed to meet the basic requirements of debugging a JTAG debugger.The JTAG debugger is able to perform functional tests on the DSP hardware chip,check the DSP hardware run time issues,to shorten the DSP hardware design cycle.The purpose of this paper is to realize the online debugging of DSP by USB and JTAG interface,debugging online is the process of writing a program into MCU,and then monitoring the execution of the MCU,including the integrated development environment of CPU and JTAG debug board,the main research contents are as follows.Firstly,By studying the USB data transmission protocol,write the USB driver library files,the JTAG debugger software realizes the identification of hardware equipment function,by using C/C++ language realize the JTAG debugger software,the JTAG debugger software integrated assembly language editor library,it makes the JTAG debugger software can realize assembler program editing and compiling functions,users can download the compiled assembly test program to DSP.Secondly,By studying the principle of JTAG boundary scan test and JTAG standard four line TCK,TMS,TDI and TDO to realize JTAG state machine,we use the CY7C68013 A chip to write firmware program.The JTAG interface standard four line input and output function in the JTAG debugging system plays the role of a bridge,using the JTAG debug board receives USB data from the JTAG debugger software,and unpack it,then prepared in accordance with the firmware,and the USB data were repackaged in accordance with the standard four line JTAG state machine through the JTAG interface hardware is sent to the DSP.The data communication link between JTAG debug board and DSP is realized.At last,in the final design in this study using the FPGA,through the debugging method and debug commands commonly used,such as single step operation,break point test,read and write general registers,special registers,memory,peripherals to verify the reliability and accuracy of DSP online debugging system.And then test the performance of the JTAG debugger software using the logic analyzer.Analysis the test results,including the reason for limiting the speed of data transmission and optimize the JTAG debugger software,and further improve the JTAG debugger software data transmission speed.After testing,the software of JTAG debugger design are to achieve the above functions.
Keywords/Search Tags:Boundary Scan, USB, JTAG, Online Debugging, DSP
PDF Full Text Request
Related items