The display CPU has both a device USB (based on PIO) and a host port. A simple script language called WiliUSB (*.wusb) allows you to emulate HID and Audio devices. By adding host support you can pass through USB devices, where you can log or modify USB device actions.
The host or device scripts are a great way to test USB bring up on a device you are making. For example, when developing a custom USB device you can test enumeration one step at a time.
WiliUSB allows complete customization of the USB device or host. This includes the ability to clone existing devices connected to your host.
The NiceUSB app shown below is a tool for writing WiliUSB scripts.

Key facts
- Engine
- USB Device or Host Scripting
- Uses
- USB pen testing, USB testing
- MITM
- USB pen testing