Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

An XBox 360 SPI NAND flasher for AT90USB-style chips

branch: master

Readme added

latest commit 64fb319f8b
Andreas authored
Octocat-spinner-32 lufa-lib initial September 20, 2011
Octocat-spinner-32 Descriptors.c initial September 20, 2011
Octocat-spinner-32 Descriptors.h initial September 20, 2011
Octocat-spinner-32 Flasher.c Erasing and writing works September 23, 2011
Octocat-spinner-32 Flasher.h Erasing and writing works September 23, 2011
Octocat-spinner-32 Makefile Reading works September 23, 2011
Octocat-spinner-32 README Readme added September 23, 2011
Octocat-spinner-32 XFlash.py Erasing and writing works September 23, 2011
Octocat-spinner-32 XNAND.c initial September 20, 2011
Octocat-spinner-32 XNAND.h initial September 20, 2011
Octocat-spinner-32 XSPI.c initial September 20, 2011
Octocat-spinner-32 XSPI.h initial September 20, 2011
README
This is an XBox 360 SPI NAND programmer for all AT90USB-style Atmel
AVR controllers.
It is mostly based on the picflash and can be seen as a port.

The firmware was developed on an AT90USBKey, but all other AVRs which
have an integrated USB Controller (and are supported by LUFA) should
work, too. Just have an eye on the voltage your board uses. The USBKey
has a 3,3V power supply which is exactly the voltage needed.
The firmware was tested on a 16MB NAND only, so be careful if you have
a 256MB oder 512MB Jasper console.

If you want to change the SPI Pinout, you can do so in the XSPI.h file
in the defines.

I also put some work into the XFlash script which now has a fancy
argument parser, which puts some life into the start and end parameters.
struct.pack in the USB Code now uses always 32 bit little endian
integers to make it work on 64 bit systems.

To use it, just edit the said XSPI.h header file to match your pinout,
run make, put your controller into DFU mode, and run make dfu to
programm the firmware. After that it should be useable right away.
Of course, you need a working AVR-GCC setup and the dfu-programmer for this.

If you want some RS232 debugging output, remove the comment on the DEBUG
define in the Flasher.c file.

Patches are very much appreciated!
Something went wrong with that request. Please try again.