FPGA芯片采用cyloneII的ep2c20,配置芯片为epcs16,由于是自己做的板子,使用的是自定义的Board Description.通过NIOSII的flash programmer下载下去,重新上电后NIOS程序不运行,FPGA部分功能正常.似乎上电后没有执行boot loader.问题应该比较简单,但Altera的文档在这方面写的很零碎,希望大侠们拔刀相助!
贴一下下载的报告文件:
#! /bin/sh
#
# This file was automatically generated by the Nios II IDE Flash Programmer.
#
# It will be overwritten when the flash programmer options change.
#
cd D:/FPGAPRJ/NIOSIIPRJ/testSRAM/TestRAM2/Debug
# Creating .flash file for the FPGA configuration
$SOPC_KIT_NIOS2/bin/sof2flash --epcs --input=D:/FPGAPRJ/NIOSIIPRJ/testSRAM/testS
RAM.sof --output=testSRAM.flash
Info: *******************************************************************
Info: Running Quartus II Convert_programming_file
Info: Command: quartus_cpf --no_banner --convert --device=EPCS64 --option=testSR
AM.opt D:/FPGAPRJ/NIOSIIPRJ/testSRAM/testSRAM.sof testSRAM.pof
Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings
Info: Processing ended: Tue May 02 16:07:21 2006
Info: Elapsed time: 00:00:03
Info: *******************************************************************
Info: Running Quartus II Convert_programming_file
Info: Command: quartus_cpf --no_banner --convert testSRAM.pof testSRAM.rpd
Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings
Info: Processing ended: Tue May 02 16:07:24 2006
Info: Elapsed time: 00:00:03
# Programming flash with the FPGA configuration
$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --epcs --base=0x00000800 testSRAM.fla
sh
Using cable "ByteBlasterII [LPT1]", device 1, instance 0x00
Resetting and pausing target processor: OK
: Checksumming existing contents
00000000 : Verifying existing contents
00010000 : Verifying existing contents
00020000 : Verifying existing contents
Checksummed/read 179kB in 7.0s
Erase not required
00000000 ( 0%): Programming
00010000 ( 0%): Programming
00020000 ( 0%): Programming
Programmed 179KB in 0.0s
No change to device contents
Leaving target processor paused
# Creating .flash file for the project
$SOPC_KIT_NIOS2/bin/elf2flash --epcs --after=testSRAM.flash --input=TestRAM2.elf
--output=epcs_controller.flash --boot=$SOPC_KIT_NIOS2/components/altera_nios2/b
oot_loader_epcs.srec
# Programming flash with the project
$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --epcs --base=0x00000800 epcs_control
ler.flash
Using cable "ByteBlasterII [LPT1]", device 1, instance 0x00
Resetting and pausing target processor: OK
: Checksumming existing contents
00020000 : Verifying existing contents
00020000 : Reading existing contents
Checksummed/read 64kB in 2.6s
00020000 ( 0%): Erasing
Erased 64kB in 0.9s (71.1kB/s)
00020000 ( 0%): Programming
Programmed 14KB +50KB in 1.8s (35.5KB/s)
Did not attempt to verify device contents
Leaving target processor paused
[此贴子已经被作者于2006-4-2 16:08:26编辑过]
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |