搜索
bottom↓
回复: 3

【求助】NIOS ii 中CFI模块时序参数设置?

[复制链接]

出0入0汤圆

发表于 2011-12-12 16:50:52 | 显示全部楼层 |阅读模式
在Nios中设置CFI模块的参数。
请教一下CFI模块的三个参数到底是如何计算的?
setup--片选有效后,发起读或写信号之前所需的时间。
wait--对每次传送,使能读/写信号所需的时间。
hold--写信号无效后,使片选无效之前所需的时间。

(原文件名:s29gl256.png)


(原文件名:timing.png)

手册ourdev_703958N2PR3A.pdf(文件大小:1.54M) (原文件名:S29GL256P11TFI020.pdf)

阿莫论坛20周年了!感谢大家的支持与爱护!!

知道什么是神吗?其实神本来也是人,只不过神做了人做不到的事情 所以才成了神。 (头文字D, 杜汶泽)

出0入0汤圆

 楼主| 发表于 2011-12-12 17:00:09 | 显示全部楼层
高手给指条明路啊。

出0入0汤圆

 楼主| 发表于 2011-12-12 17:32:35 | 显示全部楼层
一直出现这个错误!
#!/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 G:/EP2C35/flash/flash_ide/hello_world/hello_world/Debug

# Creating .flash file for the FPGA configuration
"$SOPC_KIT_NIOS2/bin/sof2flash" --epcs --input="G:/EP2C35/flash/flash_sopc/flash
_sopc.sof" --output="flash_sopc.flash"
Info: *******************************************************************
Info: Running Quartus II Convert_programming_file
Info: Command: quartus_cpf --no_banner --convert --device=EPCS128 --option=flash
_sopc.opt G:/EP2C35/flash/flash_sopc/flash_sopc.sof flash_sopc.pof
Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings
    Info: Peak virtual memory: 71 megabytes
    Info: Processing ended: Mon Dec 12 17:28:22 2011
    Info: Elapsed time: 00:00:02
    Info: Total CPU time (on all processors): 00:00:02
Info: *******************************************************************
Info: Running Quartus II Convert_programming_file
Info: Command: quartus_cpf --no_banner --convert flash_sopc.pof flash_sopc.rpd
Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings
    Info: Peak virtual memory: 68 megabytes
    Info: Processing ended: Mon Dec 12 17:28:24 2011
    Info: Elapsed time: 00:00:02
    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=0x04000000 --sidp=0x0
4001818 --id=1515470202 --timestamp=1323681187  "flash_sopc.flash"
Using cable "USB-Blaster [USB-0]", device 1, instance 0x00
Resetting and pausing target processor: OK
Reading System ID at address 0x04001818: verified

              : Checksumming existing contents         

00000000      : Verifying existing contents            

00010000      : Verifying existing contents            

00020000      : Verifying existing contents            

00030000      : Verifying existing contents            

00040000      : Verifying existing contents            

00000000      : Reading existing contents               

00010000      : Reading existing contents               

00020000      : Reading existing contents               

00030000      : Reading existing contents               

00040000      : Reading existing contents               

Checksummed/read 31kB in 3.3s                                       

00000000 ( 0%): Erasing                                 

00010000 (20%): Erasing                                 

00020000 (40%): Erasing                                 

00030000 (60%): Erasing                                 

00040000 (80%): Erasing                                 

Erased 320kB in 3.1s (103.2kB/s)                       

00000000 ( 0%): Programming                             

00010000 (20%): Programming                             

00020000 (40%): Programming                             

00030000 (60%): Programming                             

00040000 (80%): Programming                             

Programmed 290KB +30KB in 39.8s (8.0KB/s)                  
Did not attempt to verify device contents
Leaving target processor paused

# Creating .flash file for the project
"$SOPC_KIT_NIOS2/bin/elf2flash" --base=0x00000000 --end=0x3ffffff --reset=0x0 --
input="hello_world.elf" --output="cfi_flash.flash" --boot="C:/altera/81/ip/alter
a/nios2_ip/altera_nios2/boot_loader_cfi.srec"

# Programming flash with the project
"$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --base=0x00000000 --sidp=0x04001818
--id=1515470202 --timestamp=1323681187  "cfi_flash.flash"
Using cable "USB-Blaster [USB-0]", device 1, instance 0x00
Resetting and pausing target processor: OK
Reading System ID at address 0x04001818: verified
No CFI table found at address 0x00000000
Leaving target processor paused

出0入0汤圆

 楼主| 发表于 2011-12-13 11:12:40 | 显示全部楼层
已经解决。原来是硬件的问题。
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片。注意:要连续压缩2次才能满足要求!!】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-7-24 11:23

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表