PaulStoffregen
efaf5cb56f
Set USBHS_USBCMD_ITC to 1, workaround for race condition in some drivers
vor 3 Jahren
PaulStoffregen
cd4c277209
Improve MIDI transmit speed
vor 3 Jahren
PaulStoffregen
862bd128c3
Turn on current limit switch
vor 4 Jahren
WMXZ-EU
b6e2d1aa59
Correct queue_Data_Transfer
For files of length 1<<14 there should be no 'next', as all data are transferred in one transfer
vor 5 Jahren
Kurt Eckhardt
b5246c4a73
Maybe fix for packets exact multiple of max sizes
Issue where multiple transfer structures were allocated, where the transfer size is exact multiple of max size 16K, it allocated one extra before
vor 5 Jahren
Kurt Eckhardt
62a4581514
Some BT Joystick support plus optional Debug msgs to SerialX
PS4 starting to work, Still some rumble issues.
Also some WIP parts for caching remote name
Some of these changes also came from @mjs513
vor 5 Jahren
PaulStoffregen
c661104527
Fix duplicate variable name conflict on Teensy 3.6
vor 5 Jahren
PaulStoffregen
c808cb205a
Init IMXRT USB PLL (work in progress)
vor 5 Jahren
PaulStoffregen
ec851a022d
Port to IMXRT (work in progress)
vor 5 Jahren
PaulStoffregen
133d082760
Clean up bandwidth usage info when deleting a pipe
vor 7 Jahren
Kurt Eckhardt
5737d12b62
Fix hang part 2...
I am not sure if you can also get the same hang in the periodic update list as well, but to be on the safe side added same checks as the one that was hanging.
vor 7 Jahren
Kurt Eckhardt
ca070ebcd4
Fix delete delete hang on serial ports
Found the issue where it was freeing transfers from the follow up list, that were also on the QH list which also tried to free it again.
Fix was in the first free list, it checks to see if the item is also in the qh list and does not free it then.
vor 7 Jahren
Kurt Eckhardt
704d511c81
PL2303 support
This commit should start to allow some Prolific PL2303 devices to work.
Tis device has a rather more complex initialization process than some
of the other devices.
I have tested this some with one device that I used to use to program
some older RS232 based boards plus talk to an SSC-32 device.
Test case is I am able to talk to SSC-32 and if I type in ver<cr>
It does properly return the version number.
The data I am seeing is pretty close to what
was documented in: https://gist.github.com/tommie/89011c5ac06553d5cdb8
as well as what the Linux driver outputs.
I also incorperated Frank's configuration options.
vor 7 Jahren
Frank
52ad568b07
let user choose PERIODIC_LIST_SIZE
vor 7 Jahren
PaulStoffregen
f1bb020282
Fix print() & println() conflict with Arduino Print class
vor 7 Jahren
PaulStoffregen
9840e82db8
FTDI transmit, improve performance for fast output
vor 7 Jahren
PaulStoffregen
5575f9fcae
FTDI transmit, add partial packet output
vor 7 Jahren
PaulStoffregen
a1cde4e568
Print less low-level EHCI info when USBHOST_PRINT_DEBUG defined
vor 7 Jahren
PaulStoffregen
78a466c362
Fix adding pipes to periodic schedule
vor 7 Jahren
PaulStoffregen
e345c0360d
Add error recovery for async schedule errors & halted pipes
vor 7 Jahren
PaulStoffregen
50016717b3
Fix periodic list init when diffent sizes used
vor 7 Jahren
PaulStoffregen
3355eab2a2
Add documentation (in source code comments)
vor 7 Jahren
PaulStoffregen
ea75a1c673
Rename header file to USBHost_t36.h
vor 7 Jahren
PaulStoffregen
b18ee4ea06
Add define to enable/disable all debug printing
vor 7 Jahren
PaulStoffregen
86c1bbe6ee
Add reset-enumeration mutual exclusion
vor 7 Jahren
PaulStoffregen
d0ee653192
Restructure hub driver to stateless approach
vor 7 Jahren
PaulStoffregen
edb04e60e7
Fix interrupt pipe bug when running at 480 Mbit/sec
vor 7 Jahren
PaulStoffregen
8ee6d28432
Implement driver timers
vor 7 Jahren
PaulStoffregen
b30d8a4f48
Define timer API for device drivers
vor 7 Jahren
PaulStoffregen
430e24ba54
Free transfers and pipe when deleting from periodic schedule
vor 7 Jahren
PaulStoffregen
fe5cf3e4cd
Remove to-be-deleted pipes from periodic schedule
vor 7 Jahren
PaulStoffregen
80225dfe22
Add to periodic sched using interval+offset & binary tree
vor 7 Jahren
PaulStoffregen
1c5d403aba
Clearer bandwidth allocation code & store in Pipe_t
vor 7 Jahren
PaulStoffregen
7658caa281
Add ability to remove & free pipes from async schedule
vor 7 Jahren
PaulStoffregen
b4905f40ef
Keep list of pipes to be deleted when device disconnects
vor 7 Jahren
PaulStoffregen
08ed25eb49
Disconnect drivers and free device when cable unplugged
vor 7 Jahren
PaulStoffregen
656765bac6
All debug printing through USBHost class
vor 7 Jahren
PaulStoffregen
57f958c368
Drivers claim interface & add Keyboard driver claim
vor 7 Jahren
PaulStoffregen
4eaeb84a82
Parse hub port status, work-in-progress...
vor 7 Jahren
PaulStoffregen
97f728e83c
Find (hopefully) best interrupt pipe bandwidth allocation
vor 7 Jahren
PaulStoffregen
4b4ce19dc6
Print less debug info, now that EHCI is kinda working
vor 7 Jahren
PaulStoffregen
252b9a2f24
(bare bones) Interrupt transfer support
vor 7 Jahren
PaulStoffregen
448910a94f
Configurable periodic frame list size
vor 7 Jahren
PaulStoffregen
84752f8310
Add data (non-control) transfer function
vor 7 Jahren
PaulStoffregen
1b300c9051
Rename transfer functions from "new" to "queue"
vor 7 Jahren
PaulStoffregen
de69cf9af2
Separate setup data for enumeration & drivers
vor 7 Jahren
PaulStoffregen
4b2258e5a7
Separate functions for data vs control transfer
vor 7 Jahren
PaulStoffregen
eb807023db
Add driver claiming at the device level
vor 7 Jahren
PaulStoffregen
dc87eeaaf6
Convert to C++ classes
vor 7 Jahren
PaulStoffregen
2a2f745dc1
Group code into cpp files
vor 7 Jahren