FPGA AI Suite: Design Examples User Guide

ID 848957
Date 4/30/2025
Public
Document Table of Contents

16.1.2. [HL-JTAG] Hardware Requirements

The JTAG design example has the following hardware requirement:
  • Agilex™ 5 FPGA E-Series 065B Modular Development Kit (MK-A5E065BB32AES1)
Enable JTAG programming for the development kit as follows:
  1. Enable JTAG programming on the development kit board by setting the board switches SW4[1:2] to [OFF, OFF].
  2. On the host computer, ensure that the necessary USB port rules and permissions are enabled by creating a /etc/udev/rules.d/51-altera-usb-blaster.rules file with the following content:
    SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6001", MODE="0666"
    SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6002", MODE="0666"
    SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6003", MODE="0666"
    SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6010", MODE="0666"
    SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6810", MODE="0666"
    SUBSYSTEM=="usb", ATTR{idVendor}=="0403", ATTR{idProduct}=="6001", MODE="0666"
    SUBSYSTEM=="usb", ATTR{idVendor}=="0403", ATTR{idProduct}=="6002", MODE="0666"
    SUBSYSTEM=="usb", ATTR{idVendor}=="0403", ATTR{idProduct}=="6003", MODE="0666"
    SUBSYSTEM=="usb", ATTR{idVendor}=="0403", ATTR{idProduct}=="6010", MODE="0666"
    SUBSYSTEM=="usb", ATTR{idVendor}=="0403", ATTR{idProduct}=="6810", MODE="0666"
  3. Change the port permission of the JTAG-USB connection to 0666.

    Use the lsusb command to determine the bus and device numbers for adjusting permissions.

    For example, the command lsusb outputs the following bus and device path for devices on the development kit,

    Bus 002 Device 006: ID 09fb:6010 Altera
    Bus 002 Device 007: ID 0403:6010 Future Technology Devices International, Ltd FT2232C/D/H Dual UART/FIFO IC
    With this information, adjust the permissions with the following commands:
    sudo chmod 0666 /dev/bus/usb/002/006
    
    sudo chmod 0666 /dev/bus/usb/002/007