Board logo

标题: [求助]Nios编译运行的问题 [打印本页]

作者: junit    时间: 2007-5-17 19:43     标题: [求助]Nios编译运行的问题

我是新手,先做了个uc/os的移植,程序就是用的niosII自带的,结果遇到这个问题..我只有一个sof文件,也是本来就有的.

Using cable "USB-Blaster [USB-0]", device 1, instance 0x00
Pausing target processor: OK
Reading System ID at address 0x00801088: does not match
    ID value does not match: read 0x00080000; expected 0x8B3620F6
    Timestamp value does not match: image on board is newer than expected
    Read timestamp  4:46:56 1901/12/14; expected 11:19:54 2005/10/21
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.
Restarting target processor

这个做不出来,我就试着做了下simple socket sever有做不出来,我太伤心了,刚开始学就那么多问题,程序都是它的怎么会错呢.

**** Incremental build of configuration Debug for project simple_socket_server_2 ****

make -s all
Compiling network_utilities.c...
../network_utilities.c: In function `generate_and_store_mac_addr':
../network_utilities.c:184: error: `EXT_FLASH_NAME' undeclared (first use in this function)
../network_utilities.c:184: error: (Each undeclared identifier is reported only once
../network_utilities.c:184: error: for each function it appears in.)
../network_utilities.c:187: error: `LAST_SECTOR_OFFSET' undeclared (first use in this function)
../network_utilities.c: In function `get_mac_addr':
../network_utilities.c:205: warning: unused variable `signature'
../network_utilities.c:206: warning: unused variable `netif'
make: *** [obj/network_utilities.o] Error 1
Build completed

Error: The Nios II ELF executable does not exist. Please verify yhat the project simple_socket_sever built successfully)

这次是生成不了ELF文件..

[em06][em06]

我觉得我的问题应该很简单,我重装了一次NiosII还是这样,盼高手指点!!谢谢了..


作者: caopengly    时间: 2007-5-17 21:56

System ID at address 0x00801088: does not match
    ID value does not match: read 0x00080000; expected 0x8B3620F6
    Timestamp value does not match: image on board is newer than expected
说明你片子上的硬件系统和你sopc中的系统不一致,你需要重新下载一下sof到片上去,你可以使用byteblasterII下,也可以用flashprogrammer下。

[此贴子已经被作者于2007-5-17 21:56:48编辑过]


作者: junit    时间: 2007-5-17 22:51

我如果换一个下的话,就下载不上去了..

我只有一个sof能下载上去.那个sof是本来就有的.我就不知道他怎么会说不对..

如果我要自己做的话,是不是就要用sopc builder来做?


作者: kzw    时间: 2007-5-17 23:36

恩,当然要用sopc来做了。




欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) Powered by Discuz! 7.0.0