FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  

News:

Welcome to the FTDI Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ FTDI Support


New Bridgetek Community is now open

Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.

Please follow this link and create a new user account to get started.

Bridgetek Community

Author Topic: C232HM under virtualbox  (Read 234 times)

rus-k

  • Newbie
  • *
  • Posts: 1
    • View Profile
C232HM under virtualbox
« on: March 16, 2020, 10:40:36 AM »

I have C232HM adapter and connect it to my device in Ubuntu, which works inside virtualbox. I have problem with SPI_InitChannel. Basically I want to setup SPI latency but any value except 250-255 are very unstable. I've done the test: set all latencies from 255 to 1. In the beginning all is OK, but at latency ~245 I receive error 18, and in the end (latencies <10) I receive error 4. I have compiled libMPSSE, I have compiled ftd2xx driver and usb library. It seems that function Mid_SyncMPSSE fails because device doesn not answer in Mid_EmptyDeviceInputBuff.

I cannot say thet adapter does not work at all. I find it, I open channel to it. I am able to read and write. But I am not able to set speed.

If I run my test under normal Ubuntu (not inside virtualbox) then I receive no error at all. SPI_InitChannel set any latency I want. But under virtualbox it works unstable and I wander what else may work unstable.
Logged

FTDI Community

  • Administrator
  • Sr. Member
  • *****
  • Posts: 423
    • View Profile
Re: C232HM under virtualbox
« Reply #1 on: March 17, 2020, 04:35:13 PM »

Hello,

We cannot support any virtual type system. There can be all sorts of problems that are out of our control.

You can find our supported drivers here:

http://www.ftdichip.com/FTDrivers.htm

If your target OS is Windows or Linux, please use it directly on that OS without any virtual machine.

Error 4 is FT_IO_ERROR.
Error 18 is FT_OTHER_ERROR.

Best Regards,
FTDI Community
Logged