FPGARelated.com
Forums

Open-source JTAG software?

Started by Evan Lavelle August 16, 2006
Does anyone know of any open-source software which will program an
XCF04S (Xilinx serial PROM) on JTAG? It also needs to issue a CONFIG
command to start configuration.

Thanks -

Evan
Evan Lavelle schrieb:
> Does anyone know of any open-source software which will program an > XCF04S (Xilinx serial PROM) on JTAG? It also needs to issue a CONFIG > command to start configuration.
JDrive should do the job: http://direct.xilinx.com/bvdocs/appnotes/xapp500.pdf You can also check what algorithms openwince supports: http://openwince.sourceforge.net/jtag/ Kolja Sulimma
On Wed, 16 Aug 2006 18:07:50 +0200, Kolja Sulimma <news@sulimma.de>
wrote:

>JDrive should do the job: >http://direct.xilinx.com/bvdocs/appnotes/xapp500.pdf > >You can also check what algorithms openwince supports: >http://openwince.sourceforge.net/jtag/
thanks - looks good. Evan
Kolja Sulimma schrieb:

> Evan Lavelle schrieb: > > Does anyone know of any open-source software which will program an > > XCF04S (Xilinx serial PROM) on JTAG? It also needs to issue a CONFIG > > command to start configuration. > > JDrive should do the job: > http://direct.xilinx.com/bvdocs/appnotes/xapp500.pdf > > You can also check what algorithms openwince supports: > http://openwince.sourceforge.net/jtag/ > > Kolja Sulimma
1) JDrive does not support XCF ASFAIK 2) openwince defenetly does not support XCF the programming specs for XCFxx are not public! it is of course possible to program then from your own apps using your own software Antti
Antti wrote:
> Kolja Sulimma schrieb: > > > Evan Lavelle schrieb: > > > Does anyone know of any open-source software which will program an > > > XCF04S (Xilinx serial PROM) on JTAG? It also needs to issue a CONFIG > > > command to start configuration. > > > > JDrive should do the job: > > http://direct.xilinx.com/bvdocs/appnotes/xapp500.pdf > > > > You can also check what algorithms openwince supports: > > http://openwince.sourceforge.net/jtag/ > > > > Kolja Sulimma > > 1) JDrive does not support XCF ASFAIK > 2) openwince defenetly does not support XCF >
> the programming specs for XCFxx are not public!
This seems rather silly. A real product doesn't have a parallel IV (or any of the other Xilinx hardware) attached, nor does it have iMpact. Indeed, a large number of real soltuions probably don't have a 'standard' OS, yet we want to be able to program the device in-situ **in the field**. I looked around the Xilinx site just now and I admit I can't find a document that states 'to program the XCFxxx, issue a <command>, followed by <data+commands> and read <some status>. Of course, that's not saying much. Although they've got better, the Xilinx site search <understatement> still leaves something to be desired </understatement>. To do that requires the spec for programming the XCF configuration device. I guess I could fairly easily figure it out with a serial analyzer, but it would be nicer if Xilinx simply published the spec. Just think, people would *want* to use it because they can write their own software to program the device in-situ. Of course, that requires thought beyond the NDA boundary ;) Cheers PeteS
> it is of course possible to program then from your own apps using your > own software > > Antti
PeteS schrieb:

> Antti wrote: > > Kolja Sulimma schrieb: > > > > > Evan Lavelle schrieb: > > > > Does anyone know of any open-source software which will program an > > > > XCF04S (Xilinx serial PROM) on JTAG? It also needs to issue a CONFIG > > > > command to start configuration. > > > > > > JDrive should do the job: > > > http://direct.xilinx.com/bvdocs/appnotes/xapp500.pdf > > > > > > You can also check what algorithms openwince supports: > > > http://openwince.sourceforge.net/jtag/ > > > > > > Kolja Sulimma > > > > 1) JDrive does not support XCF ASFAIK > > 2) openwince defenetly does not support XCF > > > > > the programming specs for XCFxx are not public! > > This seems rather silly. A real product doesn't have a parallel IV (or > any of the other Xilinx hardware) attached, nor does it have iMpact. > Indeed, a large number of real soltuions probably don't have a > 'standard' OS, yet we want to be able to program the device in-situ > **in the field**. > > I looked around the Xilinx site just now and I admit I can't find a > document that states 'to program the XCFxxx, issue a <command>, > followed by <data+commands> and read <some status>. Of course, that's > not saying much. Although they've got better, the Xilinx site search > <understatement> still leaves something to be desired > </understatement>. > > To do that requires the spec for programming the XCF configuration > device. I guess I could fairly easily figure it out with a serial > analyzer, but it would be nicer if Xilinx simply published the spec. > Just think, people would *want* to use it because they can write their > own software to program the device in-situ. > > Of course, that requires thought beyond the NDA boundary ;) > > Cheers > > PeteS > > > > > it is of course possible to program then from your own apps using your > > own software > > > > Antti
Hi Pete, the amount of RE involved is rather minimal, the most stuff that is not known is relevant to XCFxxP devices only the XCFxxS have less thing to worry about. I have full working custom XCFxxP programming software - and gosht I had real headache getting it working. And dont look and dont ask - the specs are not available under NDA either. Just plain not available. Most of the stuff can be retrived from BSDL file, the rest you can retrive by looking at impact generated SVF - the rest is painful trial and error. Thats the only way todo it as official docs are not obtainable at all. Antti
Perhaps I am missing something, but I was going to program XCF parts with a
XSVF player as described in XAPP058....


/Mikhail


MM schrieb:

> Perhaps I am missing something, but I was going to program XCF parts with a > XSVF player as described in XAPP058.... > > > /Mikhail
this *MAY* work but have you looked how large is SVF file for XCF32P with verify on !? Antti
"Antti" <Antti.Lukats@xilant.com> wrote in message
news:1155755995.537746.86650@i42g2000cwa.googlegroups.com...
> > this *MAY* work > > but have you looked how large is SVF file for XCF32P with verify on !?
No, I haven't :) However, I only need to program XCF08P... So, what's the ratio of svf/bit size-wise? Also, I believe the whole point of xsvf is that it is substantially smaller than svf... So, really the question should be what's the ratio of xsvf/bit?... /Mikhail
Evan Lavelle <eml@nospam.uk> wrote:

>Does anyone know of any open-source software which will program an >XCF04S (Xilinx serial PROM) on JTAG? It also needs to issue a CONFIG >command to start configuration.
If you want to use this to make your own on-board programmer I strongly suggest to stay away from writing your own JTAG for programming Xilinx devices. Been there, won't go there again. JDrive looks nice, but it is a huge piece of software. You are probably better off using an SPI compatible flash like the M25P from SGS-Thomson (www.st.com). These are available with memory densities of 128Mb (16 megabytes) while having a very small footprint. In one of my designs I connected Dout from such a flash memory to the Din of an FPGA (thru an AND gate, so not all data is pumped into the fpga). The FPGA is programmed by simply reading the flash memory after activation the program pin. A 200kB configuration takes less than 2 seconds to load using a 6MHz microcontroller without DMA facilities. Another advantage is that you can use the SPI flash memory to store other stuff as well. -- Reply to nico@nctdevpuntnl (punt=.) Bedrijven en winkels vindt U op www.adresboekje.nl