83Plus:Software:USBTools/Tools

From WikiTI
Revision as of 11:10, 11 September 2006 by Dan Englender (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The tools menu contains tools (hopefully) useful for the usb8x developer.

Tools
1) Descriptors
2) Log Viewer
3) Start Log
4) [[../|Back]]


Descriptors

The descriptors tool allows you to read device, configuration, and string descriptors from an attached device. The descriptors are parsed for human readability. The descriptors tool can be used to test device compatibility with usb8x, to find the vendor and device IDs for a peripheral, or to determine configuration information for use with a manual setup.


The config descriptor tool reads/displays all descriptors that are part of the extended configuration descriptor, which includes: config, interface, endpoint, HID, and OTG. Not all of these descriptors will necessarily be present on all devices. The string descriptor tool requests the string number to fetch and will return an error if that string does not exist on the device.


Descriptors
1) Device
2) Config
3) String
4) Back


Log Viewer

The log viewer parses and displays usb8x log data that has been saved by a program using SetupLog or via the Start Log tool in USBTools.

The log viewer will prompt for the page and address of the log, and if log data is present it will display log entries. Use UP/DOWN to scroll through the log display, and use ENTER to view detailed information on Data log entries.


Start Log

Start log begins logging immediately at the specified page and address. This can be used to log and debug any errors that occur withing USBTools while using the descriptors tool or any of the [[../Demos|demos]].

Note that logging must be enabled in the usb8x binary for this tool to have any effect. You can check if logging is enabled via the USBTools [[../About|about screen]].