Page 1 of 2

Re: Error flashing firmware

Posted: Fri Sep 13, 2013 3:50 pm
by dsalomon
I'm getting exactly the same error. Just compiled on Windows 7 64-bit. Tried it on 2 different USB controllers (VIA chipset and ASMedia chipset) as well as a USB2 controller. Exact same error messages on all 3.

Re: Error flashing firmware

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: Error flashing firmware

Posted: Fri Sep 13, 2013 6:20 pm
by spcutler
Nice! I'll give that a shot tonight.

Re: Error flashing firmware

Posted: Sat Sep 14, 2013 8:37 am
by LazyDodo
My pastebin probably expires in a couple of hours, I've moved it to the issue tracker at https://github.com/Nuand/bladeRF/issues/101

Re: Error flashing firmware

Posted: Sat Sep 14, 2013 4:35 pm
by spcutler
LazyDodo wrote:My pastebin probably expires in a couple of hours, I've moved it to the issue tracker at https://github.com/Nuand/bladeRF/issues/101
BTW, the fix works for me as well. I'm capturing samples! Now I just have to figure out what's wrong with my async buffer code...

Re: Error flashing firmware

Posted: Sun Sep 15, 2013 5:15 pm
by syntroniks
Were you able to get this working in a virtual linux environment? I've made this change to the latest git code but still get the same error