XCF02S + Spartan 2e JTAG config problems

We've seen different problems with an XCF02S in the chain ahead of a Spartan 2 part. Done never goes high on the Spartan when attempting JTAG programming. Take the XCF02 out of the chain and it works. Discovered that if the XCF02 is blank, then we can program the Spartan OK. Xilinx has some answer records (18644 and others) on related issues, but that didn't seem to apply to us.

Reply to
Gabor
Loading thread data ...

Gabor schrieb:

this issue can cause problems for different parts, no matter if there is an Xilinx AR or not

the thing is that if any non-JTAG config interface shifts in valid SYNC word during some specifig time in the JTAG config process then the JTAG configuration will fail.

happens with XCFxx master serial mode, happens with Se3 BPI mode (at least early silicon) etc, etc..

so just make sure the config is blank

antti

Reply to
Antti

Thanks, Antti.

I was hoping this wasn't the answer. The current hardware revision in the field requires the FPGA to boot from the XCF02S in order to provide a clean reset signal to an embedded processor. There is no way for the processor to boot up and program the FPGA in these boards if the FPGA isn't already running some version. In order to change this behavior I need wiring changes to the boards, and using wires I have a lot of possible ways to work around the issue. It would have been nice to fix this in "software" only. Right now my only "software" solution is to re-program the XCF02S if I want to upgrade the FPGA bitstream. If this process gets interrupted I would end up with a non-working system. :-(

Regards, Gabor

Reply to
Gabor

Gabor schrieb:

well there could be a software only solution, but you need to investigate it I told what the cause, so you need to see if you can bypass the issue

make a small CPLD that makes an LED "ON" when it sees FPGA config start pattern being shifted in, attach it to CCLK and DIN then make your own JTAG config software and single step it to program the FPGA and monitor the LED, you might be able to find a sequence of JTAG commands that work and succeed to configure the FPGA no matter if the XCF shifts out the config SYNC at wrong place.

if you can gurantee deterministic timing of the JTAG config stream then all you need may be just padding the XCF with dummy to align the SYNC to a time slot where it does not harm the configuration.

or at very bottom end you may place XCF in EXTEST mode during the config or at some short time during config to prevent it to trasht the config.

so it may be doable but may take several weeks to work it out

Antti

Reply to
Antti

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.