lorf / csr-spi-ftdi

USB SPI programmer/debugger for CSR BlueCore bluetooth chips, based on FTDI USB to UART converter, for Linux and Windows
562 stars 102 forks source link

Transport type usbspi.dll invalid (error 126) #70

Open glotim opened 3 months ago

glotim commented 3 months ago

Updated the OS and reinstalled the CSR stuff, renamed usbspi.dll and copied usbspi.dll.so to the /usr/lib/i386-linux-gnu/wine/ directory like it was in the previous OS. To test I do cd ~/.wine/drive_c/Program Files (x86)/CSR/BlueSuite 2.6.4 then wine pscli.exe warm_reset and I get: pscli, version 2.6.4.1046 Release Copyright (c) 2001-2016 Qualcomm Technologies International, Ltd. All Rights Reserved. Qualcomm Technologies International, Ltd. Confidential and Proprietary. pscli warm_reset : concluded with Failure (Transport type usbspi.dll invalid (error 126)) Any Idea on how to track down what is happening?

glotim commented 2 months ago

More info on this. First tried version 0.5.2 as that is on one that has worked for many years now. Just tried v 0.5.3 but I get the same error. Thought I might try to compile it but did not get too far: sudo apt-get install -y wine-dev:i386 libc6-dev-i386 libstdc++-dev:i386 libftdi-dev:i386

Reading package lists... Done Building dependency tree... Done Reading state information... Done Package libstdc++-dev:i386 is a virtual package provided by: libstdc++-9-dev:i386 9.5.0-6ubuntu2 libstdc++-14-dev:i386 14-20240412-0ubuntu1 libstdc++-12-dev:i386 12.3.0-17ubuntu1 libstdc++-11-dev:i386 11.4.0-9ubuntu1 libstdc++-10-dev:i386 10.5.0-4ubuntu2 libstdc++-13-dev:i386 13.2.0-23ubuntu4 You should explicitly select one to install.

E: Unable to locate package wine-dev:i386 E: Package 'libstdc++-dev:i386' has no installation candidate E: Unable to locate package libftdi-dev:i386 All this on Linux Mint Mate v 22.0 So still stuck.