1
Discussion - Software / 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.
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.