Difference between revisions of "Facedancer"

From YobiWiki
Jump to navigation Jump to search
(Created page with "==Links== * http://travisgoodspeed.blogspot.be/2012/07/emulating-usb-devices-with-python.html * http://blog.opensecurityresearch.com/2012/11/solder-time-facedancer11-and-goodf...")
 
Line 13: Line 13:
 
USB <-> UART <-> SPI <-> MAX3420E -- USBconn
 
USB <-> UART <-> SPI <-> MAX3420E -- USBconn
 
BoM view (excluding taxes, Farnell prices):
 
BoM view (excluding taxes, Farnell prices):
USBconn -- 5.45€ -- 13.03€ -- 8.27€ -- USBconn
+
USBconn + 5.45€ + 13.03€ + 8.27€ + USBconn
 
So 18.48€ to talk SPI over UART over USB while the Raspberry-Pi has natively SPI, hmmm.
 
So 18.48€ to talk SPI over UART over USB while the Raspberry-Pi has natively SPI, hmmm.
 
<br>Let's try to make a RPi extension board with only the MAX3420E. And to save a few cents and construction pain let's replace the USB connector by a USB cable from a cannibalized mouse. So:
 
<br>Let's try to make a RPi extension board with only the MAX3420E. And to save a few cents and construction pain let's replace the USB connector by a USB cable from a cannibalized mouse. So:
 
RPI-MODA-256M -- MAX3420E -- USBcable
 
RPI-MODA-256M -- MAX3420E -- USBcable
 
<br>From a BoM point of view this becomes (depending on what you add to the RPi, nice casing etc):
 
<br>From a BoM point of view this becomes (depending on what you add to the RPi, nice casing etc):
27.66€ -- 8.27€
+
27.66€ + 8.27€
 
And we get a fully autonomous facedancer which can be even powered over USB and controlled remotely
 
And we get a fully autonomous facedancer which can be even powered over USB and controlled remotely
  +
 
===Schematics===
 
===Schematics===
 
TODO
 
TODO

Revision as of 10:49, 25 April 2013

Links

Merging Facedancer & Raspberry-Pi

Why?

Facedancer11 is a one-purpose version of the flexible GoodFET board.
It was well designed to move all the intelligence into the host controller, not in the embedded uC.
Facedancer11 hardware can be seen as:

 USBconn -- FT232RL -- MSP430F2618TPM -- MAX3420E -- USBconn

where the first two chips are only converting busses:

 USB    <-> UART   <-> SPI           <-> MAX3420E -- USBconn

BoM view (excluding taxes, Farnell prices):

 USBconn +  5.45€   +  13.03€         +  8.27€    +  USBconn

So 18.48€ to talk SPI over UART over USB while the Raspberry-Pi has natively SPI, hmmm.
Let's try to make a RPi extension board with only the MAX3420E. And to save a few cents and construction pain let's replace the USB connector by a USB cable from a cannibalized mouse. So:

                        RPI-MODA-256M -- MAX3420E -- USBcable


From a BoM point of view this becomes (depending on what you add to the RPi, nice casing etc):

                       27.66€         +  8.27€

And we get a fully autonomous facedancer which can be even powered over USB and controlled remotely

Schematics

TODO

x
x
P3  Vcc    P1 3v3 -- 0.1uF -- GND
P4  Vcc    P1 3v3 /
P5  GND \                      P
P6  GND /
x
x

x
P10 -RST                       P15-GPIO22
P11 SCLK
P12 -CS
P13 MISO
P14 MOSI
x
x

(P17 INT)
P18 GND
P19 GND
P20 -- 33 -- USB D-
P21 -- 33 -- USB D+
P22 Vcc -- 1uF -- GND
P23 Vcc
P24 USB VBUS -- 1uF -- GND

x
P26 XTal -- 18pF -- GND
P27 XTal -- 18pF -- GND
x
x
x
x
x

Code