
USBwatch Special Features

USBwatch reports all the USB activity of your device, even during the "Enumeration" process, when the PC evaluates your device and decides whether or not to allow it to use the Universal Serial Bus. There can be a LOT of USB activity at times, which can result in a large amount of displayed information to have to wade through. To make USBwatch even more useful, we have added several special features:
Controls amount of detail reported by USBwatch, to make it easier to see just the data that is being sent and received by the device over the USB.
Uncheck this to stop reporting on USB traffic for awhile. This is a way to allow you to get data only at times that are important to you. You might use this if you are only interested in seeing the USB traffic when one particular feature of your device is being used.
You can turn USBwatch message transmissions off or on from within your peripheral side program. Use this to selectively debug just one part of your peripheral code, so you can see what happens in just one troublesome part of your peripheral device code. You might also use this to bypass the voluminous reporting of the Enumeration process, so you can concentrate on what happens during normal operation of your device.
You can define and send your own USBwatch messages from your peripheral side code, to indicate what’s going on at various places in your program. Use this like a USB-based trace feature: display the values of variables, debug your program flow, or see whether your peripheral program is getting hung up somewhere, all without stopping your peripheral's processor.
In PicBasic Pro, you can use the powerful HSerOut command to do this, and take full advantages of the powerful formatting features of HSerOut. In all other peripheral side languages, we provide a routine called UsbwSendUSR( ) that your code can call to send an array of bytes of data to the PC side program. This array can contain whatever information you want: characters, numbers, symbols that indicate from where in your code the message was sent, or any combination.
Home
| About
Us | Contact
Us
USB
Tools | Consulting
