NAND Writer Utility

NAND Writer is a simple utility to program a CCS format image/data file to the NAND flash.

Steps to program the NAND:

1. Be sure to set the boot mode dip switch to no boot/EMIF16 boot mode on the EVM.

2. Open CCSv5 and launch the evmxxxx emulator target configuration and connect to core 0.

3. Load the program nandwriter_evmxxxx.out to CCS, be sure evmxxxx.gel is used in CCS and DDR is intialized.

4. Load nandImage.dat to 0x80000000:
     * CCS 6.x-> Tools -> Load memory.
     * Browse and select nandImage.dat , File type->TI Data.
     * Check the option "Use the file header information to set the start and size of the memory block to be loaded" and click "next"
     * Set the Start Address to "0x80000000" and  click "finish"

8. After the data file is loaded into the memory, run the program (in CCSv6.x, press F8), it will start to program the 
   NAND.

9. When programming is completed, the console will print "NAND programming completed successfully", if there
   is any error, the console will show the error message.


