Forum Discussion
Cyclone III configuration
I'm about to spin my Cyclone 3 board and want to be sure I get the configuration stuff wired correctly.
I'm using a JTAG connection to the USB Blaster and a Serial Config Device (active serial) WITHOUT the USB Blaster Header (I'm writing the serial config device through the FPGA using the serial flash loader ). According to page 10-73 of the Cyclone III Device Handbook I need to connect the JTAG pull-ups to VCCA which is 2.5 Volts. Note (1) says that the pullups for nSTATUS and CONF_DONE should also be connected to the "same supply voltage as the USB-Blaster" which (according to note (6)) must be 2.5V. It also says on page 10-28 that nSTATUS, nCONFIG and CONF_DONE must be connected to the VCCIO supply of the bank in which the pin resides. nSTATUS and nCONFIG are in Bank 1. CONF_DONE is in bank 6. Putting this all together implies that both bank 6 band bank1 MUST HAVE VCCIO of 2.5V!! WHICH I DON"T USE AT ALL ANYWHERE!!!!! Is this device really this horribly designed ? or is the data sheet misleading ? (to use the more polite term) Does anyone know what the real story is??? Thanks Rob29 Replies
- Altera_Forum
Honored Contributor
Such inofficial statements may be understandable by the amount of service requests and customer complains related to JTAG configuration. I can't see, that the Terrasic variant is generally superior to Altera, I could also report an example where only Altera is working correctly and a customer, who uses a ESD protection circuit for JTAG interface in all designs never had any JTAG problems, with either Altera or Terrasic Blaster .
Apart from the special problem of getting overshoots that may damage the FPGA, which can be effectively eliminated by protection circuits, most JTAG problems are centered around TCK signal quality while setup and hold times and levels of the other signals are far from being critical normally. So any means, that achieves a clear, monotic signal at the FPGA TCK pin is a solution for the issue to my opinion. - Altera_Forum
Honored Contributor
I've spoken to a rep, and he told me something that I think relates to all of this. he said the altera-made usb blaster is a piece of **** and has a bad signal that gives many people problems, and to always use terasic's cable instead.
This pretty much mirrors post# 2, "The real story is that you CAN connect the JTAG pins via pull-up to 3.3V, but it is not recommended because the overshoot caused by the download cable may damage your FPGA. So if you are going to be really careful, go ahead and use 3.3V for JTAG." But in response to that post, a few other people asked, "wth does 'be careful' mean?" It seems the answer is to buy Terasic's cable. I would also use 3.3V, since that IS what the IO banks are running at and are expecting to see, and 2.5V is just a work-around. - Altera_Forum
Honored Contributor
--- Quote Start --- I don't doubt, that the exposed pad should be connected, but I wouldn't expect that omitting this connection would cause failure of configuration. But I may be wrong. Did you try? --- Quote End --- As lynx said, the e144 package has an exposed pad at the bottom of the package. this exposed pad is a ground pad that must be connected to the ground plane on your pcb. (EP3C5, Pin-Outs, Note 6). there is not connection between this pad and gnd. if this pad is not connected, c iii doesn't work correct - Altera_Forum
Honored Contributor
Hi, lynx.
Thanks a lot. You are absolutely right. Now I see signals, that I have to see. I wasn't attentive. - Altera_Forum
Honored Contributor
I don't doubt, that the exposed pad should be connected, but I wouldn't expect that omitting this connection would cause failure of configuration. But I may be wrong. Did you try?
- Altera_Forum
Honored Contributor
Hi Vit
with the 144 pin package you should take the following into consideration " the e144 package has an exposed pad at the bottom of the package. this exposed pad is a ground pad that must be connected to the ground plane on your pcb. this exposed pad is used for electrical connectivity, and not for thermal purposes." Hope this helps - Altera_Forum
Honored Contributor
I'm about Cyclone III ep3c5e144.
JTAG lines behave strangely. I connected the JTAG pull-ups to VCCA which is 2.5 Volts. But they are equal to 0. MSEL = 101 (to VCCA). When I connect to ByteBlaster-MV (VCCA 2.5 V) I see signals at the inputs (TDI, TMC, TCK), but TDO is always 0!! So programmer can't see board ("Can't acces JTAG chain"). Everything was good with Cyclone, CII. What I do not understand? What did I miss? Thanks. - Altera_Forum
Honored Contributor
Thanks frank
- Altera_Forum
Honored Contributor
Hello,
yes, to follow Altera recommendations, you should do so. Regarding the different pull-up voltages, I think that you could supply all pull-ups from 2.5 V as well, cause this also complies with general MultiVolt rules. In most cases, AS would be functional with B1 supply of 2.5V. However, according to the official rules, VCCIO of 2.5V isn't suited as output to 3.3V logic - because of a too low margin to LVCMOS minimum high level of 0.7 * 3.3 = 2.31V. Regards, Frank - Altera_Forum
Honored Contributor
Hi Frank
Thanks for the reply, couple more clarifications if possible. Again this is for AS as in figure10-29 1) because I'm using an EPCS device nSTATUS and nCONFIG should be pulled-up to 3.3V and the VCCIO for the bank where these pins reside should also be 3.3V? 2) CONF_DONE should be pulled up to VCCIO of the bank where the pin reside, in my case (2.5V)? 3) VCCA shown on figure 10-29 for the JTAG pull ups is 2.5V? Thanks