nios工程在編譯通過后RUN的過程中出現Error Running Nios II Project: ‘Downloading ELF Process failed’問題原因:
1、nios2 cpu datamaster 沒有和on chinp ram 連接 導致程序在系統ram上無法下載。
2、在加載SDRAM模塊時應注意其參數的准確性,否則同樣影響data總線數據傳輸導致該問題。
3、還有,在建立工程選擇軟核.sopcinfo文件時要注意路徑,一般nios ii 新建工程時默認上一次工程的.sopcinfo文件,很容易就選擇了該文件,導致運行失敗。。
Altea官網解釋如下:
Title
Error Running Nios II Project: ‘Downloading ELF Process failed’
Description:
If the Nios II processor’s cpu.data_master port is not connected to all program memories (memories to which the .elf file is downloaded) the software project fails to run on Nios II hardware.
Failure to connect cpu.data_master to all program memories is a design error that the Nios II SBT does not detect.
Workaround / Fix :
Connect cpu.data_master to all program memories.
還有一個疑問,systemID 為默認的0時 能導致以上問題嗎?
答:沒有影響。