Re: Advice On Picking Lib To Use

Xiaofan Chen <[email protected]>
Newsgroups gmane.comp.lib.libusb.devel.windows
Message-ID <CAGjSPUBbJkVikxmPT2DDTG6pDfjvcF+iXH8tjgxH-_zWw7xTJA@mail.gmail.com>
On Thu, Mar 6, 2014 at 11:24 PM, Robert Ritchey
<[email protected]> wrote:
> Hi Xiaofan,
> Sorry, was not sure how deep you wanted me to go into this.  I have a
> custom product using a Freescale micro with USB.  The unit is
> power distribution unit for large radio control aircraft.  The USB
> interface is used for firmware updates, saving and restoring state,
> setting up operating conditions and some adjustment of the
> functions.  The interface is all control transfers. Message are short,
> no bulk transfers or iso.   Thanks

I see. In that case, you can use libusbwhich is cross-platform.
  http://libusb.info/
  https://github.com/libusb/libusb/wiki

If your device complies to the DFU USB Class Specification,
then you can try to use dfu-utils which uses libusb-1.0 API.
 http://dfu-util.gnumonks.org/
 https://gitorious.org/dfu-util

You can post the USB descriptor (using lsusb -vvv under
Linux or usbview under Windows) to check if your device
complies to DFU or not. I tend to believe it is not. Still
that should not be a problem. As long as you are familiar
with the communication protocol of your device, then
it should be okay.

-- 
Xiaofan

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.