How to write code for debugging the DSP chip

Its very helpful if anybody gives a tip about how to write a program in ( uvison) to convert usb signals to JTAG signals using
microcontroller (Cypress CY7XX series).
The JTAG signals r for debugging the DSP chip.

More questions in this forum