Page 2 of 2

Re: ExtIO.dll?

Posted: Fri Sep 13, 2013 5:43 am
by bpadalino
The current branch builds a dll and has a rudimentary CLI you can use. There are some reported issues with different xhci's in Windows - some work and some don't. One of our developers with a Renesas xhci had to upgrade to the latest drivers before it would work properly.

The wiki has notes on getting started building for Windows. Hearing feedback if it works/doesn't is always helpful.

Re: ExtIO.dll?

Posted: Fri Sep 13, 2013 7:03 am
by SDR-Radio.com
Thanks,

I'll see if I can get this compiled over the weekend - if so I'll buy the bladeRF.

Re: ExtIO.dll?

Posted: Fri Sep 13, 2013 3:12 pm
by dsalomon
i was able to do the windows build today. I'm using the 64-bit libusb. The Blade connects on USB2 and USB3 (but only on my ASMedia USB3 controller, NOT on my VIA USB3 controller). When I run the CLI, it tells me it's in legacy mode (expected). I'm stopped at trying to load the FX3 firmware - the flash fails with the following info:

E:\Temp\BladeRF_Win\BladeRF-CLI>bladerf-cli -f latest.img
[INFO] Using libusb version 1.0.16.10774
[INFO] Found a bladeRF
[ERROR] Failed to retrieve serial number
[INFO] Claimed all inferfaces successfully
********************************************************************************
* ENTERING LEGACY MODE, PLEASE UPGRADE TO THE LATEST FIRMWARE BY RUNNING:
* wget http://nuand.com/fx3/latest.img ; bladeRF-cli -f latest.img
********************************************************************************
Flashing firmware...
[INFO] Legacy change to interface 2
[INFO] Erasing 3 sectors starting @ sector 0
[ERROR] Failed to erase sector 0
[ERROR] Received erase failure status from FX3.
Error: failed to flash firmware: File or device I/O failure
Could not flash firmware

Any ideas?

Re: ExtIO.dll?

Posted: Fri Sep 13, 2013 3:19 pm
by dsalomon
Also tried it with the previous image (1.2.img), which also failed.

Re: ExtIO.dll?

Posted: Fri Sep 13, 2013 3:37 pm
by spcutler
dsalomon wrote:Any ideas?
I don't know, but I see exactly the same error. I have a thread going here, but I haven't found an answer yet.

Re: ExtIO.dll?

Posted: Fri Sep 13, 2013 3:42 pm
by dsalomon
Ahhh...thanks. I guess I could've searched before posting. Doh.

Re: ExtIO.dll?

Posted: Fri Sep 13, 2013 5:22 pm
by dsalomon
spcutler -

i was chatting with BzztPloink on the #bladerf IRC node, explaining this problem. He checked the source, and fixed it. You can either wait until he merges the change into the source and do a get, or just make the change to the source, as follows (this is what I did):

(7:56:54 PM) BzztPloink: http://pastebin.com/pKH5t8Mf
(7:57:10 PM) BzztPloink: in libusb.c replace the change_setting function with this

After making the change, recompile and it should work. I was just able to load the "latest.img" firmware file to the FX chip, then load the FPGA, then receive samples.

Woo hoo! :-)

Re: ExtIO.dll?

Posted: Fri Sep 13, 2013 5:42 pm
by LazyDodo
That paste expires in 23 hours, but by then with a bit of luck it got merged already.

Re: ExtIO.dll?

Posted: Mon Sep 16, 2013 6:48 pm
by syntroniks
If there has been any development on the extio.dll front, I'd be happy to do some testing. After successfully building the bladerf platform for windows, I now have nothing to do with it!! (except for bladeRF-cli rx/tx but that is boring :P )

Re: ExtIO.dll?

Posted: Fri Sep 20, 2013 8:05 pm
by LazyDodo
I've been distracted lately, and plagued by usb controller issues on windows. I just got my SDR# code working (literally minutes ago) again with the official libs since those now offer windows support, I'll eventually get to extio support, but i wouldn't count on it anytime soon, same goes for the release of my sdr# code, it's just not good enough yet.

Re: ExtIO.dll?

Posted: Sat Sep 21, 2013 5:21 pm
by dsalomon
I've been out of town for almost a week, returning late tomorrow night. I haven't had time to play with what you previously sent me. Can I get an update with the same caveats as before?

Re: ExtIO.dll?

Posted: Sat Sep 21, 2013 7:09 pm
by LazyDodo
I have done no updates to the extio code i send you.

Re: ExtIO.dll?

Posted: Sun Sep 22, 2013 1:42 pm
by dsalomon
Sorry, got confused...forgot it was the Extio and not the SDR# code. Too many balls in the air.

Re: ExtIO.dll?

Posted: Tue Sep 24, 2013 2:41 pm
by syntroniks
I am relatively well versed in C# development (3.5 and 4.0) so let me know if I can lend a hand. I do have a working windows library but have not investigated a bridge between the bladeRF and sdr#. Looks like you're doing that, I'm excited :D

Re: ExtIO.dll?

Posted: Sun Oct 06, 2013 2:10 pm
by UT4UDT
Hi all!
http://www.radio-astronomy.org/67ophjwe ... hi_res.pdf
From this doc:
"As we go forward, we will integrate our software with the Nuand code (our software is already freely 
available thru Sourceforge). Presently, they are using some software from GNU radio. We think that our 
software and expertise will prove to be valuable in a joint effort."
Maybe need ask about ...?