Commit Graph

790 Commits

Author SHA1 Message Date
Diego Ismirlian 02585210d1 USBH: STM32 LLD: various improvements
- general cleanup
- implemented workaround to undocumented erratum (the OTG core may
report successful enabling of port when connecting a low-speed device,
but really it generates no traffic and remains in a "dumb" state)
- improved handling of disconnection of devices (avoid submitting URBs
if the port is disabled)
2017-07-31 18:48:23 -03:00
Diego Ismirlian ca1882c01b USBH: improved debug output 2017-07-31 18:46:22 -03:00
Diego Ismirlian c0cadbbe7b USBH: added default control request timeout parameter 2017-07-31 18:43:44 -03:00
Diego Ismirlian 2fb4cf9273 USBH: improved main driver
- improved connection/disconnection handling
- corrected bug on aborting non-pending URB
- corrected bug on disconnecting multiple hubs
- improved debug messages
2017-07-31 18:38:46 -03:00
Diego Ismirlian 06dc7fbb1e USBH: testhal MSD: abort read on error 2017-07-31 10:27:30 -03:00
Diego Ismirlian 91fd21695b USBH: replaced some ch* functions with OSAL equivalents 2017-07-16 20:08:02 -03:00
Diego Ismirlian dee22cee18 USBH: remove unnecessary reschedules and add necessary ones 2017-07-16 20:01:50 -03:00
Diego Ismirlian ce8f18291f USBH: Use infinite timeout for control request, when timeouts are not specified 2017-07-16 18:40:09 -03:00
Diego Ismirlian 7bf4908f23 USBH: HID: Implement synchronization 2017-07-16 18:38:59 -03:00
Diego Ismirlian d395dde065 USBH: HUB: don't clear status flags on NAK 2017-07-16 18:34:19 -03:00
Diego Ismirlian 54c53d4e22 USBH: MSD: improved syncrhonization 2017-07-16 18:32:23 -03:00
Diego Ismirlian b294a6cff6 USBH: Use configured UART for debug; avoid garbage debug output 2017-07-16 18:30:13 -03:00
Diego Ismirlian 4026bc900d USBH: Correct bug in LLD 2017-07-16 18:19:06 -03:00
Diego Ismirlian b916519dd6 USBH: Added TODO list 2017-07-14 12:15:19 -03:00
Diego Ismirlian 3d6f481ba8 USBH: MSD: replace mutex with semaphores (more lightweight) 2017-07-14 12:14:59 -03:00
Diego Ismirlian 0f269d99fd USBH: HID: corrected interrupt IN request length 2017-07-14 11:01:44 -03:00
Diego Ismirlian 2e2e10417e USBH: testhal example: add delay for VBUS stabilization 2017-07-13 16:46:26 -03:00
Diego Ismirlian c044306ad0 USBH: Add flexibility to the enumeration process 2017-07-13 16:45:31 -03:00
Diego Ismirlian c9cc2abf3e USBH: cleanup 2017-07-13 12:57:06 -03:00
Diego Ismirlian 442b723c12 USBH: Cleaned up list.h 2017-07-09 19:49:56 -03:00
Diego Ismirlian 65966b4cd4 USBH: fixed list.h; should now compile with C++ 2017-07-09 19:45:57 -03:00
Diego Ismirlian 6b7161b90a USBH: moved usbh/desciter.h and usbh/debug.h to usbh/internal.h 2017-07-09 19:42:36 -03:00
Diego Ismirlian 665643c9e4 USBH: list.h reduced to compile only the functions in use 2017-07-09 19:40:44 -03:00
Diego Ismirlian 89ecbb7daa USBH: Cleanup example for out-of-tree driver 2017-07-09 18:36:07 -03:00
Diego Ismirlian 025ca5345a USBH: Added mechanism for out-of-tree class driver enumeration 2017-07-09 18:30:46 -03:00
Diego Ismirlian c938866844 USBH: moved definition of driver to LLD 2017-07-09 18:29:44 -03:00
Diego Ismirlian c900c951a3 USBH: MSD: Rework to prevent race conditions on unload 2017-07-04 19:09:39 -03:00
Diego Ismirlian d2c155b4cf USBH: moved declaration of driver to LLD 2017-06-09 11:07:20 -03:00
Diego Ismirlian 4483baab02 USBH: UVC, fix compile with IAR 2017-06-08 12:38:14 -03:00
Diego Ismirlian 78da479955 USBH: STM32 lld, activate correction of unexpected length 2017-06-08 12:37:24 -03:00
Diego Ismirlian b9f0fc24c5 USBH: fix Mass Storage Driver EP reset status bug 2017-06-08 12:36:30 -03:00
Diego Ismirlian f82de84347 USBH: Fix compile for test/example 2017-06-06 15:25:37 -03:00
Diego Ismirlian 5a876ba2b0 USBH: License change for UVC driver 2017-06-06 15:25:05 -03:00
Diego Ismirlian 50dda7cff2 Add UVC driver and test/example 2017-06-06 15:21:37 -03:00
Diego Ismirlian a6898a525f Tabs to whitespaces in USBH testhal 2017-06-06 10:34:37 -03:00
Diego Ismirlian e2f7c9277c mend 2017-06-06 10:24:39 -03:00
Diego Ismirlian 9349f74004 Clean up request type helpers 2017-06-06 10:21:00 -03:00
Diego Ismirlian e1357dab69 Update USBH testhal example/test
- Added HID driver test
- Added IWDG handling (avoid resets!)
2017-06-06 09:28:27 -03:00
Diego Ismirlian 1bb8f56c3b HID class driver fixes 2017-06-06 09:24:10 -03:00
Diego Ismirlian 108ae2534c Fixed endpoint halt reset implementation 2017-06-06 09:23:07 -03:00
Diego Ismirlian 0bf5a7aa4c Fixed bugs in new MSD driver implementation 2017-06-06 09:21:10 -03:00
Diego Ismirlian 61c3a28398 Mass license dates update 2017-06-05 11:04:30 -03:00
Diego Ismirlian 5bc62c93e0 Add HID class driver 2017-06-05 10:53:59 -03:00
Diego Ismirlian 0260fd851a Added PID for FTDI-enabled ETT USB-Serial 2017-06-05 10:45:23 -03:00
Diego Ismirlian b58a299521 Rework Mass Storage Driver
- Implemented (hopefully) correct Mass Storage Reset Recovery protocol
- Implemented auto-sense protocol for SCSI command failure
2017-06-05 10:41:42 -03:00
Diego Ismirlian 835bb887c0 Add AOA (Android Accessory) class driver 2017-06-05 10:38:05 -03:00
Diego Ismirlian a77ab485fb Remove redundant hal_stm32_otg.h file
The correct version is already present in ChibiOS
2017-06-05 10:27:20 -03:00
Diego Ismirlian cc347f02ba Fix possible race condition in FTDI driver stop 2017-06-05 10:26:17 -03:00
Diego Ismirlian 5ecaf7722b USB Host fixes
- Cleaned up alignment macros for GCC & IAR
- Corrected EP halt and Clear halt behaviours
- Initialization of class drivers by USB Host main driver
- Minor cosmetic fixes
- Updated USB_HOST testhal app
2017-06-05 10:18:45 -03:00
Diego Ismirlian eec17ec12e Modified AUTHORS file 2017-06-05 10:17:31 -03:00