Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | Use an interrupt instead of polling for simple commands. | Wim Lewis | 2018-01-18 | 1 | -21/+15 | |
| | | | | | | | | | | | | | | | | | | | | Updated some comments and some trace statements. | |||||
| * | | | | Improved error handling: check the card's state before trying to abort | Wim Lewis | 2018-01-18 | 1 | -10/+88 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a failed data transfer; translate card status bits into HLD error bits. Set BLKATTR_BLKCNT even when it's not being used, which seems to avoid errors when alternating between multi-block and single-block transfers. Some comments. | |||||
| * | | | | Low-level driver for the Kinetis SDHC peripheral as found on the MK64FX512 | Wim Lewis | 2018-01-06 | 2 | -0/+1107 | |
| | |/ / | |/| | | | | | | | | | | and other members of the Kinetis family. | |||||
* | | | | Merge pull request #136 from wiml/k64_uarts | Fabien Poussin | 2018-03-08 | 2 | -72/+248 | |
|\ \ \ \ | | | | | | | | | | | Added support for additional UARTs (up to six on the K64F). | |||||
| * | | | | Added support for additional UARTs (up to six on the K64F). | Wim Lewis | 2017-12-08 | 2 | -72/+248 | |
| | |/ / | |/| | | | | | | | | | | | | | | Also moved some code that is duplicated per-UART into local functions to reduce the amount of duplication. | |||||
* | | | | Merge pull request #143 from qmk/fix_kinesis_usb_data_sync | Fabien Poussin | 2018-03-08 | 1 | -16/+41 | |
|\ \ \ \ | | | | | | | | | | | Fix Kinetis usb databank synchronization problems | |||||
| * | | | | Fix data usb data toggle sync problem | Fred Sundvik | 2018-02-08 | 1 | -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. | |||||
* | | | | Add usb_lld_wakeup_host for Kinetis | Fred Sundvik | 2018-02-03 | 1 | -0/+23 | |
| | | | | ||||||
* | | | | Added support for STM32F7 | Adrian | 2018-01-31 | 5 | -5/+20 | |
| |_|/ |/| | | | | | | | | Tested only for STM32F746, other chipsets have to be checked. | |||||
* | | | Add STM32F769 to FSMCv1 sdram driver | Dave Flogeras | 2017-12-14 | 3 | -3/+5 | |
| |/ |/| | ||||||
* | | Merge pull request #125 from marcoveeneman/tiva_add_uart | marcoveeneman | 2017-11-23 | 3 | -0/+1301 | |
|\ \ | | | | | | | Add Tiva UART driver. | |||||
| * | | Initial version of the Tiva UART driver. | marcoveeneman | 2017-09-10 | 3 | -0/+1301 | |
| | | | ||||||
* | | | Merge pull request #133 from belak/k20x-mcg-c2 | Fabio Utzig | 2017-11-04 | 1 | -3/+2 | |
|\ \ \ | | | | | | | | | Fix for K20x startup | |||||
| * | | | Fix for K20x startup | Kaleb Elwert | 2017-11-04 | 1 | -3/+2 | |
| | | | | ||||||
* | | | | SCSI: Respond to unit serial number inquiry | Kimmo Lindholm | 2017-10-12 | 2 | -2/+23 | |
| | | | | ||||||
* | | | | Aligned the Tiva port to the SPI driver improvements. | marcoveeneman | 2017-09-10 | 2 | -8/+34 | |
| | | | | ||||||
* | | | | Merge branch 'master' into usbh_devel | Fabien Poussin | 2017-08-08 | 6 | -1/+593 | |
|\ \ \ \ | ||||||
| * \ \ \ | Merge pull request #120 from marcoveeneman/tiva_add_adc | marcoveeneman | 2017-08-08 | 6 | -1/+593 | |
| |\ \ \ \ | | | | | | | | | | | | | Tiva add ADC driver | |||||
| | * | | | | Fixed ADC driver.mk | marcoveeneman | 2017-07-03 | 1 | -2/+2 | |
| | | | | | | ||||||
| | * | | | | Added missing driver.mk file for the ADC driver. | marcoveeneman | 2017-07-03 | 1 | -0/+9 | |
| | | | | | | ||||||
| | * | | | | Improved ADC driver and ADC testhal application. | marcoveeneman | 2017-07-03 | 1 | -34/+33 | |
| | | | | | | ||||||
| | * | | | | Initial ADC driver and testhal application for TM4C123x. | marcoveeneman | 2017-07-03 | 5 | -1/+585 | |
| | | |/ / | | |/| | | ||||||
* | | | | | USBH: FTDI: correct bugs | Diego Ismirlian | 2017-08-07 | 1 | -3/+3 | |
| | | | | | ||||||
* | | | | | USBH: simplify/cleanup main driver | Diego Ismirlian | 2017-08-07 | 1 | -44/+10 | |
| | | | | | ||||||
* | | | | | USBH: STM32 LLD: break LS activity detect loop if port is disabled | Diego Ismirlian | 2017-08-07 | 1 | -11/+18 | |
|/ / / / | ||||||
* | | | | USBH: STM32 LLD: various improvements | Diego Ismirlian | 2017-07-31 | 2 | -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 output | Diego Ismirlian | 2017-07-31 | 3 | -26/+56 | |
| | | | | ||||||
* | | | | USBH: improved main driver | Diego Ismirlian | 2017-07-31 | 1 | -47/+58 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - improved connection/disconnection handling - corrected bug on aborting non-pending URB - corrected bug on disconnecting multiple hubs - improved debug messages | |||||
* | | | | USBH: replaced some ch* functions with OSAL equivalents | Diego Ismirlian | 2017-07-16 | 2 | -48/+48 | |
| | | | | ||||||
* | | | | USBH: remove unnecessary reschedules and add necessary ones | Diego Ismirlian | 2017-07-16 | 9 | -38/+35 | |
| | | | | ||||||
* | | | | USBH: Use infinite timeout for control request, when timeouts are not specified | Diego Ismirlian | 2017-07-16 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | USBH: HID: Implement synchronization | Diego Ismirlian | 2017-07-16 | 3 | -14/+34 | |
| | | | | ||||||
* | | | | USBH: HUB: don't clear status flags on NAK | Diego Ismirlian | 2017-07-16 | 1 | -4/+2 | |
| | | | | ||||||
* | | | | USBH: MSD: improved syncrhonization | Diego Ismirlian | 2017-07-16 | 1 | -12/+7 | |
| | | | | ||||||
* | | | | USBH: Use configured UART for debug; avoid garbage debug output | Diego Ismirlian | 2017-07-16 | 1 | -34/+39 | |
| | | | | ||||||
* | | | | USBH: Correct bug in LLD | Diego Ismirlian | 2017-07-16 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | USBH: Added TODO list | Diego Ismirlian | 2017-07-14 | 1 | -0/+14 | |
| | | | | ||||||
* | | | | USBH: MSD: replace mutex with semaphores (more lightweight) | Diego Ismirlian | 2017-07-14 | 2 | -49/+33 | |
| | | | | ||||||
* | | | | USBH: HID: corrected interrupt IN request length | Diego Ismirlian | 2017-07-14 | 1 | -1/+4 | |
| | | | | ||||||
* | | | | USBH: Add flexibility to the enumeration process | Diego Ismirlian | 2017-07-13 | 9 | -136/+134 | |
| | | | | ||||||
* | | | | USBH: cleanup | Diego Ismirlian | 2017-07-13 | 4 | -27/+22 | |
| | | | | ||||||
* | | | | USBH: Cleaned up list.h | Diego Ismirlian | 2017-07-09 | 1 | -6/+0 | |
| | | | | ||||||
* | | | | USBH: fixed list.h; should now compile with C++ | Diego Ismirlian | 2017-07-09 | 1 | -17/+17 | |
| | | | | ||||||
* | | | | USBH: moved usbh/desciter.h and usbh/debug.h to usbh/internal.h | Diego Ismirlian | 2017-07-09 | 6 | -19/+5 | |
| | | | | ||||||
* | | | | USBH: list.h reduced to compile only the functions in use | Diego Ismirlian | 2017-07-09 | 1 | -161/+162 | |
| | | | | ||||||
* | | | | USBH: Added mechanism for out-of-tree class driver enumeration | Diego Ismirlian | 2017-07-09 | 14 | -103/+85 | |
| | | | | ||||||
* | | | | USBH: moved definition of driver to LLD | Diego Ismirlian | 2017-07-09 | 2 | -8/+7 | |
| | | | | ||||||
* | | | | USBH: MSD: Rework to prevent race conditions on unload | Diego Ismirlian | 2017-07-04 | 2 | -93/+46 | |
|/ / / | ||||||
* | | | USBH: moved declaration of driver to LLD | Diego Ismirlian | 2017-06-09 | 2 | -8/+9 | |
| | | | ||||||
* | | | USBH: UVC, fix compile with IAR | Diego Ismirlian | 2017-06-08 | 2 | -20/+26 | |
| | | |