How to read and use Intel® Arria® 10 Chip ID IP in Embedded System

cancel
Showing results for 
Search instead for 
Did you mean: 
363 Discussions

How to read and use Intel® Arria® 10 Chip ID IP in Embedded System

How to read and use Intel® Arria® 10 Chip ID IP in Embedded System using Nios® II and Hard Processor System (HPS)


Design files is in link below.

File:Chipid nios2 hps.zip


Quick Start Guide 


1) Replace the Uboot (uboot_w_dtb-mkpimage.bin in /software folder) into SD card A2 partition using dd command (in Linux) or alt-boot-disk-util command in SoC EDS Command Shell (in Windows). 

Note: You would need to “Run as administrator” when launching SoC EDS Command Shell in Windows in order to write the Uboot into A2 partition on SD card. 


2) Copy and replace the 3 files in sdcard_fat_files folder into the SD card FAT partition. 


3) Insert the SD card and let the system boot into Linux. 


4) Mount FAT partition of SD card to system (to /mnt folder) with command below. 

mount /dev/mmc0p1 /mnt


5) Copy the chipid.sh from /mnt to ~/ directory with command. 

cp /mnt/chipid.sh ~/


6) Execute chipid.sh script with command below: 

sh chipid.sh

The Chip ID will be printed on Linux UART Console. 


7) For Nios II, load the elf file (chip_id.elf in software/chip_id_nios folder) into Nios II by entering command below in Nios II Command Shell 

Nios2-download –g chip_id.elf && nios2-terminal

The Chip ID will be printed on Nios II terminal. 

e/e2/Chipid_nios2_hps.jpg ( Chipid nios2 hps.jpg - click here to view image )

Attachments
Version history
Last update:
‎06-27-2019 04:51 PM
Updated by:
Contributors