Liang Zhu wrote:
>
>
> It looks whenever the firmware is in the DFU mode, my HID driver is
> not able to find the USB slave device. Is that normal?
>
This depends ENTIRELY in your device. Often, when a device is in DFU
mode, it only exposes the DFU interface and not the normal interface.
In that case, then of course the HID driver cannot be found, because it
is no longer a HID device.
Some drivers do expose both interfaces all the time.
> what do I have to do to inter-connect the ceusbkwrapper driver and HID
> driver so I can send the new firmware to the slave device.
>
You will not use the HID driver in DFU mode. You will use a DFU
driver. Which, by the way, you will have to write.
> Also, is there way to enable DFU mode on demand, the firmware is in
> the DFU mode soon as the wince os started. I would like to know if
> there is any way to turn on and turn off the DFU mode.
>
Again, that's entirely up to your device. Sometimes the device will
have a special command that tells it to switch to DFU mode. In that
case, it might drop off of the bus and comes back up with only the DFU
interface. Then, after firmware is loaded, the device again drops off
the bus and comes back up with its normal (e.g., HID) interface. Two
entirely separate personalities.
Sometimes, both interfaces are exposed all of the time. In that case,
you will still drop off the bus after firmware loading and re-enumerate.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel