Forum Discussion

Alkesh_shah's avatar
Alkesh_shah
Icon for New Contributor rankNew Contributor
1 month ago

Hard reset with USB-Blaster and Quartus

Hello there,

I am working on few JTAG operations using Quartus prime standard (v24) with USB-Blaster (cable).
After every operation I need to hard reset to perform the next operation. Unless Hard-reset is performed, the data received in TDO is not correct.
Is there any command to make sure  we do not have to perform hard-reset (Just to note, soft-reset is always performed).

A quick response to this would be appreciated.  Thanks in advance :)

BR,
Alkesh

7 Replies

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

    More details added with another discussion "Hard Reset Required After Each Boundary Scan Operation".

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

      Hi Alkesh,


      Hard reset is not required by design. The issue is the chain being left in a test state. After each scan, send a TAP reset (TMS high for 5 TCK), load BYPASS for all devices, return to Run‑Test/Idle, and do a short DR flush. If your device is Stratix 10, run the MISCCTRL enable once before boundary‑scan. Quartus Programmer is not a full boundary‑scan tester, so you must manage these states yourself or use a dedicated BST tool.
       

      Reference: Intel MAX 10 JTAG Boundary‑Scan Testing User Guide : explains enabling/disabling BST, using BYPASS/SAMPLE, and parking in Run‑Test/Idle to avoid ending in EXTEST or HIGHZ.
      https://cdrdv2-public.intel.com/667087/ug_m10_jtag-683210-667087.pdf

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

        I am executing it using the tcl script. Can you help me with the tcl command to do so.

        I am on Quartus Prime Standard version24.01. Attached are the commands available. A quich help on which one to use would be really helpful.

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

    Hello There,

    Can you please help me with this issue?

    By any chance can I have the access to USB_Blaster drivers to control the TMS pin? Is there any command that I can use. I see even with Quartus Prime Standard version (GUI application), I am not able to reset the TAP-State.

    Awaiting the response from your end.

    BR,
    Alkesh

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

      Hi Alkesh,

      A hard reset shouldn’t be required. This usually happens because the JTAG TAP or a device is left in a test state. Between scans, reset the TAP, park all devices in BYPASS, return to Run‑Test/Idle, and do a short DR flush. Avoid ending in EXTEST or HIGHZ. If your device is Stratix 10, enable boundary‑scan once via the MISCCTRL instruction. Quartus Programmer isn’t a full boundary‑scan tester, so you need to manage these states or use a dedicated BST tool.
      Reference: Intel MAX 10 JTAG Boundary‑Scan Testing User Guide
      Intel® MAX® 10 JTAG Boundary-Scan Testing User Guide

      What device you are using btw?

      Regards,
      Fakhrul

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

      As we haven't received a response to our previous notification, this thread will be transitioned to community support. We hope all your concerns have been addressed. If you have any new questions, please feel free to open a new thread to receive support from Altera experts. Otherwise, community users will continue to assist you here. Thank you.