1
0
mirror of https://github.com/gdsports/USBHost_t36 synced 2024-08-13 16:53:54 -04:00
Commit Graph

12 Commits

Author SHA1 Message Date
Kurt Eckhardt
d381a5bf95 WIP - Add support fo CH341 Serial boards
Added support for a another Serial type CH341.

Wip - But I do have it working so far at least with a loop back test (RX shorted to TX)

Also Rearranged some of the Claim code and added a VID:DID to Serial Type table that I use to map, such that I know some of these devices have multiple valid setups.

Will test more.  I have several more cheap USB to serial adapter arriving tomorrow.
2017-11-01 16:41:54 -07:00
Kurt Eckhardt
e05dbaaee5 Little Cleanup - #if and comments
Removed some of the #if 1
If defs, plus

cleaned up a few comments
2017-10-31 15:11:52 -07:00
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
Kurt Eckhardt
6e1f0c379c CDCACM - Serial support
Have some support in place for the CDCACM serial class code.

It appears to be working for talking to a
Teensy that is programmed USB=Serial
or USB=Serial+...

Also test with an USB2AX board which is a Servo controller for Dynamixel servos (AX-12), that is an Atmega32u2 board programmed using LUFA as the USB library.
2017-10-27 09:35:46 -07:00
Kurt Eckhardt
4e2ea2d96e String buffers - Devices contribute buffers
instead of having each HUB have 7 buffers, which can eat up space.  We have each main object contribute currently one string buffer, which than when we initialize a Device_t we try to allocate one for it, likewise we release it when the Device is released.

Hopefully less memory needed.

Also updated such that the HIDInput classes can not retrieve these strings.

Changed test program to now also have list of HIDInput objects and when I detect a new one, I again print out info on it...
2017-10-19 14:57:52 -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
b58d4c7191 FTDI transmit, full packets only 2017-10-15 02:39:36 -07:00
PaulStoffregen
3a43ebf73b FTDI serial receive working, still no transmit 2017-10-14 05:12:52 -07:00
PaulStoffregen
2b8ca63069 FTDI serial config & receive (still work in progress) 2017-10-13 05:56:18 -07:00
PaulStoffregen
ac06c74291 Begin FTDI serial driver 2017-10-12 20:06:59 -07:00