create JAM-File for Xilinx device

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
Hi there

i'm currently trying to configure Alteras JAM Player for a Mitsubishi
M16 Controller to program multi vendor device JTAG chains. Input files
are either *.jam (JAM file) or *.jbc (JAM-ByteCode file).
Is there a (preferably free) Xilinx tool to produce either one of
these file types? Where can i download the tool?

Re: create JAM-File for Xilinx device
snipped-for-privacy@case2000.com (Antti Lukats) wrote in message
Quoted text here. Click to load it

Are there any required patches somewhere for download? Or do i have to
write my own one?

Re: create JAM-File for Xilinx device
: snipped-for-privacy@case2000.com (Antti Lukats) wrote in message
:> impact generates JAM files, well called STAPL but it is the same thing.
:> there are some problems though most of the files generates will not
:> work with non-patched JAM player :(
:>
:> antti

: Are there any required patches somewhere for download? Or do i have to
: write my own one?

I needed to remove whitespaces:
--- source.orig/jamexec.c       Mon Nov 13 18:58:26 2000
+++ source/jamexec.c    Tue Dec  3 22:05:25 2002
@@ -816,6 +816,23 @@
        long *long_ptr = NULL;
        JAM_RETURN_TYPE status = JAMC_SUCCESS;
 
+       /* remove all white space */
+       while (statement_buffer[in_index] != JAMC_NULL_CHAR)
+       {
+               if ((!jam_isspace(statement_buffer[in_index])) &&
+                       (statement_buffer[in_index] != JAMC_TAB_CHAR) &&
+                       (statement_buffer[in_index] != JAMC_RETURN_CHAR) &&
+                       (statement_buffer[in_index] != JAMC_NEWLINE_CHAR))
+               {
+                       statement_buffer[out_index] = statement_buffer[in_index];
+                       ++out_index;
+               }
+               ++in_index;
+       }
+       statement_buffer[out_index] = JAMC_NULL_CHAR;
+       in_index = 0;
+       out_index = 0;
+
        while ((status == JAMC_SUCCESS) &&
                ((ch = statement_buffer[in_index]) != ''))
        {

--
Uwe Bonnes                 snipped-for-privacy@elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
We've slightly trimmed the long signature. Click to see the full one.
Re: create JAM-File for Xilinx device
The JEDEC standard name for "Jam" is "STAPL".
If you download the very latest Altera STAPL interpreter, it will
support JEDEC standard STAPL files without issue
Earlier versions only supported Altera proprietary formats.

Antti Lukats wrote:

Quoted text here. Click to load it


Site Timeline