MAXUSB Application
This is a driver for the MAX342x USB chips from Maxim. The pinout is SPI except that pin 8 becomes INT and pin 11 becomes !RST.
You can use the Facedancer11 device, or you could purchase the Maxim MAX3421 EVK, then wiring it up with the following configuration:
Clients
A Python client, goodfet.maxusb, is a doodle for simple experimentation.
- goodfet.maxusb
- goodfet.maxusbdfu
- goodfet.maxusbftdi
- goodfet.maxusbhid
- goodfet.maxusbhost
- goodfet.maxusbmass
Development
Nothing yet.
Verbs
The following verbs are supported. The Write-Enable command is implied by those that write flash memory, such as POKE and SPI_ERASE.
Hex | #define | Description |
---|---|---|
0x00 | READ | Exchange SPI data. |
0x01 | WRITE | Exchange SPI data. |
0x02 | PEEK | TODO |
0x03 | POKE | TODO |
0x10 | SETUP | Configure I/O pins. |
Example Usage
On the host side, run goodfet.maxusbmass. On a target machine, you will see it appear as a thumb drive, and you can mount it like a read-only USB device as shown below:
$ sudo mount /dev/sdc /mnt/gf mount: warning: /mnt/gf seems to be mounted read-only. $ ls /mnt/gf/ add-ons autorun.inf cdsample drivers readme.txt setup.exe setuptip.txt tools win98 $ head /mnt/gf/readme.txt ------------------------------------------ Microsoft Windows 98 Second Edition README for Microsoft Windows (c) Copyright Microsoft Corporation, 1999 ------------------------------------------ ------------------------ HOW TO USE THIS DOCUMENT