On Mon, Jul 11, 2011 at 5:28 PM, Walter F.J. Mueller
<[email protected]> wrote:
> Hello,
>
> as said in a previous thread I get warnings like
>
>    Warning svf: command TIR not implemented
>    Warning svf: command TDR not implemented
>    Warning svf: command HIR not implemented
>    Warning svf: command HDR not implemented
>
> when using jtag to program a FPGA with a svf file created
> by Xilinx impact. The concrete case is a Digilent Nexys2 board
> which has a JTAG chain like
>
>  TDI -> FPGA(xc3s1200e) -> PROM(xcf04s) -> TDO
>
> This chain definition was given to impact when the svf file
> was created, specifically the impact commands
>
>  setMode -bs
>  setCable -port svf -file sys_tst_rlink_n2.svf
>  addDevice -p 1 -file sys_tst_rlink_n2.bit
>  addDevice -p 2 -file
> /mnt/data/opt/Xilinx/12.1/ISE_DS/ISE/xcf/data/xcf04s.bsd
>  program -p 1
>
> Impact creates a svf file which contains TIR. TDR, HIR, and
> HDR commands, many have a length of 0, but not all. The full
> svf file is appended, only the "SDR 3841375 ..." command which
> contains the actual FPGA bitstream is abbreviated.
>
> I was a little astonished that jtag requires to specify
> with a 'part' command which device to be programmed.
> I thought that the svf file describes already the full
> chain and can therefore be applied without stating which
> device to target (this was after all already specified
> when the svf was created with impact).
>
> I seems to me that the 'svf' command in jtag
>
>  1. ignores the TIR. TDR, HIR, HDR commands, which are
>    apparently used by impact to describe the parts of
>    the chain to be skipped over
>
>  2. somehow adds proper padding based on the chain
>    position specified with the 'part' command
>
> I'm not very familiar with the svf files, but if that's true it
> seems to me a bit against the spirit of the svf format, at
> least as impact uses it.
>
> The second last SIR command with a length of 14 targets both devices
> in the chain. That seems to collide with the logic described above
> and as a consequence this SIR command it fails with
>
>  Error svf: SIR command length inconsistent
>
>
Good analysis. Then we need some volunteers to implement those missing pieces.


Jie

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
UrJTAG-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to