Commit Graph

20 Commits

Author SHA1 Message Date
EspoTek 68f5751d2b Moved to unix. Tested on Mac, anyway. Also fixed bug on Windows + CR/LF issues.
Former-commit-id: e1f0ced8b4
2017-02-08 13:30:05 +11:00
EspoTek b6f8209b12 About to start work on Unix port.
Former-commit-id: fa59da633e
2017-02-08 10:52:24 +11:00
EspoTek f49013dd66 Removed delays from winUsbDriver's Iso stack - other half of software bug fixed?
No longer seems to show that "every packet is corrupt" error.  I suspect
it was caused by the "filling the transfer contents" loop in
usbIsoInit() taking place during two 1ms periods.  This would, in
theory, cause it to skip over 1ms of data every ISO_PACKETS_PER_CTX *
NUM_FUTURE_CTX frames.


Former-commit-id: 66a8b96e10
2017-02-05 12:05:03 +11:00
EspoTek cdf9da1562 Merged trying-calibration into master
Very, very hackily...


Former-commit-id: f929191825
2017-02-03 17:34:54 +11:00
EspoTek afaf8ba16d Commit before revert
dead end


Former-commit-id: 9e2ea03c6c
2017-01-05 09:04:44 +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 21832f4d55 Added a single #define
That's it.  Literally a single #define that determines how many
milliseconds the OS waits before reconnecting.  Fixed an error with
Windows not reading it on new mobo, hopefully fixes it under OS X as
well.


Former-commit-id: d69bbf8e68
2016-11-10 17:39:40 +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
EspoTek aafb6d184b Added back in recovery
Sadly, it only functions about half a dozen times before failing.  I
suspect something isn't being released; perhaps another call needs to be
made to the .dll?


Former-commit-id: fb964d0f71
2016-10-17 12:53:44 +11:00
EspoTek ca6b4a2255 NEW DRIVER CODE WORKING!!!
WOOO!!!!!

(Just make sure not to change the FPS.  It's still nowhere near
perfect.)


Former-commit-id: 4ae84d893c
2016-10-14 10:27:17 +11:00
EspoTek aa542ae5a4 Literally just shoved new driver into old code
Complete with file I/O rather than actual communication.


Former-commit-id: be1668ba46
2016-10-14 09:17:00 +11:00
EspoTek f694e40ed0 Removed autorecover
Now crashes instead.  Will put back properly when new driver done.


Former-commit-id: c720b6ee39
2016-10-14 08:46:24 +11:00
EspoTek 595be699ee New driver (not working)
Committing before revert.
Not worth going through after a shotgun debugging sesh.


Former-commit-id: 2e8277c392
2016-10-14 08:19:02 +11:00
EspoTek 670a821ddc Bugfix
Quick bugfix in AVR code.  Prevents CH1 accidentally controlling sample
number on CH2.


Former-commit-id: ce0d5b8bb1
2016-10-13 11:28:39 +11:00
EspoTek dfbbb44350 Proper fix for bug
Never sets device mode to 5 now, preventing frequency from changing when
scope disabled.


Former-commit-id: ae34eaf692
2016-10-05 10:17:53 +11:00
EspoTek ce3dd09245 Code dump
Adding the code!


Former-commit-id: 2ff768b58d
2016-09-07 16:36:43 +10:00