Strona 1 z 1

phoenix artysat usb - instalacja

: 11 gru 2014, 20:52
autor: roxman
Witam mam pytanko może ktoś podpowiedzieć mi łopatologicznie jak zainstalować sterowniki z tej stronki http://instrukcja.pl/kategorie/artysat do 64 bitowego ubuntu ?
Nie wychodzi mi instalacja według instrukcji w pliku pewnie do starszego ubuntu pisany zainstalowany mam 14.10. Będę bardzo wdzięczny za pomoc.

Re: phoenix artysat usb - instalacja

: 11 gru 2014, 21:07
autor: igotit4free
Podaj konkretne informacje, jakie wykonujesz komendy, jakie konkretnie błędy i na jakim etapie się pojawiają.

Re: phoenix artysat usb - instalacja

: 11 gru 2014, 21:10
autor: roxman
korzystam z tej instrukcji i zgłasza mi błędy w kompilacji nie morze wykonać instrukcji a potrzebuje tylko zainstalować virtualny com aby moc komunikować się z programatorem poprzez usb

Installing the D2XX shared library and static library.
------------------------------------------------------

1. tar xfvz libftd2xx1.1.12.tar.gz

This unpacks the archive, creating the following directory structure:

build
arm926
i386
x86_64
examples
libusb
ftd2xx.h
WinTypes.h

2. cd build/arm926

3. sudo -s
or, if sudo is not available on your system:
su

Promotes you to super-user, with installation privileges. If you're
already root, then step 3 (and step 7) is not necessary.

4. cp lib* /usr/local/lib

Copies the libraries to a central location.

5. chmod 0755 /usr/local/lib/libftd2xx.so.1.1.12

Allows non-root access to the shared object.

6. ln -sf /usr/local/lib/libftd2xx.so.1.1.12 /usr/local/lib/libftd2xx.so

Creates a symbolic link to the 1.1.12 version of the shared object.

7. exit

Ends your super-user session.



Building the shared-object examples.
------------------------------------

1. cd examples

2. make -B

This builds all the shared-object examples in subdirectories.

With an FTDI device connected to a USB port, try one of the
examples, e.g. reading EEPROM.

3. cd EEPROM/read

4. sudo ./read

If the message "FT_Open failed" appears:
Perhaps the kernel automatically loaded another driver for the
FTDI USB device.

sudo lsmod

If "ftdi_sio" is listed:
Unload it (and its helper module, usbserial), as follows.

sudo rmmod ftdi_sio
sudo rmmod usbserial

Otherwise, it's possible that libftd2xx does not recognise your
device's Vendor and Product Identifiers. Call FT_SetVIDPID before
calling FT_Open/FT_OpenEx/FT_ListDevices.



Building the static-library example.
------------------------------------

1. cd examples/static

2. rm lib*

Cleans out any existing libraries built for another target.

3. cp /usr/local/lib/libftd2xx.a .

4. make -B

5. sudo ./static_link

This example demonstrates writing to, and reading from, a device with
a loop-back connector attached.



The examples show how to call a small subset of the D2XX API. The full
API is available here:
http://www.ftdichip.com/Support/Documen ... 00071).pdf

Re: phoenix artysat usb - instalacja

: 11 gru 2014, 21:22
autor: igotit4free
W twoim poście nie widzę ani jednego komunikatu błędu.

Re: phoenix artysat usb - instalacja

: 11 gru 2014, 21:34
autor: roxman
root@home-P55A-UD6-C:~/Pobrane/release/build/arm926# cp lib* /usr/local/lib
cp: katalog „libusb” został pominięty

root@home-P55A-UD6-C:~/Pobrane/release/examples# make -B
for n in BitMode EEPROM/erase EEPROM/read EEPROM/write EEPROM/user/read EEPROM/user/size EEPROM/user/write Events LargeRead MultiThread SetVIDPID Simple Timeouts ; do make -C $n || exit 1; done
make[1]: Wejście do katalogu '/home/home/Pobrane/release/examples/BitMode'
gcc main.c -o bitmode -Wall -Wextra -L. -lftd2xx -Wl,-rpath /usr/local/lib
/usr/bin/ld: skipping incompatible /usr/local/lib/libftd2xx.so when searching for -lftd2xx
/usr/bin/ld: skipping incompatible /usr/local/lib/libftd2xx.a when searching for -lftd2xx
/usr/bin/ld: cannot find -lftd2xx
collect2: error: ld returned 1 exit status
Makefile:9: polecenia dla obiektu 'bitmode' nie powiodły się
make[1]: *** [bitmode] Błąd 1
make[1]: Opuszczenie katalogu '/home/home/Pobrane/release/examples/BitMode'
Makefile:11: polecenia dla obiektu 'subdirs' nie powiodły się
make: *** [subdirs] Błąd 1