Altera_Forum
Honored Contributor
12 years agoDebugging TDO on Cyclone V
Hello,
I am making my first attempt at a custom Cyclone V 5CEBA4U15 board after using a rival FPGA vendor for several years, so I have probably made some rookie mistakes. The JTAG chain is broken, and I'm having a hard time understanding why. I have set MSEL to 00000. I have scoped the TCK, TMS, and TDI lines going to the chip, and can see each of them twiddling as expected when I click the "Test JTAG Chain" button in the Quartus JTAG Debugger or use the "jtagconfig" program at the command line. Signal integrity looks decent on the scope. Unfortunately, TDO never moves, so the tools correctly report that the JTAG chain is broken. Since it's a BGA, I don't have complete visibility of these signals all the way to/from the chip package, but my fab house did x-ray them today, and they looked fine. I am probing the signals in the last via before they enter the BGA. I have tried cutting the TDO trace to make sure nothing else is holding it down, and it is not shorted to power/ground. VCCPD3A, VCCPGM, and VCCIO3A are measuring 3.3v. VCC_AUX is measuring 2.5v, and VCC is measuring 1.1v . The I/O pads that I can probe are showing weak pull-up to their respective VCCIO, as expected. The configuration signals are as follow: MSEL = 00000 nCONFIG = high nSTATUS = low (there is a pull-up resistor on it, so the FPGA is actively pulling it low) nCE = grounded CONF_DONE = low DCLK = low Since I am just using JTAG configuration, I had assumed that the power supply ramp time was irrelevant, but it is measuring approximately 60ms for the 3.3v rail and ~20ms for the 1.1v rail. What debugging steps are recommended from a situation like this, when TDO is unresponsive? I'm not quite sure what to try next. Thanks for your time, Morgan