Forum Discussion
USB-Blaster II malfunction
Dear Fakhrul,
Thank you for your quick reply.
I was pleasantly surprised to see that the HW team had tested the USB-Blaster II in combination with MAX10 device at various JTAG clock settings without encountering any issues.
Did the HW team also use the Windows version of the programmer with the corresponding drivers, or were the tests performed using the Linux version?
Best regards
Frank
Hi Frank,
Engineering tested this on Windows, while I tested it on Linux.
Regards,
Fakhrul
- FrankK11 days ago
Occasional Contributor
Hello Fakhrul,
It is good to hear that your hardware team was able to change the JTAG clock frequency of a USB-Blaster II under Windows without any issues.
In my case, this has never worked correctly, despite testing it on several different PCs. If your hardware team and I are using the same Programmer version under Windows, but the devices behave completely differently, the USB-Blaster itself appears to be almost the only remaining possible cause. Do you agree?
How can we proceed with troubleshooting?
As I mentioned previously, we absolutely need the ability to reduce the clock frequency, and the download is not always successful even when using the manual workarounds.
jtagconfig --setparam 1 JtagClockAutoAdjust 0
jtagconfig --setparam 1 JtagClock 6MI provided the serial number of my USB-Blaster at the beginning of my inquiry (UBII-000012141). Is there anything unusual about this serial number? Just to exclude, we are affected by a cloned device.
Best regards
Frank- FakhrulA_altera4 days ago
Regular Contributor
Hi Frank,
Thank you for the update. I understand that you need a TCK below 4 MHz for your design.
USB-Blaster III (UB3004546) Your serial number is in the range of early USB-Blaster III units. These units have a strong pull-up resistor (R45, 200 Ω) on the TDO line inside the cable. On some boards, including MAX 10, the device cannot pull TDO low enough against it, so detection and programming can fail. This matches what you see with this cable.
There are two options:
- Rework the cable: replace R45 with a 500 Ω resistor. I can share the R45 location on the cable board. Please note that a reworked unit may no longer be eligible for replacement.
- Keep the cable unmodified, and we will check the RMA option for it.
Please let me know which option you prefer.
USB-Blaster II (UBII-000012141) The resistor issue above does not apply to USB-Blaster II, so this cable needs to be reviewed separately. Our earlier lab test used a MAX 10 10M50DA, not the 10M08, which may explain why the failure did not reproduce. The information below will help us review this further.
Could you please share:
- Where the cables were purchased (distributor name).
- With auto-adjust on, the output of jtagconfig -n, followed by jtagconfig --getparam 1 JtagClock.
- At 6 MHz with auto-adjust off, how often programming fails (for example, 2 out of 10), plus the Programmer log from one failure.
- The lowest TCK that still works between 1 MHz and 4 MHz (for example 3M, 2M, 1M).
Regards,
Fakhrul
- FrankK4 days ago
Occasional Contributor
Dear Fakhrul,
Thank you for the additional information. We can replace the R45 pull-up resistor on the USB-Blaster III ourselves without any issues and subsequently validate the behavior of the USB-Blaster III.In the case of the USB-Blaster II, I cannot identify any correlation between the failure mode and the FPGA device being used. The analysis of the JTAG signals and transmitted commands clearly showed that the USB-Blaster II sends an invalid command sequence during the SCAN routine. As a result, the FPGA does not return the chip ID, causing FPGA device detection to fail. This behavior is independent of the FPGA device being used.
Here the answers to your questions:
- We ordered the programming cable from DigiKey.
- We had already performed this test in the past. Based on the jtagconfig settings, the failure mode varied (see logic analyzer screen short, some posts above) reproducible.
- Programming should never fail in a properly functioning system (not even 1 time out of 100). We also require the JTAG interface for the “Signal TAP Logic Analyzer” function, which is likewise affected by this issue.
- The lowest clock frequency that works intermittently is 4 MHz.
Best regards
Frank