jrmrjnck / ftcjtag

FTDI's JTAG Wrapper based on ftd2xx
Other
4 stars 4 forks source link

Does this code work on 64-bit linux #1

Open RobertHenry6bev opened 6 years ago

RobertHenry6bev commented 6 years ago

Does this code work on 64-bit linux? I'm suspecting not, due to compiler warnings about sizeof(Int) != sizeof(ptr).

Did you get this port to work on 32-bit linux?

jrmrjnck commented 6 years ago

It was a long time ago, but I'm pretty sure I had something working on 64-bit linux. As you said, the code in this repo doesn't quite work, so I'll dig around next week to see if there's more that I didn't push.

RobertHenry6bev commented 6 years ago

Thank you for checking/looking! I have found several other attempts to port the ftcjtag library to linux, none of which seem to have been "finished".

On Sat, Sep 8, 2018 at 5:54 PM, Jonathan Doman notifications@github.com wrote:

It was a long time ago, but I'm pretty sure I had something working on 64-bit linux. As you said, the code in this repo doesn't quite work, so I'll dig around next week to see if there's more that I didn't push.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jrmrjnck/ftcjtag/issues/1#issuecomment-419682856, or mute the thread https://github.com/notifications/unsubscribe-auth/AEK14435OpmhvKmb7ey0LTBO78R8O3Vaks5uZGbBgaJpZM4Wd0zm .

jrmrjnck commented 6 years ago

I did find some uncommitted changes which I've pushed. However, they don't fix the FT_HANDLE /PVOID/DWORD issues.

I'm still pretty sure I had some success using this on 64-bit linux. It's possible that if the FT_HANDLE returned by ftd2xx fits in 32 bits, everything works regardless of the warnings. Unfortunately, I don't have the hardware to test and improve this anymore.