
10 Dec
2013
10 Dec
'13
11:49 a.m.
Hello Lukasz,
Am 09.12.2013 16:20, schrieb Lukasz Majewski:
It is necessary to deter the host from sending subsequent DFU_GETSTATUS request in the case of e.g. writing the buffer to medium.
Here the timeout is increased when we fill up the whole buffer. This delay allows eMMC memory to perform its internal operations. Otherwise we end up with HOST's error regarding GET_STATUS receive timeout.
Signed-off-by: Lukasz Majewskil.majewski@samsung.com
drivers/usb/gadget/f_dfu.c | 39 ++++++++++++++++++++++++++++++++++++--- drivers/usb/gadget/f_dfu.h | 2 ++ include/dfu.h | 3 +++ 3 files changed, 41 insertions(+), 3 deletions(-)
Tested on the dxr2 board. "dfu -l" "dfu -U" and "dfu -D" worked.
Tested-by: Heiko Schocher hs@denx.de
bye, Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany