赛灵思
直播中

洪子云

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

如何使用影响将我的mcs文件写入fpga

您好,我正在尝试使用Spartan 6 XC6SLX4在多系统上工作。问题是,我无法使用影响将我的mcs文件写入FPGA
在87%时,它开始进入x1编程模式并中止。这就是我所做的:1。
我编译了黄金设计并使用屏幕截图中显示的设置
2.我编译多重引导设计并使用屏幕截图中显示的设置
3.在Impact中我生成一个PROM文件
4.黄金和多重引导设计组合成一个mcs文件
5.我启动边界扫描,添加闪存设备并将mcs文件编程到flash。如上所述,87%影响后中止编程。
“做得不高......”我可以通过jtag编程fpga没有问题,我也可以编程一个“单启动”-mcs到闪存。
然后FPGA从闪存引导没有问题。我在这里做错了什么或错过了一步?
感谢任何帮助。非常感谢您的帮助。
-Rainer

以上来自于谷歌翻译


以下为原文

Hi there,

i'm currently trying to get multiboot working on a system with a Spartan 6 XC6SLX4.
The problem is, that i can't write my mcs-file to the fpga using impact. At 87% it swithces into a x1 progamming mode and aborts.

Here is what i do:
1. I compile the golden design and use the settings as shown in the screenshot



2. I compile the multiboot design and use the settings as shown in the screenshot



3. In Impact I generate a PROM-File



4. The golden and the multiboot design are combined into a mcs-file



5. I start the boundary scan, add a flash device and programm the mcs file to the flash.
As said above, after 87% impact aborts programming. "Done did not go high ..."

I can program the fpga via jtag without a problem, and i can also program a "single-boot"-mcs to the flash. The FPGA then boots from the flash without a problem.

Did i do anything wrong here or miss a step? Any help is appreciated.

Thank you very much for your help.

-Rainer

回帖(9)

温洁

2019-7-23 12:20:32
嗨,尝试从地址0x44而不是0x0开始生成黄金映像。
可能会有所帮助。
Abderrahim 29

以上来自于谷歌翻译


以下为原文

Hi, try to generate the golden image starting from adress 0x44 instead of 0x0.
may be it help.
Abderrahim29
举报

周玲玲

2019-7-23 12:25:40
嗨Abderrahim29,
感谢您的回复。
我已经尝试过了,ISE还会根据控制台中的消息自动将黄金映像的位置更改为0x44。
-Rainer

以上来自于谷歌翻译


以下为原文

Hi Abderrahim29,
 
thanks for your reply.
I already tried that, and ISE also automatically changes the position of the golden image to 0x44 according to the messages in the console.
 
-Rainer
举报

温洁

2019-7-23 12:38:39
嗨Rainer,
我有一个问题,您是否计划通过以太网更新多重启动映像?
Abderrahim29

以上来自于谷歌翻译


以下为原文

Hi Rainer,
I have a question, do you plan to update your multiboot-image via Ethernet?
Abderrahim29
举报

周玲玲

2019-7-23 12:44:42
Spartan 6将从第二个fpga通过串行接口更新。
我试图用命令行生成mcs文件。
该文件现在要小得多。
它之前是1.8MByte,现在只有1.4MByte。
如果我将这个新的mcs文件上传到闪存它可以工作,但总是从黄金图像开始。
我使用这些命令:
promgen -w -p mcs -r header.hex -o header_only.mcspromgen -w -p mcs -spi -s 1024 -u 10000 golden.bit -u 70000 multiboot.bit -o incomplete_dual_image.mcstype header_only.mcs incomplete_dual_image.mcs>
header_golden_multiboot.mcs
有这个标题:
FFFFFFFFAA99556631E1FFFF326100003281030132A1000032C1030732E1000030A10000330121003201001F30A1000E2000200020002000
有什么建议么?
谢谢!
-Rainer

以上来自于谷歌翻译


以下为原文

The Spartan 6 will be updated from a second fpga through a serial interface.
 
I tried to generate the mcs-file with the command line. The file is now much smaller. Before it was 1.8MByte and now only 1.4MByte. If i upload this new mcs-file to the flash it works, but always starts with the golden image.
 
I use these commands:
promgen -w -p mcs -r header.hex -o header_only.mcs
promgen -w -p mcs -spi -s 1024 -u 10000 golden.bit -u 70000 multiboot.bit -o incomplete_dual_image.mcs
type header_only.mcs incomplete_dual_image.mcs > header_golden_multiboot.mcs
 
with this header:
FFFFFFFF
AA995566
31E1FFFF
32610000
32810301
32A10000
32C10307
32E10000
30A10000
33012100
3201001F
30A1000E
20002000
20002000
 
Any suggestions?
 
Thanks!
-Rainer
举报

更多回帖

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