I am developing an app that does some serial communication through an USB port with an FTDI chip.

I am developing an app that does some serial communication through an USB port with an FTDI chip.

I am researching if it is possible to port this to FMX and make an OSX version. However, I cannot find any info about the ability to use USB / serial communication with OSX. I use the comport library from http://comport.sf.net/. Does anybody know if this will work with OSX?

Comments

  1. You might want to consider voting up feature request 1359 on the TMS Async feature request page:

    http://www.tmssoftware.com/site/async32.asp?s=fr#fr

    ReplyDelete
  2. Does the Mac have a serial port? I thought they dropped it.

    ReplyDelete
  3. Bill Meyer the FTDI chip I use is an usb to serial converter. It creates a virtual com-port. But any other solution that lets Delphi communicate with an usb port is welcome!

    ReplyDelete
  4. If ther's no reuirement for generic serial port and you only care about usb-serial by FTDI, I'd take a look at FTDIs D2xx drivers and libs - http://www.ftdichip.com/Drivers/D2XX.htm
    Just assuming that accessing libraries with Delphi under OSX is something similar as under Win.

    ReplyDelete
  5. You have not said anything of what is on the other end of the communication. It is very common for devices with serial ports to time out if they do not receive a comprehensible message within some given time frame. A problem in some USB/Serial converter drivers is that they have been known to slice packets (not unlike Ethernet), and to introduce a delay between packets which may result in rejected commands.

    ReplyDelete
  6. What I did with FMX is setup a client/server thing using DataSnap. So all the serial stuff is done on a Windows machine and the FMX app talks to the server and it does all the serial communication stuff.

    ReplyDelete

Post a Comment