NIOS II program flash 错误请教
- UID
- 152924
- 性别
- 男
|
NIOS II program flash 错误请教
我在学习NIOS II,在做program flash 实验的时候遇到如下错误: 目标板和工程都建完后开始用NIOS II IDE下载,但出现如下错误: Reading System ID at address 0x00010848: FAIL ID value does not match: read 0xFFFFFFFF; expected 0x597F999F Timestamp value does not match: image on board is older than expected Read timestamp 7:59:59 1970/01/01; expected 11:41:38 2005/01/07 Leaving target processor paused
之后,我去掉了sysid和TIME0 ,再次编译下载,又出现如下错误:
Using cable "ByteBlasterII [LPT1]", device 1, instance 0x00 Pausing target processor: OK
Downloading 00000000 ( 0%) Downloaded 14KB in 0.5s (28.0KB/s)
Verifying 00000000 ( 0%) Verify failed Leaving target processor paused
有遇到过类似问题的么,请指教.
|
|
|
|
|
|
- UID
- 136199
- 性别
- 男
|
Reading System ID at address 0x00010848: FAIL ID value does not match: read 0xFFFFFFFF; expected 0x597F999F Timestamp value does not match: image on board is older than expected Read timestamp 7:59:59 1970/01/01; expected 11:41:38 2005/01/07 Leaving target processor paused
在SOPC中添加系统组件systemid没有,一般要加。 如果有,就是你的ptf和nios要的ptf不一致,重新下一次sof(要nios对应的pdf); 而下面的错误: Verifying 00000000 ( 0%) Verify failed Leaving target processor paused 是flash的错误,因为已找到flash 说明不是targetboard的问题,可能是flash自身的问题,这样就很复杂,你可以在nios_shell中 nios2flashprogrammer 命令加-debug选项看看flash情况。 |
这个版主不太冷
===========================
我的中电网博客:http://blog.chinaecnet.com/u/20/index.htm |
|
|
|
|
|
- UID
- 152924
- 性别
- 男
|
我修改了reset和 exception为指向ON CHIP RAM 后 错误变为: Processor is already paused Reading System ID at address 0x01001840: does not match ID value does not match: read 0xFFFFFFFF; expected 0x1DCDB9CD Timestamp value does not match: image on board is older than expected Read timestamp 7:59:59 1970/01/01; expected 17:04:20 2007/01/17 Warning: The software you are downloading may not run on the system which is currently configured into the device.
Downloading 00000000 ( 0%) Downloading 01000020 (82%) Downloaded 14KB in 0.4s (35.0KB/s)
Verifying 00000000 ( 0%) Verify failed Leaving target processor paused |
|
|
|
|
|
- UID
- 79720
- 性别
- 男
|
你的systemid不对应,使你的软件和你的硬件不对应,提示了你的时间都不对嘛???Timestamp value does not match: image on board is older than expected Read timestamp 7:59:59 1970/01/01; expected 17:04:20 2007/01/17。 你用的是什么型号的flash,和flash programmer有关系的。
|
|
|
|
|
|
- UID
- 152924
- 性别
- 男
|
我使用的是NOR Flash,E28F128. 请大家帮忙,我已经卡了快一个月了 |
|
|
|
|
|
- UID
- 79720
- 性别
- 男
|
intel的flash更不应该下不进去阿,nios最早支持的就是intel的flash。你的下载提示表示的你的硬件和软件不搭配。 |
|
|
|
|
|
- UID
- 153466
- 性别
- 男
|
在NIOS提供的例子程序中有一个MEMORY测试程序,提供测试FLASH和SDRAM的功能,你可以调用一下看看测试结果。检查是否硬件有问题。 |
|
|
|
|
|
- UID
- 136199
- 性别
- 男
|
以下是引用yuzr在2007-1-31 15:45:00的发言: 在NIOS提供的例子程序中有一个MEMORY测试程序,提供测试FLASH和SDRAM的功能,你可以调用一下看看测试结果。检查是否硬件有问题。 是的,也就是nios2-flash-programmer --debug,在nios shell命令行中,你可以试试。不过它通常是用来看flashCFI的,从上面的程序提示来看,应该不会有问题。
[此贴子已经被作者于2007-1-31 16:13:58编辑过] |
这个版主不太冷
===========================
我的中电网博客:http://blog.chinaecnet.com/u/20/index.htm |
|
|
|
|
|