How to use the programming tool

Use the programming tool "programmer.out" to boot and run a program when the board is powered on. The board is shipped with demo "EVM_Sample" programmed in the SPI ROM. The programmer requires the .bin file found in the folder EVM_Samples\bin.

1) Open CCS 
2) Connect to target
3) download "programmer_32bit.out"  and run
4) Follow instruction on output window. 
Choose the device...
0XX - CPLD setup only
1x - NAND Flash [CSx: 2,3,4,5]
2x - NOR Flash [CSx: 2,3,4,5]
3x - SPI EEPROM [x=1: EVM, x=2: USB Stick]
4 - IIC EEPROM
5 - MMC;  6 - SD

==> select device you want to program
==> for NAND and NOR, you should select Chip Select number
==> 2: NAND_CE0, 3: NAND_CE1, 4: ASYNC_CE0 (NOR FLASH in the EVM Memory Card), 5: ASYNC_CE1 (SRAM in the EVM memory card)
==> example: "24"

**You must program a secure boot-image to MMC and SD to get proper boot-up operation. 

5) Second instruction on output window
Operation to perform...
0 - CPLD setup for this device
1<file> - Program device with <file>
2<file> - Read device data to output <file>

==> enter 1+file name
==> note that no gap between 1 and file name
==> file name should include whold path 
==> example: "1C:\Medical\SW\C5515_tool\BootImageCreation\mybootImage.bin"

6) wait till programming is complete
