08-20-2007 02:01 AM
08-30-2007 06:18 PM
08-31-2007 01:40 AM
01-14-2008 06:23 AM
03-05-2008 10:01 AM
... and the ISE tool synthesised without complaining. I downloaded this design to a Virtex-4 board and could see evidence of the software working (flashing leds .. what else!)
3) I used the jtag_loader.bat program to download a new version of the software (slower led flashing) but couldn't see any difference in behaviour ... i.e. it hadn't worked.
4) At this point I remembered that the hex2svfsetup should be run at least once on the new board. The problem is that hex2svfsetup doesn't allow you to select any FPGA later than a Spartan 3.
5) I abandoned this approach and used Ken Chapman's DATA2MEM approach. This inserts new machine code into the bit file. This worked ... but is still a bit slow because the the whole FPGA is reconfigured every time.
Can anyone suggest how I can get the JTAG loading to work on a Virtex-4?
03-19-2008 05:08 AM - edited 03-19-2008 05:23 AM
For SW download I use this 'load.bat' file (see posting above in thins thread):
if exist .\hex2svf.cnf goto one
echo Need to set up jtag chain first
echo jtag chain set up
hex2svf %1.hex %1.svf
svf2xsvf -d -i %1.svf -o %1.xsvf
@echo setMode -bscan > impact_batch_commands.cmd
@echo setCable -port usb21 -baud -1 >> impact_batch_commands.cmd
@echo addDevice -position 1 -file .\%1.xsvf >> impact_batch_commands.cmd
@echo play >> impact_batch_commands.cmd
@echo quit >> impact_batch_commands.cmd
impact -batch impact_batch_commands.cmd
The hex2svf.cnf should also work for virtex4 becaus V4 and V5 have both a boundary scan instruction register with of 10 bits and USER1 register address is in both devices 0x3C2
(SIR 10 TDI (3c2) SMASK (3ff);)
All Information without warranty...
04-29-2008 09:24 PM
hi everyone and thanks for your time.
im using pblaze in Spartan 3E but i cant use the Jtag loader as chaplin explained on Q.Does the loader work with the USB programming cable ?
i generated the 'xsvf' file ok, but when i program it nothing happens my kit keep doing the same (last program)and i don't know the error anyone can help?? should i change the program name .psm ? i dont know help please.
10-13-2008 03:41 PM
Very useful tools!!! Works great with my digilent Spartan3E starter ... I have been able to implement the picoblaze, and update the code! SWEET! ... although i think the assembly -> conversion to xsvf could be a little less clunky ... maybe I can write something =)
12-11-2008 08:12 AM
02-23-2010 10:51 PM
Did you find the solution of your problem?, I am also having the same problem that after executing all the steps...new code does not execute.