Hardware and Environment Setup

Setup for debugging on Hardware

Hardware Requirements

Development Board

The following Intel FPGA platforms are tested with XploR Studio IDE:

  • Intel FPGA DE2-115 development board

example image

  • Intel Stratix 10 GX board

example image

USB RS232 adapter

The following USB-RS232 adapters are tested:

  • UGreen USB-RS232 adapter

example image

USB Ethernet adapter (optional)

The following USB-Ethernet adapters are tested:

  • UGreen USB Ethernet adapter

example image

Connections

Intel DE2-115 Board

The connection between the PC and the Intel DE2-115 board is shown in the below diagram:

example image

We use a single JTAG cable to flash an FPGA board and debug RISC-V IP via Virtual JTAG (vJTAG) to make things easier for the user. So please disconnect the unused FPGA board when using vJTAG.

Driver installation

On Windows

To recognize the USB blaster, drivers are needed to be installed.

  1. Open the Device Manager (Control Panel | Device Manager).

  2. Right-click on the USB Blaster and then select Update driver ….

example image

  1. Select Browse my computer for driver software.

example image

  1. Select Browse… to select the driver you downloaded and extracted above, then click Next to install the driver.

example image

  1. After that, the driver should have been successfully installed.

example image

If you see that the Altera USB Blaster II is unconfigured

example image

and when programming, the board cannot be detected; open Quartus programmer with administrator rights, wait a few seconds for Quartus Programmer to update the settings.

example image

After the settings are updated, the JTAG USB can be used.

example image

On Linux

On Ubuntu 20.04 desktop, go to path /etc/udev/rules.d/ and create rules file 51-usbblaster.rules with following content:

# USB-Blaster
SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6001", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6002", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6003", MODE="0666", GROUP="plugdev"

# USB-Blaster II
SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6010", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6810", MODE="0666", GROUP="plugdev"

Unplug and plug USB cables.