Max10 JTAG header ??? - Page 1
Forum section: electronics / general

author: lawrence11
author_rank: Frequent Contributor
timestamp: October 04, 2019, 12:36:33 pm
content: https://forums.intel.com/s/question/0D50P00003yyK4ASAU/max-10-jtag-voltage-question?language=frThis post pretty much sums up my questionning, I wonderMy setup/voltage from my board is like this, like on this jpeg: I have a terasic probe I intend to use, wich will be connected to my PC, the ribbon is about 7 inches long but I can get a shorter one. The distance from the FPGA pins to the header is about 20mm. Am I safe ? If not what circuit/part exactly I need to add to my board?Here is a quote from the last post of that forum...Quote: " Back to the basics. The schematic in post# 1 makes no sense, the relevant point for possible JTAG overshoot is the USB cable supply voltage, not the pull-up resistor voltage. You have JTAG connector pin 4 connected to 3.3V, this might, if at all, be causing overshoot problems with long JTAG traces. The suggestion in the MAX 10 Design Guidelines is topower the USB cable with 2.5V?? How ??, consequently the pull-up resistors will be connected to the same voltage.As previously stated, I won't provide an additional 2.5V supply in a single supply MAX 10 design (unless it's used for other purposes, e.g. LVDS IO). I prefer silicon or schottky clamp diodes for the JTAG port, e.g.one of the popular 6-pin ESD protection diode networks." Have an example?? I hate it when people act all snarky like this.

author: ataradov
author_rank: Super Contributor
timestamp: October 04, 2019, 05:24:45 pm
content: I worked with MAX10s quite a bit and I just connect all pull-ups to 3.3 V. As far as I can see everyone does it this way.I would not worry about overshoots at all. Even if they happen, they don't kill the device instantly, it is more resilient than this. And in production devices JTAG will only be used once, so it should not be a problem.PS: I only worked with a single supply version of the devices. There may be some critical differences in dual supply devices, but I really don't think so.

author: SiliconWizard
author_rank: Super Contributor
timestamp: October 04, 2019, 05:33:47 pm
content: I didn't get what this overshoot on the 3.3V supply was exactly all about?If you get significant overshoot on a 3.3V locally-regulated supply, then your regulator is shitty, or not used properly. And there are still means of mitigating this.Now I didn't get how the whole thing was powered, nor what powering the USB cable at 2.5V meant. What's this matter with the USB cable? Is it providing directly the 3.3V supply? Is an USB cable used as a JTAG cable, and not as a proper USB cable?

author: ataradov
author_rank: Super Contributor
timestamp: October 04, 2019, 05:39:54 pm
content: No, they mean that overshot on the JTAG lines running at 3.3 V may push the total voltage out of the spec. Altera has some strong words around this in their documents. But that's probably just liability protection on their part. Those pins are no different than pins on any other device, they can take quite a bit of abuse.

author: lawrence11
author_rank: Frequent Contributor
timestamp: October 04, 2019, 06:40:28 pm
content: Alex, once again, you have provided tremendous insight in a few sentences.For the past year or so, your simple comments have unstuck me inmoments when even google is not enough.For that I commend you

author: ataradov
author_rank: Super Contributor
timestamp: October 04, 2019, 06:44:46 pm
content: BTW, I have published a schematic of a pretty minimal breakout board for the MAX10 herehttps://github.com/ataradov/max10_bbThis basic design was also used on multiple other boards without any issue.

author: lawrence11
author_rank: Frequent Contributor
timestamp: October 04, 2019, 06:52:14 pm
content: Ahhh thank you.But just to be clear on the voltage level that will come out of the terasic board's programming signals, will those be 3.3volt or 5 volt?? I think Im pretty Ok with just not disconnecting the jtag while its sending signals, since my traces are pretty short I dont expect reflection, and I'll get a shorter ribbon just to be sure, I am not bothered by anything.

author: SiliconWizard
author_rank: Super Contributor
timestamp: October 04, 2019, 06:56:24 pm
content: Quote from: ataradov on October 04, 2019, 05:39:54 pmOh, OK!So yeah that's pretty much the same as in ANY case where you have digital signals across a cable... (the USB cable part was kind of confusing though, is it used as a JTAG cable? because otherwise, I still don't get the 2.5V. Are they implying to actually supply 2.5V so that the 3.3V regulator will just NOT regulate? Atrocious if so, but I may again not have gotten this cable thing.)Dang, if you needed to under-supply your boards to use them with cables, I think you'd have a large problem.And yes you can always protect individual pins with series resistors (as long as the signal integrity is not compromised). I would also add ESD diodes (TVS) for good measure. I'd be more afraid of ESD when plugging and unplugging cables than with transient overshoot.

