Facedancer10
The Facedancer10 is the fourteenth hardware revision of the GoodFET, owing its heritage to the GoodFET41. Unlike the general-purpose GoodFET boards, the only purpose of this board is to allow USB devices to be written in host-side Python, so that one workstation can fuzz-test the USB device drivers of another host.
Further Reading
For more information on USB emulation and fuzzing, see Travis Goodspeed's article, Emulating USB Device with Python. A follow-up article describes emulating DFU to capture firmware updates.
CAD Files
Eagle CAD 5.x files for the design can be found in /branches/facedancer10 of the subversion repository, or as facedancer10.zip.
Bill of Materials
The MSP430F2618TPM may be replaced with a 2617, 2619, 2417, 2418, or 2419 chip, provided that the $mcu variable is set.
Resistor values can be approximated. Be sure to get the 64 pin variant of the MSP430F2618, as 80-pin versions are also manufactured.
Quantity | Package | |
1 | SSOP28 | FT232RL |
1 | QFP64 | MSP430F2618TPM |
1 | LQFP32 | MAX3420E |
2 | 0603 | 1.0μF Capacitors |
3 | 0603 | 0.1μF Decoupling Capacitors |
2 | 0603 | 18pF Capacitors* |
1 | HC49/UP** | 12MHz SMD Crystal, 18pF |
3 | 0603 | 0603 LED |
2 | 0603 | 330R LED Series Resistors |
2 | 0603 | 33R USB Series Resistors |
2 | USB Mini Receptacle Kobiconn 154-15320-E or FCI 10033526-N3212MLF or On Shore USB-M26FTR |
* These should match the required capacitance of the crystal.
** The /US SMD package works as an alternative.
Construction
Place the components as shown in the comments of this Flickr image. As this is a surface-mount design, be sure that you are familiar with such techniques or have assistance before beginning assembly.
For consistency, please place the LEDs such that RX is green, TX is red, and other LED is yellow. As always with LEDs, pay attention to polarity.
Usage
Build and flash firmware with the following commands. This board self-flashes over USB through a masked-ROM bootloader, so there is no need for an external programmer.
export board=facedancer10 make clean install goodfet.maxusbhid
Errata
The MAX3420 pad just is just a little bit too small for the legs, which will teach Travis not to trust part libraries he finds on the Internet. Shorten the legs by clipping them at their knees or use an SMD rework station so heat the solder without an iron.
C5, the 0.1μF capacitor of the MAX3420E, is missing a wire to GND. This didn't seem to cause any problems.