SUB-20 Debug Trace

All about Sub-20 Multi Interface USB Adapter USB to I2C, SPI, GPIO, RS232, RS485, Ir, LCD

Moderator: serg

Post Reply
xol
Site Admin
Posts: 241
Joined: Sat Aug 29, 2009 8:04 am

SUB-20 Debug Trace

Post 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 5892 times
3. Run SUB-20 tool and set Debug Leve = 10
debug10.jpg
debug10.jpg (58.59 KiB) Viewed 5892 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.

Post Reply