Altera_Forum
Honored Contributor
17 years agoCyclone III problem with USB blaster JTAG communication
Hi all
I've spent the last week debugging the jtag connection between the fpga and the usb blaster.:mad: I finally found something that is wrong.:) In JTAG there are 4 signals.. The first 3 signals TCK, TMS and TDI works correctly. I've checked them all with a scope. Now if I disconnect the TDO wire from the FPGA to the usb blaster and monitor this signal coming out of the FPGA with the scope it looks perfect. The egdes are nice and no bad overshoot or anything like that. And the signal goes up to 3.3 volt which is to be expected as VCCIO for bank 1 is 3.3V Now if I connect the wire to the usb blaster (rev C) then the signal stil looks good in terms of wave form but only goes up to 1.5Volts. The usb blaster revC specification tells me that the usb blaster needs 1.8Volts in order to actually read the signal as a 1. So it makes sense that it doesn't read the 1.5Volt signal and nothing happend.. Error: can't scan JTAG chain. I've measured the input resistance on the USB blaster between ground and the TDO input pin.. 74Ohm. Working on 2.5Volt this means the FPGA must drive more than 30mA. The FPGA specification if I understood it correct specifies something around 8mA drives strength for JTAG.:confused: So it seems.. that I have a usb blaster that is incompatible with the fpga which it has been made for. Which is offcourse impossible since both has been made by altera.:eek: The only solution I see currently is to put in a buffer between the FPGA and usb blaster so that the fpga don't have to drive the usb blaster directly. Hopefully this does not destroy the signal timing. But please if anybody can give me some help as to why this is happening in the first place? I've already contacted my local field engineers from the distrubutors in my country and they don't seem to have a clue as to why this is happening. Yes I've checked all the power supplies multiple times. I've even made sure there are not glitches on the power rails during JTAG communication. I've attached the JTAG USB blaster to external 2.5Volt so that it does not pull down the 2.5Volts on the board. I've tried a 3.3K pull-up on the TDO pin to 2.5Volt All the other connections for the EPCS chip has been verified multiple times. Other JTAG pullups and pulldowns are 1K to GND and 2.5V as in the fpga specifications. MSEL pins have been set to 010 directly to 3.3V and GND. I've verified many other things I can't even remember anymore. All indicates that everything is working correctly... accept that the usb blaster seems to clamp down on the TDO signal and then can't read it. Help is appreciated