A Suggestion or Request

Discussions related to embedded firmware, driver, and user mode application software development

Moderator: robert.ghilduta

drbob
Posts: 39
Joined: Sat Mar 29, 2014 11:22 am

Re: A Suggestion or Request

Post by drbob » Thu Mar 10, 2016 7:27 pm

Hi, Jynik!

Sooo... I fire up the bladeRF CLI, load the fpga, start the XB200, then quit the bladeRF CLI

I fire up SDRConsole, Select Radio (List is empty, add definitions now?) and I say, Yes...

Search -> bladeRF returns result, "Nothing found, sorry!"

< this is the part where I cry like a little girl ;) >

Here's the dump of the log fine from SDR Console, version 2.3, build 2381

18:19:26> Instance
18:19:26> This is the only instance ......: Yes
18:19:26> Single instance mutex created ..: Yes
18:19:26> Single instance mutex handle ...: 00000128
18:19:26> Single instance mutex class ....: SDR-Radio-Console-App-0-0
18:19:26> Previous instance active state .: Clear
18:19:26>
18:19:26> Threads
18:19:26> Initialising
18:19:26> ASIO
18:19:26> 0 devices found
18:19:26> CPU
18:19:26> CPU is low power
18:19:26> Logical CPUs: 6
18:19:26> Frequency: 3.32 MHz
18:19:26> Cores on die: 6
18:19:26> Features: [X] Intel Architecture MMX technology supported
18:19:26> Features: [X] Streaming SIMD Extensions
18:19:26> Features: [X] Streaming SIMD Extensions 2
18:19:26> Features: [X] Streaming SIMD Extensions 3
18:19:26> Features: [_] Supplemental Streaming SIMD Extensions 3
18:19:26> Features: [_] The processor supports MOVBE instruction
18:19:26> Features: [_] Streaming SIMD Extensions 4.1
18:19:26> Features: [_] Streaming SIMD Extensions 4.2
18:19:26> Features: [_] Advanced Vector Extensions instruction set
18:19:26> Features: [_] The operating system supports AVX
18:19:26> Features: [_] AES instruction
18:19:26> Features: [_] PCLMULQDQ instruction
18:19:26> Features: [_] Read Random Number instructions
18:19:26> Features: [_] Float16 instructions
18:19:26> Features: [_] Advanced Vector Extensions 2 instruction set (AVX2)
18:19:26> Features: [_] ADCX and ADOX instructions
18:19:26> Features: [_] The RDSEED instruction
18:19:26> Features: [X] The PREFETCHW instruction
18:19:26> Features: [_] Knights Corner instruction set
18:19:26> Not enabled: The PREFETCHW instruction
18:19:26> Cache size: 0
18:19:26> Open MP
18:19:26> Threads 2, check 0: 1, 1: 1
18:19:26> Cache
18:19:26> Internal data cache is 400 megabytes
18:19:26> Server Interface
18:19:26> Local initialisation
18:19:29> DLL
18:19:29> File .............: C:\Program Files\SDR-RADIO-PRO.com\SDRSourceAfedriLAN.dll
18:19:29> Name .............: Afedri-SDR (LAN)
18:19:29> Date .............: Feb 3 2016, 17:25:00
18:19:29> Unique ID ........: Afedri-LAN
18:19:29> Version ..........: 1.0.0
18:19:29> -
18:19:29> File .............: C:\Program Files\SDR-RADIO-PRO.com\SDRSourceAfedriUSB.dll
18:19:29> Name .............: Afedri-SDR (USB)
18:19:29> Date .............: Feb 3 2016, 17:25:04
18:19:29> Unique ID ........: Afedri-USB
18:19:29> Version ..........: 1.0.0
18:19:29> -
18:19:30> File .............: C:\Program Files\SDR-RADIO-PRO.com\SDRSourceAirspy.dll
18:19:30> Name .............: Airspy
18:19:30> Date .............: Feb 3 2016, 17:25:21
18:19:30> Unique ID ........: Airspy.com
18:19:30> Version ..........: 1.0.0
18:19:30> -
18:19:30> File .............: C:\Program Files\SDR-RADIO-PRO.com\SDRSourceAndrusMK1d5.dll
18:19:30> Name .............: SDR MK1.5 Andrus
18:19:30> Date .............: Feb 3 2016, 17:25:03
18:19:30> Unique ID ........: SDR MK1.5 Andrus
18:19:30> Version ..........: 1.0.0
18:19:30> -
18:19:31> File .............: C:\Program Files\SDR-RADIO-PRO.com\SDRSourceBladeRF.dll
18:19:31> Name .............: bladeRF
18:19:31> Date .............: Feb 3 2016, 17:25:11
18:19:31> Unique ID ........: Nuand-BladeRF
18:19:31> Version ..........: 1.0.0
18:19:31> -
18:19:32> File .............: C:\Program Files\SDR-RADIO-PRO.com\SDRSourceEladFDMS1.dll
18:19:32> Name .............: ELAD FDM-S1/S2
18:19:32> Date .............: Feb 3 2016, 17:25:14
18:19:32> Unique ID ........: ELAD-FDM-S1LAN
18:19:32> Version ..........: 1.0.0
18:19:32> -
18:19:33> File .............: C:\Program Files\SDR-RADIO-PRO.com\SDRSourceEttus.dll
18:19:33> Name .............: Ettus Research (all models)
18:19:33> Date .............: Feb 3 2016, 17:24:53
18:19:33> Unique ID ........: Ettus001
18:19:33> Version ..........: 1.0.0
18:19:33> -
18:19:33> File .............: C:\Program Files\SDR-RADIO-PRO.com\SDRSourceFUNcube.dll
18:19:33> Name .............: FUNcube Dongles
18:19:33> Date .............: Feb 3 2016, 17:24:56
18:19:33> Unique ID ........: FUNcube
18:19:33> Version ..........: 1.0.0
18:19:33> -
18:19:33> File .............: C:\Program Files\SDR-RADIO-PRO.com\SDRSourceHackRF.dll
18:19:33> Name .............: HackRF
18:19:33> Date .............: Feb 3 2016, 17:25:21
18:19:33> Unique ID ........: HackRF One
18:19:33> Version ..........: 1.0.0
18:19:33> -
18:19:34> File .............: C:\Program Files\SDR-RADIO-PRO.com\SDRSourceNetSDR.dll
18:19:34> Name .............: RFspace: CloudIQ, CloudSDR, NetSDR, SDR-IP
18:19:34> Date .............: Feb 3 2016, 17:24:54
18:19:34> Unique ID ........: RFspace001
18:19:34> Version ..........: 1.0.0
18:19:34> -
18:19:34> File .............: C:\Program Files\SDR-RADIO-PRO.com\SDRSourcePappradio.dll
18:19:34> Name .............: Pappradio
18:19:34> Date .............: Feb 3 2016, 17:24:51
18:19:34> Unique ID ........: Pappradio001
18:19:34> Version ..........: 1.0.0
18:19:34> -
18:19:35> File .............: C:\Program Files\SDR-RADIO-PRO.com\SDRSourcePerseus.dll
18:19:35> Name .............: Microtelecom: Perseus
18:19:35> Date .............: Feb 3 2016, 17:25:13
18:19:35> Unique ID ........: Microtelecom001
18:19:35> Version ..........: 1.0.0
18:19:35> -
18:19:35> File .............: C:\Program Files\SDR-RADIO-PRO.com\SDRSourceRTL2832U.dll
18:19:35> Name .............: RTL SDR (USB)
18:19:35> Date .............: Feb 9 2013, 21:32:33
18:19:35> Unique ID ........: RTL SDR (USB)
18:19:35> Version ..........: 1.0.0
18:19:35> -
18:19:36> File .............: C:\Program Files\SDR-RADIO-PRO.com\SDRSourceRTLSDR.dll
18:19:36> Name .............: RTL SDR (TCP)
18:19:36> Date .............: Feb 3 2016, 17:25:09
18:19:36> Unique ID ........: RTL SDR (TCP)
18:19:36> Version ..........: 1.0.0
18:19:36> -
18:19:36> File .............: C:\Program Files\SDR-RADIO-PRO.com\SDRSourceSDRIQ.dll
18:19:36> Name .............: RFspace: SDR-IQ and SDR-14
18:19:36> Date .............: Feb 3 2016, 17:24:53
18:19:36> Unique ID ........: RFspace002
18:19:36> Version ..........: 1.0.0
18:19:36> -
18:19:37> File .............: C:\Program Files\SDR-RADIO-PRO.com\SDRSourceSDRplay.dll
18:19:37> Name .............: SDRplay
18:19:37> Date .............: Feb 3 2016, 17:25:24
18:19:37> Unique ID ........: SDRplay
18:19:37> Version ..........: 1.0.0
18:19:37> -
18:19:37> File .............: C:\Program Files\SDR-RADIO-PRO.com\SDRSourceSoftRockSi570.dll
18:19:37> Name .............: SoftRock (Si570)
18:19:37> Date .............: Feb 3 2016, 17:25:01
18:19:37> Unique ID ........: SoftRock (Si570)
18:19:37> Version ..........: 1.0.0
18:19:37> -
18:19:37> File .............: C:\Program Files\SDR-RADIO-PRO.com\SDRSourceSoftRockXTAL.dll
18:19:37> Name .............: SoftRock (XTAL)
18:19:37> Date .............: Feb 3 2016, 17:25:12
18:19:37> Unique ID ........: SoftRock (XTAL)
18:19:37> Version ..........: 1.0.0
18:19:37> -
18:19:37> MIDI
18:19:37> Starting
18:19:37> Startup
18:19:37> Program started in 16.274 seconds
18:19:37> Input thread
18:19:37> Ok
18:19:37> IPServer
18:19:37> Loading definition
18:19:37> IPServer-Command
18:19:37> Loading definition
18:19:38> Audio
18:19:38> Channel .......................:
18:19:38> Opening .......................: Default Device, (ID = 0)
18:19:38> WAVEFORMATEX.cbSize ...........: 18
18:19:38> WAVEFORMATEX.wFormatTag .......: 1
18:19:38> WAVEFORMATEX.nChannels ........: 2
18:19:38> WAVEFORMATEX.nSamplesPerSec ...: 48000
18:19:38> WAVEFORMATEX.nAvgBytesPerSec ..: 96000
18:19:38> WAVEFORMATEX.nBlockAlign ......: 4
18:19:38> WAVEFORMATEX.wBitsPerSample ...: 16
18:19:38> Afedri-SDR (LAN)
18:19:38> DLL initialised
18:19:38> Afedri-SDR (USB)
18:19:38> DLL initialised
18:19:38> SDR MK1.5 Andrus
18:19:38> DLL initialised
18:19:38> bladeRF
18:19:38> DLL initialised
18:19:38> ELAD FDM-S1/S2
18:19:38> DLL initialised
18:19:38> Ettus Research (all models)
18:19:38> DLL initialised
18:19:38> Boost: Platform=Win32; Compiler=Microsoft Visual C++ version 10.0; Version=Boost_1_56_0
18:19:38> UHD: Version=UHD_3.7.1-0
18:19:38> FUNcube Dongles
18:19:38> DLL initialised
18:19:38> HackRF
18:19:38> DLL initialised
18:19:38> RFspace: CloudIQ, CloudSDR, NetSDR, SDR-IP
18:19:38> DLL initialised
18:19:38> Pappradio
18:19:38> DLL initialised
18:19:38> RTL SDR (USB)
18:19:38> DLL initialised
18:19:38> RTL SDR (TCP)
18:19:38> DLL initialised
18:19:38> RFspace: SDR-IQ and SDR-14
18:19:38> DLL initialised
18:19:38> SDRplay
18:19:38> DLL initialised
18:19:38> SoftRock (Si570)
18:19:38> DLL initialised
18:19:38> Opened OK
18:19:38> Adding buffers
18:19:38> Buffers to add ................: 1000
18:19:38> Buffer size ...................: 384 bytes
18:19:38> Buffer latency ................: 2 ms
18:19:38> Buffering in seconds ..........: 2
18:19:38> Ready
18:19:43> bladeRF
18:19:43> Probing...
18:19:43> Error: No devices found.
18:19:52> Probing...
18:19:52> Error: No devices found.
18:20:11> Probing...
18:20:11> Error: No devices found.

