SPARTAN 6 配置SPI FLASH失败

2020-01-26 16:51发布

FPGA芯片:XC6SLX150,FLASH M25P64,用JTAG可以烧写FPGA,但是不能烧FLASH,
impact给出的信息如下:
elected part: M25P64
Unprotect sectors: FALSE
INFO:iMPACT - Current time: 2015/11/30 16:30:33
PROGRESS_START - Starting Operation.
Maximum TCK operating frequency for this device chain: 25000000.
Validating chain...
Boundary-scan chain validated successfully.
'1': SPI access core not detected. SPI access core will be downloaded to the device to enable operations.
INFO:iMPACT - Downloading core file D:/Xilinx/14.7/14.7/ISE_DS/ISE/spartan6/data/xc6slx150_spi.cor.
'1': Downloading core...
LCK_cycle = NoWait.
LCK cycle: NoWait
done.
'1': Reading status register contents...
INFO:iMPACT:2219 - Status register values:
INFO:iMPACT - 0011 1100 1110 1100
INFO:iMPACT:2492 - '1': Completed downloading core to device.
'1': IDCODE is 'ffffff' (in hex).
'1': ID Check failed.
INFO:iMPACT:2488 - The operation did not complete successfully.
INFO:iMPACT - SPI Device not found.
INFO:iMPACT:2488 - The operation did not complete successfully.
INFO:iMPACT - '1': Flash was not programmed successfully.
PROGRESS_END - End Operation.
Elapsed time =      4 sec.
INFO:iMPACT - Current time: 2015/11/30 16:31:27
PROGRESS_START - Starting Operation.
Maximum TCK operating frequency for this device chain: 25000000.
Validating chain...
Boundary-scan chain validated successfully.
'1': IDCODE is 'ffffff' (in hex).
'1': ID Check failed.
INFO:iMPACT:2488 - The operation did not complete successfully.
INFO:iMPACT - SPI Device not found.
INFO:iMPACT:2488 - The operation did not complete successfully.
INFO:iMPACT - '1': Flash was not programmed successfully.
PROGRESS_END - End Operation.
Elapsed time =      0 sec.

用示波器测量Flash的信号:1.黄 {MOD}:时钟
2.蓝 {MOD}:片选
3.红 {MOD}:Din
4.绿 {MOD}:MOSI
信号很怪异,片选拉低后,MOSI先于时钟给出,时钟断断续续,片选很快就拉高了
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
8条回答
nate709
1楼-- · 2020-01-26 22:35
 精彩回答 2  元偷偷看……
yizi0000
2楼-- · 2020-01-26 23:40
unprotect sectors:false
yizi0000
3楼-- · 2020-01-27 02:51
第二行信息。芯片的写保护引脚没有设置对吧,是不是下拉使能写保护了?
流誓星空
4楼-- · 2020-01-27 06:09
老哥,你的示波器波形跟我检测到的一模一样,不知道为啥……那我估计就是软件问题了。
流誓星空
5楼-- · 2020-01-27 11:24
我自己设计的板子,FPGA是XC6SLX45,FLASH芯片是M25P16
drentsi
6楼-- · 2020-01-27 14:04
 精彩回答 2  元偷偷看……

一周热门 更多>