查看: 8148|回复: 15
硬件在线仿真一直不成功,一直是这样的问题,求解。按照大神说的做了多次也没解决。
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
才可以下载或查看,没有帐号?
简单的第一个Hello_world&&程序在线硬件仿真
run as NIOSIIHardware 总是显示
HGJ.PNG (17.93 KB, 下载次数: 0)
19:11 上传
run as NIOSIIInstruction Set Simulator 则提示:
Warning : SOPC Builder system component sysid is not supported by the simulator.
Simulation may be incorrect if your software attempts to access it
Hello from Nios II!
请问各位高手,这是什么问题呀?
重装了多次,编译多次。软核也general了几次。都是这样。有看到大神说要设置管脚的,但是怎么设置啊?我按照那教程一步步操作的啊。
纠结死了,求大神解救啊!!谢谢!!!
首先,重新编译 sopc 和quartus部分,然后重新建立NIOS 软核工程,建立软核工程过程,一定要选对PTF文件,要找到对应工程下的PTF文件。
如果还不行,你就得重头开始做了。
本帖最后由 十四啦啦啦 于
20:46 编辑
& & 重头试过也还是那样啊。
Using cable &USB-Blaster [USB-0]&, device 1, instance 0x00
Resetting and pausing target processor: OK
Reading System ID at address 0x:
& & ID value verified
& & Timestamp value does not match: image on board is older than expected
& & Read timestamp&&8:00:00 ; expected 20:25:10
The software you are downloading may not run on the system which is currently
configured into the device.&&Please download the correct SOF or recompile.
Leaving target processor paused
十四啦啦啦
& & 你用的是我写的教程???
rabbitpan0317
& & 对啊。看着视频和那pdf文档操作的,就第一个helloworld,板也是跟视频一样的板。重新编译 sopc 和quartus部分,重新建立NIOS 软核工程,建立软核工程过程,都是那样。
硬件仿真还是那样,
Using cable &USB-Blaster [USB-0]&, device 1, instance 0x00
Resetting and pausing target processor: OK
Reading System ID at address 0x:
& & ID value verified
& & Timestamp value does not match: image on board is older than expected
& & Read timestamp&&8:00:00 ; expected 23:25:10
The software you are downloading may not run on the system which is currently
configured into the device.&&Please download the correct SOF or recompile.
Leaving target processor paused
而run as NIOSIIInstruction Set Simulator 则提示:
Warning : SOPC Builder system component sysid is not supported by the simulator.
Simulation may be incorrect if your software attempts to access it
Hello from Nios II
而且编译nios工程得多次才能编译成功,有时说错误,网上说是兼容性问题,改了那八个文件的兼容性也还是那样,得看运气才能编译成功。
再者还有通过jtag口下载程序到板上,进度超慢,有时进度条一直是0,然后也要插拔几次usb线,或者关掉软件重新打开来过。而且quartus编译也非常慢。现在我电脑整体都变很卡。
超级纠结,快崩溃了。做第一个实验都这样。。真悲剧。这两天都这样,没点进展还让人上火。我已经卸载重装软件业几次了。都悲剧啊啊
求大神指点啊!!!谢谢!!!
rabbitpan0317
& & 最新情况是做run as nios ii hareware出现如下提示:
nios2-terminal: connected to hardware target using JTAG UART on cable
nios2-terminal: &USB-Blaster [USB-0]&, device 1, instance 0
nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate)
nios2-terminal: exiting due to I/O error communicating with target
而做那个run as NIOSIIInstruction Set Simulator 则提示:
Warning : SOPC Builder system component sysid is not supported by the simulator.
Simulation may be incorrect if your software attempts to access it
Hello from Nios II!
烧写软件业也不成功。就是这样了。真悲剧。
麻烦大神解决下了。谢谢!!!
十四啦啦啦
& & 好像你用的是***IC写的教程,如果你是用的64的系统,又怀疑是兼容性问题,可以换成32位系统试试。
rabbitpan0317
& & 是***IC的程序。重新编译。有时能做硬件仿真。。。。
现在麻烦请教下你:
led实验中,我把软件下载到epcs时没成功。但是仿真可以。
出现提示如下,方便的话告知下解决方法。非常感谢。
# This file was automatically generated by the Nios II IDE Flash Programmer.
# It will be overwritten when the flash programmer options change.
cd D:/HEIJIN/diy/nios/led/LED/Debug
# Creating .flash file for the FPGA configuration
&$SOPC_KIT_NIOS2/bin/sof2flash& --epcs --input=&D:/HEIJIN/diy/nios/led/hello.sof
& --output=&hello.flash&
Info: *******************************************************************
Info: Running Quartus II Convert_programming_file
Info: Command: quartus_cpf --no_banner --convert --device=EPCS128 --option=hello
.opt D:/HEIJIN/diy/nios/led/hello.sof hello.pof
Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings
& & Info: Peak virtual memory: 154 megabytes
& & Info: Processing ended: Tue Jan 29 16:39:33 2013
& & Info: Elapsed time: 00:00:01
& & Info: Total CPU time (on all processors): 00:00:01
Info: *******************************************************************
Info: Running Quartus II Convert_programming_file
Info: Command: quartus_cpf --no_banner --convert hello.pof hello.rpd
Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings
& & Info: Peak virtual memory: 148 megabytes
& & Info: Processing ended: Tue Jan 29 16:39:35 2013
& & Info: Elapsed time: 00:00:01
& & Info: Total CPU time (on all processors): 00:00:02
# Programming flash with the FPGA configuration
&$SOPC_KIT_NIOS2/bin/nios2-flash-programmer& --epcs --base=0x --sidp=0x0
0001810 --id=0 --timestamp=&&&hello.flash&
Using cable &USB-Blaster [USB-0]&, device 1, instance 0x00
Resetting and pausing target processor: OK
Reading System ID at address 0x: verified
& && && && &&&: Checksumming existing contents& && && &
& && &: Verifying existing contents& && && && &
& && &: Verifying existing contents& && && && &
& && &: Reading existing contents& && && && && &
& && &: Reading existing contents& && && && && &
Checksummed/read 19kB in 0.7s& && && && && && && && && && && && && &
( 0%): Erasing& && && && && && && && && && && &
%): Erasing& && && && && && && && && && && &
Erased 128kB in 6.0s (21.3kB/s)& && && && && && && && &
( 0%): Programming& && && && && && && && && &&&
%): Programming& && && && && && && && && &&&
Programmed 110KB +18KB in 5.6s (22.8KB/s)& && && && && && &
Did not attempt to verify device contents
Leaving target processor paused
# Creating .flash file for the project
&$SOPC_KIT_NIOS2/bin/elf2flash& --epcs --after=&hello.flash& --input=&LED.elf& -
-output=&epcs.flash&
# Programming flash with the project
&$SOPC_KIT_NIOS2/bin/nios2-flash-programmer& --epcs --base=0x --sidp=0x0
0001810 --id=0 --timestamp=&&&epcs.flash&
Using cable &USB-Blaster [USB-0]&, device 1, instance 0x00
Resetting and pausing target processor: OK
Reading System ID at address 0x: verified
& && && && &&&: Checksumming existing contents& && && &
& && &: Verifying existing contents& && && && &
& && &: Verifying existing contents& && && && &
& && &: Reading existing contents& && && && && &
& && &: Reading existing contents& && && && && &
Checksummed/read 106kB in 0.5s& && && && && && && && && && && && && &
( 0%): Erasing& && && && && && && && && && && &
Erase failed at offset 10000& && && && && && && && && && && && && &&&
Leaving target processor paused
& & 现在仿真能做了。但是软件下载不行。做led实验时下载到epcs时,总出现如下提示。能麻烦avic大哥帮忙看下,解决下吗?
非常感谢!!
总这样提示:
# Creating .flash file for the project
&$SOPC_KIT_NIOS2/bin/elf2flash& --epcs --after=&hello.flash& --input=&LED.elf& -
-output=&epcs.flash&
# Programming flash with the project
&$SOPC_KIT_NIOS2/bin/nios2-flash-programmer& --epcs --base=0x --sidp=0x0
0001810 --id=0 --timestamp=&&&epcs.flash&
Using cable &USB-Blaster [USB-0]&, device 1, instance 0x00
Resetting and pausing target processor: OK
Reading System ID at address 0x: verified
& && && && &&&: Checksumming existing contents& && && &
& && &: Verifying existing contents& && && && &
& && &: Verifying existing contents& && && && &
& && &: Reading existing contents& && && && && &
& && &: Reading existing contents& && && && && &
Checksummed/read 106kB in 0.5s& && && && && && && && && && && && && &
( 0%): Erasing& && && && && && && && && && && &
Erase failed at offset 10000& && && && && && && && && && && && && &&&
Leaving target processor paused
你用的是我们的黑金开发板吗?
& & 是得。660的那种。烧写有问题。
AS模式下烧写verilog程序,可以么?
我得也一直出现这种情况,不知道怎么回事
楼主,这个问题解决了没有啊?我今天也碰到了,搞了一下午了。
好人一生平安。
楼主,这个问题解决了没有啊?我今天也碰到了,搞了一下午了。
好人一生平安。
你解决了吗&&求告之
其告知,解决了没有,怎么解决的???我的是开发板AX301.
Powered by