DE10-Nano Quickstart

This guide provides quick instructions on how to set up the EVAL-AD4692-ARDZ on:

https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/images/de10nano.jpg

All the products described on this page include ESD (electrostatic discharge) sensitive devices. Electrostatic charges as high as 4000V readily accumulate on the human body or test equipment and can discharge without detection. Although the boards feature ESD protection circuitry, permanent damage may occur on devices subjected to high-energy electrostatic discharges. Therefore, proper ESD precautions are recommended to avoid performance degradation or loss of functionality. This includes removing static charge on external equipment, cables, or antennas before connecting to the device.

Using Linux as software

Necessary files

Note

The SD card includes several folders in the root directory of the BOOT partition. In order to configure the SD card to work with a specific FPGA board and ADI hardware, several files must be copied onto the root directory. Using the host PC, drag and drop the required files onto the BOOT partition, and use the EJECT function when removing the SD card from the reader.

The following files are needed for the system to boot:

  • HDL boot image: stored on the SD card

  • Linux Kernel image: zImage

  • Linux device tree: socfpga.dtb

They can either be taken from the SD card – already generated by us, or you can build them manually:

  • Instructions on how to choose the boot files from the SD card can be found in the Platform-Specific Manual Steps section from here Hardware Configuration.

  • Instructions on how to manually build the boot files from source can be found here:

Important

Some projects provide multiple devicetree files in the SD card’s boot folders. Make sure you select the devicetree that matches your specific use case.

Required software

  • SD Card 16 GB imaged with Kuiper

  • A UART terminal (Putty/Tera Term/Minicom, etc.) with baud rate 115200 (8N1)

Required hardware

  • DE10-Nano FPGA board

    • 5 V/2 A wall power supply with barrel jack (comes with DE10-Nano)

    • Mini-USB to USB Type A cable (comes with DE10-Nano)

  • EVAL-AD4692-ARDZ evaluation board

  • Class 10 16 GB SD Card

  • LAN cable (Ethernet)

More details as to why you need these, can be found at Prerequisites.

Testing

Creating the setup

https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/eval-ad469x/images/ad4692_de10nano_setup_top.jpg
  1. Get the DE10-Nano

  2. Verify the FPGA Configuration Mode Switch (S10) is configured properly:

    https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/images/de10-nano_fpga_switch_matrix.png

    The DE10-Nano comes ready to use out of the box, but it is important to double check that the FPGA Configuration Mode Switch (S10) is set correctly. If more information is needed, check out the DE10-Nano Getting Started Guide.

  3. Prepare the SD card:

    1. Validate, Format, and Flash the SD Card following the Use Kuiper Image guide.

  4. Insert the microSD card into the DE10-Nano card slot.

  5. Plug-in an Ethernet cable from your router/switch to the Ethernet port on the FPGA board.

    Info

    If you don’t have a network available and want to stream data directly from the Ethernet port of the DE10-Nano to the Ethernet port of your PC, that is still possible, but requires some extra configuration. Please see the Network Configuration page for complete details.

  6. Connect the EVAL-AD4692-ARDZ to the Arduino shield connector.

  7. Connect the UART port of DE10-Nano to a PC via Mini-USB cable (DO NOT power on the device yet).

    Note

    A driver for the board should automatically be detected and installed on your PC. If this does not happen, you may need to manually install the driver. Here is a link to the UART Serial Driver.

  8. Plug the 5 V/2 A power supply into the wall outlet and power up the setup.

  9. Observe Kernel and serial console output messages on your terminal.

Boot messages

The following is what is printed in the serial console, after you have connected to the proper ttyUSB or COM port:

Useful commands for the serial terminal

The below commands are to be run in the serial terminal connected to the FPGA.

Login Information

user: analog password: analog

To find out the IP of the FPGA board, run the following command and take the IP specified at “eth0 inet”:

~$
ifconfig

To see the IIO devices detected, run:

~$
iio_info | grep iio:device

To power off the system, run the following command, and wait for the final message to be printed, then power off the FPGA board from the switch as well.

~$
poweroff

To reboot the system, run:

~$
reboot

Important

Even though this is Linux, this is a persistent file system. Care should be taken not to corrupt the file system – please shut down things, don’t just turn off the power switch. Depending on your monitor, the standard power off could be hiding. You can do this from the terminal as well with sudo shutdown -h now or the above-mentioned command for powering off.