Page 1 of 1

SUB-20 Debug Trace

Posted: Thu Nov 26, 2009 9:28 pm
by xol
HOW TO get SUB-20 Debug Trace

1. Install and run DebugView utility
DebugView can be downloaded from Microsoft SysInternals.
http://technet.microsoft.com/en-us/sysi ... 96647.aspx
To run it simply execute the DebugView program file (dbgview.exe).

2. Make sure to uncheck Options->Force Carriage Returns
debug.jpg
debug.jpg (50.63 KiB) Viewed 10235 times
3. Run SUB-20 tool and set Debug Leve = 10
debug10.jpg
debug10.jpg (58.59 KiB) Viewed 10235 times
4. Now you can run your application to debug and get trace like this:

Code: Select all

[4764] Device VID/PID: 04D8/FFC3
[4764] Device VID/PID: 04D8/FFC3
[4764] BULK_OUT 3 bytes:
[4764] 02 20 00 
[4764] BULK_IN 5 bytes:
[4764] 04 20 02 0a 00 
If required trace can be saved to file.