Run as可以,但是下载就出错,信息如下
Info: 2012-2-19 15:50:34 - (良好) sof2flash: Starting
Info: Info: *******************************************************************
Info: Info: Running Quartus II Convert_programming_file
Info: Info: Command: quartus_cpf --no_banner --convert --device=EPCS128 --option=……epcs_flash_controller.opt …….sof ……_epcs_flash_controller.pof
Info: Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings
Info: Info: Peak virtual memory: 152 megabytes
Info: Info: Processing ended: Sun Feb 19 15:50:36 2012
Info: Info: Elapsed time: 00:00:02
Info: Info: Total CPU time (on all processors): 00:00:02
Info: Info: *******************************************************************
Info: Info: Running Quartus II Convert_programming_file
Info: Info: Command: quartus_cpf --no_banner --convert ……_epcs_flash_controller.pof ……_epcs_flash_controller.rpd
Info: Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings
Info: Info: Peak virtual memory: 147 megabytes
Info: Info: Processing ended: Sun Feb 19 15:50:39 2012
Info: Info: Elapsed time: 00:00:03
Info: Info: Total CPU time (on all processors): 00:00:04
Info: 2012-2-19 15:50:39 - (良好) sof2flash: Done
Info: Using cable "USB-Blaster [USB-0]", device 1, instance 0x00
Info: Resetting and pausing target processor: FAILEInfo: Leaving target processor paused
Error: Error code: 4 for command: $SOPC_KIT_NIOS2/bin/nios2-flash-programmer "……_epcs_flash_controller.flash" --base=0x0 --epcs --sidp=0x1890 --id=0x0 --timestamp=1329570479 --device=1 --instance=0 '--cable=USB-Blaster on localhost [USB-0]' --program –verbose
在网上搜索 Resetting and pausing target processor: FAILE
说原因是
1.管脚分配错误
2.nios核心没有工作
3.pll问题
经检查,问题没有解决,于是自己查资料,请教高人
解决方法:
1.重新建立各种新工程,最简系统---失败
2.在Qsys中使用“Create Global Reset Network”分配reset信号(和分配地址和中断在一起)。问题解决
分配完之后多了jtag_debug_module_reset信号的连线
而且后面的epcs和jtag的中断号也需要分配