davidgiven / fluxengine

PSOC5 floppy disk imaging interface
MIT License
356 stars 68 forks source link

Error: cannot open USB device: Operation not supported or unimplemented on this platform #193

Open damonsisk opened 3 years ago

damonsisk commented 3 years ago

First, thank you for your work in creating and maintaining Fluxengine. I hope to use it to read some PianoDisc floppies (apparently, they are very much like Amiga floppy format.) I have built the board, programmed it successfully, and am trying to use the 'fluxengine' command in Windows 7 Professional. I am using the prebuilt client, version 4.61. However, I keep getting the error shown in the title of this message: 'Error: cannot open USB device: Operation not supported or unimplemented on this platform' I have tried multiple USB ports and cables and am using the microusb connector, not the programming connector. It seems the hardware is not detected by the fluxengine client; in fact, in 'Device Manager', under 'Other Devices' a device is listed called 'FluxEngine' that appears regardless of the USB port I plug the hardware into. Any hints? Thank you in advance!

davidgiven commented 3 years ago

I have never seen that message before --- but I haven't tried this on W7...

There is, however, a very similar error message that appears on Linux if you run the client without permissions to access the USB subsystem. Are you running as a user with administration privileges?

damonsisk commented 3 years ago

I believe so. After your suggestion, I enabled the administrator account (RMB on computer > manage > Local Users and Groups > Users > RMB on Administrator > Properties > uncheck 'account is disabled' > apply.) I then switched user to the administrator account and ran CMD to get a command prompt. Then issued the command 'c:\net user administrator /active:yes' for good measure. I still get the same error whether logged into the 'user' or 'administrator' account. If it is helpful, previous versions of the fluxengine client gave a different error message: 'Error: cannot find the FluxEngine (is it plugged in?)'