diff options
author | Casey Smith | 2013-03-20 14:41:51 -0500 |
---|---|---|
committer | Casey Smith | 2013-03-20 14:41:51 -0500 |
commit | 1ad2fb3a752e2343ede8c7a306a6dc32d610043d (patch) | |
tree | d03ee3d241db5f689b98fa68bfc4b34ab1a1a781 | |
parent | 0cea359024a465ec38a21387e589b47999b537dd (diff) | |
download | mcsdk-tools-1ad2fb3a752e2343ede8c7a306a6dc32d610043d.tar.gz mcsdk-tools-1ad2fb3a752e2343ede8c7a306a6dc32d610043d.tar.xz mcsdk-tools-1ad2fb3a752e2343ede8c7a306a6dc32d610043d.zip |
Added evmk2h to program_evm
-rw-r--r-- | program_evm/binaries/evmk2h-be/eepromwriter_input50.txt | 8 | ||||
-rw-r--r-- | program_evm/binaries/evmk2h-be/eepromwriter_input51.txt | 8 | ||||
-rw-r--r-- | program_evm/binaries/evmk2h-be/nand_writer_input.txt | 5 | ||||
-rw-r--r-- | program_evm/binaries/evmk2h/eepromwriter_input.txt | 8 | ||||
-rw-r--r-- | program_evm/binaries/evmk2h/eepromwriter_input50.txt | 8 | ||||
-rw-r--r-- | program_evm/binaries/evmk2h/eepromwriter_input51.txt | 8 | ||||
-rw-r--r-- | program_evm/binaries/evmk2h/nand_writer_input.txt | 5 | ||||
-rw-r--r-- | program_evm/binaries/evmk2h/nor_writer_input.txt | 5 | ||||
-rw-r--r-- | program_evm/configs/evmk2h/evmk2h.ccxml | 43 | ||||
-rw-r--r-- | program_evm/program_evm.js | 5 |
10 files changed, 103 insertions, 0 deletions
diff --git a/program_evm/binaries/evmk2h-be/eepromwriter_input50.txt b/program_evm/binaries/evmk2h-be/eepromwriter_input50.txt new file mode 100644 index 0000000..5e1e531 --- /dev/null +++ b/program_evm/binaries/evmk2h-be/eepromwriter_input50.txt | |||
@@ -0,0 +1,8 @@ | |||
1 | file_name = app.bin | ||
2 | bus_addr = 0x50 | ||
3 | start_addr = 0 | ||
4 | swap_data = 0 | ||
5 | |||
6 | |||
7 | |||
8 | |||
diff --git a/program_evm/binaries/evmk2h-be/eepromwriter_input51.txt b/program_evm/binaries/evmk2h-be/eepromwriter_input51.txt new file mode 100644 index 0000000..d87d3c4 --- /dev/null +++ b/program_evm/binaries/evmk2h-be/eepromwriter_input51.txt | |||
@@ -0,0 +1,8 @@ | |||
1 | file_name = app.bin | ||
2 | bus_addr = 0x51 | ||
3 | start_addr = 0 | ||
4 | swap_data = 0 | ||
5 | |||
6 | |||
7 | |||
8 | |||
diff --git a/program_evm/binaries/evmk2h-be/nand_writer_input.txt b/program_evm/binaries/evmk2h-be/nand_writer_input.txt new file mode 100644 index 0000000..009e6a1 --- /dev/null +++ b/program_evm/binaries/evmk2h-be/nand_writer_input.txt | |||
@@ -0,0 +1,5 @@ | |||
1 | file_name = app.bin | ||
2 | start_addr = 16384 | ||
3 | |||
4 | |||
5 | |||
diff --git a/program_evm/binaries/evmk2h/eepromwriter_input.txt b/program_evm/binaries/evmk2h/eepromwriter_input.txt new file mode 100644 index 0000000..d87d3c4 --- /dev/null +++ b/program_evm/binaries/evmk2h/eepromwriter_input.txt | |||
@@ -0,0 +1,8 @@ | |||
1 | file_name = app.bin | ||
2 | bus_addr = 0x51 | ||
3 | start_addr = 0 | ||
4 | swap_data = 0 | ||
5 | |||
6 | |||
7 | |||
8 | |||
diff --git a/program_evm/binaries/evmk2h/eepromwriter_input50.txt b/program_evm/binaries/evmk2h/eepromwriter_input50.txt new file mode 100644 index 0000000..5e1e531 --- /dev/null +++ b/program_evm/binaries/evmk2h/eepromwriter_input50.txt | |||
@@ -0,0 +1,8 @@ | |||
1 | file_name = app.bin | ||
2 | bus_addr = 0x50 | ||
3 | start_addr = 0 | ||
4 | swap_data = 0 | ||
5 | |||
6 | |||
7 | |||
8 | |||
diff --git a/program_evm/binaries/evmk2h/eepromwriter_input51.txt b/program_evm/binaries/evmk2h/eepromwriter_input51.txt new file mode 100644 index 0000000..d87d3c4 --- /dev/null +++ b/program_evm/binaries/evmk2h/eepromwriter_input51.txt | |||
@@ -0,0 +1,8 @@ | |||
1 | file_name = app.bin | ||
2 | bus_addr = 0x51 | ||
3 | start_addr = 0 | ||
4 | swap_data = 0 | ||
5 | |||
6 | |||
7 | |||
8 | |||
diff --git a/program_evm/binaries/evmk2h/nand_writer_input.txt b/program_evm/binaries/evmk2h/nand_writer_input.txt new file mode 100644 index 0000000..009e6a1 --- /dev/null +++ b/program_evm/binaries/evmk2h/nand_writer_input.txt | |||
@@ -0,0 +1,5 @@ | |||
1 | file_name = app.bin | ||
2 | start_addr = 16384 | ||
3 | |||
4 | |||
5 | |||
diff --git a/program_evm/binaries/evmk2h/nor_writer_input.txt b/program_evm/binaries/evmk2h/nor_writer_input.txt new file mode 100644 index 0000000..5f52b88 --- /dev/null +++ b/program_evm/binaries/evmk2h/nor_writer_input.txt | |||
@@ -0,0 +1,5 @@ | |||
1 | file_name = app.bin | ||
2 | start_addr = 0 | ||
3 | |||
4 | |||
5 | |||
diff --git a/program_evm/configs/evmk2h/evmk2h.ccxml b/program_evm/configs/evmk2h/evmk2h.ccxml new file mode 100644 index 0000000..89c5ae8 --- /dev/null +++ b/program_evm/configs/evmk2h/evmk2h.ccxml | |||
@@ -0,0 +1,43 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
2 | <configurations XML_version="1.2" id="configurations_0"> | ||
3 | |||
4 | <configuration XML_version="1.2" id="Texas Instruments XDS2xx USB Emulator_0"> | ||
5 | <instance XML_version="1.2" desc="Texas Instruments XDS2xx USB Emulator_0" href="connections/TIXDS2XXUSB_Connection.xml" id="Texas Instruments XDS2xx USB Emulator_0" xml="TIXDS2XXUSB_Connection.xml" xmlpath="connections"/> | ||
6 | <connection XML_version="1.2" id="Texas Instruments XDS2xx USB Emulator_0"> | ||
7 | <instance XML_version="1.2" href="drivers/tixds560icepick_d.xml" id="drivers" xml="tixds560icepick_d.xml" xmlpath="drivers"/> | ||
8 | <instance XML_version="1.2" href="drivers/tixds560c66xx.xml" id="drivers" xml="tixds560c66xx.xml" xmlpath="drivers"/> | ||
9 | <instance XML_version="1.2" href="drivers/tixds560cs_dap.xml" id="drivers" xml="tixds560cs_dap.xml" xmlpath="drivers"/> | ||
10 | <instance XML_version="1.2" href="drivers/tixds560cortexA15.xml" id="drivers" xml="tixds560cortexA15.xml" xmlpath="drivers"/> | ||
11 | <instance XML_version="1.2" href="drivers/tixds560csstm.xml" id="drivers" xml="tixds560csstm.xml" xmlpath="drivers"/> | ||
12 | <instance XML_version="1.2" href="drivers/tixds560etbcs.xml" id="drivers" xml="tixds560etbcs.xml" xmlpath="drivers"/> | ||
13 | <platform XML_version="1.2" id="platform_0"> | ||
14 | <instance XML_version="1.2" desc="TCI6638_0" href="devices/TCI6638.xml" id="TCI6638_0" xml="TCI6638.xml" xmlpath="devices"/> | ||
15 | <device HW_revision="1" XML_version="1.2" description="TCI6638" id="TCI6638_0" partnum="TCI6638"> | ||
16 | <router HW_revision="1.0" XML_version="1.2" description="ICEPick_D Router" id="IcePick_D_0" isa="ICEPICK_D"> | ||
17 | <subpath id="subpath_14"> | ||
18 | <router HW_revision="1.0" XML_version="1.2" description="CS_DAP Router" id="CS_DAP_0" isa="CS_DAP"> | ||
19 | <subpath id="cortexA15_0"> | ||
20 | <cpu HW_revision="1.0" XML_version="1.2" desc="CortexA15_1" description="CortexA15 CPU" id="CortexA15_0" isa="CortexA15"/> | ||
21 | </subpath> | ||
22 | <subpath desc="cortexA15_2" id="cortexA15_1"> | ||
23 | <cpu HW_revision="1.0" XML_version="1.2" desc="CortexA15_3" description="CortexA15 CPU" id="CortexA15_1" isa="CortexA15"/> | ||
24 | </subpath> | ||
25 | <subpath desc="cortexA15_4" id="cortexA15_2"> | ||
26 | <cpu HW_revision="1.0" XML_version="1.2" desc="CortexA15_5" description="CortexA15 CPU" id="CortexA15_2" isa="CortexA15"/> | ||
27 | </subpath> | ||
28 | <subpath desc="cortexA15_6" id="cortexA15_3"> | ||
29 | <cpu HW_revision="1.0" XML_version="1.2" desc="CortexA15_7" description="CortexA15 CPU" id="CortexA15_3" isa="CortexA15"/> | ||
30 | </subpath> | ||
31 | </router> | ||
32 | </subpath> | ||
33 | <subpath id="subpath_1"> | ||
34 | <cpu HW_revision="1.0" XML_version="1.2" description="C66xx CGEM+FP CPU" id="C66xx_0" isa="TMS320C66XX"> | ||
35 | <property Type="filepathfield" Value="..\..\emulation\boards\evmtci6638k2k\gel\evmtci6638k2k.gel" id="GEL File"/> | ||
36 | </cpu> | ||
37 | </subpath> | ||
38 | </router> | ||
39 | </device> | ||
40 | </platform> | ||
41 | </connection> | ||
42 | </configuration> | ||
43 | </configurations> | ||
diff --git a/program_evm/program_evm.js b/program_evm/program_evm.js index b5d6d52..994f6c7 100644 --- a/program_evm/program_evm.js +++ b/program_evm/program_evm.js | |||
@@ -278,6 +278,11 @@ switch (targetFlag) | |||
278 | var nandNorAddress = 0x80000000; | 278 | var nandNorAddress = 0x80000000; |
279 | var iblByteSwap = false; | 279 | var iblByteSwap = false; |
280 | break; | 280 | break; |
281 | case "evmk2h" | ||
282 | cpu_id = C66xx_0; | ||
283 | var nAddress = 0x0C000000; | ||
284 | var nandNorAddress = 0x80000000; | ||
285 | var iblByteSwap = false; | ||
281 | default: | 286 | default: |
282 | script.traceWrite("Could not file cpu id for target " + targetFlag + "\n"); | 287 | script.traceWrite("Could not file cpu id for target " + targetFlag + "\n"); |
283 | 288 | ||