Problem with FTDI on OSX 10.9

General discussion forum - for all that doesn't fit in any other category.
Post Reply
tuf
Posts: 19
Joined: Fri Aug 27, 2010 10:32 pm

Problem with FTDI on OSX 10.9

Post by tuf » Sat Aug 19, 2017 7:14 pm

I'm having issues trying to get the HXC software to recognize the FTDI driver. I've installed and re-installed it 10 times, and I can see the HCX USB card using the FTDI example programs, like "EEPROM/read" so I feel like I have the libraries installed correctly:

$ ./read
Library version = 0x10404
Opening port 0
FT_Open succeeded. Handle is 0x7fba74006000
FT_GetDeviceInfo succeeded. Device is type 5.
FT_EE_Read succeeded.

Signature1 = 0
Signature2 = -1
Version = 2
VendorId = 0x0403
ProductId = 0x6001
Manufacturer = FTDI
ManufacturerId = A6
Description = FT245R USB FIFO
SerialNumber = A6035IIS
MaxPower = 90
PnP = 0
SelfPowered = 0
RemoteWakeup = 1
232R:
-----
UseExtOsc = 0x0
HighDriveIOs = 0x0
EndpointSize = 0x40
PullDownEnableR = 0x0
SerNumEnableR = 0x1
InvertTXD = 0x0
InvertRXD = 0x0
InvertRTS = 0x0
InvertCTS = 0x0
InvertDTR = 0x0
InvertDSR = 0x0
InvertDCD = 0x0
InvertRI = 0x0
Cbus0 = 0x3
Cbus1 = 0x2
Cbus2 = 0x0
Cbus3 = 0x1
Cbus4 = 0x5
RIsD2XX = 0x0
Returning 0


However, when I start up the HXC software I get a DLL error. Here's what my /usr/local dirs looks like and the status of the Apple driver:

$ ls -lrt /usr/local/lib
total 816
-rwxrwxr-x 1 root admin 51808 Apr 6 2011 IKStealthPedalAPI.dylib
-rwxrwxr-x 1 root admin 51776 Apr 6 2011 IKStompIO1API.dylib
-rwxr-xr-x@ 1 bp admin 300368 Aug 19 00:31 libftd2xx.1.4.4.dylib
lrwxr-xr-x 1 root admin 36 Aug 19 00:31 libftd2xx.dylib -> /usr/local/lib/libftd2xx.1.4.4.dylib
-rwxr-xr-x@ 1 bp admin 110 Aug 19 01:12 ftd2xx.cfg

$ ls -lrt /usr/local/include
total 96
-rwxrwxrwx@ 1 root admin 40928 Aug 19 00:34 ftd2xx.h
-rwxrwxrwx@ 1 root admin 5321 Aug 19 00:35 WinTypes.h

$ sudo kextunload -b com.apple.driver.AppleUSBFTDI
Password:
(kernel) Kext com.apple.driver.AppleUSBFTDI not found for unload request.
Failed to unload com.apple.driver.AppleUSBFTDI - (libkern/kext) not found.


And when I try to start the emulator, I get the following:

$ ./hxcfe -verbose -usb:
HxC Floppy Emulator : Floppy image file converter
Copyright (C) 2006-2017 Jean-Francois DEL NERO
This program comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions;

libhxcfe version : 2.8.10.1

verbose mode
Starting usb emulation -
Starting CPLDFloppyEmulator Hw manager...
Loading ftd2xx.dll...
Error while loading FTDI library! library not found !
Stopping HxCFloppyEmulator...


Any suggestions?

tuf
Posts: 19
Joined: Fri Aug 27, 2010 10:32 pm

Re: Problem with FTDI on OSX 10.9

Post by tuf » Mon Aug 21, 2017 11:59 pm

Quick question - is libusb a requirement?

Post Reply