赛灵思
直播中

戚银燕

7年用户 159经验值
私信 关注
[问答]

为什么我用SP601开发应用程序失败了?

我为SP601开发了一个应用程序;
它在vhdl模块和Microblaze之间传输数据。
我正在使用ISE 13.4。
Microblaze应用程序使用lwIP_echo_server的模板构建。
从SDK开始,我编程FPGA,然后在硬件上启动它,一切都很顺利。
但是我需要在SP601上使应用程序永久化,我的意思是从闪存中启动它。
我按照这里描述的步骤进行了操作:http://www.xilinx.com/support/answers/43615.htm
但是在Xilinx工具 - >程序FPGA的步骤中,在超级终端上我收到错误:
SREC Bootloader从闪存@地址加载SREC映像:43800000ERROR:从闪存读取SREC线时出错
在Xilinx工具 - >程序闪存的步骤
Flash编程失败
原因:
系统内程序员报告错误;
无法使用CFI成功查询目标零件布局!
有人可以给我一些提示以调试情况吗?

以上来自于谷歌翻译


以下为原文

I developed an application for SP601; it transfers data between a vhdl module and Microblaze.
I'm using ISE 13.4.
The Microblaze application is built with the template for lwIP_echo_server.
From SDK, I program FPGA and then launch it on the hardware and  everything goes fine.
But I need to make the application permanent on the SP601, I mean to boot it out of the flash memory.
I followed the steps describe here:  http://www.xilinx.com/support/answers/43615.htm

but at the step Xilinx Tools -> Program FPGA, on the hyperterminal I receive the error :

SREC Bootloader
Loading SREC image from flash @ address: 43800000
ERROR: Error while reading an SREC line from flash

and at the step Xilinx Tools -> Program Flash

Flash Programming Failed
Reason:
In-system programmer reported an error; Unable to succesfully query target part layout using CFI !

Can someone give me some tips in order to debug the situation ?

回帖(5)

李裕伦

2019-7-11 14:43:06
几件事情要尝试:
1)断开未使用的电缆
断开所有电缆(包括电源,DVI输入,DVI输出,以太网,USB-UART)
仅重新连接电源和FPGA JTAG电缆
打开
重新编程FPGA
再试一次 ...
2)重置MicroBlaze
按SW2一次或两次以重置MicroBlaze
再试一次 …
3)我在MicroBlaze系统中没有连接fpga_0_FLASH_Mem_RPN_pin引脚的系统中看到了这一点。
这个引脚在UCF文件中的约束位置是什么?
4)还要检查外部flashport的地址和数据位顺序。

以上来自于谷歌翻译


以下为原文

Few things to try:
 
1) Disconnecting unused cables

  • Disconnect all the cables (including power, DVI in, DVI out, ethernet, USB-UART)
  • Only reconnect the power and FPGA JTAG cables
  • Power on
  • Reprogram the FPGA
  • try again ...
 
2) Resetting the MicroBlaze

  • Press SW2 once or twice to reset the MicroBlaze
  • try again …
3) I have seen this in systems where the fpga_0_FLASH_Mem_RPN_pin pin is not connected in the MicroBlaze system, .  Where is this pin constrained in the UCF file?
 
4) also check the the address and data bit order. of the flash ports which are external.
举报

张颖

2019-7-11 14:59:48
请按照SP601硬件设置链接进行操作
http://www.xilinx.com/support/documentation/boards_and_kits/xtp049.pdf
此外,以下链接文档有助于交叉检查以下程序
http://www.xilinx.com/support/documentation/boards_and_kits/ug523.pdf
http://www.xilinx.com/support/documentation/boards_and_kits/ug518.pdf
_______________________________________________如果有助于解决您的查询,请将此帖子标记为“接受为解决方案”。
因此,它将有助于其他william hill官网 用户直接参考答案。如果您认为该信息有用且面向答复,请给予此帖子称赞。

以上来自于谷歌翻译


以下为原文

Please follow the SP601 hardware set-up linkhttp://www.xilinx.com/support/documentation/boards_and_kits/xtp049.pdf Also the below link documents helps for cross checking following procedureshttp://www.xilinx.com/support/documentation/boards_and_kits/ug523.pdf http://www.xilinx.com/support/documentation/boards_and_kits/ug518.pdf________________________________________________

Please mark this post as an "Accept as solution" in case if it helped to resolve your query. So that it will help to other forum users to directly refer to the answer.

Give kudos to this post in case if you think the information is useful and reply oriented.
举报

王凤英

2019-7-11 15:15:38
亲爱的siktap,
谢谢你的快速回答。
不幸的是,对于第1点和第2点,解决方案无效。
第3点。我想我有更新版本的EDK;
我的mhs文件不包含此信号fpga_0_FLASH_Mem_RPN_pin
附件是我的mhs档案。
我的猜测是问题与我的vhdl模块和用XPS创建的Microblaze的混合有关。
没有vhdl模块的Microblaze应用程序可以用FPGA和Flash编写而没有任何问题,通过iMPACT我可以使它永久化。
microprocesor.mhs 14 KB

以上来自于谷歌翻译


以下为原文

Dear siktap,
Thank you for your fast answer.
Unfortunately for the points 1 and 2 the solution is not working.
Point 3. I think I have a newer version of EDK; my mhs file doesn't contain this signal fpga_0_FLASH_Mem_RPN_pin
Attached is my mhs file.
 
My guess is that the problem is related to the mixture of the my vhdl module and Microblaze created with XPS.
The Microblaze application, without vhdl module , can be written in FPGA and Flash without any problem and through iMPACT I can made it permanent.
 
 
 
            microprocesor.mhs ‏14 KB
举报

张丽丽

2019-7-11 15:25:39
如果您指的是步骤11(Xilinx工具 - >程序FPGA)给出错误,那么它是预期的。
运行它以便用elf的内容更新位文件 - 因为Data2Mem在下载位文件之前运行。
或者,您只需运行data2mem命令即可更新位文件内容。
第二部分(CFI查询错误)更有趣。
在某些机器中,Digilent电缆安装未正确完成,因此在这种情况下您必须手动安装驱动程序。
对于WindowsC: Xilinx  14.3  ISE_DS  common  bin  nt64  digilent  install_digilent.exe一旦双击install_digilent.exe它会询问您是否要重新安装电缆驱动程序。
回答“是”,并按照安装GUI中的指导进行操作。

以上来自于谷歌翻译


以下为原文

If you are referring to step 11 (Xilinx Tools --> Program FPGA) giving error then it is expected. It is run so as to update the bit file with the contents of the elf - Since Data2Mem is run prior to downloading the bit file.

Alternatively, you can simply run the data2mem command to update the bit file contents.

Second part (CFI query error)is more interesting.

In some machines the Digilent cable installation was not done properly so in that case you have to manually install the driver.

For Windows

C:Xilinx14.3ISE_DScommonbinnt64digilentinstall_digilent.exe

Once you double click on the install_digilent.exe It will ask if you want to RE-install the cable drivers. Answer Yes to that and follow the steps as guided in the installation GUI.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分