summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Pang2012-05-11 17:33:24 -0500
committerIvan Pang2012-05-11 17:33:24 -0500
commitdb977723de6ac27e00a2d522ea2100a925d5a47f (patch)
tree6b24aecd56f284822a76e114452a79bb1d2a244e /boot_loader
parentc490330bbb30677aef425a3076eb42aa06cfbb65 (diff)
downloadmcsdk-tools-db977723de6ac27e00a2d522ea2100a925d5a47f.tar.gz
mcsdk-tools-db977723de6ac27e00a2d522ea2100a925d5a47f.tar.xz
mcsdk-tools-db977723de6ac27e00a2d522ea2100a925d5a47f.zip
Added 6657 i2c boot examples
Diffstat (limited to 'boot_loader')
-rw-r--r--boot_loader/examples/i2c/nand/evmc6657l/.ccsproject10
-rw-r--r--boot_loader/examples/i2c/nand/evmc6657l/.cproject89
-rw-r--r--boot_loader/examples/i2c/nand/evmc6657l/.project102
-rw-r--r--boot_loader/examples/i2c/nand/evmc6657l/i2c_boot_nand_example.cmd77
-rw-r--r--boot_loader/examples/i2c/nand/evmc6657l/macros.ini1
-rw-r--r--boot_loader/examples/i2c/nor/evmc6657l/.ccsproject10
-rw-r--r--boot_loader/examples/i2c/nor/evmc6657l/.cproject89
-rw-r--r--boot_loader/examples/i2c/nor/evmc6657l/.project102
-rw-r--r--boot_loader/examples/i2c/nor/evmc6657l/i2c_boot_nor_example.cmd77
-rw-r--r--boot_loader/examples/i2c/nor/evmc6657l/macros.ini1
-rw-r--r--boot_loader/examples/i2c/tftp/evmc6657l/.ccsproject10
-rw-r--r--boot_loader/examples/i2c/tftp/evmc6657l/.cproject89
-rw-r--r--boot_loader/examples/i2c/tftp/evmc6657l/.project102
-rw-r--r--boot_loader/examples/i2c/tftp/evmc6657l/i2c_boot_tftp_example.cmd77
-rw-r--r--boot_loader/examples/i2c/tftp/evmc6657l/macros.ini1
15 files changed, 837 insertions, 0 deletions
diff --git a/boot_loader/examples/i2c/nand/evmc6657l/.ccsproject b/boot_loader/examples/i2c/nand/evmc6657l/.ccsproject
new file mode 100644
index 0000000..f8e7770
--- /dev/null
+++ b/boot_loader/examples/i2c/nand/evmc6657l/.ccsproject
@@ -0,0 +1,10 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<?ccsproject version="1.0"?>
3
4<projectOptions>
5<deviceVariant value="com.ti.ccstudio.deviceModel.C6000.CustomC6000Device"/>
6<deviceEndianness value="little"/>
7<codegenToolVersion value="7.2.4"/>
8<isElfFormat value="true"/>
9<rts value="rts6600_elf.lib"/>
10</projectOptions>
diff --git a/boot_loader/examples/i2c/nand/evmc6657l/.cproject b/boot_loader/examples/i2c/nand/evmc6657l/.cproject
new file mode 100644
index 0000000..bf5d4cd
--- /dev/null
+++ b/boot_loader/examples/i2c/nand/evmc6657l/.cproject
@@ -0,0 +1,89 @@
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<?fileVersion 4.0.0?>
3
4<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
5 <storageModule configRelations="2" moduleId="org.eclipse.cdt.core.settings">
6 <cconfiguration id="com.ti.ccstudio.buildDefinitions.C6000.Debug.1869204513">
7 <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C6000.Debug.1869204513" moduleId="org.eclipse.cdt.core.settings" name="Debug">
8 <macros>
9 <stringMacro name="TI_MCSDK_I2CEXAMPLES_DIR" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../.."/>
10 </macros>
11 <externalSettings/>
12 <extensions>
13 <extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
14 <extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
15 <extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
16 <extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
17 </extensions>
18 </storageModule>
19 <storageModule moduleId="org.eclipse.cdt.core.pathentry"/>
20 <storageModule moduleId="cdtBuildSystem" version="4.0.0">
21 <configuration artifactExtension="out" artifactName="../bin/i2cnandboot_evm6657l" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="" errorParsers="com.ti.ccstudio.errorparser.LinkErrorParser;com.ti.ccstudio.errorparser.CoffErrorParser;com.ti.ccstudio.errorparser.AsmErrorParser" id="com.ti.ccstudio.buildDefinitions.C6000.Debug.1869204513" name="Debug" parent="com.ti.ccstudio.buildDefinitions.C6000.Debug">
22 <folderInfo id="com.ti.ccstudio.buildDefinitions.C6000.Debug.1869204513." name="/" resourcePath="">
23 <toolChain id="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.DebugToolchain.1341769842" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.linkerDebug.2013270402">
24 <option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.1290775152" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
25 <listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=com.ti.ccstudio.deviceModel.C6000.CustomC6000Device"/>
26 <listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
27 <listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
28 <listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.1.0.01"/>
29 <listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=libc.a"/>
30 <listOptionValue builtIn="false" value="RTSC_PRODUCTS=com.ti.biosmcsdk.pdk.C6657:1.0.0.0;"/>
31 <listOptionValue builtIn="false" value="OUTPUT_TYPE=rtscApplication:executable"/>
32 </option>
33 <option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.12641960" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="7.3.1" valueType="string"/>
34 <targetPlatform id="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.targetPlatformDebug.1163642999" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.targetPlatformDebug"/>
35 <builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.builderDebug.2021106977" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.builderDebug"/>
36 <tool id="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.compilerDebug.249404834" name="C6000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.compilerDebug">
37 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DEBUGGING_MODEL.1591857871" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
38 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.INCLUDE_PATH.1801439832" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.INCLUDE_PATH" valueType="includePath">
39 <listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
40 <listOptionValue builtIn="false" value="&quot;${TI_PDK_C6657_INSTALL_DIR}/packages/ti/platform&quot;"/>
41 <listOptionValue builtIn="false" value="&quot;${TI_PDK_C6657_INSTALL_DIR}/packages&quot;"/>
42 </option>
43 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DIAG_WARNING.1442978752" name="Treat diagnostic &lt;id&gt; as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DIAG_WARNING" valueType="stringList">
44 <listOptionValue builtIn="false" value="225"/>
45 </option>
46 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.ABI.1808835018" name="Application binary interface (coffabi, eabi) (--abi)" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.ABI" value="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.ABI.eabi" valueType="enumerated"/>
47 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DISPLAY_ERROR_NUMBER.1115246623" name="Emit diagnostic identifier numbers (--display_error_number, -pden)" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
48 <inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__C_SRCS.1556313588" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__C_SRCS"/>
49 <inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__CPP_SRCS.1890357503" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__CPP_SRCS"/>
50 <inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__ASM_SRCS.913869676" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__ASM_SRCS"/>
51 <inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__ASM2_SRCS.1008426173" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__ASM2_SRCS"/>
52 </tool>
53 <tool id="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.linkerDebug.2013270402" name="C6000 Linker" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.linkerDebug">
54 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.OUTPUT_FILE.2124360049" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.OUTPUT_FILE" value="&quot;../bin/i2cnandboot_evm6657l.out&quot;" valueType="string"/>
55 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.MAP_FILE.407835855" name="Input and output sections listed into &lt;file&gt; (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.MAP_FILE" value="&quot;../bin/i2cnandboot_evm6657l.map&quot;" valueType="string"/>
56 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.LIBRARY.1108607170" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.LIBRARY" valueType="libs">
57 <listOptionValue builtIn="false" value="&quot;ti.platform.evm6657l.ae66&quot;"/>
58 <listOptionValue builtIn="false" value="&quot;libc.a&quot;"/>
59 </option>
60 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.SEARCH_PATH.488579206" name="Add &lt;dir&gt; to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.SEARCH_PATH" valueType="stringList">
61 <listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/lib&quot;"/>
62 <listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
63 <listOptionValue builtIn="false" value="&quot;${TI_PDK_C6657_INSTALL_DIR}/packages/ti/platform/evmc6657l/platform_lib/lib/debug&quot;"/>
64 </option>
65 </tool>
66 </toolChain>
67 </folderInfo>
68 </configuration>
69 </storageModule>
70 <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
71 <storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
72 <storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
73 </cconfiguration>
74 </storageModule>
75 <storageModule moduleId="cdtBuildSystem" version="4.0.0">
76 <project id="i2cnandboot.com.ti.ccstudio.buildDefinitions.C6000.ProjectType.1742876545" name="C6000" projectType="com.ti.ccstudio.buildDefinitions.C6000.ProjectType"/>
77 </storageModule>
78 <storageModule moduleId="org.eclipse.cdt.core.language.mapping">
79 <project-mappings>
80 <content-type-mapping configuration="" content-type="org.eclipse.cdt.core.asmSource" language="com.ti.ccstudio.core.TIASMLanguage"/>
81 <content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cHeader" language="com.ti.ccstudio.core.TIGCCLanguage"/>
82 <content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cSource" language="com.ti.ccstudio.core.TIGCCLanguage"/>
83 <content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxHeader" language="com.ti.ccstudio.core.TIGPPLanguage"/>
84 <content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxSource" language="com.ti.ccstudio.core.TIGPPLanguage"/>
85 </project-mappings>
86 </storageModule>
87 <storageModule moduleId="refreshScope"/>
88 <storageModule moduleId="scannerConfiguration"/>
89</cproject>
diff --git a/boot_loader/examples/i2c/nand/evmc6657l/.project b/boot_loader/examples/i2c/nand/evmc6657l/.project
new file mode 100644
index 0000000..a8f94db
--- /dev/null
+++ b/boot_loader/examples/i2c/nand/evmc6657l/.project
@@ -0,0 +1,102 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<projectDescription>
3 <name>i2cnandboot_evmc6657l</name>
4 <comment></comment>
5 <projects>
6 </projects>
7 <buildSpec>
8 <buildCommand>
9 <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
10 <arguments>
11 <dictionary>
12 <key>?name?</key>
13 <value></value>
14 </dictionary>
15 <dictionary>
16 <key>org.eclipse.cdt.make.core.append_environment</key>
17 <value>true</value>
18 </dictionary>
19 <dictionary>
20 <key>org.eclipse.cdt.make.core.autoBuildTarget</key>
21 <value>all</value>
22 </dictionary>
23 <dictionary>
24 <key>org.eclipse.cdt.make.core.buildArguments</key>
25 <value>-k</value>
26 </dictionary>
27 <dictionary>
28 <key>org.eclipse.cdt.make.core.buildCommand</key>
29 <value>${CCS_UTILS_DIR}/bin/gmake</value>
30 </dictionary>
31 <dictionary>
32 <key>org.eclipse.cdt.make.core.buildLocation</key>
33 <value>${BuildDirectory}</value>
34 </dictionary>
35 <dictionary>
36 <key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
37 <value>clean</value>
38 </dictionary>
39 <dictionary>
40 <key>org.eclipse.cdt.make.core.contents</key>
41 <value>org.eclipse.cdt.make.core.activeConfigSettings</value>
42 </dictionary>
43 <dictionary>
44 <key>org.eclipse.cdt.make.core.enableAutoBuild</key>
45 <value>true</value>
46 </dictionary>
47 <dictionary>
48 <key>org.eclipse.cdt.make.core.enableCleanBuild</key>
49 <value>true</value>
50 </dictionary>
51 <dictionary>
52 <key>org.eclipse.cdt.make.core.enableFullBuild</key>
53 <value>true</value>
54 </dictionary>
55 <dictionary>
56 <key>org.eclipse.cdt.make.core.fullBuildTarget</key>
57 <value>all</value>
58 </dictionary>
59 <dictionary>
60 <key>org.eclipse.cdt.make.core.stopOnError</key>
61 <value>false</value>
62 </dictionary>
63 <dictionary>
64 <key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
65 <value>true</value>
66 </dictionary>
67 </arguments>
68 </buildCommand>
69 <buildCommand>
70 <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
71 <triggers>full,incremental,</triggers>
72 <arguments>
73 </arguments>
74 </buildCommand>
75 </buildSpec>
76 <natures>
77 <nature>com.ti.ccstudio.managedbuild.core.ccsNature</nature>
78 <nature>com.ti.ccstudio.core.ccsNature</nature>
79 <nature>org.eclipse.cdt.core.cnature</nature>
80 <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
81 <nature>org.eclipse.cdt.core.ccnature</nature>
82 <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
83 </natures>
84 <linkedResources>
85 <link>
86 <name>README.txt</name>
87 <type>1</type>
88 <locationURI>TI_MCSDK_I2CEXAMPLES_DIR/nand/docs/README.txt</locationURI>
89 </link>
90 <link>
91 <name>src</name>
92 <type>2</type>
93 <locationURI>TI_MCSDK_I2CEXAMPLES_DIR/nand/src</locationURI>
94 </link>
95 </linkedResources>
96 <variableList>
97 <variable>
98 <name>TI_MCSDK_I2CEXAMPLES_DIR</name>
99 <value>$%7BPARENT-2-PROJECT_LOC%7D</value>
100 </variable>
101 </variableList>
102</projectDescription>
diff --git a/boot_loader/examples/i2c/nand/evmc6657l/i2c_boot_nand_example.cmd b/boot_loader/examples/i2c/nand/evmc6657l/i2c_boot_nand_example.cmd
new file mode 100644
index 0000000..cab1993
--- /dev/null
+++ b/boot_loader/examples/i2c/nand/evmc6657l/i2c_boot_nand_example.cmd
@@ -0,0 +1,77 @@
1/******************************************************************************
2 * Copyright (c) 2011 Texas Instruments Incorporated - http://www.ti.com
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 *
11 * Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the
14 * distribution.
15 *
16 * Neither the name of Texas Instruments Incorporated nor the names of
17 * its contributors may be used to endorse or promote products derived
18 * from this software without specific prior written permission.
19 *
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 *
32 *****************************************************************************/
33/*
34 * Linker command file
35 *
36 */
37
38-c
39-heap 0x40000
40-stack 0x8000
41
42/* Memory Map 1 - the default */
43MEMORY
44{
45 L1PSRAM (RWX) : org = 0x0E00000, len = 0x7FFF
46 L1DSRAM (RWX) : org = 0x0F00000, len = 0x7FFF
47
48 L2SRAM (RWX) : org = 0x0820000, len = 0xe0000
49 MSMCSRAM (RWX) : org = 0xc000000, len = 0x200000
50 DDR3 (RWX) : org = 0x80000000,len = 0x10000000
51}
52
53SECTIONS
54{
55 .csl_vect > L2SRAM
56 .cppi > L2SRAM
57 .linkram > L2SRAM
58 .mac_buffer > L2SRAM
59 platform_lib > L2SRAM
60 .text > L2SRAM
61 GROUP (NEAR_DP)
62 {
63 .neardata
64 .rodata
65 .bss
66 } load > L2SRAM
67 .stack > L2SRAM
68 .cinit > L2SRAM
69 .cio > L2SRAM
70 .const > L2SRAM
71 .data > L2SRAM
72 .switch > L2SRAM
73 .sysmem > L2SRAM
74 .far > L2SRAM
75 .testMem > L2SRAM
76 .fardata > L2SRAM
77}
diff --git a/boot_loader/examples/i2c/nand/evmc6657l/macros.ini b/boot_loader/examples/i2c/nand/evmc6657l/macros.ini
new file mode 100644
index 0000000..f4e4f7b
--- /dev/null
+++ b/boot_loader/examples/i2c/nand/evmc6657l/macros.ini
@@ -0,0 +1 @@
TI_MCSDK_I2CEXAMPLES_DIR="../../../../
diff --git a/boot_loader/examples/i2c/nor/evmc6657l/.ccsproject b/boot_loader/examples/i2c/nor/evmc6657l/.ccsproject
new file mode 100644
index 0000000..f8e7770
--- /dev/null
+++ b/boot_loader/examples/i2c/nor/evmc6657l/.ccsproject
@@ -0,0 +1,10 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<?ccsproject version="1.0"?>
3
4<projectOptions>
5<deviceVariant value="com.ti.ccstudio.deviceModel.C6000.CustomC6000Device"/>
6<deviceEndianness value="little"/>
7<codegenToolVersion value="7.2.4"/>
8<isElfFormat value="true"/>
9<rts value="rts6600_elf.lib"/>
10</projectOptions>
diff --git a/boot_loader/examples/i2c/nor/evmc6657l/.cproject b/boot_loader/examples/i2c/nor/evmc6657l/.cproject
new file mode 100644
index 0000000..689ea8d
--- /dev/null
+++ b/boot_loader/examples/i2c/nor/evmc6657l/.cproject
@@ -0,0 +1,89 @@
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<?fileVersion 4.0.0?>
3
4<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
5 <storageModule configRelations="2" moduleId="org.eclipse.cdt.core.settings">
6 <cconfiguration id="com.ti.ccstudio.buildDefinitions.C6000.Debug.1869204513">
7 <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C6000.Debug.1869204513" moduleId="org.eclipse.cdt.core.settings" name="Debug">
8 <macros>
9 <stringMacro name="TI_MCSDK_I2CEXAMPLES_DIR" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../.."/>
10 </macros>
11 <externalSettings/>
12 <extensions>
13 <extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
14 <extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
15 <extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
16 <extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
17 </extensions>
18 </storageModule>
19 <storageModule moduleId="org.eclipse.cdt.core.pathentry"/>
20 <storageModule moduleId="cdtBuildSystem" version="4.0.0">
21 <configuration artifactExtension="out" artifactName="../bin/i2cnorboot_evm6657l" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="" errorParsers="com.ti.ccstudio.errorparser.LinkErrorParser;com.ti.ccstudio.errorparser.CoffErrorParser;com.ti.ccstudio.errorparser.AsmErrorParser" id="com.ti.ccstudio.buildDefinitions.C6000.Debug.1869204513" name="Debug" parent="com.ti.ccstudio.buildDefinitions.C6000.Debug">
22 <folderInfo id="com.ti.ccstudio.buildDefinitions.C6000.Debug.1869204513." name="/" resourcePath="">
23 <toolChain id="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.DebugToolchain.1757151644" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.linkerDebug.411618948">
24 <option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.1119571533" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
25 <listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=com.ti.ccstudio.deviceModel.C6000.CustomC6000Device"/>
26 <listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
27 <listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
28 <listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.1.0.01"/>
29 <listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=libc.a"/>
30 <listOptionValue builtIn="false" value="RTSC_PRODUCTS=com.ti.biosmcsdk.pdk.C6657:1.0.0.0;"/>
31 <listOptionValue builtIn="false" value="OUTPUT_TYPE=rtscApplication:executable"/>
32 </option>
33 <option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.733406568" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="7.3.1" valueType="string"/>
34 <targetPlatform id="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.targetPlatformDebug.1984411304" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.targetPlatformDebug"/>
35 <builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.builderDebug.1081566869" name="GNU Make.Debug" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.builderDebug"/>
36 <tool id="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.compilerDebug.573895410" name="C6000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.compilerDebug">
37 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DEBUGGING_MODEL.1395441373" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
38 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.INCLUDE_PATH.1649489149" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.INCLUDE_PATH" valueType="includePath">
39 <listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
40 <listOptionValue builtIn="false" value="&quot;${TI_PDK_C6657_INSTALL_DIR}/packages/ti/platform&quot;"/>
41 <listOptionValue builtIn="false" value="&quot;${TI_PDK_C6657_INSTALL_DIR}/packages&quot;"/>
42 </option>
43 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DIAG_WARNING.1032782342" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DIAG_WARNING" valueType="stringList">
44 <listOptionValue builtIn="false" value="225"/>
45 </option>
46 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.ABI.695814642" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.ABI" value="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.ABI.eabi" valueType="enumerated"/>
47 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DISPLAY_ERROR_NUMBER.1430985701" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
48 <inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__C_SRCS.627994126" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__C_SRCS"/>
49 <inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__CPP_SRCS.675136966" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__CPP_SRCS"/>
50 <inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__ASM_SRCS.974375000" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__ASM_SRCS"/>
51 <inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__ASM2_SRCS.1604011897" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__ASM2_SRCS"/>
52 </tool>
53 <tool id="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.linkerDebug.411618948" name="C6000 Linker" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.linkerDebug">
54 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.OUTPUT_FILE.2009183513" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.OUTPUT_FILE" value="&quot;../bin/i2cnorboot_evm6657l.out&quot;" valueType="string"/>
55 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.MAP_FILE.1134995439" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.MAP_FILE" value="&quot;../bin/i2cnorboot_evm6657l.map&quot;" valueType="string"/>
56 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.LIBRARY.820583130" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.LIBRARY" valueType="libs">
57 <listOptionValue builtIn="false" value="&quot;ti.platform.evm6657l.ae66&quot;"/>
58 <listOptionValue builtIn="false" value="&quot;libc.a&quot;"/>
59 </option>
60 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.SEARCH_PATH.956701880" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.SEARCH_PATH" valueType="stringList">
61 <listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/lib&quot;"/>
62 <listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
63 <listOptionValue builtIn="false" value="&quot;${TI_PDK_C6657_INSTALL_DIR}/packages/ti/platform/evmc6657l/platform_lib/lib/debug&quot;"/>
64 </option>
65 </tool>
66 </toolChain>
67 </folderInfo>
68 </configuration>
69 </storageModule>
70 <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
71 <storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
72 <storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
73 </cconfiguration>
74 </storageModule>
75 <storageModule moduleId="cdtBuildSystem" version="4.0.0">
76 <project id="i2cnorboot.com.ti.ccstudio.buildDefinitions.C6000.ProjectType.1742876545" name="C6000" projectType="com.ti.ccstudio.buildDefinitions.C6000.ProjectType"/>
77 </storageModule>
78 <storageModule moduleId="org.eclipse.cdt.core.language.mapping">
79 <project-mappings>
80 <content-type-mapping configuration="" content-type="org.eclipse.cdt.core.asmSource" language="com.ti.ccstudio.core.TIASMLanguage"/>
81 <content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cHeader" language="com.ti.ccstudio.core.TIGCCLanguage"/>
82 <content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cSource" language="com.ti.ccstudio.core.TIGCCLanguage"/>
83 <content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxHeader" language="com.ti.ccstudio.core.TIGPPLanguage"/>
84 <content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxSource" language="com.ti.ccstudio.core.TIGPPLanguage"/>
85 </project-mappings>
86 </storageModule>
87 <storageModule moduleId="refreshScope"/>
88 <storageModule moduleId="scannerConfiguration"/>
89</cproject>
diff --git a/boot_loader/examples/i2c/nor/evmc6657l/.project b/boot_loader/examples/i2c/nor/evmc6657l/.project
new file mode 100644
index 0000000..99b261a
--- /dev/null
+++ b/boot_loader/examples/i2c/nor/evmc6657l/.project
@@ -0,0 +1,102 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<projectDescription>
3 <name>i2cnorboot_evmc6657l</name>
4 <comment></comment>
5 <projects>
6 </projects>
7 <buildSpec>
8 <buildCommand>
9 <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
10 <arguments>
11 <dictionary>
12 <key>?name?</key>
13 <value></value>
14 </dictionary>
15 <dictionary>
16 <key>org.eclipse.cdt.make.core.append_environment</key>
17 <value>true</value>
18 </dictionary>
19 <dictionary>
20 <key>org.eclipse.cdt.make.core.autoBuildTarget</key>
21 <value>all</value>
22 </dictionary>
23 <dictionary>
24 <key>org.eclipse.cdt.make.core.buildArguments</key>
25 <value>-k</value>
26 </dictionary>
27 <dictionary>
28 <key>org.eclipse.cdt.make.core.buildCommand</key>
29 <value>${CCS_UTILS_DIR}/bin/gmake</value>
30 </dictionary>
31 <dictionary>
32 <key>org.eclipse.cdt.make.core.buildLocation</key>
33 <value>${BuildDirectory}</value>
34 </dictionary>
35 <dictionary>
36 <key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
37 <value>clean</value>
38 </dictionary>
39 <dictionary>
40 <key>org.eclipse.cdt.make.core.contents</key>
41 <value>org.eclipse.cdt.make.core.activeConfigSettings</value>
42 </dictionary>
43 <dictionary>
44 <key>org.eclipse.cdt.make.core.enableAutoBuild</key>
45 <value>true</value>
46 </dictionary>
47 <dictionary>
48 <key>org.eclipse.cdt.make.core.enableCleanBuild</key>
49 <value>true</value>
50 </dictionary>
51 <dictionary>
52 <key>org.eclipse.cdt.make.core.enableFullBuild</key>
53 <value>true</value>
54 </dictionary>
55 <dictionary>
56 <key>org.eclipse.cdt.make.core.fullBuildTarget</key>
57 <value>all</value>
58 </dictionary>
59 <dictionary>
60 <key>org.eclipse.cdt.make.core.stopOnError</key>
61 <value>false</value>
62 </dictionary>
63 <dictionary>
64 <key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
65 <value>true</value>
66 </dictionary>
67 </arguments>
68 </buildCommand>
69 <buildCommand>
70 <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
71 <triggers>full,incremental,</triggers>
72 <arguments>
73 </arguments>
74 </buildCommand>
75 </buildSpec>
76 <natures>
77 <nature>com.ti.ccstudio.managedbuild.core.ccsNature</nature>
78 <nature>com.ti.ccstudio.core.ccsNature</nature>
79 <nature>org.eclipse.cdt.core.cnature</nature>
80 <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
81 <nature>org.eclipse.cdt.core.ccnature</nature>
82 <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
83 </natures>
84 <linkedResources>
85 <link>
86 <name>README.txt</name>
87 <type>1</type>
88 <locationURI>TI_MCSDK_I2CEXAMPLES_DIR/nor/docs/README.txt</locationURI>
89 </link>
90 <link>
91 <name>src</name>
92 <type>2</type>
93 <locationURI>TI_MCSDK_I2CEXAMPLES_DIR/nor/src</locationURI>
94 </link>
95 </linkedResources>
96 <variableList>
97 <variable>
98 <name>TI_MCSDK_I2CEXAMPLES_DIR</name>
99 <value>$%7BPARENT-2-PROJECT_LOC%7D</value>
100 </variable>
101 </variableList>
102</projectDescription>
diff --git a/boot_loader/examples/i2c/nor/evmc6657l/i2c_boot_nor_example.cmd b/boot_loader/examples/i2c/nor/evmc6657l/i2c_boot_nor_example.cmd
new file mode 100644
index 0000000..cab1993
--- /dev/null
+++ b/boot_loader/examples/i2c/nor/evmc6657l/i2c_boot_nor_example.cmd
@@ -0,0 +1,77 @@
1/******************************************************************************
2 * Copyright (c) 2011 Texas Instruments Incorporated - http://www.ti.com
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 *
11 * Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the
14 * distribution.
15 *
16 * Neither the name of Texas Instruments Incorporated nor the names of
17 * its contributors may be used to endorse or promote products derived
18 * from this software without specific prior written permission.
19 *
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 *
32 *****************************************************************************/
33/*
34 * Linker command file
35 *
36 */
37
38-c
39-heap 0x40000
40-stack 0x8000
41
42/* Memory Map 1 - the default */
43MEMORY
44{
45 L1PSRAM (RWX) : org = 0x0E00000, len = 0x7FFF
46 L1DSRAM (RWX) : org = 0x0F00000, len = 0x7FFF
47
48 L2SRAM (RWX) : org = 0x0820000, len = 0xe0000
49 MSMCSRAM (RWX) : org = 0xc000000, len = 0x200000
50 DDR3 (RWX) : org = 0x80000000,len = 0x10000000
51}
52
53SECTIONS
54{
55 .csl_vect > L2SRAM
56 .cppi > L2SRAM
57 .linkram > L2SRAM
58 .mac_buffer > L2SRAM
59 platform_lib > L2SRAM
60 .text > L2SRAM
61 GROUP (NEAR_DP)
62 {
63 .neardata
64 .rodata
65 .bss
66 } load > L2SRAM
67 .stack > L2SRAM
68 .cinit > L2SRAM
69 .cio > L2SRAM
70 .const > L2SRAM
71 .data > L2SRAM
72 .switch > L2SRAM
73 .sysmem > L2SRAM
74 .far > L2SRAM
75 .testMem > L2SRAM
76 .fardata > L2SRAM
77}
diff --git a/boot_loader/examples/i2c/nor/evmc6657l/macros.ini b/boot_loader/examples/i2c/nor/evmc6657l/macros.ini
new file mode 100644
index 0000000..f4e4f7b
--- /dev/null
+++ b/boot_loader/examples/i2c/nor/evmc6657l/macros.ini
@@ -0,0 +1 @@
TI_MCSDK_I2CEXAMPLES_DIR="../../../../
diff --git a/boot_loader/examples/i2c/tftp/evmc6657l/.ccsproject b/boot_loader/examples/i2c/tftp/evmc6657l/.ccsproject
new file mode 100644
index 0000000..f8e7770
--- /dev/null
+++ b/boot_loader/examples/i2c/tftp/evmc6657l/.ccsproject
@@ -0,0 +1,10 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<?ccsproject version="1.0"?>
3
4<projectOptions>
5<deviceVariant value="com.ti.ccstudio.deviceModel.C6000.CustomC6000Device"/>
6<deviceEndianness value="little"/>
7<codegenToolVersion value="7.2.4"/>
8<isElfFormat value="true"/>
9<rts value="rts6600_elf.lib"/>
10</projectOptions>
diff --git a/boot_loader/examples/i2c/tftp/evmc6657l/.cproject b/boot_loader/examples/i2c/tftp/evmc6657l/.cproject
new file mode 100644
index 0000000..3a6527d
--- /dev/null
+++ b/boot_loader/examples/i2c/tftp/evmc6657l/.cproject
@@ -0,0 +1,89 @@
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<?fileVersion 4.0.0?>
3
4<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
5 <storageModule configRelations="2" moduleId="org.eclipse.cdt.core.settings">
6 <cconfiguration id="com.ti.ccstudio.buildDefinitions.C6000.Debug.1869204513">
7 <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C6000.Debug.1869204513" moduleId="org.eclipse.cdt.core.settings" name="Debug">
8 <macros>
9 <stringMacro name="TI_MCSDK_I2CEXAMPLES_DIR" type="VALUE_PATH_DIR" value="${PROJECT_ROOT}/../.."/>
10 </macros>
11 <externalSettings/>
12 <extensions>
13 <extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
14 <extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
15 <extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
16 <extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
17 </extensions>
18 </storageModule>
19 <storageModule moduleId="org.eclipse.cdt.core.pathentry"/>
20 <storageModule moduleId="cdtBuildSystem" version="4.0.0">
21 <configuration artifactExtension="out" artifactName="../bin/i2ctftpboot_evm6657l" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="" errorParsers="com.ti.ccstudio.errorparser.LinkErrorParser;com.ti.ccstudio.errorparser.CoffErrorParser;com.ti.ccstudio.errorparser.AsmErrorParser" id="com.ti.ccstudio.buildDefinitions.C6000.Debug.1869204513" name="Debug" parent="com.ti.ccstudio.buildDefinitions.C6000.Debug">
22 <folderInfo id="com.ti.ccstudio.buildDefinitions.C6000.Debug.1869204513." name="/" resourcePath="">
23 <toolChain id="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.DebugToolchain.911344256" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.linkerDebug.1041027539">
24 <option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.1167058994" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
25 <listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=com.ti.ccstudio.deviceModel.C6000.CustomC6000Device"/>
26 <listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
27 <listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
28 <listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.1.0.01"/>
29 <listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=libc.a"/>
30 <listOptionValue builtIn="false" value="RTSC_PRODUCTS=com.ti.biosmcsdk.pdk.C6657:1.0.0.0;"/>
31 <listOptionValue builtIn="false" value="OUTPUT_TYPE=rtscApplication:executable"/>
32 </option>
33 <option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.642352933" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="7.3.1" valueType="string"/>
34 <targetPlatform id="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.targetPlatformDebug.1434356338" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.targetPlatformDebug"/>
35 <builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.builderDebug.1143384455" name="GNU Make.Debug" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.builderDebug"/>
36 <tool id="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.compilerDebug.1925907058" name="C6000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.compilerDebug">
37 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DEBUGGING_MODEL.837301912" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
38 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.INCLUDE_PATH.731820131" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.INCLUDE_PATH" valueType="includePath">
39 <listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
40 <listOptionValue builtIn="false" value="&quot;${TI_PDK_C6657_INSTALL_DIR}/packages/ti/platform&quot;"/>
41 <listOptionValue builtIn="false" value="&quot;${TI_PDK_C6657_INSTALL_DIR}/packages&quot;"/>
42 </option>
43 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DIAG_WARNING.289977478" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DIAG_WARNING" valueType="stringList">
44 <listOptionValue builtIn="false" value="225"/>
45 </option>
46 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.ABI.298078935" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.ABI" value="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.ABI.eabi" valueType="enumerated"/>
47 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DISPLAY_ERROR_NUMBER.1500043005" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compilerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
48 <inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__C_SRCS.1562849846" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__C_SRCS"/>
49 <inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__CPP_SRCS.260917704" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__CPP_SRCS"/>
50 <inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__ASM_SRCS.1947446769" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__ASM_SRCS"/>
51 <inputType id="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__ASM2_SRCS.1198432156" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.compiler.inputType__ASM2_SRCS"/>
52 </tool>
53 <tool id="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.linkerDebug.1041027539" name="C6000 Linker" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.exe.linkerDebug">
54 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.OUTPUT_FILE.752757166" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.OUTPUT_FILE" value="&quot;../bin/i2ctftpboot_evm6657l.out&quot;" valueType="string"/>
55 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.MAP_FILE.1464774576" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.MAP_FILE" value="&quot;../bin/i2ctftpboot_evm6657l.map&quot;" valueType="string"/>
56 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.LIBRARY.1203302464" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.LIBRARY" valueType="libs">
57 <listOptionValue builtIn="false" value="&quot;ti.platform.evm6657l.ae66&quot;"/>
58 <listOptionValue builtIn="false" value="&quot;libc.a&quot;"/>
59 </option>
60 <option id="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.SEARCH_PATH.190890325" superClass="com.ti.ccstudio.buildDefinitions.C6000_7.3.linkerID.SEARCH_PATH" valueType="stringList">
61 <listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/lib&quot;"/>
62 <listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
63 <listOptionValue builtIn="false" value="&quot;${TI_PDK_C6657_INSTALL_DIR}/packages/ti/platform/evmc6657l/platform_lib/lib/debug&quot;"/>
64 </option>
65 </tool>
66 </toolChain>
67 </folderInfo>
68 </configuration>
69 </storageModule>
70 <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
71 <storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
72 <storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
73 </cconfiguration>
74 </storageModule>
75 <storageModule moduleId="cdtBuildSystem" version="4.0.0">
76 <project id="i2ctftpboot.com.ti.ccstudio.buildDefinitions.C6000.ProjectType.1742876545" name="C6000" projectType="com.ti.ccstudio.buildDefinitions.C6000.ProjectType"/>
77 </storageModule>
78 <storageModule moduleId="org.eclipse.cdt.core.language.mapping">
79 <project-mappings>
80 <content-type-mapping configuration="" content-type="org.eclipse.cdt.core.asmSource" language="com.ti.ccstudio.core.TIASMLanguage"/>
81 <content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cHeader" language="com.ti.ccstudio.core.TIGCCLanguage"/>
82 <content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cSource" language="com.ti.ccstudio.core.TIGCCLanguage"/>
83 <content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxHeader" language="com.ti.ccstudio.core.TIGPPLanguage"/>
84 <content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxSource" language="com.ti.ccstudio.core.TIGPPLanguage"/>
85 </project-mappings>
86 </storageModule>
87 <storageModule moduleId="refreshScope"/>
88 <storageModule moduleId="scannerConfiguration"/>
89</cproject>
diff --git a/boot_loader/examples/i2c/tftp/evmc6657l/.project b/boot_loader/examples/i2c/tftp/evmc6657l/.project
new file mode 100644
index 0000000..5b37228
--- /dev/null
+++ b/boot_loader/examples/i2c/tftp/evmc6657l/.project
@@ -0,0 +1,102 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<projectDescription>
3 <name>i2ctftpboot_evmc6657l</name>
4 <comment></comment>
5 <projects>
6 </projects>
7 <buildSpec>
8 <buildCommand>
9 <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
10 <arguments>
11 <dictionary>
12 <key>?name?</key>
13 <value></value>
14 </dictionary>
15 <dictionary>
16 <key>org.eclipse.cdt.make.core.append_environment</key>
17 <value>true</value>
18 </dictionary>
19 <dictionary>
20 <key>org.eclipse.cdt.make.core.autoBuildTarget</key>
21 <value>all</value>
22 </dictionary>
23 <dictionary>
24 <key>org.eclipse.cdt.make.core.buildArguments</key>
25 <value>-k</value>
26 </dictionary>
27 <dictionary>
28 <key>org.eclipse.cdt.make.core.buildCommand</key>
29 <value>${CCS_UTILS_DIR}/bin/gmake</value>
30 </dictionary>
31 <dictionary>
32 <key>org.eclipse.cdt.make.core.buildLocation</key>
33 <value>${BuildDirectory}</value>
34 </dictionary>
35 <dictionary>
36 <key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
37 <value>clean</value>
38 </dictionary>
39 <dictionary>
40 <key>org.eclipse.cdt.make.core.contents</key>
41 <value>org.eclipse.cdt.make.core.activeConfigSettings</value>
42 </dictionary>
43 <dictionary>
44 <key>org.eclipse.cdt.make.core.enableAutoBuild</key>
45 <value>true</value>
46 </dictionary>
47 <dictionary>
48 <key>org.eclipse.cdt.make.core.enableCleanBuild</key>
49 <value>true</value>
50 </dictionary>
51 <dictionary>
52 <key>org.eclipse.cdt.make.core.enableFullBuild</key>
53 <value>true</value>
54 </dictionary>
55 <dictionary>
56 <key>org.eclipse.cdt.make.core.fullBuildTarget</key>
57 <value>all</value>
58 </dictionary>
59 <dictionary>
60 <key>org.eclipse.cdt.make.core.stopOnError</key>
61 <value>false</value>
62 </dictionary>
63 <dictionary>
64 <key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
65 <value>true</value>
66 </dictionary>
67 </arguments>
68 </buildCommand>
69 <buildCommand>
70 <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
71 <triggers>full,incremental,</triggers>
72 <arguments>
73 </arguments>
74 </buildCommand>
75 </buildSpec>
76 <natures>
77 <nature>com.ti.ccstudio.managedbuild.core.ccsNature</nature>
78 <nature>com.ti.ccstudio.core.ccsNature</nature>
79 <nature>org.eclipse.cdt.core.cnature</nature>
80 <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
81 <nature>org.eclipse.cdt.core.ccnature</nature>
82 <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
83 </natures>
84 <linkedResources>
85 <link>
86 <name>README.txt</name>
87 <type>1</type>
88 <locationURI>TI_MCSDK_I2CEXAMPLES_DIR/tftp/docs/README.txt</locationURI>
89 </link>
90 <link>
91 <name>src</name>
92 <type>2</type>
93 <locationURI>TI_MCSDK_I2CEXAMPLES_DIR/tftp/src</locationURI>
94 </link>
95 </linkedResources>
96 <variableList>
97 <variable>
98 <name>TI_MCSDK_I2CEXAMPLES_DIR</name>
99 <value>$%7BPARENT-2-PROJECT_LOC%7D</value>
100 </variable>
101 </variableList>
102</projectDescription>
diff --git a/boot_loader/examples/i2c/tftp/evmc6657l/i2c_boot_tftp_example.cmd b/boot_loader/examples/i2c/tftp/evmc6657l/i2c_boot_tftp_example.cmd
new file mode 100644
index 0000000..cab1993
--- /dev/null
+++ b/boot_loader/examples/i2c/tftp/evmc6657l/i2c_boot_tftp_example.cmd
@@ -0,0 +1,77 @@
1/******************************************************************************
2 * Copyright (c) 2011 Texas Instruments Incorporated - http://www.ti.com
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 *
11 * Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the
14 * distribution.
15 *
16 * Neither the name of Texas Instruments Incorporated nor the names of
17 * its contributors may be used to endorse or promote products derived
18 * from this software without specific prior written permission.
19 *
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 *
32 *****************************************************************************/
33/*
34 * Linker command file
35 *
36 */
37
38-c
39-heap 0x40000
40-stack 0x8000
41
42/* Memory Map 1 - the default */
43MEMORY
44{
45 L1PSRAM (RWX) : org = 0x0E00000, len = 0x7FFF
46 L1DSRAM (RWX) : org = 0x0F00000, len = 0x7FFF
47
48 L2SRAM (RWX) : org = 0x0820000, len = 0xe0000
49 MSMCSRAM (RWX) : org = 0xc000000, len = 0x200000
50 DDR3 (RWX) : org = 0x80000000,len = 0x10000000
51}
52
53SECTIONS
54{
55 .csl_vect > L2SRAM
56 .cppi > L2SRAM
57 .linkram > L2SRAM
58 .mac_buffer > L2SRAM
59 platform_lib > L2SRAM
60 .text > L2SRAM
61 GROUP (NEAR_DP)
62 {
63 .neardata
64 .rodata
65 .bss
66 } load > L2SRAM
67 .stack > L2SRAM
68 .cinit > L2SRAM
69 .cio > L2SRAM
70 .const > L2SRAM
71 .data > L2SRAM
72 .switch > L2SRAM
73 .sysmem > L2SRAM
74 .far > L2SRAM
75 .testMem > L2SRAM
76 .fardata > L2SRAM
77}
diff --git a/boot_loader/examples/i2c/tftp/evmc6657l/macros.ini b/boot_loader/examples/i2c/tftp/evmc6657l/macros.ini
new file mode 100644
index 0000000..f4e4f7b
--- /dev/null
+++ b/boot_loader/examples/i2c/tftp/evmc6657l/macros.ini
@@ -0,0 +1 @@
TI_MCSDK_I2CEXAMPLES_DIR="../../../../