Hi all,
I am trying to update a Lattice FPGA (LFXP2-5E-FTBGA256) with the SVF
command. The JTAG interface is implemented using some gpios of the arm
processor (i.MX31) I am using, so I have added a new cable module able
to set/read gpios (I am using the gpio-sysfs interface). With the
bsdl2jtag script I created the suitable configuration file from the
lfxp2_5e_ftbga256.bsm delivered by the manufacturer.
So far so good, I can detect the FPGA:
jtag> detect
IR length: 8
Chain length: 1
Device Id: 00000001001010011001000001000011 (0x0000000001299043)
Manufacturer: Lattice Semiconductors
Part(0): LFXP2-5E-FTBGA256
Stepping: 0
Filename:
/usr/local/share/urjtag/lattice/lfxp2-5e_ftbga256/lfxp2_5e_ftbga256
As detect works, I can suppose that the cable module is correct (am I
wrong ? ). So next step was to download a SVF file to the device.
I have got the Lattice's ispvmsystem tool, that can be downloaded from
Lattice website. This generates a SVF file from a .jed. However, in the
file there are some (LOOP/ENDLOOP) statements that are not interpreted
by urjtag and that are reported as not standard commands by Lattice
itself, for example as follows:
LOOP 1200 ;
RUNTEST IDLE 3 TCK 1.00E-01 SEC;
SDR 1 TDI (0)
TDO (1);
ENDLOOP ;
I can substitute these statements with repeated commands, but I would
ask if someone else have found the same issue and how this was solved.
Is there a way to run jtag in a dry-run way ? When I tried, urjtag
starts to parse the file and when the unknown command was hit, it let
the FPGA in a not programmed state, leaving the board unprogrammed and
not usable anymore.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: [email protected]
=====================================================================
------------------------------------------------------------------------------
_______________________________________________
UrJTAG-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/urjtag-development