OpenCores
URL https://opencores.org/ocsvn/gecko3/gecko3/trunk

Subversion Repositories gecko3

[/] [gecko3/] [trunk/] [GECKO3COM/] [gecko3com-fw/] [gecko3-util/] [README] - Blame information for rev 36

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 9 nussgipfel
gecko3-util
2
 
3
Copyright (C) 2008 by
4
   ___    ____  _   _
5
  (  _`\ (  __)( ) ( )
6
  | (_) )| (_  | |_| |   Berne University of Applied Sciences
7
  |  _ <'|  _) |  _  |   School of Engineering and
8
  | (_) )| |   | | | |   Information Technology
9
  (____/'(_)   (_) (_)
10
 
11
Simple small helper tool for GECKO3COM
12
 
13
  With this tool you can set the serial number, hw revision
14
  and FPGA type of a GECKO3COM driven device.
15
  mainly this is the GECKO3main but the firmware could be
16
  used on other boards.
17
 
18
  Warning: This tool does only work on little endian machines!
19
 
20
Usage: gecko3-util [options] ...
21
  -h --help                     Print this help message
22
  -V --version                  Print the version number
23
  -v --verbose
24
  -d --device vendor:product    Specify Vendor/Product ID of GECKO3COM device
25
  -t --transfer-size            Specify the number of bytes per USB Transfer
26
  -s --set-serial               Write the Serial Number. Expects a String as argument
27
  -r --set-hw-rev               Write the Hardware Revision. Only one digit
28
  -f --set-fpga-type            Write the FPGA type. Formated as ASCII String
29
  -i --set-fpga-idcode          Write the FPGA JTAG IDCODE. This is a 32bit Integer value
30
 
31
Example:
32
  GECKO3main, first version, with a Spartan3 with 4 Mio. gates and the serial number 36:
33
  gecko3-util --set-hw-rev 0 --set-fpga-type 3s4000fg676 --set-fpga-idcode 0x01448093 --set-serial 36
34
 
35
Installation:
36
  To build the tool type "make" in the gecko3-util folder. The libusb header
37
  files have to be installed for this.
38
 
39
  There is also a installation rule in the Makefile which copies the
40
  gecko3-util to "/usr/local/bin". For this type as usual "make install" in the
41
  gecko3-util folder.
42
 
43
 
44
 
45
Christoph Zimmermann bfh.ch
46
2009-1-26
47
 
48
Changelog:
49
Version 1.1 22. September 2009:
50
Corrected two bugs.
51
- The gecko3-util wrongly counted some hubs as GECKO3COM devices.
52
- After the --device option no argument was allowed (segmentation fault)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.