author: ataradov
author_rank: Super Contributor
timestamp: October 04, 2019, 06:56:34 pm
content: It would depend on the specific board, of curse, but I'm pretty no modern FPGA board will have 5V anything past the USB supply voltage.What disconnection are you talking about? Are you planning on programming a custom board using terasic kit? Are you sure it actually has properly exposed JTAG for programming external parts?

author: ataradov
author_rank: Super Contributor
timestamp: October 04, 2019, 07:00:34 pm
content: Quote from: SiliconWizard on October 04, 2019, 06:56:24 pmI think they mean that you should run JTAG interface at 2.5 V, so that even if there is overshoot, it won't exceed 3.3 V.Intel documents are too detailed. It is good for getting the information you need, but apparently too much information makes people overthink things.Just run the JTAG at the same voltage as the corresponding FPGA bank and you will be fine. Don't overthink it.

author: lawrence11
author_rank: Frequent Contributor
timestamp: October 04, 2019, 07:02:10 pm
content: This is a board I made, everything is +3.3 volt. I ordered a pcb but then I got tired or soldering tiny ires everywhere due to mistakes.No I wanna make it right, the second time.If I need to send a voltage to theterasic usb blaster, it will be +3.3 volt.the only 5 volt on my board is before the regulator, from the jack, so I dont think this is logical to talk about.

author: SiliconWizard
author_rank: Super Contributor
timestamp: October 04, 2019, 07:04:21 pm
content: Quote from: ataradov on October 04, 2019, 07:00:34 pmOK. Got it. Yes I think they are probably overdoing it a little here, but as you said, for liability reasons.Could it also be possible that this extra care would come from the fact that the JTAG signals on the MAX10 ICs are on pads that are less well protected, for some design reason (/or fuck-up), than all the other IO pads?

author: ataradov
author_rank: Super Contributor
timestamp: October 04, 2019, 07:05:00 pm
content: You should be fine.BTW, those cheap USB Blaster clones work perfectly as well -https://www.ebay.com/itm/altera-Mini-Usb-Blaster-Cable-For-CSPD-FPGA-NIOS-JTAG-Altera-Programmer-NM/283453669352

author: ataradov
author_rank: Super Contributor
timestamp: October 04, 2019, 07:07:54 pm
content: Quote from: SiliconWizard on October 04, 2019, 07:04:21 pmYeah, I'm always a bit suspicious when manufacturers put "recommendations" like this. They may know something more than they are telling us.I have not noticed any issues, but I also have not manufactured 100K devices.For a single development board, I would not worry about it.

author: lawrence11
author_rank: Frequent Contributor
timestamp: October 04, 2019, 07:15:51 pm
content: Quote from: ataradov on October 04, 2019, 06:56:34 pmdisconnection, as in me physically pulling out the jtag as it is senging electricity, causing a spark/hotplug event like USB.Its a development bord, but once im finished with the verilog, will never touch these pins again, they are not needed beyond getting the flash programmed. I dont want wasteful components no the board, I got enough small annoying things to deal with.

author: SiliconWizard
author_rank: Super Contributor
timestamp: October 04, 2019, 07:28:11 pm
content: As I suggested above, I would add series resistors to the JTAG signals (I guess like 100 ohm - shouldn't be a problem for JTAG up to a couple MHz?), and ESD protection diodes.(If you can make sure JTAG access is only done during "production" in a controlled environment, it's not mandatory, but certainly helpful if not.)

author: ataradov
author_rank: Super Contributor
timestamp: October 04, 2019, 07:28:27 pm
content: There will not be sparks. Really, don't worry about it. If you really want to be safe, don't connect or disconnect the blaster while the board is powered.

author: lawrence11
author_rank: Frequent Contributor
timestamp: October 04, 2019, 07:39:34 pm
content: Sparks is more like a metaphor, I know there wont be enough current for sparks...My first board had this component on it,for the JTAG lines, as you can see, 4 connections for 4 lines. This was the smallest and cheapest I found.https://www.digikey.com/product-detail/en/texas-instruments/TPD4E004DRYR/296-23618-1-ND/1913506But its only working from 5.5 volt and over.For my v2.0 board, I dont feel like installing such small useless things if all I must do is connect it once when unpowered, never disconnect again the header is quite a tight fit and wont accidentally disconnect.I'll think of some programming jig later with some integrated TVS.