Commit Graph

22 Commits

Author SHA1 Message Date
EspoTek 741fa88e83 TRFCNT is logged every frame
Looks like it's missing samples!!


Former-commit-id: 9c8ef1201d5a54f5bbf62e6d214ccf45208ece88
2016-12-28 10:53:54 +11:00
EspoTek fba316867d Implemented the cached interrupt from the previous branch
Going to do more testing...


Former-commit-id: e3fb588dd7ea050f23add3fa8b776b9de35a3470
2016-12-28 10:35:27 +11:00
EspoTek 4dd657a164 CH2 no longer drifting
But is corrupting.


Former-commit-id: b60b82fb6c
2016-12-22 15:23:45 +11:00
EspoTek 45d6b89c0a Fixed Logic Analyzer CH2
Former-commit-id: 46d113259a
2016-12-20 10:52:21 +11:00
EspoTek fefba14eb1 And mode 7 up
Bugs found recently:
- Trigger doesn't work on negative voltages (at least in MM mode).
- Double Sample Rate button won't de-trigger when CH1 scope is disabled.


Former-commit-id: 56f329a016
2016-12-18 15:15:57 +11:00
EspoTek 33f052ccf7 Mode 6 Up
The error where every packet can become corrupt when you get a "bad
launch" seems more pronounced here.  But it still succeeds enough times
to show that correct synchronisation could fix it.


Former-commit-id: 85b86af1ff
2016-12-18 14:56:54 +11:00
EspoTek bf2697d80d Mode 4 Up
Although Logic Analyzer CH2 is faulty.  Looks like it's been in the code
for months, though.  Add that to the list of things to fix.


Former-commit-id: f76e8eb3a7
2016-12-18 14:44:57 +11:00
EspoTek c01b24e661 Mode 3 Up
And found the bug from before; or at least the trigger.  It seems to
only occur when the rear PCI USB port is used.  Front hub or rear USB2
ports don't show issues at all.


Former-commit-id: 653891ca63
2016-12-18 13:57:52 +11:00
EspoTek 25a2ab2a41 Committ before revert
Former-commit-id: 7fd9074207
2016-12-16 17:19:33 +11:00
EspoTek 282a9a394d Mode 2 Up.
And it looks like the old glitch has crept back in?  Was it not fixed
all along?


Former-commit-id: 536ba0ea4c
2016-12-16 15:56:53 +11:00
EspoTek 9db4972573 Mode 1 Up
Mode 1 moved to the new system.  Same notes as mode 0.


Former-commit-id: 3d5c2b0b0a
2016-12-16 14:23:06 +11:00
EspoTek 02d4ba10da One packet per sample glitch gone!!!
From the looks of things, anyway.
This fix came with a cost:
- All modes apart from 0 are broken.
- Randomly, the DMA write and USB read may access the same half of
isoBuf.  This is determined on boot, and doesn't seem to desynchronise
and resynchronise over time.

The good news is that both of these have a fix.  Give it another day of
coding...


Former-commit-id: 23741ceecb
2016-12-15 13:52:44 +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 dbc2865396 3 lines changed
Just to make debugging easier on the one-packet-per-frame-dropped error.


Former-commit-id: 88ddd41c8d
2016-12-08 10:44:42 +11:00
EspoTek 323eede224 PCB update
Former-commit-id: 6731cfb7f1
2016-10-26 10:31:04 +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 68b08929ee Board update and start of CSV export
Some CSV export features implemented - dump everything (in a stream -
750ksps!!) or just dump what's visible in screen.  Stream doesn't dump
actual voltage readings but raw sample data.

Board software has been updated to fix DMAnot transmitting the correct
data for signal gen CH1 in modes 4 and 5


Former-commit-id: 7f40f04ef9
2016-09-26 14:17:41 +10:00
EspoTek 3a085a0547 Hotfix for ScottC
Mode 4 (Logic Analyzer CH1 and CH2) code has been rewritten and a
third(!!!) pause button has been added to allow pausing while scope is
diabled.
Two of them should disappear in the next commit.  :)


Former-commit-id: 749bf8d4a7
2016-09-17 15:09:59 +10:00
EspoTek a05f8b962b Another update
Removed hardcoded link to C:/kfvcc in software - it can now be run from
any folder!  Also changed some compilation settings to make it for
mass-produced hardware and actually-deployable software.  (Shadow build
was causing an error).


Former-commit-id: 41d8fd61e1
2016-09-12 18:06:42 +10:00
EspoTek ce3dd09245 Code dump
Adding the code!


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