# Flylead This MIB allow to connect and test any DUT as the MIB expose every connectors available. :::{figure-md} ![MIB](/_images/mibs/flylead/flylead-mib.jpg){align=center} Flylead MIB ::: :::{figure-md} ![MIB](/_images/mibs/flylead/header.jpg){align=center} Flylead header ::: :::{admonition} `DDT_OPTO_` labels :class: warning By mistake, the `DUT_OPTO_` headers are wrongly labeled `DDT_OPTO_` (see the above picture) on the flylead header. In the listing above, the right labels are used. ::: ## Header pinout The flylead header pinout is defined as below: | | A | B | |----|-----------------|-------------------| | 1 | SIB_UART4_RX | GND | | 2 | SIB_UART4_TX | GND | | 3 | DDT_GPIO_6 | DDT_GPIO_8 | | 4 | DDT_GPIO_7 | DDT_GPIO_9 | | 5 | SIB_UART1_RX | SIB_UART3_TX | | 6 | SIB_UART1_TX | SIB_UART3_RX | | 7 | SIB_UART1_RTS | GND | | 8 | SIB_UART1_CTS | GND | | 9 | I2C_MIB_VIO_SDA | I2C_SIB_3V3_SDA | | 10 | I2C_MIB_VIO_SCL | I2C_SIB_3V3_SCL | | 12 | DDT_MOSI | DDT_MISO | | 12 | DDT_SCK | GND | | 13 | DDT_CS | DDT_GPIO_2 | | 14 | GND | GND | | 15 | DDT_GPIO_1 | DUT_OPTO_2E | | 16 | GND | DUT_OPTO_2C | | 17 | DDT_GPIO_3 | DUT_OPTO_1E | | 18 | GND | DUT_OPTO_1C | | 19 | DDT_GPIO_4 | DUT_PWR | | 20 | DDT_GPIO_5 | DUT_RST | ## USB ports :::{admonition} USB ports :class: warning The two USB ports on the flylead MIB are always ON and cannot be controlled from the software. ::: If you need a switchable USB port, use one of the [4 ports on the SIB](/hardware/peripherals.md#dut-usb). ## Software usage ### Optocouplers Some optocouplers are available to toggle on and off virtual buttons. The buttons can be controlled with: ```shell laacli button 1 on laacli button 1 off ``` The different buttons are: * `DUT_OPTO_1C` and `DUT_OPTO_1E`: virtual button `1` * `DUT_OPTO_2C` and `DUT_OPTO_2E`: virtual button `2` * `DUT_RST`: `reset` button * `DUT_PWR`: `power` button ### Power rails Each power rail is available via screw terminal and can be controlled by laacli: ```shell laacli power 12v on laacli power 12v off laacli power 12v reset ``` The MIB provides access to the 4 power rails: 1v8, 3v3, 5v and 12v. ### Serials The header provides 3 set of serials: * `SIB_UART1` as `/dev/ttycmx0`: DUT serial with hardware flow control * `SIB_UART3` as `/dev/ttycmx2`: LAA serial * `SIB_UART4` as `/dev/ttycmx3`: DUT serial `SIB_UART4` is also available via telnet: ```shell telnet localhost 2000 ```