aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #143 from qmk/fix_kinesis_usb_data_syncFabien Poussin2018-03-082-17/+42
|\ | | | | Fix Kinetis usb databank synchronization problems
| * Fix data usb data toggle sync problemFred Sundvik2018-02-081-16/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | USB control transfers are structured as the following. For incoming transfers Setup (Data0 out) Data (Data1/Data0 in) - starting with data 1 Status (Data1 out) For outgoing transfers Setup (Data0 out) Data (Data1/Data0 out) - starting with data 1 Status (Data1 in) The in buffers (device to host) are always correctly synchronized, since they can always be reset to Data1 each setup packet without any synchronization problems. The problem occured for outgoing transfers (host to device). For incoming transfers the data banks always alternates, and will automatically stay in sync. Outgoing transfers also stays in sync when there's an odd number of data packets. However when the number is even, including zero, then the last packet received by the device will be data0 and the next setup packet also has to be data0, so there's a synchronization problem. This itself is not a problem since data toggle synchronization(DTS) is ignored for setup packets, however if the follwoing packet after that is also an out packet, then the data bank will be wrong and the packet dropped. In this case the USB spec don't allow sending a nack, so it will only recover after a timeout, when the host tries to send a new setup packet. The old code tried to take care of this situation by reinitializing both data banks when a setup packet is received. The problem is that the next packet might already have been received or is in progress of being received at this point, so the fixup comes to late. The new code does the fixup when a status packet is about to be sent from the device to avoid this problem.
| * Fix typo in k20xx.hFred Sundvik2018-02-081-1/+1
| |
* | Merge pull request #141 from qmk/17.6.3_fixesFabien Poussin2018-03-081-0/+23
|\ \ | | | | | | Add usb_lld_wakeup_host for Kinetis
| * | Add usb_lld_wakeup_host for KinetisFred Sundvik2018-02-031-0/+23
| | |
* | | Merge pull request #144 from ↵marcoveeneman2018-02-2611-112/+0
|\ \ \ | |/ / |/| | | | | | | | marcoveeneman/remove_duplicate_tiva_launch_configurations Removed duplicate OpenOCD on ICDI launch configurations.
| * | Removed duplicate OpenOCD on ICDI launch configurations.marcoveeneman2018-02-1211-112/+0
| | | | | | | | | | | | Starting from ChibiOS 17.6.4 and ChibiOS 18.2.0 OpenOCD launch configuration will be placed under ($CHIBIOS)/tools/eclipse/debug/
* | | Merge pull request #140 from elagil/masterUladzimir Pylinski2018-01-315-5/+20
|\ \ \ | | | | | | | | Added support for STM32F7
| * | | Added support for STM32F7Adrian2018-01-315-5/+20
|/ / / | | | | | | | | | Tested only for STM32F746, other chipsets have to be checked.
* | | Merge pull request #137 from dflogeras/add-stm32f769-to-sdramUladzimir Pylinski2017-12-153-3/+5
|\ \ \ | |/ / |/| | Add STM32F769 to FSMCv1 sdram driver
| * | Add STM32F769 to FSMCv1 sdram driverDave Flogeras2017-12-143-3/+5
|/ /
* | Merge pull request #125 from marcoveeneman/tiva_add_uartmarcoveeneman2017-11-2312-0/+2898
|\ \ | | | | | | Add Tiva UART driver.
| * | Added chconf version tagmarcoveeneman2017-10-241-0/+1
| | |
| * | Added testhal applcation for Tiva UART driver.marcoveeneman2017-09-109-0/+1596
| | |
| * | Initial version of the Tiva UART driver.marcoveeneman2017-09-103-0/+1301
| | |
* | | Merge pull request #133 from belak/k20x-mcg-c2Fabio Utzig2017-11-041-3/+2
|\ \ \ | | | | | | | | Fix for K20x startup
| * | | Fix for K20x startupKaleb Elwert2017-11-041-3/+2
| | | |
* | | | Merge pull request #131 from kimmoli/scsi-test-unit-readyUladzimir Pylinski2017-10-211-18/+53
|\ \ \ \ | | | | | | | | | | SCSI: Respond to TEST UNIT READY command, Fix REQUEST SENSE replying
| * | | | SCSI: Respond to TEST UNIT READY command, Fix REQUEST SENSE replyingKimmo Lindholm2017-10-211-18/+53
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #130 from kimmoli/msd_testhalUladzimir Pylinski2017-10-141-1/+1
|\ \ \ \ | | | | | | | | | | USB_MSD: Fix testhal according to msdStart() API change
| * | | | USB_MSD: Fix testhal according to msdStart() API changeKimmo Lindholm2017-10-131-1/+1
|/ / / /
* | | | Merge pull request #129 from kimmoli/scsi-serial-numberUladzimir Pylinski2017-10-134-3/+44
|\ \ \ \ | | | | | | | | | | SCSI: Respond to unit serial number inquiry
| * | | | SCSI: Respond to unit serial number inquiryKimmo Lindholm2017-10-124-3/+44
|/ / / /
* | | | Add version tagsFabio Utzig2017-10-0977-0/+79
| | | | | | | | | | | | | | | | Signed-off-by: Fabio Utzig <utzig@apache.org>
* | | | Merge pull request #126 from marcoveeneman/tiva_spi_updateFabien Poussin2017-09-102-8/+34
|\ \ \ \ | | | | | | | | | | Aligned the Tiva port to the SPI driver improvements.
| * | | | Aligned the Tiva port to the SPI driver improvements.marcoveeneman2017-09-102-8/+34
|/ / / /
* | | | Fix for mx2board (regex)Fabien Poussin2017-09-061-1/+1
| | | |
* | | | Merge pull request #123 from dismirlian/usbh_develFabien Poussin2017-08-087-315/+60
|\ \ \ \ | | | | | | | | | | USBH: Fix compile with FATFS 0.12b
| * \ \ \ Merge branch 'master' into usbh_develFabien Poussin2017-08-0818-2/+2194
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Merge pull request #120 from marcoveeneman/tiva_add_adcmarcoveeneman2017-08-0817-1/+2193
|\ \ \ \ \ | | | | | | | | | | | | Tiva add ADC driver
| * | | | | Fixed ADC driver.mkmarcoveeneman2017-07-031-2/+2
| | | | | |
| * | | | | Added missing driver.mk file for the ADC driver.marcoveeneman2017-07-031-0/+9
| | | | | |
| * | | | | Improved ADC testhal application.marcoveeneman2017-07-031-1/+5
| | | | | |
| * | | | | Improved ADC driver and ADC testhal application.marcoveeneman2017-07-032-41/+40
| | | | | |
| * | | | | Initial ADC driver and testhal application for TM4C123x.marcoveeneman2017-07-0316-1/+2181
| | |_|/ / | |/| | |
* | | | | Merge pull request #122 from dismirlian/usbh_develFabien Poussin2017-08-0726-914/+1174
|\ \ \ \ \ | |/ / / / |/| | | | USBH: Various improvo
| | * | | USBH: Fix compile with FATFS 0.12bDiego Ismirlian2017-08-075-258/+30
| | | | |
| | * | | Merge branch 'master' of https://github.com/dismirlian/ChibiOS-Contrib into ↵Diego Ismirlian2017-08-073-14/+15
| | |\ \ \ | |_|/ / / |/| | | | | | | | | usbh_devel
* | | | | Merge pull request #119 from dismirlian/usbh_develFabien Poussin2017-06-152-8/+9
|\ \ \ \ \ | | | | | | | | | | | | USBH: moved declaration of driver to LLD
* \ \ \ \ \ Merge pull request #118 from dismirlian/usbh_develUladzimir Pylinski2017-06-094-23/+29
|\ \ \ \ \ \ | | | | | | | | | | | | | | USBH: fix compile with IAR
* | | | | | | Fixes for USB host example to compile on 4.0.xFabien Poussin2017-06-073-14/+15
| | | | | | |
* | | | | | | Merge pull request #117 from dismirlian/usbh_develFabien Poussin2017-06-0739-7002/+4395
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | USB Host update
| | | | | * | | USBH: FTDI: correct bugsDiego Ismirlian2017-08-071-3/+3
| | | | | | | |
| | | | | * | | USBH: simplify/cleanup main driverDiego Ismirlian2017-08-071-44/+10
| | | | | | | |
| | | | | * | | USBH: STM32 LLD: break LS activity detect loop if port is disabledDiego Ismirlian2017-08-071-11/+18
| | | | |/ / /
| | | | * | | USBH: STM32 LLD: various improvementsDiego Ismirlian2017-07-312-112/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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)
| | | | * | | USBH: improved debug outputDiego Ismirlian2017-07-313-26/+56
| | | | | | |
| | | | * | | USBH: added default control request timeout parameterDiego Ismirlian2017-07-311-0/+1
| | | | | | |
| | | | * | | USBH: improved main driverDiego Ismirlian2017-07-311-47/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - improved connection/disconnection handling - corrected bug on aborting non-pending URB - corrected bug on disconnecting multiple hubs - improved debug messages
| | | | * | | USBH: testhal MSD: abort read on errorDiego Ismirlian2017-07-311-1/+2
| | | | | | |