Commit Graph

5 Commits

Author SHA1 Message Date
Joerg Wunsch 02e6082312 Bump read timeout in usbhid_recv() to 300 ms.
In some situations (e.g. when accessing a DW-fused device),
100 ms have proven to be too short.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1387 81a1dc3b-b13d-400b-aceb-764788c761c2
2016-03-02 21:04:36 +00:00
Joerg Wunsch 5dba081585 Summary: Before returning, call hid_free_enumeration().
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1384 81a1dc3b-b13d-400b-aceb-764788c761c2
2016-02-24 22:14:06 +00:00
Joerg Wunsch 3afd51e7d5 Summary: Fix walking the list of HID matches
When walking the list of matches returned by hid_enumerate(),
actually proceed to the next element.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1383 81a1dc3b-b13d-400b-aceb-764788c761c2
2016-02-24 22:08:36 +00:00
Joerg Wunsch 9db53455a9 Fix an off-by-one error in usbhid_send().
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1382 81a1dc3b-b13d-400b-aceb-764788c761c2
2016-02-22 09:23:20 +00:00
Joerg Wunsch 081b6fe229 Use libhidapi as (optional) transport for CMSIS-DAP compliant
debuggers (JTAGICE3 with firmware 3+, AtmelICE, EDBG, mEDBG).



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1381 81a1dc3b-b13d-400b-aceb-764788c761c2
2016-02-20 22:50:13 +00:00