<div>$B:486$G$9!#$*JV;v$"$j$,$H$&$4$6$$$^$9!#J8Cf$K$F!#(B<br></div>
<div class="gmail_quote">2010$BG/(B4$B7n(B27$BF|(B17:01 mizo <span dir="ltr"><<a href="mailto:mizo@atmark-techno.com">mizo@atmark-techno.com</a>></span>:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">$B9B^<$G$9!#(B<br>
<div class="im"><br>$B:486BsLi(B wrote:<br>> $B:486$H8@$$$^$9!#(BLinux$B=i?4<T$G$9!#(B<br>><br>> Armadillo-500FX$B$K$F!"(BFTDI USB$B%I%i%$%P!J%i%$%V%i%j!K$rF0:n$5$;$h$&$H(B<br>> $BJ3F.Cf$G$9!#(B<br>> $B@\B34D6-(B<br>> Armadillo-500FX <--- USB cable ---> FTDI FT2232H(USB) <---> CPU<br>
><br>> Out of Tree $B%3%s%Q%$%k$K$F!"(BFTDI USB$B%W%m%0%i%`$rF0:n$5$;$h$&;n$_$F$^$9!#(B<br><br></div>$B%S%k%I$7$J$/$F$b!"(Bdebian$B$N%Q%C%1!<%8$K$"$k(Blibftdi0$B$GF0$$$?$j$7$^$;$s$+!)(B<br><br>[debian package: libftdi0]<br><a href="http://packages.debian.org/etch/arm/libftdi0/download" target="_blank">http://packages.debian.org/etch/arm/libftdi0/download</a><br>
<br>[HOWTO: $B%/%m%93+H/MQ%i%$%V%i%j$r%$%s%9%H!<%k$9$kJ}K!(B]<br><a href="http://armadillo.atmark-techno.com/howto/install-cross-libraries" target="_blank">http://armadillo.atmark-techno.com/howto/install-cross-libraries</a><br>
<div class="im"><br></div></blockquote>
<div> </div>
<div>debian$B%Q%C%1!<%8$K$"$k$N$G$9$M!#(B</div>
<div>$BAaB.%@%&%s%m!<%I$7$F;n$7$^$7$?$,!#(B</div>
<div> </div>
<div><a href="mailto:sahara@debian:~$">sahara@debian:~$</a> dpkg-cross -b -aarm libftdi0_0.7-3_arm.deb <br>dpkg-cross: Too few arguments.</div>
<div> </div>
<div>$B%3%^%s%I$N0z?t$,0c$C$F$$$^$9$G$7$g$&$+!)(B</div>
<div> </div>
<div> </div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">> $B%G%#%l%/%H%j$K(BC$B%=!<%9%3!<%I(B(souce.c)$B$H%X%C%@%U%!%$%k(B(ftd2xx.h)$B$r$$$l!"(B<br>> make$B$9$k$H0J2<$N%(%i!<$,=P$^$9!#(B<br>> arm-linux-gcc   -L../atmark-dist-20100310/lib -o test test.o -lc -lgcc<br>> test.o: In function `ae2_write_ana':<br>
> test.c:(.text+0x40): undefined reference to `FT_Write'<br>> test.c:(.text+0x6c): undefined reference to `FT_Write'<br>> $B!'(B<br>> $BCfN,!!>e5-F1MM$N%(%i!<FbMF$,$:$i$C$H$G$^$9!#(B<br>> $B!'(B<br>> collect2: ld returned 1 exit status<br>
> make: *** [test] $B%(%i!<(B 1<br>><br>> $B$H=P$^$9!#(B<br>><br>> $B#1!K%i%$%V%i%j$,%j%s%/$5$l$F$$$J$$$+$i$@$H;W$&$N$G$9$,!"%/%m%9%3%s%Q%$%k(B<br>> $B$9$k>l9g!"(B<br>> $B%i%$%V%i%j$r$I$N$h$&$K%j%s%/$9$k$+65$($FD:$-$?$$$G$9!#(B<br><br></div>$B%i%$%V%i%j$N8!:wBP>]$N%G%#%l%/%H%j$K$"$k%i%$%V%i%j$r%j%s%/$7$^$9!#(B<br>/usr/arm-linux-gnu/lib/$B$J$I$G$9!#(B<br>
<br>ftd2xx$B$N%i%$%V%i%j$O$I$3$KCV$-$^$7$?$+!)(B<br><br></blockquote>
<div>$BCV$->l=j$,$o$+$i$J$+$C$?$N$G!"CV$$$F$$$^$;$s$G$7$?!#(B</div>
<div>$BAaB.$*$-$^$7$?!#(B</div>
<div> </div>
<div>debian:/usr/arm-linux-gnu/lib# ls -l libftd*<br>-rwxr-xr-x 1 root root 294267 2010-04-27 17:35 libftd2xx.so.0.4.16<br></div>
<div> </div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">> $B6qBNE*$K$OK\J8$N:G8e$K$"$j$^$9!"(BDebian Linux$B$G%i%$%V%i%j$r%$%s%9%H!<%k(B<br>
<div class="im">> $B$7$?$3$H$r(B<br>> $B%/%m%9%3%s%Q%$%k$G$b$9$kI,MW$,$"$k$H;W$$$^$9$,J}K!$,$h$/$o$+$j$^$;$s!#(B<br>><br>> $B#2!K9g$o$;$F!"(BMakefile $B$N(Bgcc$B%*%W%7%g%s$rDI2C$9$kI,MW$,$"$k$H;W$$$^$9$,!"(B<br>> $B%*%W%7%g%s$N=q$-J}$,$h$/$o$+$j$^$;$s!#(B<br><br></div>arm-linux-gnu-gcc$B$N%*%W%7%g%s$K!"(B<br>-lftd2xx<br>$B$rIU$1$k$H$I$&$J$j$^$9$+!)(B<br>

<div>
<div></div>
<div class="h5"> </div></div></blockquote>
<div> </div>
<div>$B!!%Q%C%1!<%8$r%$%s%9%H!<%k$7$F$$$J$$>uBV$G;n$7$^$7$?$,!"0J2<$N$h$&$K$J$j$^$7$?!#(B</div>
<div>$B!!%Q%C%1!<%8$r%$%s%9%H!<%k$9$l$P2r7h$5$l$^$9$G$7$g$&$+!#(B</div>
<div> </div>
<div><a href="mailto:sahara@debian:~/test$">sahara@debian:~/test$</a> make<br>arm-linux-gcc    -L../atmark-dist-20100310/lib -o test test.o -lc -lgcc  -lftd2xx<br>/usr/lib/gcc/arm-linux-gnu/4.1.2/../../../../arm-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/arm-linux-gnu/4.1.2/../../../../arm-linux-gnu/lib/libftd2xx.so when searching for -lftd2xx<br>
/usr/lib/gcc/arm-linux-gnu/4.1.2/../../../../arm-linux-gnu/bin/ld: skipping incompatible /usr/arm-linux-gnu/lib/libftd2xx.so when searching for -lftd2xx<br>/usr/lib/gcc/arm-linux-gnu/4.1.2/../../../../arm-linux-gnu/bin/ld: cannot find -lftd2xx<br>
collect2: ld returned 1 exit status<br>make: *** [test] $B%(%i!<(B 1</div>
<div> </div>
<div> </div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div class="h5">> $BAH9~$G$J$/!"(BDebian Linux$B$G$O%W%m%0%i%`$,F0:n$7$F$$$k$3$H$O3NG'$7$^$7$?!#(B<br>> $B0J2<!"(BFTDI USB$B$N(BMakefile$B!"(BRules.make$B!"(BReadme.dat$B!!$G$9!#(B<br>><br>> $B!;(BMakefile<br>><br>> TOPDIR  := $(shell cd ..; pwd)<br>> include $(TOPDIR)/Rules.make<br>
> APP = test<br>> all: $(APP)<br>> $(APP): main.c<br>>  $(CC) -o $(APP) $(CFLAGS) main.c<br>>  clean:<br>>  rm -f *.o ; rm $(APP)<br>><br>> $B!;(BRules.make<br>><br>> CC=gcc<br>> CFLAGS=-L. -lftd2xx -Wl,-rpath /usr/local/lib<br>
> $B!;(BFTDI USB$B%I%i%$%P!<!J%i%$%V%i%j!K$N%$%s%9%H!<%k(B(Readme.dat)<br>><br>> Instructions for installing the d2xx shared lib<br>> As Linux distributions vary these instructions are a guide to<br>> installation and use.<br>> This setup works with Mandrake 9.2 but may require some investigation on<br>
> other distributions.<br>> This library has been tested using kernel 2.4.25.<br>> D2XX documentation is available for the Windows dll - some variations<br>> may occur between linux and<br>> windows implementation. We have endevoured to make the APIs appear the<br>
> same on both platforms however some<br>> issues may slip and we would appreciate that you contact support if you<br>> observe this.<br>> D2XX for linux was primarily developed to aid porting windows<br>> applications written with D2XX to linux.<br>
> Unfortunately the source code for D2XX is not freely available - however<br>> if you prefer to have the<br>> source and are starting a project from scratch you can try libftdi from<br>> Thomas Jarosch.<br>> Details of this library are on the ftdi web site.<br>
><br>> libftd2xx uses an unmodified version of libusb<br>> (<a href="http://libusb.wiki.sourceforge.net/" target="_blank">http://libusb.wiki.sourceforge.net/</a>).<br>> Source code for libusb is included in the driver distribution in the<br>
> libusb-0.1.12 directory.<br>><br>> Installation:<br>> 1. unzip and untar the file given to a suitable directory<br>> gunzip libftd2xx0.4.12.tar.gz<br>> tar -xvf libftd2xx0.4.12.tar<br>> 2. As root user copy the following files to /usr/local/lib<br>
> cp libftd2xx.so.0.4.12 /usr/local/lib<br>> 3. Change directory to /usr/local/lib<br>> cd /usr/local/lib<br>> 4. make symbolic links to these files using the following commands:<br>> ln -s libftd2xx.so.0.4.12 libftd2xx.so<br>
> 5. Change directory to /usr/lib<br>> cd /usr/lib<br>> 6. make symbolic links to these files using the following commands:<br>> ln -s /usr/local/lib/libftd2xx.so.0.4.12 libftd2xx.so<br>> 7. Add the following line to /etc/fstab:<br>
> none /proc/bus/usb usbdevfs defaults,devmode=0666 0 0<br>> There have been reports that you may need to use the following command<br>> for some distros<br>> none /proc/bus/usb usbdevfs defaults,mode=0666 0 0 (use usbfs in 2.6<br>
> kernels)<br>> 8. Remount all in the fstab file<br>> mount -a<br>> If you have problems with this check with usbview (search on the<br>> internet for application<br>> or it can be sent to you by ftdi) to check the usb file system is<br>
> mounted properly.<br>> Other problems will be related to the ftdi_sio driver loading -<br>> 1.you must unload this driver (and usbserial) if it is attached to your<br>> device ("rmmod ftdi_sio" and "rmmod usbserial"as root user).<br>
> 2.Your PID/VID has not been included in the distribution.A PID of 0x6006<br>> and VID of<br>> 0x0403 should work as a temporary workaround.<br>><br>><br></div></div>> ------------------------------------------------------------------------<br>
><br>> _______________________________________________<br>> armadillo mailing list<br>> <a href="mailto:armadillo@lists.atmark-techno.com">armadillo@lists.atmark-techno.com</a><br>> <a href="http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo" target="_blank">http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo</a><br>
<br>_______________________________________________<br>armadillo mailing list<br><a href="mailto:armadillo@lists.atmark-techno.com">armadillo@lists.atmark-techno.com</a><br><a href="http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo" target="_blank">http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>$B(#(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!($(B<br>$B!!:486(B $BBsLi(B  <br>$B!!%d%^%O3t<02q<R!!8&5f3+H/%;%s%?!<(B<br>$B!!")(B438-0192 $B@E2,8)HXED;T>>%NLZEg(B203<br> $B!!(BTel.0539-62-6448 $B!!(BFax.0539-63-5263<br> $B!!(BE-mail$B!'(B<a href="mailto:takuya_sahara@gmx.yamaha.com">takuya_sahara@gmx.yamaha.com</a>$B!!!!!!!!(B<br>
$B(&(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(%(B<br>