2013/12/23 Jason Kotzin <jasonkot...@gmail.com>:
> I have a USB device which has two separate devices in it, a bootloader, and 
> the actual firmware.
>
> When I upgrade the firmware, I need to:
>
> send a message to the USB device which will jump to bootloader firmware
> release the interface
> close the usb device
> call libusb_exit()

Why do you call libusb_exit() here?

Are you calling libusb functions after libusb_exit()? If yes, then
errors are expected, because you told libusb that you don't need it
anymore by calling libusb_exit().

-- 
Matthias Bolte
http://photron.blogspot.com

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to