10-26-2014 06:06 PM
I developed a board with Spartan 3E, XC3S500E
I've inserted JTAG chain to program the rom. When I lunch hex2svfsetup, I choose Spartan 3 because non Spartan 3E fpga is on list.
how mang jtag devices are before the PicoBlaze FPGA in your chain?
how mang jtag devices are after the PicoBlaze FPGA in your chain?
through impact download interface I see below,
So what should I input for above two question?
I think there are 0 device before the Picoblaze FPGA and 0 device after the Picoblaze FPGA,so I input 0 and 0,but the command windows suddenly close.why?
10-27-2014 02:05 PM
You only need to run 'hex2svfsetup' once and it only sets up a file so it sounds like you have done that.
You may find the 'solution' in the following thread useful...
10-27-2014 06:23 PM
I have carefully read the link，but I still have the problem. My board is not Spartan-3E Starter Kit, it only have a FPGA and a flash(M25P16) and no XC2C64A CoolRunner-I or xc2s06 e.g. So there are 0 device before the FPGA and 0 device after .
Whether I shoud input 0 and 0 ? I try input 0 and 0 ,but the 'hex2svfsetup' command windows suddenly close.why?
10-28-2014 10:47 AM
Yes, you would enter '0' and '0'. 'hex2svfsetup' command only writes out a 'hex2xvf.cnf' file so do you now have one of those in your directory?
10-28-2014 08:12 PM
Yes,there is a 'hex2xvf.cnf' file my directory.See below
After I finish above "hex2svfsetup.exe" and gain a 'hex2xvf.cnf' document, I begin edit the "jtag_loader.bat ".
Because I use XILINX Platform Cable USB to download my program and my program name is "program.psm".So I write command as follows.Is it right?
if exist .\hex2svf.cnf goto one
echo Need to set up jtag chain first
echo jtag chain set up
hex2svf program.hex program .svf
svf2xsvf -d -i program .svf -o program .xsvf
@echo setMode -bscan > impact_batch_commands.cmd
@echo setCable -port usb21 -baud -1 >> impact_batch_commands.cmd
@echo addDevice -position 1 -file program .xsvf >> impact_batch_commands.cmd
@echo play >> impact_batch_commands.cmd
@echo quit >> impact_batch_commands.cmd
impact -batch impact_batch_commands.cmd
My program directory is G:\procedure\FPGA\EIT_2D\EIT_2D_max_20
Then I Double-click "jtag_loader.bat ",a command windows Appear a moment as follows
There is no change in my board,means the new "program.hex" document does not download to my board .
What should I do ?
Thank you very much.
10-29-2014 10:30 AM
Looking at your screen capture it appears that your computer cannot open ‘svf2xsvf’ so you need to check that it is available and can be run manually before using the batch file. Until you get past that step you are not even ready to run iMPACT. At least your original issue was never a problem at all!
10-30-2014 07:29 PM
I have try open ‘svf2xsvf’ manully, the command window only appear a moment and close. I can not capture it .I change another computer to Repeat the above steps ,but it still like that. What should I do? Thank you very much.
10-30-2014 10:05 PM
It looks like you've got a space in some of the filenames ("program<space>.svf), and this might be confusing the tools. Does it work if you remove those spaces?
10-31-2014 01:17 AM
Yes, there is a space in some of the filenames ("program<space>.svf) when I edit the "jtag_loader.bat ". But after I delete all of that space and save again, there is still can not run. I capture the command window when I double "svf2xsvf.exe".See below.
I does not see any error,so……Tthank you very much