]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/mcsdk-tools.git/blob - boot_loader/examples/i2c/nor/docs/README.txt
updated documentation for C6657
[keystone-rtos/mcsdk-tools.git] / boot_loader / examples / i2c / nor / docs / README.txt
1 NOR boot over I2C example
3 A simple Hello World example demonstrating NOR boot over I2C.
5 Steps to build the example:
7 1. Import the i2cnorboot CCS project from tools\boot_loader\examples\i2c\nor\evmc66xxl directory. (in CCSv5, 
8    Project->Import Existing CCS/CCE Eclipse Projects)
10 2. Clean the i2cnorboot project and re-build the project, after build is completed, i2cnorboot_evm66xxl.out and 
11    i2cnorboot_evm66xxl.map will be generated under tools\boot_loader\examples\i2c\nor\evmc66xxl\bin directory.
13 Steps to run i2cnorboot in CCSv5:
15 1. Be sure to set the boot mode dip switch to no boot/EMIF16 boot mode on the EVM.
17 2. Load the program tools\boot_loader\examples\i2c\nor\evmc66xxl\bin\i2cnorboot_evm66xxl.out to CCS.
19 3. Connect the 3-pin RS-232 cable from the EVM to the serial port of the PC, and start Hyper Terminal.
21 4. Create a new connection with the Baud rate set to 115200 bps, Data bits 8, Parity none, Stop bits 1 and 
22    Flow control none. Be sure the COM port # is set correctly.
24 5. Run the program in CCS, i2cnorboot will send the hello world booting info to both the CCS console and the 
25    Hyper Terminal.
28 Steps to program i2cnorboot to NOR:
30 1. Be sure IBL and boot configuration table are programmed to I2C EEPROM bus address 0x51, if IBL and/or
31    boot configuration table are not programmed, refer to tools\boot_loader\ibl\doc\README.txt on how to program 
32    the IBL and boot configuration table to EEPROM. 
34 2. Copy tools\boot_loader\examples\i2c\nor\evmc66xxl\bin\i2cnorboot_evm66xxl.out to tools\writer\nor\evmc66xxl\bin,
35    rename it to app.bin, and refer to tools\writer\nor\docs\README.txt on how to program
36    the app.bin to NOR flash.
38 3. Once the programming is completed successfully, set the boot dip switches to I2C master mode, 
39    bus address 0x51 and boot parameter index to be 0. 
41 4. After POR, IBL will boot the hello world image from NOR. 
43 5. Please refer to C6678L/C6670L/C6657L EVM boot mode dip switch settings:
44 http://processors.wiki.ti.com/index.php/TMDXEVM6678L_EVM_Hardware_Setup#Boot_Mode_Dip_Switch_Settings
45 http://processors.wiki.ti.com/index.php/TMDXEVM6670L_EVM_Hardware_Setup#Boot_Mode_Dip_Switch_Settings
46 http://processors.wiki.ti.com/index.php/TMDSEVM6657L_EVM_Hardware_Setup#Boot_Mode_Dip_Switch_Settings
48 and User's Guide for more details:
49 http://processors.wiki.ti.com/index.php/BIOS_MCSDK_2.0_User_Guide