<div>$B:486$G$9!#(B</div>
<div> </div>
<div>$B!!%I%i%$%P!<$N@bL@!"$"$j$,$H$&$4$6$$$^$9!#M}2r$,?<$^$j$^$7$?!#(B<br><br>$B!!(BD2xx$B4X?t(BFT_Write() $B$+$i(B libFTDI$B4X?t(Bftdi_write_data()$B$X$NJQ99$G$9$,!"(B</div>
<div>$B!!(BArmadillo500FX <-> FT2232H <-> CPU $B$H$$$&@\B3$K$F!"(B</div>
<div>$B!!(BD2xx$B$N(BMCU Host Bus Emulation Mode $B$r;H$$$?$$$G$9!#(B</div>
<div>$B!!(BlibFTDI$B$G$bF1$8$h$&$K$G$-$^$9$G$7$g$&$+!)(B</div>
<div> </div>
<div> </div>
<div> </div>
<div class="gmail_quote">
<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>> 1. libusb$B$N%/%m%9HG$r:n@.(B&$B%$%s%9%H!<%k(B<br>> 2. libftdi Version 0.17$B$r(Barm$B%/%m%9MQ$K(Bmake&$B%$%s%9%H!<%k(B<br>> 3. $B<+J,$N%"%W%j$r(Bmake<br>>   $B%j%s%/;~$N%*%W%7%g%s$K(B-lftdi$B$r$D$1$l$P$$$$$O$:!#(B<br>><br>> $B$=$7$F(B<br>> 3.$B$G<+J,$N%"%W%j$r(Bmake$B$7$?$N$G$9$,!":G=i$HF1$8%(%i!<$K$J$j$^$7$?!#(B<br>
> $B85$N%j%s%/!!(B-lftdi2xx $B$r%3%a%s%H%"%&%H$7!"(B-lftdiusb $B$KJQ99$7$?$N$G$9$,!"(B<br>> $B%j%s%/$N%*%W%7%g%s@_Dj$,4V0c$C$F$$$^$9$G$7$g$&$+!#!!(B<br><br></div>FT2232H$B$KBP1~$7$?%i%$%V%i%j$O(B2$B<oN`$"$j$^$9!#(B<br><br>1. D2xx<br>2. libFTDI<br><br>1.$B$O(BFTDI$B$,8x3+$7$F$$$k8x<0HG$N%i%$%V%i%j$G$9!#(Bx86$BMQ$N%P%$%J%j$N$_G[I[$7(B<br>$B$F$$$k$?$a(Barm$B$G$O;HMQ$G$-$J$$$h$&$G$9!#(B2.$B$O%*!<%W%s%=!<%9%i%$%V%i%j$G(B<br>
$B$9!#%=!<%9$,8x3+$5$l$F$$$k$?$a!"(Barm$BMQ$K%S%k%I2DG=$G$9!#(B<br><br>1.$B$H(B2.$B$G$O!"$=$l$>$l4X?t$K8_49@-$,L5$$$h$&$G$9!#%(%i!<%m%0$K=P$F$$$k(B<br>FT_Write()$B$O(BD2xx$BMQ$N4X?t$J$N$G!";HMQ$9$k$3$H$,$G$-$^$;$s!#(B<br><br>$B0J2<$N%3%^%s%I$rF~NO$9$k$H!"(BlibFTDI$B$K(BFT_Write()$B$,4^$^$l$F$$$J$$$3$H$,$o(B<br>$B$+$k$H;W$$$^$9!#(B<br>[ATDE2]$ wget<br>
<div class="im"><a href="http://www.intra2net.com/en/developer/libftdi/download/libftdi-0.17.tar.gz" target="_blank">http://www.intra2net.com/en/developer/libftdi/download/libftdi-0.17.tar.gz</a><br></div>[ATDE2]$ tar zxvf libftdi-0.17.tar.gz<br>
[ATDE2]$ cd libftdi-0.17<br>[ATDE2]$ grep -r FT_Write .<br><br>libFTDI$B$r;HMQ$9$k>l9g!"(BFT_Write()$B$O(Bftdi_write_data()$B$GBeMQ$9$k$3$H$,$G$-(B<br>$B$k$H;W$$$^$9$,$$$+$,$G$7$g$&$+!)(B<br><br>$B0J>e$G$9!#(B<br>
<div>
<div></div>
<div class="h5"><br>> Makefile$B$NFbMF(B<br>> $B$3$3$+$i(B<br>> # ROOTDIR=/usr/src/atmark-dist-20100310<br>> ifndef ROOTDIR<br>> ROOTDIR ?= ../atmark-dist-20100310<br>> endif<br>> ROMFSDIR =$(ROOTDIR)/romfs<br>> ROMFSINST= romfs-inst.sh<br>
> PATH     := $(PATH):$(ROOTDIR)/tools<br>> UCLINUX_BUILD_USER = 1<br>> include $(ROOTDIR)/.config<br>> LIBCDIR = $(CONFIG_LIBCDIR)<br>> include $(ROOTDIR)/config.arch<br>> EXEC = test<br>> OBJS = test.o<br>
> all: $(EXEC)<br>> $(EXEC): $(OBJS)<br>> # $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LDLIBS) -lftd2xx<br>>  $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LDLIBS) -lftdi<br>> clean:<br>>  -rm -f $(EXEC) *.elf *.gdb *.o *~<br>
> romfs:<br>>  $(ROMFSINST) /bin/$(EXEC)<br>> %.o: %.c<br>>  $(CC) -c $(CFLAGS) -o $@ $<<br>> $B$3$3$^$G!#(B<br>><br>> $B%(%i!<$O!":G=i$H0J2<$N$h$&$K0l=o$G$9!#(B<br></div></div>> atmark@atde:~/test$ <mailto:<a href="mailto:atmark@atde">atmark@atde</a>:~/test$> make<br>

<div class="im">> arm-linux-gnu-gcc    -L../atmark-dist-20100310/lib -o test test.o -lc<br>> -lgcc  -lftdi<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>> test.o: In function `ae2_write_decb':<br>> test.c:(.text+0x1b8): undefined reference to `FT_Write'<br>> test.c:(.text+0x1e4): undefined reference to `FT_Write'<br>
> $B!'>e5-$HF1$87+$jJV$7(B<br>> collect2: ld returned 1 exit status<br>> make: *** [test] $B%(%i!<(B 1<br></div>> atmark@atde:~/test$ <mailto:<a href="mailto:atmark@atde">atmark@atde</a>:~/test$><br>
<div>
<div></div>
<div class="h5"><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>
</div></div></blockquote></div><br>