FIGnition FUZE Hardware Reference Manual page 71

Table of Contents

Advertisement

Fig 9.8
This circuit must duplicate the level shifting described in Chapter 5 and so 8 additional re-
sistors are required. The /CS pin is taken from PD5 in this case.
The code at the end of this chapter allows you to back up an entire external Flash chip us-
ing the Spi driver. It's more extensive than previous demonstrations, because it takes a
significant amount of programming to read and write the Flash chip itself and it correctly
implements FIGnition's Flash Translation Layer. Nevertheless, it demonstrates the capabil-
ity of FIGnition to access fairly complex SPI chips.
To use the clone program is quite easy though. A copy of the code and the
.hex
files can
be found at:
http://www.fignition.co.uk/fuze/clone.zip
. You must first download the
.hex
files onto FIGnition's normal external Flash using
avrdude
.
Turn off your FIGnition and insert the backup flash chip on the shield. Then start up FIGni-
tion and from it, load and compile
clone
by typing:
400 5 loads <exe> ( assuming clone was downloaded to block 400)
When this is complete, you run clone by typing
clone <exe>
.
clone
uses the video
RAM as temporary storage, so you'll see data being transferred across. It also checks to
see if the data has been transferred correctly and pauses whenever it finds an error.

Advertisement

Table of Contents
loading

Table of Contents