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时 能导致以上问题吗?
答:没有影响。