OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 4151|回复: 4

[XILINX] 超越者S6 无法把MCS文件固化到FLASH

[复制链接]

1

主题

3

帖子

0

精华

新手入门

积分
11
金钱
11
注册时间
2023-1-15
在线时间
4 小时
发表于 2023-1-15 20:40:45 | 显示全部楼层 |阅读模式
1金钱
用iMPACT可以把bit流文件烧录进FPGA,但是FLASH就固化不了。Erase、Blank Check都能跑通。烧写flash的时候,如果启用Verify,那进度在3%的时候verify就失败了:

  1. PROGRESS_START - Starting Operation.
  2. Maximum TCK operating frequency for this device chain: 25000000.
  3. Validating chain...
  4. Boundary-scan chain validated successfully.
  5. '1': IDCODE is 'ef4018' (in hex).
  6. '1': ID Check passed.
  7. '1': IDCODE is 'ef4018' (in hex).
  8. '1': ID Check passed.
  9. '1': Erasing Device.
  10. '1': Using Sector Erase.
  11. '1': Erasing non-volatile quad-enable bit...
  12. '1': Programming Flash.
  13. '1': Reading device contents...
  14. Failed at address, 0
  15. '1': Verification Terminated
  16. INFO:iMPACT - '1': Flash was not programmed successfully.
  17. PROGRESS_END - End Operation.
  18. Elapsed time =      9 sec.
复制代码
如果不启用Verify,固化进度可以到44%,但最后还是失败的:

  1. PROGRESS_START - Starting Operation.
  2. Maximum TCK operating frequency for this device chain: 25000000.
  3. Validating chain...
  4. Boundary-scan chain validated successfully.
  5. '1': SPI access core not detected. SPI access core will be downloaded to the device to enable operations.
  6. INFO:iMPACT - Downloading core file E:/Xilinx/14.7/ISE_DS/ISE/spartan6/data/xc6slx16_spi.cor.
  7. '1': Downloading core...
  8. LCK_cycle = NoWait.
  9. LCK cycle: NoWait
  10. done.
  11. '1': Reading status register contents...
  12. INFO:iMPACT:2219 - Status register values:
  13. INFO:iMPACT - 0011 1100 1110 1100
  14. INFO:iMPACT:2492 - '1': Completed downloading core to device.
  15. '1': IDCODE is 'ef4018' (in hex).
  16. '1': ID Check passed.
  17. '1': IDCODE is 'ef4018' (in hex).
  18. '1': ID Check passed.
  19. '1': Erasing Device.
  20. '1': Using Sector Erase.
  21. '1': Erasing non-volatile quad-enable bit...
  22. '1': Programming Flash.
  23. '1':Programming in x4 mode.
  24. W25Q128BV Status Register Contents = 0x0203.
  25. QUAD ENABLE                                       :         1
  26. STATUS REGISTER PROTECT 1                         :         0
  27. STATUS REGISTER PROTECT 0                         :         0
  28. SECTOR PROTECT                                    :         0
  29. TOP/BOTTOM PROTECT                                :         0
  30. BLOCK PROTECT BIT 2                               :         0
  31. BLOCK PROTECT BIT 1                               :         0
  32. BLOCK PROTECT BIT 0                               :         0
  33. '1': Configuration data download to FPGA was not successful. DONE did not go high, please check your configuration setup and mode settings.
  34. INFO:iMPACT - '1': Flash was not programmed successfully.
  35. PROGRESS_END - End Operation.
  36. Elapsed time =     51 sec.
复制代码
看了其它论坛上的类似例子,大部分都说是M2 M1 M0的电平问题,但是超越者这块开发板好像没有把M2:M0引出来?

正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

3

主题

1979

帖子

0

精华

资深版主

Rank: 8Rank: 8

积分
5520
金钱
5520
注册时间
2018-10-21
在线时间
1561 小时
发表于 2023-1-16 10:05:47 | 显示全部楼层
回复

使用道具 举报

1

主题

3

帖子

0

精华

新手入门

积分
11
金钱
11
注册时间
2023-1-15
在线时间
4 小时
 楼主| 发表于 2023-1-16 11:07:21 | 显示全部楼层
QinQZ 发表于 2023-1-16 10:05
这里Data Width改成4

一直设的是x4,用ISE生成bit流的时候也把SPI bus设成x4了
回复

使用道具 举报

3

主题

1979

帖子

0

精华

资深版主

Rank: 8Rank: 8

积分
5520
金钱
5520
注册时间
2018-10-21
在线时间
1561 小时
发表于 2023-1-16 11:43:20 | 显示全部楼层
PieskiTsao 发表于 2023-1-16 11:07
一直设的是x4,用ISE生成bit流的时候也把SPI bus设成x4了

固化文件,你先用例程或者出厂提供的文件试一下
回复

使用道具 举报

1

主题

3

帖子

0

精华

新手入门

积分
11
金钱
11
注册时间
2023-1-15
在线时间
4 小时
 楼主| 发表于 2023-1-16 11:56:21 | 显示全部楼层
QinQZ 发表于 2023-1-16 11:43
固化文件,你先用例程或者出厂提供的文件试一下

用资料里的peripheral_tes.mcs固化,一样的错误
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2024-10-4 04:26

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

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