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.
2017-10-31 11:06:12 -07:00
PaulStoffregen
f1bb020282
Fix print() & println() conflict with Arduino Print class
2017-10-15 13:11:46 -07:00
PaulStoffregen
9840e82db8
FTDI transmit, improve performance for fast output
2017-10-15 06:00:53 -07:00
PaulStoffregen
5575f9fcae
FTDI transmit, add partial packet output
2017-10-15 04:28:07 -07:00
PaulStoffregen
a1cde4e568
Print less low-level EHCI info when USBHOST_PRINT_DEBUG defined
2017-10-08 02:18:03 -07:00
PaulStoffregen
78a466c362
Fix adding pipes to periodic schedule
2017-09-11 05:52:08 -07:00
PaulStoffregen
e345c0360d
Add error recovery for async schedule errors & halted pipes
2017-07-02 02:15:43 -07:00
PaulStoffregen
50016717b3
Fix periodic list init when diffent sizes used
2017-03-29 17:33:37 -07:00
PaulStoffregen
3355eab2a2
Add documentation (in source code comments)
2017-03-06 06:03:07 -08:00
PaulStoffregen
ea75a1c673
Rename header file to USBHost_t36.h
2017-03-05 21:33:29 -08:00
PaulStoffregen
b18ee4ea06
Add define to enable/disable all debug printing
2017-03-05 20:18:02 -08:00
PaulStoffregen
86c1bbe6ee
Add reset-enumeration mutual exclusion
2017-03-03 04:58:10 -08:00
PaulStoffregen
d0ee653192
Restructure hub driver to stateless approach
2017-02-28 08:39:43 -08:00
PaulStoffregen
edb04e60e7
Fix interrupt pipe bug when running at 480 Mbit/sec
2017-02-28 04:25:51 -08:00
PaulStoffregen
8ee6d28432
Implement driver timers
2017-02-27 04:17:43 -08:00
PaulStoffregen
b30d8a4f48
Define timer API for device drivers
2017-02-27 02:22:02 -08:00
PaulStoffregen
430e24ba54
Free transfers and pipe when deleting from periodic schedule
2017-02-26 13:58:41 -08:00
PaulStoffregen
fe5cf3e4cd
Remove to-be-deleted pipes from periodic schedule
2017-02-26 09:56:37 -08:00
PaulStoffregen
80225dfe22
Add to periodic sched using interval+offset & binary tree
2017-02-26 09:40:49 -08:00
PaulStoffregen
1c5d403aba
Clearer bandwidth allocation code & store in Pipe_t
2017-02-26 06:39:32 -08:00
PaulStoffregen
7658caa281
Add ability to remove & free pipes from async schedule
2017-02-25 18:21:44 -08:00
PaulStoffregen
b4905f40ef
Keep list of pipes to be deleted when device disconnects
2017-02-25 14:43:49 -08:00
PaulStoffregen
08ed25eb49
Disconnect drivers and free device when cable unplugged
2017-02-25 13:40:31 -08:00
PaulStoffregen
656765bac6
All debug printing through USBHost class
2017-02-18 12:03:10 -08:00
PaulStoffregen
57f958c368
Drivers claim interface & add Keyboard driver claim
2017-02-18 11:21:28 -08:00
PaulStoffregen
4eaeb84a82
Parse hub port status, work-in-progress...
2017-02-17 17:44:24 -08:00
PaulStoffregen
97f728e83c
Find (hopefully) best interrupt pipe bandwidth allocation
2017-02-14 04:19:20 -08:00
PaulStoffregen
4b4ce19dc6
Print less debug info, now that EHCI is kinda working
2017-02-13 13:29:52 -08:00
PaulStoffregen
252b9a2f24
(bare bones) Interrupt transfer support
2017-02-13 06:05:09 -08:00
PaulStoffregen
448910a94f
Configurable periodic frame list size
2017-02-13 02:55:24 -08:00
PaulStoffregen
84752f8310
Add data (non-control) transfer function
2017-02-12 18:44:24 -08:00
PaulStoffregen
1b300c9051
Rename transfer functions from "new" to "queue"
2017-02-12 18:00:48 -08:00
PaulStoffregen
de69cf9af2
Separate setup data for enumeration & drivers
2017-02-12 13:12:06 -08:00
PaulStoffregen
4b2258e5a7
Separate functions for data vs control transfer
2017-02-12 12:54:10 -08:00
PaulStoffregen
eb807023db
Add driver claiming at the device level
2017-02-11 06:03:54 -08:00
PaulStoffregen
dc87eeaaf6
Convert to C++ classes
2017-02-11 03:34:36 -08:00
PaulStoffregen
2a2f745dc1
Group code into cpp files
2017-02-11 02:30:52 -08:00