Instructions to write Bootloaders


 * First load the i2cWrite.out and do NOT execute the program. Then open a memory window in CCS v4(View->Memory) and type i2cData as shown below




 * In the Memory Window, Right click and load memory as shown below




 * Then load the appropriate .dat file for correct EVM/endian combination




 * The start address should be 0x800000. So please change the Start Address




 * Click Finish and then Run the i2c Writer as shown below




 * Then Load the program i2cparam_c64xx.out and execute it. Again please use the appropriate .out file. There are separate files for the various EVMs/endian. On executing the program, the user will be asked to Load the GEL




 * To Load a GEL, follow the steps shown below. Goto Tools-> Gel Files




 * A Window will open up where you can input the GEL File




 * Execute the GEL file. More specifically execute the function setConfig_c64xx as shown below. Please Modify the GEL file appropriately before executing the GEL. In the setConfig_c64xx function, modify the following three lines to reflect the users environment. There are separate functions for each EVM

Change the following 3 appropriately. SETIP(ibl.ethConfig[0].ethInfo.ipAddr,   192,168,1,35); SETIP(ibl.ethConfig[0].ethInfo.serverIp, 192,168,1,25); SETIP(ibl.ethConfig[0].ethInfo.gatewayIp, 192,168,1,2);

When burning the EEPROM images for the little Endian boot, change the following lines. ibl.ethConfig[0].ethInfo.fileName[0] = 'c'; ibl.ethConfig[0].ethInfo.fileName[1] = '6'; ibl.ethConfig[0].ethInfo.fileName[2] = '4'; ibl.ethConfig[0].ethInfo.fileName[3] = 'x'; ibl.ethConfig[0].ethInfo.fileName[4] = 'x'; ibl.ethConfig[0].ethInfo.fileName[5] = '-'; ibl.ethConfig[0].ethInfo.fileName[6] = 'b'; ibl.ethConfig[0].ethInfo.fileName[7] = 'e'; ibl.ethConfig[0].ethInfo.fileName[8] = '.'; ibl.ethConfig[0].ethInfo.fileName[9] = 'b'; ibl.ethConfig[0].ethInfo.fileName[10] = 'i'; ibl.ethConfig[0].ethInfo.fileName[11] = 'n'; ibl.ethConfig[0].ethInfo.fileName[12] = '\0'; ibl.ethConfig[0].ethInfo.fileName[13] = '\0'; ibl.ethConfig[0].ethInfo.fileName[14] = '\0';
 * The GEL is configured in such a way that the kernel image that will boot up is named c64xx-xe.bin.

This will result in the little Endian bootloader picking up the binary c64xx-le.bin from the assigned tftp server
 * Change ibl.ethConfig[0].ethInfo.fileName[6] = 'b'; to ibl.ethConfig[0].ethInfo.fileName[6]  = 'l';




 * Then in the Console Window Press Enter.




 * Power cycle the EVM.