MyFPGA Forum
标题:
DE1板载的Flash怎么用
[打印本页]
作者:
winfeng_xfu
时间:
2009-7-23 10:10
标题:
DE1板载的Flash怎么用
我在SOPC中加入了CIF,结果建出来的Flash管脚和DE1上的管脚不对~
请问怎么在SOPC中怎么用DE1上的Flash,难道是要自己写IP吗~?
作者:
winfeng_xfu
时间:
2009-7-23 15:49
本帖最后由 winfeng_xfu 于 2009-7-23 15:54 编辑
哪位好心的朋友帮帮忙。
SOPC中建造出来Flash有data[7..0],address[21..0],cs,readen和writen;
板载的Flash有data[7..0],address[21..0],we,oe,ce,reset.
我讲we连着writen,ce连上cs,然后oe连readen。
在NIOS II里面进行Flash下载程序的时候就报错:
Using cable "USB-Blaster [USB-0]", device 1, instance 0x00
Resetting and pausing target processor: No CFI table found at address 0x01400000
不知道是什么问题。
哪位朋友有没有用板载的Flash成功了的,帮帮我。
作者:
Frank
时间:
2009-8-3 11:14
本帖最后由 Frank 于 2009-8-11 00:38 编辑
在DE1光盘中DE1_NIOS工程中就有使用范例:
“
// the_tri_state_bridge_0_avalon_slave
.select_n_to_the_cfi_flash_0(FL_CE_N),
.tri_state_bridge_0_address(FL_ADDR),
.tri_state_bridge_0_data(FL_DQ),
.tri_state_bridge_0_readn(FL_OE_N),
.write_n_to_the_cfi_flash_0(FL_WE_N),
”
另外,设计中必须使FL_RST_N为高电平。
FL_CE_N分配在PIN_AB15
作者:
winfeng_xfu
时间:
2009-8-4 15:18
谢谢Frank大大!
欢迎光临 MyFPGA Forum (http://www.myfpga.org/discuz/)
Powered by Discuz! X3