Does anyone have a link to, or perhaps source for, a host DFU
application? I'd like to add DFU capability to my device but I have
no idea where to start with writing the host application.
Not really providing help, but I'll point out some pitfalls.
If you're using the standard DFU, where a device remanifests itself
as a different device after a reset, there are some complications you
have to consider.
OS 9 never expects a device to change its descriptors after a RESET,
it caches them once and never rereads them. This tends to be a
problem for DFU class devices.
There was a flag added to 9.0.4 which allowed the cached descriptors
to be thrown away and reread on a RESET. The flag doesn't work
though, but you can get a hack I came up with to make it work.
There's a further complication that of the size of endpoint zero
changes you need another hack to make the size change recognized and
that only works with 9.2.2 (or maybe 9.2.1). To get these hacks, you
should ask DTS.
On OS X, there was an API USBDeviceReEnumerate to do this, which was
added to 1.8.7 (shipped in 10.1.3).
--
Barry Twycross
email@hidden
---
USB, it's not a Dyslexic BUS. (Thanks to TC.)
_______________________________________________
usb mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/usb
Do not post admin requests to the list. They will be ignored.