Thanks for your help!

Bob

drbob
Posts: 39
Joined: Sat Mar 29, 2014 11:22 am

Re: A Suggestion or Request

Post by drbob » Thu Mar 10, 2016 7:44 pm

PS - dropped you a PM with an indecent proposal... LOL

jynik
Posts: 455
Joined: Thu Jun 06, 2013 8:15 pm

Re: A Suggestion or Request

Post by jynik » Fri Mar 11, 2016 3:29 pm

Hi Bob,

I'll try to see if I can dig a bit deeper into this over the weekend. In the meantime, could you try e



(1) Copy the DLL from the bladeRF installation (bladeRF.dll) into the SDR Console installation. Be sure to back up the bladeRF.dll the Simon ships, just to be safe.

(2) Re-run the latest windows installer (2016.01-r1) from here and install the Cypress driver.

I am wondering if Simon's latest build doesn't have the libusb support baked in and will have to check this for myself on Saturday or Sunday. If this guess is correct, one of these two things could address this for you.

drbob
Posts: 39
Joined: Sat Mar 29, 2014 11:22 am

Re: A Suggestion or Request

Post by drbob » Sat Mar 12, 2016 7:57 pm

Whew...

Well, we're up and running - installing the latest version (RC) and the Cypress driver brought this puppy to life.

Thanks, Jon, for your instructions/guidance - it did the job.

So if I may abuse your attention for a moment: Do we know anything about any pre-compiled packages (Windows) that take advantage of the Tx capability of this unit at this time? I was hoping Simon's package would provide that resource, but it doesn't appear to be the case yet. Sounds like a move to Linux may be taking place sooner than later to take complete advantage of the bladeRF?

Bob

jynik
Posts: 455
Joined: Thu Jun 06, 2013 8:15 pm

Re: A Suggestion or Request

Post by jynik » Sun Mar 13, 2016 8:41 am

Hi Bob,

Glad to hear that you're back up and running! I'll try to look into the situation with SDR Console and the bladeRF.dll it ships, and get in contact with Simon to see what we can do for him to make things easier for him and the community.

I really don't know of too many Windows programs that expose TX capabilities of the bladeRF.

The lone one that comes to mind is Pothos, which runs on Windows, OSX, and Linux IIRC. You can find a tutorial here that appears to be running on Windows. The author, Josh Blum, has done some excellent work with the underlying API to interface with hardware (SoapySDR, which has a bladeRF plugin).

If you want to dive into the Linux side of things, the GNU Radio is another option. There's an Ubuntu-based bootable GNU Radio live image to let you test drive things without installing a Linux OS on your system.

