Commit Graph

1176 Commits

Author SHA1 Message Date
Uladzimir Pylinski a0089c14da Merge pull request #131 from kimmoli/scsi-test-unit-ready
SCSI: Respond to TEST UNIT READY command, Fix REQUEST SENSE replying
2017-10-21 20:02:25 +03:00
Kimmo Lindholm 9f2ee0a227 SCSI: Respond to TEST UNIT READY command, Fix REQUEST SENSE replying
When host sends TEST UNIT READY command, set sense 'all ok' if block device reports
that medium is inserted, or set sense 'medium not present' if medium is not inserted.

Do not override sense by default with 'all ok', allow REQUEST SENSE command
to be responded with correct sense data which was set on last failure.

Check just DESC bit when responding to REQUEST SENSE command.
2017-10-21 13:36:49 +03:00
Uladzimir Pylinski 406d932f09 Merge pull request #130 from kimmoli/msd_testhal
USB_MSD: Fix testhal according to msdStart() API change
2017-10-14 10:27:31 +03:00
Kimmo Lindholm 630043a63f USB_MSD: Fix testhal according to msdStart() API change 2017-10-13 20:57:58 +03:00
Uladzimir Pylinski 921d233cdd Merge pull request #129 from kimmoli/scsi-serial-number
SCSI: Respond to unit serial number inquiry
2017-10-13 10:10:32 +03:00
Kimmo Lindholm 39487df4de SCSI: Respond to unit serial number inquiry 2017-10-12 00:06:50 +03:00
Fabio Utzig f392dfa223 Add version tags
Signed-off-by: Fabio Utzig <utzig@apache.org>
2017-10-09 10:12:59 -03:00
dismirlian 5cea7f11ec Merge pull request #1 from axoloti/patch-1
USBH: allow enabling IAD without UVC
USBH: implement ISO/INT out in STM32 LLD driver
USBH: introduce usbhSynchronousTransfer helper function
2017-09-16 11:28:09 -03:00
Mark Harris 741459ac27 usbh:correct spelling of usbhSynchronousTransfer 2017-09-14 17:36:21 +02:00
Mark Harris f5f3c8ffdb usbh:_ptxfe_int, use HPTXSTS, introduce usbhSyncrhonousTransfer 2017-09-14 14:41:28 +02:00
Mark Harris d2269527b7 implement ptxfe_int for outbound INT ep 2017-09-12 16:55:01 +02:00
Axoloti 354313f408 allow enabling IAD without UVC 2017-09-12 11:41:38 +02:00
Fabien Poussin f16bd4416a Merge pull request #126 from marcoveeneman/tiva_spi_update
Aligned the Tiva port to the SPI driver improvements.
2017-09-10 23:25:30 +02:00
marcoveeneman 1cc2988040 Aligned the Tiva port to the SPI driver improvements. 2017-09-10 21:16:14 +02:00
marcoveeneman 5b90306c97 Added testhal applcation for Tiva UART driver. 2017-09-10 19:46:13 +02:00
marcoveeneman 5d77abe7f2 Initial version of the Tiva UART driver. 2017-09-10 19:43:04 +02:00
Fabien Poussin 5a9ac0f940 Fix for mx2board (regex) 2017-09-06 13:30:40 +00:00
Diego Ismirlian c466db250c USBH: testhal example: improve support for multiple FAT devices 2017-08-08 14:19:35 -03:00
Fabien Poussin c0205baf7d Merge pull request #123 from dismirlian/usbh_devel
USBH: Fix compile with FATFS 0.12b
2017-08-08 17:29:51 +02:00
Fabien Poussin bec3eada37 Merge branch 'master' into usbh_devel 2017-08-08 17:29:28 +02:00
marcoveeneman e04751c836 Merge pull request #120 from marcoveeneman/tiva_add_adc
Tiva add ADC driver
2017-08-08 16:23:00 +02:00
Diego Ismirlian 2fb40b504f USBH: Fix compile with FATFS 0.12b 2017-08-07 18:50:39 -03:00
Diego Ismirlian d72557da5a Merge branch 'master' of https://github.com/dismirlian/ChibiOS-Contrib into usbh_devel 2017-08-07 17:56:00 -03:00
Diego Ismirlian 84f28dd0b1 USBH: FTDI: correct bugs 2017-08-07 17:52:51 -03:00
Diego Ismirlian 21f95b50f4 USBH: simplify/cleanup main driver 2017-08-07 17:51:34 -03:00
Diego Ismirlian 6a9d91cb1a USBH: STM32 LLD: break LS activity detect loop if port is disabled 2017-08-07 17:47:52 -03:00
Fabien Poussin fa733674e6 Merge pull request #122 from dismirlian/usbh_devel
USBH: Various improvo
2017-08-07 16:34:34 +02:00
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