嗨,
我正在寻找有关如何在Spartan 3入门套件上编程Spartan 3的信息。
我查看了主板附带的用户手册,并相信我遗漏了一些东西。
当我对
电路板进行编程时,我现在有iMPACT告诉我电路板已编程,我可以验证编程。
我可以使用我的.bin文件对
FPGA进行编程,或者我可以使用从bin文件生成的PROM文件对PROM进行编程。
在对电路板进行编程的一类尝试中,我将跳线设置为“默认,从PROM加载”模式,在复位时,FPGA将从PROM获取其配置..通过此跳线设置,ISE似乎能够
通过JTAG控制电路板并报告编程成功。
我假设这种编程模式无效,但ISE / IMPACT不会给我一个错误。
在对电路板进行编程的第二类尝试中,我将跳线设置为JTAG编程模式,如手册中所述(并且正如其中一位Xilinx主持人在线程中的前一篇文章中所述)。
在这种情况下,我认为电路板编程没有任何区别。
ISE / IMPACT不会报告错误,在这种模式下,我也可以验证我编程的内容是放在FPGA中还是放在PROM中,具体取决于我尝试编程的内容。
我相信我在ISE中选择了正确的零件和包装。
我不确定的一件事是设备的速度设置。我不知道如何从零件包装上的丝网印刷中确定。
我尝试了ISE提供的两种速度,但这似乎并不重要。
我相信我正在做的是错误地加载PROM,或加载正确的数据(.bin),但格式错误。
ISE / IMPACT默认情况下要生成一个mcs(如果我没记错的话)格式化的PROM文件..这听起来像是正确的格式吗?
或者xilinx FPGA / PROM需要不同的格式吗?
选择“编程连接到此FPGA的串行PROM”,同时将.bin编程到FPGA中似乎并不重要。
我知道我可以用某种方式与董事会沟通。
电路板上加载了时钟演示。
从xilinx网站下载示例并尝试多次加载电路板(对VHDL进行微调)后没有明显变化,我试图手动擦除PROM,并且成功了。
在重新启动时,电路板现在出现的外观类似于我将电路板设置为等待JTAG编程时所看到的内容。
我注意到的一件事是,7段LED中的所有部分似乎都是昏暗地点亮..不确定这是否是一个线索。
这听起来像我在电路板上编程是坏事,还是我错过了编程闪存部件本身的重要步骤?
如果IMPACT可以在编程后验证图像,我似乎正在编程。
擦除和空白检查似乎像你期望的那样工作;
随后的程序和验证似乎也起作用。
我很难过。
谢谢,
- Josh.Message由jr***ertram编辑于09-24-2007 11:27 AM
以上来自于谷歌翻译
以下为原文
Hi, I'm looking for informa
tion on how to program the Spartan 3 on the Spartan 3 Starter Kit. I've looked at the user manual that came with the board and believe I'm missing something. When I program the board, I now have iMPACT telling me that the board is programmed, and I can verify the programming. I can either program the FPGA with my .bin file, or I can program the PROM with the PROM file I generate from the bin file. In one class of attempts to program the board, I have the jumpers set to the "default, load from PROM" mode where upon reset the FPGA will obtain its configuration from the PROM.. with this jumper setting, ISE appears to be able to take control of the board via JTAG and reports that programming succeeds. I assume that this mode of programming is invalid, but ISE/IMPACT do not give me an error. In the second class of attempts to program the board, I have the jumpers set to the JTAG programming mode as described in the manual (and as explained in one of the previous posts on the thread by one of the Xilinx moderators). In this case, I don't see any difference in programming the board. ISE/IMPACT does not report an error, and in this mode I can also verify that what I programmed was put in either the FPGA or in the PROM, depending on what I attempt to program. I believe I have the correct part and package selected in ISE. One thing I'm not sure about is the speed setting for the device.. I wasn't sure how to determine that from the silk screening on the packaging of the part. I tried both speeds offered in ISE, but that didn't seem to matter. I believe that what I'm doing is incorrectly loading the PROM, or loading the correct data (.bin) but in the wrong format. ISE / IMPACT by default wants to generate an mcs (if I remember correctly) formatted PROM file.. does that sound like the right format? Or do xilinx FPGAs / PROMs expect a different format? Selecting the "program the serial PROM attached to this FPGA" while programming my .bin into the FPGA didn't seem to matter. I do know that I can communicated with the board in some fashion. The board had the clock demo loaded on it. After downloading the example from the xilinx website and attempting to load the board several times (with minor tweaks to the VHDL) with no apparent change, I tried to erase the PROM manually, and that succeeded. On reboot, the board now comes up in what looks similar to what I see when I set the board up to wait for JTAG programming. One thing I notice is that all of the segments in the 7-segment LEDs seem to be lit dimly.. not sure if that's a clue. Does this sound like what I'm programming into the board is bad, or am I missing an important step in the procedure to program the flash part itself? It seems that I'm programming it if IMPACT can verify the image after programming it. Erase and blank check seem to be working like you'd expect; a subsequent program and verify also appear to work. I'm stumped. Thank you,- Josh.
Message Edited by jr***ertram on 09-24-2007 11:27 AM
0