You can always start to develop your own code, of course. It's kind of the point of the open source nature of the project. :)

Happy SDR-ing!
- Jon

jynik
Posts: 455
Joined: Thu Jun 06, 2013 8:15 pm

Re: A Suggestion or Request

Post by jynik » Sun Mar 13, 2016 8:45 am

Whoops - just a random thought. What version of Windows are you running?

I just remembered there might have been a libusb issue (that was fixed in newer versions) related to a failure to detect USB3 devices due to an API change in some Windows libraries... hopefully I'm remembering that correctly. Just trying to piece together your situation before I bug a busy Simon with any questions. ;)

drbob
Posts: 39
Joined: Sat Mar 29, 2014 11:22 am

Re: A Suggestion or Request

Post by drbob » Mon Mar 14, 2016 9:00 pm

Hi Jon,

I'll check into the links you shared and see where they take me. Can only hurt for a minute, right? LOL

Bob

drbob
Posts: 39
Joined: Sat Mar 29, 2014 11:22 am

Re: A Suggestion or Request

Post by drbob » Mon Mar 14, 2016 9:02 pm

This is a Windows 7 Home Premium setup, fully updated.
jynik wrote:Whoops - just a random thought. What version of Windows are you running?

I just remembered there might have been a libusb issue (that was fixed in newer versions) related to a failure to detect USB3 devices due to an API change in some Windows libraries... hopefully I'm remembering that correctly. Just trying to piece together your situation before I bug a busy Simon with any questions. ;)

Post Reply