JNI issues fx2lp Cy64713

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

We manufacture our own hardware in house and we are using the cy64713 chip FX2LP. We have sofware developed for windows and mac. The softwae is written in java. We have created a JNI written in cpp that works with a java interface. I am having issues with the jni specifically in the writeUSB function. Currently we are using the IOKit, CoreFoundation, CoreServices, and the JNI.h thats located at  

   

 

   

/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/include

   

and 

   

/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/include/darwin

   

   

We are using Netbeans. I would love any advice on how to re write this code using libusb that cypress has shown in the SDK. I downloaded the FX3_SDK_MacOS_v1.3.3 and have been reading through the doc's. 

   

 

   

We do not sell any of this software so i can show you source code etc... 

   

This is the error dumb im getting... 

   

http://pastebin.com/BbgK796a​

   

JNI code here

   

https://bitbucket.org/snippets/partialdata/6L69r/ucs30interfacejni

   

Their must be an easier way to communicate with our hardware with a better JNI using libusb. I would utlimatly like to use a hid device not sure how to do that either so its cross platform. 

0 Likes
2 Replies
AjayB_76
Moderator
Moderator
Moderator
100 sign-ins 10 questions asked 5 questions asked

Hi,

   

I presume you are interacting with our engineers in a technical support case. we will keep the communication going in the case. 

   
        
0 Likes
Anonymous
Not applicable

Yes thank you!

0 Likes