diff options
author | Hao Zhang | 2011-04-01 14:05:32 -0500 |
---|---|---|
committer | Hao Zhang | 2011-04-01 14:05:32 -0500 |
commit | 813da6b78bec159c44ad57d0c7a6f77f2dd09cea (patch) | |
tree | 4abb791b43f39be62e6630df9f55b07e36d1e406 /boot_loader/examples | |
parent | e8c20a1e0f9877fc925b8f6008892fefb1fa70cc (diff) | |
download | mcsdk-tools-813da6b78bec159c44ad57d0c7a6f77f2dd09cea.tar.gz mcsdk-tools-813da6b78bec159c44ad57d0c7a6f77f2dd09cea.tar.xz mcsdk-tools-813da6b78bec159c44ad57d0c7a6f77f2dd09cea.zip |
Added POST and EEPROM writer for C6670DEV.BIOS.MCSDK.02.00.00.07
Diffstat (limited to 'boot_loader/examples')
-rw-r--r-- | boot_loader/examples/i2c/emac/docs/README.txt | 20 | ||||
-rw-r--r-- | boot_loader/examples/i2c/emac/evmc6678l/.project | 2 | ||||
-rw-r--r-- | boot_loader/examples/i2c/nand/docs/README.txt | 12 | ||||
-rw-r--r-- | boot_loader/examples/i2c/nand/evmc6678l/.project | 2 | ||||
-rw-r--r-- | boot_loader/examples/i2c/nor/docs/README.txt | 12 | ||||
-rw-r--r-- | boot_loader/examples/i2c/nor/evmc6678l/.project | 2 |
6 files changed, 27 insertions, 23 deletions
diff --git a/boot_loader/examples/i2c/emac/docs/README.txt b/boot_loader/examples/i2c/emac/docs/README.txt index 380de22..f5fe3d9 100644 --- a/boot_loader/examples/i2c/emac/docs/README.txt +++ b/boot_loader/examples/i2c/emac/docs/README.txt | |||
@@ -13,7 +13,7 @@ Steps to build the example: | |||
13 | Steps to run i2cemacboot in CCSv5: | 13 | Steps to run i2cemacboot in CCSv5: |
14 | 14 | ||
15 | 1. Be sure to set the boot mode dip switch to no boot/EMIF16 boot mode on the EVM, please refer to the EVM technical | 15 | 1. Be sure to set the boot mode dip switch to no boot/EMIF16 boot mode on the EVM, please refer to the EVM technical |
16 | reference manual on how to set the boot mode dip switchs. | 16 | reference manual on how to set the boot mode dip switches. |
17 | 17 | ||
18 | 2. Load the program tools\boot_loader\examples\i2c\emac\evmc6xxxl\bin\i2cemacboot_evm6xxxl.out to CCS. | 18 | 2. Load the program tools\boot_loader\examples\i2c\emac\evmc6xxxl\bin\i2cemacboot_evm6xxxl.out to CCS. |
19 | 19 | ||
@@ -27,19 +27,23 @@ Steps to run i2cemacboot in CCSv5: | |||
27 | 27 | ||
28 | Steps to program i2cemacboot to EMAC: | 28 | Steps to program i2cemacboot to EMAC: |
29 | 29 | ||
30 | 1. Be sure IBL is progrommed to I2C EEPROM bus address 81 (0x51), if IBL is not programmed, refer to | 30 | 1. Be sure IBL is programmed to I2C EEPROM bus address 81 (0x51), if IBL is not programmed, refer to |
31 | tools\boot_loader\ibl\doc\README.txt on how to program the IBL to EEPROM. | 31 | tools\boot_loader\ibl\doc\README.txt on how to program the IBL to EEPROM. |
32 | 32 | ||
33 | 2. Be sure EMAC boot parameter table is progrommed to I2C EEPROM bus address 81 (0x51), if the table is not programmed, | 33 | 2. Be sure EMAC boot parameter table is programmed to I2C EEPROM bus address 81 (0x51), if the table is not programmed, |
34 | refer to tools\boot_loader\ibl\doc\README.txt on how to program the boot parameter table to EEPROM. | 34 | refer to tools\boot_loader\ibl\doc\README.txt on how to program the boot parameter table to EEPROM. |
35 | 35 | ||
36 | 3. Start a TFTP server (you can download a free, opensource application from http://tftpd32.jounin.net) and copy | 36 | 3. Copy tools\boot_loader\examples\i2c\emac\evmc6xxxl\bin\i2cemacboot_evm6xxxl.out to tools\bin2ccs and rename |
37 | tools\boot_loader\examples\i2c\emac\evmc6xxxl\bin\i2cemacboot_evm6xxxl.out to the TFTP base directory. Rename | 37 | the file to app.out. |
38 | i2cemacboot_evm6xxxl.out to app.out | ||
39 | 38 | ||
40 | 4. Set the IP address of the PC that is running the TFTP server to 192.168.1.101, since by default IBL will set the EVM IP | 39 | 4. Double click bin2ccs.bat, which will convert app.out to a CCS format data file app.dat. |
40 | |||
41 | 5. Start a TFTP server (you can download a free, open source application from http://tftpd32.jounin.net) and copy | ||
42 | app.dat to the TFTP base directory. | ||
43 | |||
44 | 6. Set the IP address of the PC that is running the TFTP server to 192.168.1.101, since by default IBL will set the EVM IP | ||
41 | address to 192.168.1.100 and the TFTP server IP address to 192.168.1.101. | 45 | address to 192.168.1.100 and the TFTP server IP address to 192.168.1.101. |
42 | 46 | ||
43 | 5. Be sure the EVM and the PC are connected in the same subnet of a local network, after POR, the EVM will download the | 47 | 7. Be sure the EVM and the PC are connected in the same subnet of a local network, after POR, the EVM will download the |
44 | boot image from TFTP server and boot from it. | 48 | boot image from TFTP server and boot from it. |
45 | 49 | ||
diff --git a/boot_loader/examples/i2c/emac/evmc6678l/.project b/boot_loader/examples/i2c/emac/evmc6678l/.project index 8da3359..f844a5e 100644 --- a/boot_loader/examples/i2c/emac/evmc6678l/.project +++ b/boot_loader/examples/i2c/emac/evmc6678l/.project | |||
@@ -85,7 +85,7 @@ | |||
85 | <link> | 85 | <link> |
86 | <name>README.txt</name> | 86 | <name>README.txt</name> |
87 | <type>1</type> | 87 | <type>1</type> |
88 | <location>TI_MCSDK_BLEXAMPLES_DIR/emac/docs/README.txt</location> | 88 | <location>TI_MCSDK_I2CEXAMPLES_DIR/emac/docs/README.txt</location> |
89 | </link> | 89 | </link> |
90 | <link> | 90 | <link> |
91 | <name>src</name> | 91 | <name>src</name> |
diff --git a/boot_loader/examples/i2c/nand/docs/README.txt b/boot_loader/examples/i2c/nand/docs/README.txt index f14850b..889e074 100644 --- a/boot_loader/examples/i2c/nand/docs/README.txt +++ b/boot_loader/examples/i2c/nand/docs/README.txt | |||
@@ -13,7 +13,7 @@ Steps to build the example: | |||
13 | Steps to run i2cnandboot in CCSv5: | 13 | Steps to run i2cnandboot in CCSv5: |
14 | 14 | ||
15 | 1. Be sure to set the boot mode dip switch to no boot/EMIF16 boot mode on the EVM, please refer to the EVM technical | 15 | 1. Be sure to set the boot mode dip switch to no boot/EMIF16 boot mode on the EVM, please refer to the EVM technical |
16 | reference manual on how to set the boot mode dip switchs. | 16 | reference manual on how to set the boot mode dip switches. |
17 | 17 | ||
18 | 2. Load the program tools\boot_loader\examples\i2c\nand\evmc6xxxl\bin\i2cnandboot_evm6xxxl.out to CCS. | 18 | 2. Load the program tools\boot_loader\examples\i2c\nand\evmc6xxxl\bin\i2cnandboot_evm6xxxl.out to CCS. |
19 | 19 | ||
@@ -27,10 +27,10 @@ Steps to run i2cnandboot in CCSv5: | |||
27 | 27 | ||
28 | Steps to program i2cnandboot to NAND: | 28 | Steps to program i2cnandboot to NAND: |
29 | 29 | ||
30 | 1. Be sure IBL is progrommed to I2C EEPROM bus address 81 (0x51), if IBL is not programmed, refer to | 30 | 1. Be sure IBL is programmed to I2C EEPROM bus address 81 (0x51), if IBL is not programmed, refer to |
31 | tools\boot_loader\ibl\doc\README.txt on how to program the IBL to EEPROM. | 31 | tools\boot_loader\ibl\doc\README.txt on how to program the IBL to EEPROM. |
32 | 32 | ||
33 | 2. Be sure NAND boot parameter table is progrommed to I2C EEPROM bus address 81 (0x51), if the table is not programmed, | 33 | 2. Be sure NAND boot parameter table is programmed to I2C EEPROM bus address 81 (0x51), if the table is not programmed, |
34 | refer to tools\boot_loader\ibl\doc\README.txt on how to program the boot parameter table to EEPROM. | 34 | refer to tools\boot_loader\ibl\doc\README.txt on how to program the boot parameter table to EEPROM. |
35 | 35 | ||
36 | 3. Copy tools\boot_loader\examples\i2c\nand\evmc6xxxl\bin\i2cnandboot_evm6xxxl.out to tools\bin2ccs and rename | 36 | 3. Copy tools\boot_loader\examples\i2c\nand\evmc6xxxl\bin\i2cnandboot_evm6xxxl.out to tools\bin2ccs and rename |
@@ -41,7 +41,7 @@ Steps to program i2cnandboot to NAND: | |||
41 | 5. Copy app.dat to tools\writer\nand\evmc6xxxl\bin and refer to tools\writer\nand\docs\README.txt on how to program | 41 | 5. Copy app.dat to tools\writer\nand\evmc6xxxl\bin and refer to tools\writer\nand\docs\README.txt on how to program |
42 | the app.dat to NAND flash. | 42 | the app.dat to NAND flash. |
43 | 43 | ||
44 | 7. Once the the programming is completed successfully, user can set the boot mode to I2C mode with bus address 0x51 | 44 | 7. Once the programming is completed successfully, user can set the boot mode to I2C mode with bus address 0x51 |
45 | (please refer to the EVM technical reference manual on how to set the boot mode dip switchs) and | 45 | (please refer to the EVM technical reference manual on how to set the boot mode dip switches) and |
46 | boot the Hellow World image from the NAND flash after POR. | 46 | boot the Hello World image from the NAND flash after POR. |
47 | 47 | ||
diff --git a/boot_loader/examples/i2c/nand/evmc6678l/.project b/boot_loader/examples/i2c/nand/evmc6678l/.project index c597440..50fbc4c 100644 --- a/boot_loader/examples/i2c/nand/evmc6678l/.project +++ b/boot_loader/examples/i2c/nand/evmc6678l/.project | |||
@@ -85,7 +85,7 @@ | |||
85 | <link> | 85 | <link> |
86 | <name>README.txt</name> | 86 | <name>README.txt</name> |
87 | <type>1</type> | 87 | <type>1</type> |
88 | <location>TI_MCSDK_BLEXAMPLES_DIR/nand/docs/README.txt</location> | 88 | <location>TI_MCSDK_I2CEXAMPLES_DIR/nand/docs/README.txt</location> |
89 | </link> | 89 | </link> |
90 | <link> | 90 | <link> |
91 | <name>src</name> | 91 | <name>src</name> |
diff --git a/boot_loader/examples/i2c/nor/docs/README.txt b/boot_loader/examples/i2c/nor/docs/README.txt index af080af..0d685b6 100644 --- a/boot_loader/examples/i2c/nor/docs/README.txt +++ b/boot_loader/examples/i2c/nor/docs/README.txt | |||
@@ -13,7 +13,7 @@ Steps to build the example: | |||
13 | Steps to run i2cnorboot in CCSv5: | 13 | Steps to run i2cnorboot in CCSv5: |
14 | 14 | ||
15 | 1. Be sure to set the boot mode dip switch to no boot/EMIF16 boot mode on the EVM, please refer to the EVM technical | 15 | 1. Be sure to set the boot mode dip switch to no boot/EMIF16 boot mode on the EVM, please refer to the EVM technical |
16 | reference manual on how to set the boot mode dip switchs. | 16 | reference manual on how to set the boot mode dip switches. |
17 | 17 | ||
18 | 2. Load the program tools\boot_loader\examples\i2c\nor\evmc6xxxl\bin\i2cnorboot_evm6xxxl.out to CCS. | 18 | 2. Load the program tools\boot_loader\examples\i2c\nor\evmc6xxxl\bin\i2cnorboot_evm6xxxl.out to CCS. |
19 | 19 | ||
@@ -27,10 +27,10 @@ Steps to run i2cnorboot in CCSv5: | |||
27 | 27 | ||
28 | Steps to program i2cnorboot to NOR: | 28 | Steps to program i2cnorboot to NOR: |
29 | 29 | ||
30 | 1. Be sure IBL is progrommed to I2C EEPROM bus address 81 (0x51), if IBL is not programmed, refer to | 30 | 1. Be sure IBL is programmed to I2C EEPROM bus address 81 (0x51), if IBL is not programmed, refer to |
31 | tools\boot_loader\ibl\doc\README.txt on how to program the IBL to EEPROM. | 31 | tools\boot_loader\ibl\doc\README.txt on how to program the IBL to EEPROM. |
32 | 32 | ||
33 | 2. Be sure NOR boot parameter table is progrommed to I2C EEPROM bus address 81 (0x51), if the table is not programmed, | 33 | 2. Be sure NOR boot parameter table is programmed to I2C EEPROM bus address 81 (0x51), if the table is not programmed, |
34 | refer to tools\boot_loader\ibl\doc\README.txt on how to program the boot parameter table to EEPROM. | 34 | refer to tools\boot_loader\ibl\doc\README.txt on how to program the boot parameter table to EEPROM. |
35 | 35 | ||
36 | 3. Copy tools\boot_loader\examples\i2c\nor\evmc6xxxl\bin\i2cnorboot_evm6xxxl.out to tools\bin2ccs and rename | 36 | 3. Copy tools\boot_loader\examples\i2c\nor\evmc6xxxl\bin\i2cnorboot_evm6xxxl.out to tools\bin2ccs and rename |
@@ -41,7 +41,7 @@ Steps to program i2cnorboot to NOR: | |||
41 | 5. Copy app.dat to tools\writer\nor\evmc6xxxl\bin and refer to tools\writer\nor\docs\README.txt on how to program | 41 | 5. Copy app.dat to tools\writer\nor\evmc6xxxl\bin and refer to tools\writer\nor\docs\README.txt on how to program |
42 | the app.dat to NOR flash. | 42 | the app.dat to NOR flash. |
43 | 43 | ||
44 | 7. Once the the programming is completed successfully, user can set the boot mode to I2C mode with bus address 0x51 | 44 | 7. Once the programming is completed successfully, user can set the boot mode to I2C mode with bus address 0x51 |
45 | (please refer to the EVM technical reference manual on how to set the boot mode dip switchs) and | 45 | (please refer to the EVM technical reference manual on how to set the boot mode dip switches) and |
46 | boot the Hellow World image from the NOR flash after POR. | 46 | boot the Hello World image from the NOR flash after POR. |
47 | 47 | ||
diff --git a/boot_loader/examples/i2c/nor/evmc6678l/.project b/boot_loader/examples/i2c/nor/evmc6678l/.project index ee5d8de..4933746 100644 --- a/boot_loader/examples/i2c/nor/evmc6678l/.project +++ b/boot_loader/examples/i2c/nor/evmc6678l/.project | |||
@@ -85,7 +85,7 @@ | |||
85 | <link> | 85 | <link> |
86 | <name>README.txt</name> | 86 | <name>README.txt</name> |
87 | <type>1</type> | 87 | <type>1</type> |
88 | <location>TI_MCSDK_BLEXAMPLES_DIR/nor/docs/README.txt</location> | 88 | <location>TI_MCSDK_I2CEXAMPLES_DIR/nor/docs/README.txt</location> |
89 | </link> | 89 | </link> |
90 | <link> | 90 | <link> |
91 | <name>src</name> | 91 | <name>src</name> |