Hi,all
I find SWD interface use only 2 pins to debug ,this is useful for designing PCB . Does CCS or IAR support this SWD interface for debugging and downloading program into TMS570LS3137?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,all
I find SWD interface use only 2 pins to debug ,this is useful for designing PCB . Does CCS or IAR support this SWD interface for debugging and downloading program into TMS570LS3137?
Jiaming,
Thanks for using our forum.
The Hercules family does not support SWD. Our JTAG interface uses the 5 pins JTAG. (TDI, TDO, TCK, TMS, nTRST)
Is nTRST very important? I find the FT2232HL dosn't have nTRST pin but has other 4(TDI, TDO, TCK, TMS). If I use FT2232HL debugging and downloading program into TMS570, I must use a pin to simulate nTRST?
In "TMS570LS31x_USB_STICK_Schematic", I find pin21 of FT2232HL is used as nTRST. Is there code example to do this?
Jiaming,
nTRST is used to reset the debug logic. Inside the device, nTRST has a pull-down. If nTRST is not driven high there is no way to access the device. (Debug logic will stay in reset state) I will have to check how it is manage on our HDK and USB stick.
Do you get the answer about the FT2232HL? I am designing a schematic ,so I need your answer as soon as possible.
Jiaming,
We use GIOL0 (ADBUS4 of FTDI, and IO12_10 of CPLD) as nTRST. This signal is routed to XDS100_TRSTn in CPLD. The XDS100V2_TRSTn is connected to JTAG nTRST on HDK.
Regards,
QJ