Sylvain Munaut
7e109d186e
device/dfu: Force FullSpeed mode since the DFU driver doesn't support HS
...
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-04-01 23:29:00 +02:00
Harald Welte
3505594094
DFU: runtime only has _one_ interface/altsetting
2012-01-08 19:24:21 +01:00
Harald Welte
61739ec34d
DFU: include code to switch from DFU to RUNTUIME after bus reset / mannifest
2012-01-08 18:24:32 +01:00
Harald Welte
1b1befdeb5
DFU: add dfu_runtime.c for runtime-to-dfu switching
2012-01-08 17:44:16 +01:00
Harald Welte
49600087b9
rename 'struct dfu' to 'struct dfudata' and 'dfu' symbol to 'g_dfu'
...
This avoids clashes with the -Ddfu caused by board MEMORIES
2012-01-08 16:21:41 +01:00
Harald Welte
f912bc40dc
DFU: fix upload case, we need to return number of bytes read
2012-01-08 15:16:38 +01:00
Harald Welte
fbea2413f6
DFU: add support for setting the USB SERIAL by a board
...
this will allow us to use the Unique Chip ID as serial number in the USB
descriptor, which in turn allows customers to write device-specific
udev rules for persistent naming, etc.
2012-01-08 11:52:15 +01:00
Harald Welte
82eaac47c7
DFU: manage interface altsettings inside DFU core
2012-01-07 17:46:07 +01:00
Harald Welte
141a11409e
DFU: include more common infrastructure for download and upload handling
2012-01-07 17:38:11 +01:00
Harald Welte
541bc5bdae
DFU: Add dfu_desc.c containing USB descriptors
2012-01-05 23:37:12 +01:00
Harald Welte
b45eec0ed4
various DFU fixes
...
* make RET_* constants public as DFU_RET_*
* support GET_DESCRIPTOR on the DFU interface descriptor
* use static buffer for getstatus()
2012-01-05 23:35:54 +01:00
Harald Welte
d77694f33a
dfu fixes
2012-01-05 22:16:24 +01:00
Harald Welte
c7c3a3526b
import initial dfu implementation (incomplete)
2012-01-01 23:42:02 +01:00
Harald Welte
044ad7c398
import at91lib from at91lib_20100901_softpack_1_9_v_1_0_svn_v15011
...
it's sad to see that atmel doesn't publish their svn repo or has
a centralized location or even puts proper version/release info
into the library itself
2011-07-04 20:52:54 +02:00