Commit Graph

13 Commits

Author SHA1 Message Date
EspoTek da251be8e8 Mode 2 up, USARTC0 seems to only want to clock at 1.5MHz
Former-commit-id: ee989fc8f207f9f4c7a6801b09f39dd10da57d65
2017-02-03 10:23:10 +11:00
EspoTek a5d592a862 Unified data structure in place to manage inbuilt debugging console.
And it shows a disturbingly high median_TRFCNT!


Former-commit-id: 431972af9b4ce285fabd30304a21ede7577ef08c
2017-02-01 10:27:59 +11:00
EspoTek be6e9346c8 Control IN transfers
For basic debugging.


Former-commit-id: 453bd688597790155ad9c0691a7d4a8f11e44d0c
2017-01-31 10:32:14 +11:00
EspoTek 275394fc36 GUI responsive when device disconnected
But will not respond until device has been connected at least once!  On
a side note I found out how silly the saveState/loadState method in
genericUsbDriver was.  It was always a better idea to just "poke" the
signals to ensure that it is reset in the same way that would happen
from GUI interactions.


Former-commit-id: 57c841f1d7
2016-12-16 15:11:47 +11:00
EspoTek 68453fe220 Triple endpoints working in SW now
Added triple endpoint support for the Desktop interface.
Should be possible to fix the one-packet-per-sample glitch easily, now.
Even if it isn't, the device now only needs to reserve 768 bytes/frame,
not 1023!!!!


Former-commit-id: 5769288a11
2016-12-15 09:52:43 +11:00
EspoTek b5ff947309 3 Iso Endpoints
Have moved from one big (1023 byte) iso endpoint to 3x 256 byte ones.
This will fix the error where Labrador is picky about which port it's
connected to, and *should* fix the one-sample-per-packet error.


Former-commit-id: 880303ed09
2016-12-13 10:46:13 +11:00
EspoTek 9179073975 Code cleanup
Added comments and a folder structure.  No functional changes.


Former-commit-id: 644359d1a2
2016-11-29 09:56:21 +11:00
EspoTek 4c25a50696 Pushing Windows
Going to revert and compare.


Former-commit-id: 8d0f6dbeeb
2016-11-10 15:50:34 +11:00
EspoTek 663cf71cfe Mac OS X build running
May have accidentally broken Linux (untested, I wasn’t being shotgunny
but equally wasn’t being super careful).  Seems to randomly fail on
launch.  Probably a race condition on the mutex?


Former-commit-id: b7e0035896
2016-11-09 16:21:00 +11:00
esposch 5f9ea98da5 Added some comments.
Also cleaned up the USB drivers a bit; moved more stuff to
genericUsbDriver.

Former-commit-id: 047450f858
2016-10-24 12:40:06 +11:00
esposch 8f432b3607 Oh, it's just like .dlls but they call it something different on Linux.
Fair enough.

USB Control working.  Iso still WIP, but if it works first time it
should be up and running tomorrow!

Former-commit-id: ea47ae4133
2016-10-20 17:16:09 +11:00
EspoTek cb9f622c1e More changes for multiplatform build
.pro file now works with both Windows and Linux.  Have fixed up some
header names to have capital letters.  Windows doesn't mind, but Linux
cracks the shits.  Hop to have it runnning in Ubuntu ASAP.


Former-commit-id: 10a09fdf50
2016-10-20 12:54:05 +11:00
EspoTek 4e5f8aaac1 Subclassed winUsbDriver
Created a genericUsbDriver class and then subclassed winUsbDriver to it.


Former-commit-id: bd8480541c
2016-10-18 09:44:58 +11:00