Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

mcp2221 device

Enumerate all MCP2221/MCP2221A adapters connected to this host and report their USB identity and capabilities.

Usage

iottack mcp2221 device

Description

Scans for USB devices with Microchip VID 0x04D8 and PID 0x00DD and for each adapter found reports:

FieldDescription
USBVendor ID and product ID
ManufacturerUSB manufacturer string
ProductUSB product string
SerialUSB serial number string
InterfacesFixed capability summary (I2C, UART, GPIO, ADC, DAC)

If no adapter is detected the plugin reports an info finding with udev setup instructions.

Options

This plugin has no plugin-specific options.

FlagShortDescription
--output <FILE>-oSave result to a file
--format <FORMAT>-ftext or json
--verbose-vIncrease log verbosity

Example

$ iottack mcp2221 device

Plugin name:    mcp2221/device
Execution time: 3 ms
Status:         pass

[INFO] 1 MCP2221/MCP2221A adapter(s) detected
  The MCP2221A provides a USB-to-I2C bridge (up to 400 kHz), a USB-to-UART bridge,
  4x GPIO, 3x 10-bit ADC and 1x 5-bit DAC.

[INFO] MCP2221 USB-I2C/UART Combo — 0001234567
  USB:          04d8:00dd
  Manufacturer: Microchip Technology Inc.
  Product:      MCP2221 USB-I2C/UART Combo
  Serial:       0001234567
  Interfaces:   USB-I2C (up to 400 kHz), USB-UART, 4x GPIO, 3x ADC, 1x DAC

Linux setup (udev)

Without a udev rule normal users cannot access the HID device. See the MCP2221 adapter setup page for instructions.