OverviewThe USB Type-C functional testing board, Plankton Raiden board, enables USB Type-C automated functional testing. Plankton Raiden board is a multi-layer designed testing board to switch out USB Type-C input data lane. There are several USB muxes and a DisplayPort (DP) re-driver with multiple IO ports so that we can switch USB Type-C functions with huge flexibility. On the board there is also an STM MCU chip for muxes and switches controller, and FTDI listener to get commands from the outside host. Hardware Capabilities
Block diagramFor schematic and board files, please see the attached zip file at the bottom of this page. Set the switches to default setting before flashing EEPROM or firmware.
In the following session, please power up the board and connect to the host through USB3.0 Micro B port (CN5).
EEPROM ProgrammingFor a brand-new board, please program its EEPROM first for setting serial number and product and vendor ID. Install ftx-prog, you can download the program from the Github here and unzip to your home directory. sudo apt-get install build-essential gcc make libftdi-dev cd ~/ftx-prog-master make sudo ftx_prog --old-vid 0x0403 --new-vid 0x18d1 --old-pid 0x6015 --new-pid 0x500c --new-serial-number <serial number> --cbus 0 GPIO --cbus 1 Tristate --cbus 2 GPIO --cbus 3 GPIO --manufacturer "Google Inc" --product "Plankton" --ftprog-strings Firmware Source CodeBuilding FirmwareWithin your Chromium OS chroot, the syntax is:
|
SW6 | Source 20 V/3A to Type-C port (while DUT plugs on) | DS8, DS4, and DS9 will be on |
SW12 | Source 12 V/3A to Type-C port (while DUT plugs on) | DS8 and DS9 will be on |
SW11 | Source 5V/3A to Type-C port (while DUT plugs on) | DS9 will be on |
SW8 | Provide power from VBUS to CN1 | DS5 will be on |
SW2 | Reset MCU | |
SW5 | Toggle USB3.0 & DP for USB type C port | DS1 is on - USB3.0 - Debug USB from CN14 to DUT DS1 is off - DP |
SW7 | Enable case close debugging | |
SW10 | Flip CC | Connect DUT via CC1 -DS3 off Connect DUT via CC2 -DS3 on |
Plug in type C cable | Communication on CC1 | DS2 will blink |
Plug in type C cable | Communication on CC2 | DS6 will blink |
sudo modprobe ftdi_sio
echo 18d1 500c | sudo tee /sys/bus/usb-serial/drivers/ftdi_sio/new_id
ls /dev/ttyUSB*
cu -l /dev/ttyUSBx -s 115200
sudo servod -p 0x500c
dut-control