AN 669: Drive-On-Chip Design Example for Cyclone V Devices

ID 683466
Date 5/15/2022
Public
Document Table of Contents

Downloading the Nios II Software to the Device

Prerequisites: import and compile the Nios II software in the Nios II Software Build Tools for Eclipse.

To program the Nios II software to the device:

  1. In the Nios II EDS, on the Run menu, click Run configurations....
    1. Double click Nios II Hardware to generate a new run configuration.
    2. Click New_configuration.
    3. On the Project tab select the DOC_FE2H_MAX10 project in the Project name drop-down.
    4. Turn on Enable browse for file system ELF file. Browse to the software\DOC_DE2115 and select DOC_DE2115.elf.
    5. On the Target Connection tab, click Refresh Connections. The software finds the USB-Blaster cable.
    6. Click Apply to save changes, optionally specifying a name for the new configuration.
    7. Click Run to start the software.
  2. Check that the terminal console display shows the correct FPGA and power board combination. For example:
    0: [DECODE SYSID] Decoding hardware platform from QSYS SYSID data : 0x00D111FE
0: [DECODE SYSID] Design Version : 15.0
0: [DECODE SYSID] FPGA Board : Cyclone V E Dev Kit
0: [DECODE SYSID] Power Board : FalconEye v2.0 HSMC Single-axis
0: [DECODE SYSID] Encoder Type : EnDat
0: [DECODE SYSID] 1 axes available
0: [DECODE SYSID] Axis 0 : Enabled
  3. Apply power to the power board. The motor starts to turn.