Hi
I am getting the below errors for the code which i have attched in the below link, am not able to resolve the it when i was debugging in the android sdk could ne body pls help me
code link:
http://www.ftdichip.com/Drivers/D2XX/D2XXSample/D2XXSample.zip
Errors:
11-24 10:40:54.462: ERROR/AndroidRuntime(330): at com.ftdi.d2xx.D2XXSampleActivity.onCreate(D2XXSampleActivity.java:38)
11-24 10:40:54.462: ERROR/AndroidRuntime(330): at com.ftdi.D2xx.<clinit>(D2xx.java:28)
D2xx.setVIDPID(0x0403, 0xada1);
System.load("/data/data/com.ftdi.d2xx/libftd2xx-jni.so");
Kindly do the needful as soon as possible as am running out of time,
Srinivasan S
mail id: srinivasan.rns@gmail.com
Greetings Srinivasan S,
I am looking for documentation about using the serial port to control a microprocessor, however I cant find anything about it. Since If I am understanding your post correctly you were trying to have two serial connections available. How do one get the standard UART port to send and receive commands? I am also using android 2.3 (Adeneo) and I am totally stuck.
Needing a serial terminal in Android and then I need to get the communication working?
If you have the time to explain a little to me or just point me in the right direction would be very appreciated!
Best Regards
Carl I.
Thanks for your response,
It is an application where, since only one serial port is avaiable on IMX, so i require one more serial port for my application using IMX53 QSB, so i need to convert exisiting USB port (with the prebuilt Android 2.3.3 image for IMX) on IMX53 to serial (UART) via D2XXSample.zip.
As FTDI has developed a port of the D2XX driver for the Android OS. This includes the native D2XX library(for converting USB to serial using USB to serial converter cable), but in the case of Android also includes Java native interface code and a Java class to allow the driver to be easily accessed from an Android application.
I have attached the document for how to make use of FTDI's Android D2xx Driver pdf for USB to serial port conversion
Could you please do this FTDI testing on IMX535 QSB (with the prebuilt Android 2.3.3 image for IMX)
And,I have installed the lib for which my application is looking for, but i feel i have sme problem in JNI part of the D2XXSample.zip, so could u pls make the changes in the D2XXSample.zip in such way that this compiles & works fine w.r.t the IMX53 QSB(with the prebuilt Android 2.3.3 image for IMX)
Kindly do the needful as soon as possible,
Awaiting for your reply,
Advance Thanks,
Srinivasan S
mail id: srinivasan.rns@gmail.com
Srinivasan,
I am trudging down your footsteps....trying to do the exact same thing. (Running Android R10.4) and trying to get the D2XX FTDI driver and sample code functioning on the Mx platform.
If you got this working - can you PLEASE please PLEASE forward me the steps you took to obtain functionality?
I would be most indebted (I'd owe you one :smileyhappy: )
Thanks,
Mike
is it an application you´ve been working on? What is it goal?
Have you installed the lib your application is looking for?