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:

GoodFET wiring for Max3421 EVK GoodFET Does USB

Clients

A Python client, goodfet.maxusb, is a doodle for simple experimentation.

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#defineDescription
0x00READExchange SPI data.
0x01WRITEExchange SPI data.
0x02PEEKTODO
0x03POKETODO
0x10SETUPConfigure 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