Forum Discussion

FrankK's avatar
FrankK
Icon for Occasional Contributor rankOccasional Contributor
1 month ago

USB-Blaster II malfunction

I’m unable to get a new Altera USB-Blaster II cable working. My setup comprises the Altera 10M08 Evaluation Kit, a Altera USB-Blaster II cable, and Quartus Prime Programmer (Version 25.1std).

The USB-Blaster II cable is properly detected by the operating system (Windows 11 Enterprise, Version 25H2).


The default JTAG clock frequency is set to 24 MHz.
With this setting, the attached evaluation board cannot be detected using Programmer GUI → Auto Detect.

After lowering the JTAG clock frequency to 6 MHz and disabling the JtagClockAutoAdjust feature using

jtagconfig --debug --setparam 1 JtagClockAutoAdjust 0
jtagconfig --setparam 1 JtagClock 6000000

the MAX 10 FPGA is detected.

 

Programming the FPGA using the Programmer GUI still fails. The programming process is interrupted at random and never completes, even after multiple retries.

 

However, programming is successful when initiated using the following console command:
quartus_pgm -c USB-BlasterII -m jtag -o "P;demo10m08.pof"

How can I fix this problem?

Programming works perfectly when using an Altera USB Blaster or a TERASIC Blaster.

22 Replies

  • FakhrulA_altera's avatar
    FakhrulA_altera
    Icon for Regular Contributor rankRegular Contributor

    Hi Frank,
     

    Thank you for the explanation. Appreciate if you could answer below:
     

    Could you let us know whether your board needs a TCK below 4 MHz? The engineering team would like to understand more on the requirement on your application
    Could you also try on a different version (older) version of Quartus, other thans Version 25.1std?

    Regards,
    Fakhrul
     

    • FrankK's avatar
      FrankK
      Icon for Occasional Contributor rankOccasional Contributor

      Hello Fakhrul,

      For a new project, we need the ability to set the JTAG clock frequency below 4 MHz. The circuit design of our interface between the programmer and the FPGA requires a lower JTAG clock frequency to meet the timing requirements (tSetup, tHold). This is main reason why we purchased the USB-Blaster II and III.
      As requested, I also tested an older version of the Programmer (version 20.1) in combination with the ALTERA evaluation board. This version develops the same issues. The only difference is that the JTAG server in version 20.1 does not yet support the “JtagClockAutoAdjust” parameter.

      Has your engineering team set up a comparable hardware configuration to reproduce these failure modes? Were you able to confirm the issues described above?

      Best regards
      Frank

      • FakhrulA_altera's avatar
        FakhrulA_altera
        Icon for Regular Contributor rankRegular Contributor

        Hi Frank,


        Thank you for explaining the timing requirement. Our engineering team tested Quartus Prime 25.1 on a MAX 10 10M50DA board. Automatic adjustment, 400 kHz, and 10 kHz all completed. I also tested at 400 kHz, and the scan completed. The failure did not reproduce, so there is no further debug we can do.


        On your boards, programming completed at 6 MHz and at 4 MHz with automatic adjustment off. Please use that setting.


        With automatic adjustment on, the first TMS pattern goes to IR-Scan before the IDCODE read. That sequence is expected.


        Regards,

        Fakhrul

  • TaroYamida's avatar
    TaroYamida
    Icon for New Contributor rankNew Contributor

    Hello,

    for me it is exactly the same trouble that Frank described.

    With Blaster II or III we get the same results and we can't use them really :-/

    Thanks in advance,

    Taro

    • FakhrulA_altera's avatar
      FakhrulA_altera
      Icon for Regular Contributor rankRegular Contributor

      Hi Frank,

      Thank you for the additional information, and I apologize that the previous steps did not resolve the issue.

      Because the original USB-Blaster and Terasic cable work on this same board, the evaluation kit itself is not the primary suspect. To determine whether the affected cables should be evaluated for RMA, could you please provide:

      1. How many USB-Blaster II and USB-Blaster III cables are affected?
      2. The serial number of each affected cable.
      3. Have these cables been tested on another known-good FPGA board? If so, please provide the board or device and the result.
      4. Does .sof configuration succeed reliably at 6 MHz, or does only .pof programming fail?
      5. The complete Quartus Prime Standard version and build number, plus the Programmer log from one failure.


      If possible, please perform this cross-test at 6 MHz:

      • Affected USB-Blaster II or III on another known-good FPGA board.
      • Known-good USB-Blaster or Terasic cable on the same MAX 10 board, which you have already confirmed works.


      If the affected cables fail on multiple known-good boards, we may evaluate this for RMA. If they fail only with this MAX 10 kit, we will treat it as a cable and board compatibility issue and escalate it accordingly.


      Regards,

      Fakhrul

      • FrankK's avatar
        FrankK
        Icon for Occasional Contributor rankOccasional Contributor

        Hello Fakhrul,

        Please find my answers below:

        1. We have one USB-Blaster II cable and one USB-Blaster III cable. Both are affected.

        2. USB-Blaster II serial number: UBII-000012141
             USB-Blaster III serial number: UB3004546

        3. We initially tested both cables with our own hardware, which also uses a 10M08SA device. To rule out an issue with our design, we repeated the tests using the official Altera evaluation board.

        4. With the clock fixed at 6 MHz, both SOF and POF files download successfully on our hardware and on the Altera evaluation board.

        5. Quartus Prime Version 25.1std.0 Build 1129 10/21/2025 SC Lite Edition

         

  • FrankK's avatar
    FrankK
    Icon for Occasional Contributor rankOccasional Contributor

    Dear Fakhrul,
    thanks for your reply.

    At first I need to rephrase my previous statements. Programming the pof-file with quartus_pgm is not always successful. From time to time it also fails. But the QUARTUS programmer GUI always fails to flash the FPGA.

     

    Please try the following:

    1. Continue using 6 MHz with automatic clock adjustment disabled.
    2. Close the Programmer, restart the JTAG server, and reconnect the USB-Blaster II.
      > Done, but this has no effect to the error mode
    3. Connect the cable directly to the PC and temporarily disconnect other USB-UART or FTDI devices.
      > Done, but this has no effect to the error mode
    4. Ensure the USB-Blaster II driver comes from the Quartus Prime Standard Edition 25.1 installation and that drivers from different releases are not mixed.
      > Done, but this has no effect to the error mode

    You may continue using quartus_pgm as a temporary workaround.
    > Since quartus_pgm is also unreliable, the issue remains unresolved, and I still do not have a functional workaround. I also installed the standalone Programmer application on several clean PCs and encountered the same problem.

    The USB-Blaster II does not work out of the box. By the way, I have also obtained a USB-Blaster III cable, which exhibits the same behavior. It is not usable at all.

    What steps can we take next to resolve this problem?

  • FakhrulA_altera's avatar
    FakhrulA_altera
    Icon for Regular Contributor rankRegular Contributor

    Hi Frank,
     

    Thank you for the detailed test results.

    Since programming succeeds with quartus_pgm, the USB-Blaster II, programming file, and JTAG chain appear functional. The issue is likely related to the Programmer GUI/JTAG server state, combined with the 24 MHz JTAG frequency.


    Please try the following:

    1. Continue using 6 MHz with automatic clock adjustment disabled.
    2. Close the Programmer, restart the JTAG server, and reconnect the USB-Blaster II.
    3. Connect the cable directly to the PC and temporarily disconnect other USB-UART or FTDI devices.
    4. Ensure the USB-Blaster II driver comes from the Quartus Prime Standard Edition 25.1 installation and that drivers from different releases are not mixed.

    You may continue using quartus_pgm as a temporary workaround.

    References:

     

    Regards,
    Fakhrul

  • ai_responder's avatar
    ai_responder
    Icon for Community Manager rankCommunity Manager

    Thank you for your inquiry. To ensure an accurate response, your request has been routed to an Altera application engineer for further review and assistance.


    Note: To continue using AI Responder, please start your next inquiry with ai_responder

    Disclaimer (Beta): The AI Responder is currently provided as a beta feature. AI-generated responses may contain errors or omissions. Please verify technical guidance with official Altera documentation before implementation.

    Thank you very much.