
This version of the NOR writer, AppletonNORWrite_DSP_LE, was made to be executed by Appleton
DSP code 0 with system set to little endian. It has been verified on the Appleton VDB (with 
Spansion S29WS256P 16-bit NOR). It was designed to write U-Boot to the NOR for the ARM to execute.


The following files have been obtained from Spansion Website
and should not be used with a different NOR Flash:

1) lld.h
2) lld_target_specific.h
3) S29WSxxxP.h
3) lld.c


To use this NOR flash programmer:

1. On VDB only: Connect CE0 to 16-bit NOR device by adding a wire between JP39-pin1 and JP39-pin2. 
See AppletonVDB_NandNor.pdf for possible mappings with this connector. (Note: EVM does not have 
the NOR flash.)

2. Connect to ARM core in CCS. Load AppletonNORWrite_DSP_LE.out.

3. In a memory window load the file (*.bin) to be programmed to the NOR. The load address must
be changed to 0x0C000000 (address of "writeBlock" in the programmer code). The length is the 
number of 32-bit words in the file and will be read automatically from the file. This length
will be used in the next step.

4. In the expression window add "dataSizeUint32". Set this variable to be the number of 
32-bit words to be programmed to the NOR. This is a hex number so you must prefix it with "0x".

5. Press run. The console window will show you the results.

Note: The .bin file to be programmed to the NOR is the result of the U-Boot build process. It is 
a binary file. Below is an example of how the file will appear is viewed in a hex editor:

130000EA
14F09FE5
14F09FE5
14F09FE5
14F09FE5
14F09FE5
14F09FE5
14F09FE5
C0010070



