FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > FPGA

FPGA comp.arch.fpga newsgroup (usenet)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-26-2009, 09:49 PM
Gabor
Guest
 
Posts: n/a
Default Lattice Universal File Writer - command line problems

Has anyone else here used the "Universal File Writer" to merge
bitstreams?

I have a project that loads two ECP2 devices from one SPI flash, so I
need
to create the merged file. The problem is that the UFW GUI has no
option
to save my settings, so each time I change either project I need to re-
browse
to my bitstreams, and output file, as well as change all the required
settings (bitstream output type, CCLK frequency, etc.). Needless to
say this is a bit of a pain, and it could become more so if someone
else
ever needs to update the project (including me if it is long enough
from now that I don't remember all the settings).

So my thought was to look up how to run the UFW from the command
line and make a batch file. The problem is that my command line
causes the UFW to crash (an error has occurred, do you want to
tell Microsoft about it, etc.). Here's my command line:

<tools_path>\ispUFW.exe -if "<fpga1>.bit" "<fpga2>.bit" -oft -merge -
of "<merged>.mcs" -format intel -frequency 34 -merge_format
intelligent

Filenames have been changed to protect the innocent

When I attempt to run it I get a log file before the crash, but it
only seems
to get as far as loading the first bitstream, or perhaps only reading
the
command line parameters:

Lattice Semiconductor Corporation
Universal File Writer V2.44

Tue Jun 23 08:48:11 2009 Generating Bitstream.....
Tue Jun 23 08:48:11 2009 Reading Input File: <fpga1>.bit
Tue Jun 23 08:48:11 2009 Merge Format: Intelligent

I'm using ispLever 7.0

I tried using complete paths and relative paths to the files with no
change in the outcome

Any help would be appreciated.

Regards,
Gabor
Reply With Quote
  #2 (permalink)  
Old 06-27-2009, 07:47 AM
Antti.Lukats@googlemail.com
Guest
 
Posts: n/a
Default Re: Lattice Universal File Writer - command line problems

On Jun 26, 10:49*pm, Gabor <ga...@alacron.com> wrote:
> Has anyone else here used the "Universal File Writer" to merge
> bitstreams?
>
> I have a project that loads two ECP2 devices from one SPI flash, so I
> need
> to create the merged file. *The problem is that the UFW GUI has no
> option
> to save my settings, so each time I change either project I need to re-
> browse
> to my bitstreams, and output file, as well as change all the required
> settings (bitstream output type, CCLK frequency, etc.). *Needless to
> say this is a bit of a pain, and it could become more so if someone
> else
> ever needs to update the project (including me if it is long enough
> from now that I don't remember all the settings).
>
> So my thought was to look up how to run the UFW from the command
> line and make a batch file. *The problem is that my command line
> causes the UFW to crash (an error has occurred, do you want to
> tell Microsoft about it, etc.). *Here's my command line:
>
> <tools_path>\ispUFW.exe -if "<fpga1>.bit" "<fpga2>.bit" -oft -merge -
> of "<merged>.mcs" -format intel -frequency 34 -merge_format
> intelligent
>
> Filenames have been changed to protect the innocent
>
> When I attempt to run it I get a log file before the crash, but it
> only seems
> to get as far as loading the first bitstream, or perhaps only reading
> the
> command line parameters:
>
> * * * * * * * * * * * * Lattice Semiconductor Corporation
> * * * * * * * * * * * * Universal File Writer V2.44
>
> Tue Jun 23 08:48:11 2009 *Generating Bitstream.....
> Tue Jun 23 08:48:11 2009 *Reading Input File: <fpga1>.bit
> Tue Jun 23 08:48:11 2009 *Merge Format: Intelligent
>
> I'm using ispLever 7.0
>
> I tried using complete paths and relative paths to the files with no
> change in the outcome
>
> Any help would be appreciated.
>
> Regards,
> Gabor


write your own merge tool, its less time than troubleshooting vendor
tools that crash

Antti
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing verilog Input File as a command line define SB Verilog 4 01-18-2008 08:25 AM
Problems with the linker command file gutta DSP 2 11-17-2007 05:00 AM
32 bit integer WAV file writer? Mikial Chubarov DSP 24 09-28-2007 07:19 PM
Running M-File from Command Line? Randy Yates DSP 4 09-29-2004 01:55 AM
Problems about Using Xilinx Command Line ! Yang-Tzu FPGA 2 06-13-2004 04:04 AM


All times are GMT +1. The time now is 03:54 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved