Error flashing firmware

Discussions related to embedded firmware, driver, and user mode application software development
dsalomon
Posts: 25
Joined: Fri Jul 19, 2013 4:56 pm

Re: Error flashing firmware

Post 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.
dsalomon
Posts: 25
Joined: Fri Jul 19, 2013 4:56 pm

Re: Error flashing firmware

Post 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! :-)
spcutler
Posts: 28
Joined: Fri Mar 01, 2013 3:12 am

Re: Error flashing firmware

Post by spcutler »

Nice! I'll give that a shot tonight.
LazyDodo
Posts: 30
Joined: Fri Mar 01, 2013 6:49 am

Re: Error flashing firmware

Post 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
spcutler
Posts: 28
Joined: Fri Mar 01, 2013 3:12 am

Re: Error flashing firmware

Post 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...
syntroniks
Posts: 19
Joined: Fri Mar 01, 2013 9:28 am

Re: Error flashing firmware

Post 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
Post Reply