I Don't know about loading boot code into the DataFLASH but I have loaded
a
binary data file into the DataFLASH using SAM-BA.
You can write a series of tcl scripts to accomplish this. The scripts I
needed were actually provided by my Atmel FAE. This is what he provided:
I am using our DataFlash Card, AT45DCB008, 8MByte, which internally uses our
AT45DB642D 64Mbit Serial DataFlash chip. The DataFlash Card is an MMC-style
removable card, such that I have jumpered an MMC socket onto my AT91SAM7S-EK
which uses the AT91SAM7S256 (pin-and-function compatible with your
AT91SAM7S64). There is a sister-device, the AT91SAM7X-EK which uses the
AT91SAM7X256; the -EK already has an MMC socket on it. This way, I have
verified with 2 different MMC cards between the 2 different -EK's that I
can
program and verify different binary images between the 2 using the SAM-BA
v2.6 executable.
So here is the procedure for you modify your existing SAM-BA setup:
1. Download and install the latest
AT91-ISP.exe (2 MB, revision 1.10, updated 06/07) Install files for the AT91
ISP. Includes SAM-BA package.
http://www.atmel.com/dyn
/products/tools_card.asp?tool_id883
2. In the default installation director C:\Program Files\ATMEL
Corporation\AT91-ISP v1.10\SAM-BA v2.6\lib\AT91SAM7S64-EK, make a back-up
copy of the AT91SAM7S64-EK.tcl file.
3. Rename the attached .zzz to .zip and unzip to the above directory.
4. Open up a connection with SAM-BA v2.6, choosing the AT91SAM7S64-EK
5. You should now see a tab labeled, "DataFlash AT45DB/DCB." Under the
Scripts section, there is a drop-down menu for "Enable Dataflash on CS0" or
CS1. Then click Execute to initialize the SPI interface.
6. From there, you can enter a file name in the "Send File Name" box
then click on "Send File." You can then "Compare sent file with memory."
If you are interested in actual files e-mail me and I will send them.
Regards,
Mathieu
http://www.falsecreekwebcam.com/
http://www.falsecreekwebcam.com/buy/dealoftheday.php