| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Added support for additional UARTs (up to six on the K64F).
|
| |
| |
| |
| |
| | |
Also moved some code that is duplicated per-UART into
local functions to reduce the amount of duplication.
|
|\ \
| | |
| | | |
Fix Kinetis usb databank synchronization problems
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
marcoveeneman/remove_duplicate_tiva_launch_configurations
Removed duplicate OpenOCD on ICDI launch configurations.
|
| | |/
| |/|
| | |
| | | |
Starting from ChibiOS 17.6.4 and ChibiOS 18.2.0 OpenOCD launch configuration will be placed under ($CHIBIOS)/tools/eclipse/debug/
|
|\ \ \
| | | |
| | | | |
Added support for STM32F7
|
|/ / /
| | |
| | |
| | | |
Tested only for STM32F746, other chipsets have to be checked.
|
|\ \ \
| |/ /
|/| | |
Add STM32F769 to FSMCv1 sdram driver
|
|/ / |
|
|\ \
| | |
| | | |
Add Tiva UART driver.
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Fix for K20x startup
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
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.
|
|\ \ \ \
| | | | |
| | | | | |
USB_MSD: Fix testhal according to msdStart() API change
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
SCSI: Respond to unit serial number inquiry
|
|/ / / / |
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Fabio Utzig <utzig@apache.org>
|
|\ \ \ \
| | | | |
| | | | | |
Aligned the Tiva port to the SPI driver improvements.
|
|/ / / / |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
USBH: Fix compile with FATFS 0.12b
|
| |\ \ \ \
| |/ / / /
|/| | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Tiva add ADC driver
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | |_|/ /
| |/| | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
USBH: Various improvo
|
| | | | | |
|
| | |\ \ \
| |_|/ / /
|/| | | |
| | | | | |
usbh_devel
|
|\ \ \ \ \
| | | | | |
| | | | | | |
USBH: moved declaration of driver to LLD
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
USBH: fix compile with IAR
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
USB Host update
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | |/ / / |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
- 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)
|
| | | | | | | |
|
| | | | | | | |
|