This version (30 Jan 2023 02:04) was approved by Joyce Velasco.The Previously approved version (27 Jan 2023 08:55) is available.Diff

ARRADIO Terasic C5 SoCkit Quick Start Guide

This guide provides some quick instructions (still takes awhile to download, and set things up) on how to setup the ARRADIO board on Terasic C5 SoCkit


Required Hardware

  • ARRADIO board
  • An 8GB Micro-SD Card
  • USB keyboard and mouse
  • OTG Cable (for the USB keyboard and mouse)
  • A VGA compatible monitor
  • Ethernet cable
  • 1 x Micro-USB cable

Required Software

  • You need a Host PC (Linux)
  • A UART terminal (Putty/Tera Term/Minicom, etc.), Baud rate 115200 (8N1)

Creating the Micro-SD Card

Required files

The root of 'BOOT' should contain the following files:

  • socfpga.dtb
  • zImage
  • u-boot.scr
  • soc_system.rbf

The root of preloader partition should contain the following file:

  • preloader_bootloader.img

Configuring the Micro-SD Card

analog@analog:~ $ lsblk

sdb           8:16   1 29.7G  0 disk
├─sdb1        8:17   1    1G  0 part /media/analog/BOOT
├─sdb2        8:18   1  9.8G  0 part /media/analog/rootfs
└─sdb3        8:19   1    4M  0 part

analog@analog:~ $ cd /media/analog/BOOT/socfpga_cyclone5_sockit_arradio
analog@analog:/media/analog/BOOT/socfpga_cyclone5_sockit_arradio $ ls -l

total 10248
-rwxr-xr-x 1 root root  500432 Jul 27 15:06 preloader_bootloader.img
-rwxr-xr-x 1 root root   25291 Jul 27 15:06 socfpga.dtb
-rwxr-xr-x 1 root root 2685848 Jul 27 15:06 soc_system.rbf
-rwxr-xr-x 1 root root     200 Jul 27 15:06 u-boot.scr
-rwxr-xr-x 1 root root 7269944 Jul 27 15:06 zImage

analog@analog:/media/analog/BOOT/socfpga_cyclone5_sockit_arradio $ sudo cp socfpga.dtb /media/analog/BOOT/socfpga.dtb
analog@analog:/media/analog/BOOT/socfpga_cyclone5_sockit_arradio $ sudo cp zImage /media/analog/BOOT/zImage
analog@analog:/media/analog/BOOT/socfpga_cyclone5_sockit_arradio $ sudo cp u-boot.scr /media/analog/BOOT/u-boot.scr
analog@analog:/media/analog/BOOT/socfpga_cyclone5_sockit_arradio $ sudo cp soc_system.rbf /media/analog/BOOT/soc_system.rbf
analog@analog:/media/analog/BOOT/socfpga_cyclone5_sockit_arradio $ sudo dd if=preloader_bootloader.img of=/dev/sdb3

977+1 records in
977+1 records out
500432 bytes (500 kB, 489 KiB) copied, 0.138791 s, 3.6 MB/s

analog@analog:/media/analog/BOOT/socfpga_cyclone5_sockit_arradio $ sync
analog@analog:/media/analog/BOOT/socfpga_cyclone5_sockit_arradio $ cd ../../
analog@analog:/media/analog $ sudo umount /dev/sdb1
analog@analog:/media/analog $ sudo umount /dev/sdb2
analog@analog:/media/analog $ lsblk

sdb           8:16   1 29.7G  0 disk
├─sdb1        8:17   1    1G  0 part
├─sdb2        8:18   1  9.8G  0 part
└─sdb3        8:19   1    4M  0 part

Setting up the hardware (Terasic C5 SoCkit)

You will need to:


  1. Insert the Micro-SD Card into the Micro-SD Card Connector
  2. Connect the ARRADIO board to the FPGA carrier HSMC connector
  3. Plug your monitor device into the VGA Video Connector
  4. Plug your USB mouse/keyboard into the USB 2.0 OTG Port
  5. Plug the Power Supply into 12V Power Supply connector (DO NOT turn the device on)
  6. Set the jumpers according to the following table:
POS 2-3 2-3 2-3 2-3 1-2
2.5V or 1.8V
POS 0 1 0 1 0 0

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.

Booting the Micro-SD Card

Local IIO Oscilloscope

  1. Ignore your PC, and now interact on the USB mouse/keyboard on the Terasic C5 SoCkit device
  2. You should see two screens:

Remote IIO Oscilloscope

  1. Connect USB UART (Micro USB) to your host PC.
  2. Plug your ethernet cable into the RJ45 ethernet connector
  3. Run the ifconfig command on your UART terminal and get your board IP
root@analog:~# ifconfig

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet your_board_ip  netmask  broadcast 
        inet6 fe80::e6e7:b2c:f962:dc57  prefixlen 64  scopeid 0x20<link>
        ether 1c:76:ca:01:23:45  txqueuelen 1000  (Ethernet)
        RX packets 25208  bytes 4726181 (4.5 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5987  bytes 2260634 (2.1 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 29  base 0x2000
  1. Open IIO Scope application and type ip:board_ip in the URI tab.

Even thought this is Linux, this is a persistent file systems. 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

More Information


Analog Devices will provide limited online support for anyone using the reference design with Analog Devices components via the EngineerZone.

resources/eval/user-guides/arradio/quickstart/alterasockit.txt · Last modified: 30 Jan 2023 02:04 by Joyce Velasco