2 Replies Latest reply on Nov 24, 2015 6:50 AM by summey

    JNI issues fx2lp Cy64713

    summey

      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.