Intel® MAX® 10 FPGA Configuration User Guide

ID 683865
Date 3/27/2023
Public
Document Table of Contents

3.9.4. Verifying the JTAG Secure Mode

You can verify whether your device has successfully entered or exited JTAG secure mode by executing a non-mandatory JTAG instruction.
Note: You must instantiate the internal JTAG interface for you unlock the external JTAG when the device is in JTAG Secure mode.

When you enable the JTAG Secure option, the Intel® MAX® 10 device will be in the JTAG Secure mode after power-up. To validate the JTAG Secure feature in your design example, perform these steps:

  1. Configure the reference design .pof file into the device with JTAG Secure mode enabled. After power cycle, the device should be in JTAG Secure mode.
  2. You can ensure that the device enters user mode successfully by observing one of the following:
    • CONFDONE pin goes high
    • counter_output pin starts toggling
  3. Issue the PULSE_NCONFIG JTAG instruction using the external JTAG pins to reconfigure the device. You can use the pulse_ncfg.jam file attached in the design example. To execute the pulse_ncfg.jam file, you can use the quartus_jli or the JAM player. You can ensure that the device does not reconfigure by observing one of the following:
    • CONFDONE pin stays high
    • counter_output pin continues toggling
    Unsuccessful reconfiguration verifies that the device is currently in JTAG Secure mode.
  4. Pull the start_unlock port of the user logic to logic high to execute the UNLOCK JTAG instruction.
    The indicator port goes high after the UNLOCK JTAG instruction is complete.
  5. Issue the PULSE_NCONFIG JTAG instruction using the external JTAG pins to reconfigure the device. You can ensure that the device reconfigures successfully by observing one of the following:
    • CONFDONE pin is low
    • counter_output pin stops toggling
    Successful reconfiguration verifies that the device is currently not in JTAG Secure mode.