Nios II 使用 Host File System 的問題和注意事項

環境設置

OS: Windows 10

Software: Intel Quartus Prime Lite 18.0

Platform: Cyclone V GT 5CGTFD9E5F35C7


====================================================


Host File System:

將要讀寫的資料放在 PC 上,然後就可以跟 PC 端做 File Operation


====================================================

先前文章建立了一個完整的 Nios II System

Quartus Qsys + Nios II 入門使用

但在嘗試使用 Host File System 的時候一直試不出來!

看了各種教學文章影片也都解決不了問題

後來才發現原來是因為之前 Nios II System 選擇的 Core 是 Nios II (Classic) e

雖然在 Host File System 的 Sample Code 裡頭說明是支援該 Core 的

但我自己實驗結果是沒辦法使用的

改成 Nios II f 之後就好了!


然後在新建 Project 後

也要記得 BSP Editor 裡的 Software Package 

altera_hostfs 要打勾!


以及要注意 enable_small_c_library 不能打勾


====================================================


Reference:

(原創) 如何在Nios II EDS 8.0使用Host File System與Zip File System? (SOC) (Nios II)

留言

這個網誌中的熱門文章

Formal Verification(正規驗證)介紹和如何使用 SVA(System Verilog Assertion) 做驗證

Quartus Qsys + Nios II 入門使用

Verilog - testbench 的撰寫