Altera_Forum
Honored Contributor
10 years agoCyclone IV configuration - nCONFIG signal and JTAG programming issue
Hi,
I have a custom board for EP4CE22E22 Cyclone IV FPGA. I have configured the board for JTAG only mode and using USB Blaster Rev.B for programming. The problem I am facing is that JTAG Scan fails with "JTAG chain Broken" error. The signal levels are are follows: AT POWER UP: nSTATUS -> HIGH (A0 on attached figure) nCONFIG -> LOW (Screen shot from logic analyzer shows that nConfig (A1 on figure) goes low after 4ms but this duration is random and sometimes it stays high for several ms) TCK -> LOW TDI -> HIGH TMS -> HIGH TDO -> LOW nCE -> LOW DURING JTAG SCAN: nSTATUS -> HIGH nCONFIG -> LOW TCK -> Square wave with varying duty cycle TDI -> Toggle few times (Some Bit stream) TMS -> Toggles few times (Some Bit stream) TDO -> LOW Voltage Levels / Connections): VCCINT: 1.2V VCCIO : 3.3V (All VCCIOs) VCCA : 2.5V E-PAD : GND JTAG Connector -PIN 4: 3.3V nCONFIG : Pulled high by a 10K resistor (VCCIO) nSTATUS : Pulled high by 10k resistor (VCCIO) TCK : Pulled low by 1K TDI : Pulled high by 10K (VCCA) TMS: Pulled high by 10K (VCCA) TDO : NO pull-up / down nCE: GND MSEL[2:0] : GND According to Cyclone IV handbook the nCONFIG is an input pin but it looks like FPGA is driving it low after power ON, Why is that? Any ideas why JTAG chain scan failing on my board? Thanks