diff options
50 files changed, 588 insertions, 118 deletions
diff --git a/factory_images/program_evm_userguide.pdf b/factory_images/program_evm_userguide.pdf deleted file mode 100644 index f12ba80..0000000 --- a/factory_images/program_evm_userguide.pdf +++ /dev/null | |||
Binary files differ | |||
diff --git a/program_evm/binaries/evm6455-be/eepromwriter_input50.txt b/program_evm/binaries/evm6455-be/eepromwriter_input50.txt new file mode 100644 index 0000000..7fb9458 --- /dev/null +++ b/program_evm/binaries/evm6455-be/eepromwriter_input50.txt | |||
@@ -0,0 +1,8 @@ | |||
1 | file_name = eeprom50.bin | ||
2 | bus_addr = 80 | ||
3 | start_addr = 0 | ||
4 | swap_data = 0 | ||
5 | |||
6 | |||
7 | |||
8 | |||
diff --git a/program_evm/binaries/evm6455/eepromwriter_input50.txt b/program_evm/binaries/evm6455/eepromwriter_input50.txt new file mode 100644 index 0000000..7fb9458 --- /dev/null +++ b/program_evm/binaries/evm6455/eepromwriter_input50.txt | |||
@@ -0,0 +1,8 @@ | |||
1 | file_name = eeprom50.bin | ||
2 | bus_addr = 80 | ||
3 | start_addr = 0 | ||
4 | swap_data = 0 | ||
5 | |||
6 | |||
7 | |||
8 | |||
diff --git a/program_evm/binaries/evm6457l-be/eepromwriter_input50.txt b/program_evm/binaries/evm6457l-be/eepromwriter_input50.txt new file mode 100644 index 0000000..7fb9458 --- /dev/null +++ b/program_evm/binaries/evm6457l-be/eepromwriter_input50.txt | |||
@@ -0,0 +1,8 @@ | |||
1 | file_name = eeprom50.bin | ||
2 | bus_addr = 80 | ||
3 | start_addr = 0 | ||
4 | swap_data = 0 | ||
5 | |||
6 | |||
7 | |||
8 | |||
diff --git a/program_evm/binaries/evm6457l/eepromwriter_input50.txt b/program_evm/binaries/evm6457l/eepromwriter_input50.txt new file mode 100644 index 0000000..7fb9458 --- /dev/null +++ b/program_evm/binaries/evm6457l/eepromwriter_input50.txt | |||
@@ -0,0 +1,8 @@ | |||
1 | file_name = eeprom50.bin | ||
2 | bus_addr = 80 | ||
3 | start_addr = 0 | ||
4 | swap_data = 0 | ||
5 | |||
6 | |||
7 | |||
8 | |||
diff --git a/program_evm/binaries/evm6472l-be/eepromwriter_input50.txt b/program_evm/binaries/evm6472l-be/eepromwriter_input50.txt new file mode 100644 index 0000000..7fb9458 --- /dev/null +++ b/program_evm/binaries/evm6472l-be/eepromwriter_input50.txt | |||
@@ -0,0 +1,8 @@ | |||
1 | file_name = eeprom50.bin | ||
2 | bus_addr = 80 | ||
3 | start_addr = 0 | ||
4 | swap_data = 0 | ||
5 | |||
6 | |||
7 | |||
8 | |||
diff --git a/program_evm/binaries/evm6472l/eepromwriter_input50.txt b/program_evm/binaries/evm6472l/eepromwriter_input50.txt new file mode 100644 index 0000000..7fb9458 --- /dev/null +++ b/program_evm/binaries/evm6472l/eepromwriter_input50.txt | |||
@@ -0,0 +1,8 @@ | |||
1 | file_name = eeprom50.bin | ||
2 | bus_addr = 80 | ||
3 | start_addr = 0 | ||
4 | swap_data = 0 | ||
5 | |||
6 | |||
7 | |||
8 | |||
diff --git a/program_evm/binaries/evm6474-be/eepromwriter_input50.txt b/program_evm/binaries/evm6474-be/eepromwriter_input50.txt new file mode 100644 index 0000000..7fb9458 --- /dev/null +++ b/program_evm/binaries/evm6474-be/eepromwriter_input50.txt | |||
@@ -0,0 +1,8 @@ | |||
1 | file_name = eeprom50.bin | ||
2 | bus_addr = 80 | ||
3 | start_addr = 0 | ||
4 | swap_data = 0 | ||
5 | |||
6 | |||
7 | |||
8 | |||
diff --git a/program_evm/binaries/evm6474/eepromwriter_input50.txt b/program_evm/binaries/evm6474/eepromwriter_input50.txt new file mode 100644 index 0000000..7fb9458 --- /dev/null +++ b/program_evm/binaries/evm6474/eepromwriter_input50.txt | |||
@@ -0,0 +1,8 @@ | |||
1 | file_name = eeprom50.bin | ||
2 | bus_addr = 80 | ||
3 | start_addr = 0 | ||
4 | swap_data = 0 | ||
5 | |||
6 | |||
7 | |||
8 | |||
diff --git a/program_evm/binaries/evm6474l-be/eepromwriter_input50.txt b/program_evm/binaries/evm6474l-be/eepromwriter_input50.txt new file mode 100644 index 0000000..7fb9458 --- /dev/null +++ b/program_evm/binaries/evm6474l-be/eepromwriter_input50.txt | |||
@@ -0,0 +1,8 @@ | |||
1 | file_name = eeprom50.bin | ||
2 | bus_addr = 80 | ||
3 | start_addr = 0 | ||
4 | swap_data = 0 | ||
5 | |||
6 | |||
7 | |||
8 | |||
diff --git a/program_evm/binaries/evm6474l/eepromwriter_input50.txt b/program_evm/binaries/evm6474l/eepromwriter_input50.txt new file mode 100644 index 0000000..7fb9458 --- /dev/null +++ b/program_evm/binaries/evm6474l/eepromwriter_input50.txt | |||
@@ -0,0 +1,8 @@ | |||
1 | file_name = eeprom50.bin | ||
2 | bus_addr = 80 | ||
3 | start_addr = 0 | ||
4 | swap_data = 0 | ||
5 | |||
6 | |||
7 | |||
8 | |||
diff --git a/program_evm/binaries/evm6670l-be/eepromwriter_input50.txt b/program_evm/binaries/evm6670l-be/eepromwriter_input50.txt new file mode 100644 index 0000000..7fb9458 --- /dev/null +++ b/program_evm/binaries/evm6670l-be/eepromwriter_input50.txt | |||
@@ -0,0 +1,8 @@ | |||
1 | file_name = eeprom50.bin | ||
2 | bus_addr = 80 | ||
3 | start_addr = 0 | ||
4 | swap_data = 0 | ||
5 | |||
6 | |||
7 | |||
8 | |||
diff --git a/program_evm/binaries/evm6670l-be/eepromwriter_input51.txt b/program_evm/binaries/evm6670l-be/eepromwriter_input51.txt new file mode 100644 index 0000000..54f7f79 --- /dev/null +++ b/program_evm/binaries/evm6670l-be/eepromwriter_input51.txt | |||
@@ -0,0 +1,8 @@ | |||
1 | file_name = eeprom51.bin | ||
2 | bus_addr = 81 | ||
3 | start_addr = 0 | ||
4 | swap_data = 0 | ||
5 | |||
6 | |||
7 | |||
8 | |||
diff --git a/program_evm/binaries/evm6670l-be/nand_writer_input.txt b/program_evm/binaries/evm6670l-be/nand_writer_input.txt new file mode 100644 index 0000000..294195a --- /dev/null +++ b/program_evm/binaries/evm6670l-be/nand_writer_input.txt | |||
@@ -0,0 +1,5 @@ | |||
1 | file_name = nand.bin | ||
2 | start_addr = 16384 | ||
3 | |||
4 | |||
5 | |||
diff --git a/program_evm/binaries/evm6670l/eepromwriter_input.txt b/program_evm/binaries/evm6670l/eepromwriter_input.txt new file mode 100644 index 0000000..54f7f79 --- /dev/null +++ b/program_evm/binaries/evm6670l/eepromwriter_input.txt | |||
@@ -0,0 +1,8 @@ | |||
1 | file_name = eeprom51.bin | ||
2 | bus_addr = 81 | ||
3 | start_addr = 0 | ||
4 | swap_data = 0 | ||
5 | |||
6 | |||
7 | |||
8 | |||
diff --git a/program_evm/binaries/evm6670l/eepromwriter_input50.txt b/program_evm/binaries/evm6670l/eepromwriter_input50.txt new file mode 100644 index 0000000..7fb9458 --- /dev/null +++ b/program_evm/binaries/evm6670l/eepromwriter_input50.txt | |||
@@ -0,0 +1,8 @@ | |||
1 | file_name = eeprom50.bin | ||
2 | bus_addr = 80 | ||
3 | start_addr = 0 | ||
4 | swap_data = 0 | ||
5 | |||
6 | |||
7 | |||
8 | |||
diff --git a/program_evm/binaries/evm6670l/eepromwriter_input51.txt b/program_evm/binaries/evm6670l/eepromwriter_input51.txt new file mode 100644 index 0000000..54f7f79 --- /dev/null +++ b/program_evm/binaries/evm6670l/eepromwriter_input51.txt | |||
@@ -0,0 +1,8 @@ | |||
1 | file_name = eeprom51.bin | ||
2 | bus_addr = 81 | ||
3 | start_addr = 0 | ||
4 | swap_data = 0 | ||
5 | |||
6 | |||
7 | |||
8 | |||
diff --git a/program_evm/binaries/evm6670l/nand_writer_input.txt b/program_evm/binaries/evm6670l/nand_writer_input.txt new file mode 100644 index 0000000..294195a --- /dev/null +++ b/program_evm/binaries/evm6670l/nand_writer_input.txt | |||
@@ -0,0 +1,5 @@ | |||
1 | file_name = nand.bin | ||
2 | start_addr = 16384 | ||
3 | |||
4 | |||
5 | |||
diff --git a/program_evm/binaries/evm6670l/nor_writer_input.txt b/program_evm/binaries/evm6670l/nor_writer_input.txt new file mode 100644 index 0000000..c0ebbd8 --- /dev/null +++ b/program_evm/binaries/evm6670l/nor_writer_input.txt | |||
@@ -0,0 +1,5 @@ | |||
1 | file_name = nor.bin | ||
2 | start_addr = 0 | ||
3 | |||
4 | |||
5 | |||
diff --git a/program_evm/binaries/evm6678l-be/eepromwriter_input50.txt b/program_evm/binaries/evm6678l-be/eepromwriter_input50.txt new file mode 100644 index 0000000..7fb9458 --- /dev/null +++ b/program_evm/binaries/evm6678l-be/eepromwriter_input50.txt | |||
@@ -0,0 +1,8 @@ | |||
1 | file_name = eeprom50.bin | ||
2 | bus_addr = 80 | ||
3 | start_addr = 0 | ||
4 | swap_data = 0 | ||
5 | |||
6 | |||
7 | |||
8 | |||
diff --git a/program_evm/binaries/evm6678l-be/eepromwriter_input51.txt b/program_evm/binaries/evm6678l-be/eepromwriter_input51.txt new file mode 100644 index 0000000..54f7f79 --- /dev/null +++ b/program_evm/binaries/evm6678l-be/eepromwriter_input51.txt | |||
@@ -0,0 +1,8 @@ | |||
1 | file_name = eeprom51.bin | ||
2 | bus_addr = 81 | ||
3 | start_addr = 0 | ||
4 | swap_data = 0 | ||
5 | |||
6 | |||
7 | |||
8 | |||
diff --git a/program_evm/binaries/evm6678l-be/nand_writer_input.txt b/program_evm/binaries/evm6678l-be/nand_writer_input.txt new file mode 100644 index 0000000..294195a --- /dev/null +++ b/program_evm/binaries/evm6678l-be/nand_writer_input.txt | |||
@@ -0,0 +1,5 @@ | |||
1 | file_name = nand.bin | ||
2 | start_addr = 16384 | ||
3 | |||
4 | |||
5 | |||
diff --git a/program_evm/binaries/evm6678l/eepromwriter_input.txt b/program_evm/binaries/evm6678l/eepromwriter_input.txt new file mode 100644 index 0000000..54f7f79 --- /dev/null +++ b/program_evm/binaries/evm6678l/eepromwriter_input.txt | |||
@@ -0,0 +1,8 @@ | |||
1 | file_name = eeprom51.bin | ||
2 | bus_addr = 81 | ||
3 | start_addr = 0 | ||
4 | swap_data = 0 | ||
5 | |||
6 | |||
7 | |||
8 | |||
diff --git a/program_evm/binaries/evm6678l/eepromwriter_input50.txt b/program_evm/binaries/evm6678l/eepromwriter_input50.txt new file mode 100644 index 0000000..7fb9458 --- /dev/null +++ b/program_evm/binaries/evm6678l/eepromwriter_input50.txt | |||
@@ -0,0 +1,8 @@ | |||
1 | file_name = eeprom50.bin | ||
2 | bus_addr = 80 | ||
3 | start_addr = 0 | ||
4 | swap_data = 0 | ||
5 | |||
6 | |||
7 | |||
8 | |||
diff --git a/program_evm/binaries/evm6678l/eepromwriter_input51.txt b/program_evm/binaries/evm6678l/eepromwriter_input51.txt new file mode 100644 index 0000000..54f7f79 --- /dev/null +++ b/program_evm/binaries/evm6678l/eepromwriter_input51.txt | |||
@@ -0,0 +1,8 @@ | |||
1 | file_name = eeprom51.bin | ||
2 | bus_addr = 81 | ||
3 | start_addr = 0 | ||
4 | swap_data = 0 | ||
5 | |||
6 | |||
7 | |||
8 | |||
diff --git a/program_evm/binaries/evm6678l/nand_writer_input.txt b/program_evm/binaries/evm6678l/nand_writer_input.txt new file mode 100644 index 0000000..294195a --- /dev/null +++ b/program_evm/binaries/evm6678l/nand_writer_input.txt | |||
@@ -0,0 +1,5 @@ | |||
1 | file_name = nand.bin | ||
2 | start_addr = 16384 | ||
3 | |||
4 | |||
5 | |||
diff --git a/program_evm/binaries/evm6678l/nor_writer_input.txt b/program_evm/binaries/evm6678l/nor_writer_input.txt new file mode 100644 index 0000000..c0ebbd8 --- /dev/null +++ b/program_evm/binaries/evm6678l/nor_writer_input.txt | |||
@@ -0,0 +1,5 @@ | |||
1 | file_name = nor.bin | ||
2 | start_addr = 0 | ||
3 | |||
4 | |||
5 | |||
diff --git a/program_evm/configs/evm6455/evm6455-linuxhost.ccxml b/program_evm/configs/evm6455/evm6455-linuxhost.ccxml new file mode 100644 index 0000000..1903685 --- /dev/null +++ b/program_evm/configs/evm6455/evm6455-linuxhost.ccxml | |||
@@ -0,0 +1,15 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
2 | <configurations XML_version="1.2" id="configurations_0"> | ||
3 | |||
4 | |||
5 | <configuration XML_version="1.2" id="Texas Instruments XDS100v2 USB Emulator_0"> | ||
6 | <instance XML_version="1.2" desc="Texas Instruments XDS100v2 USB Emulator_0" href="connections/TIXDS100v2_Connection.xml" id="Texas Instruments XDS100v2 USB Emulator_0" xml="TIXDS100v2_Connection.xml" xmlpath="connections"/> | ||
7 | <connection XML_version="1.2" id="Texas Instruments XDS100v2 USB Emulator_0"> | ||
8 | <instance XML_version="1.2" href="drivers/tixds100v2icepick_c.xml" id="drivers" xml="tixds100v2icepick_c.xml" xmlpath="drivers"/> | ||
9 | <instance XML_version="1.2" href="drivers/tixds100v2c64xp.xml" id="drivers" xml="tixds100v2c64xp.xml" xmlpath="drivers"/> | ||
10 | <platform XML_version="1.2" id="platform_0"> | ||
11 | <instance XML_version="1.2" desc="DSK6455_0" href="boards/dsk6455.xml" id="DSK6455_0" xml="dsk6455.xml" xmlpath="boards"/> | ||
12 | </platform> | ||
13 | </connection> | ||
14 | </configuration> | ||
15 | </configurations> | ||
diff --git a/program_evm/configs/evm6455/evm6455.ccxml b/program_evm/configs/evm6455/evm6455.ccxml new file mode 100644 index 0000000..a9196fb --- /dev/null +++ b/program_evm/configs/evm6455/evm6455.ccxml | |||
@@ -0,0 +1,13 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
2 | <configurations XML_version="1.2" id="configurations_0"> | ||
3 | <configuration XML_version="1.2" id="Texas Instruments XDS100v2 USB Emulator_0"> | ||
4 | <instance XML_version="1.2" desc="Texas Instruments XDS100v2 USB Emulator_0" href="connections/TIXDS100v2_Connection.xml" id="Texas Instruments XDS100v2 USB Emulator_0" xml="TIXDS100v2_Connection.xml" xmlpath="connections"/> | ||
5 | <connection XML_version="1.2" id="Texas Instruments XDS100v2 USB Emulator_0"> | ||
6 | <instance XML_version="1.2" href="drivers/tixds100v2icepick_c.xml" id="drivers" xml="tixds100v2icepick_c.xml" xmlpath="drivers"/> | ||
7 | <instance XML_version="1.2" href="drivers/tixds100v2c64xp.xml" id="drivers" xml="tixds100v2c64xp.xml" xmlpath="drivers"/> | ||
8 | <platform XML_version="1.2" id="platform_0"> | ||
9 | <instance XML_version="1.2" desc="TMS320C6455_0" href="Devices/c6455.xml" id="TMS320C6455_0" xml="c6455.xml" xmlpath="Devices"/> | ||
10 | </platform> | ||
11 | </connection> | ||
12 | </configuration> | ||
13 | </configurations> | ||
diff --git a/program_evm/configs/evm6457l/evm6457l-linuxhost.ccxml b/program_evm/configs/evm6457l/evm6457l-linuxhost.ccxml new file mode 100644 index 0000000..c20493a --- /dev/null +++ b/program_evm/configs/evm6457l/evm6457l-linuxhost.ccxml | |||
@@ -0,0 +1,14 @@ | |||
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 XDS100v1.5 USB Emulator_0"> | ||
5 | <instance XML_version="1.2" desc="Texas Instruments XDS100v1.5 USB Emulator_0" href="connections/TIXDS100v15_Connection.xml" id="Texas Instruments XDS100v1.5 USB Emulator_0" xml="TIXDS100v15_Connection.xml" xmlpath="connections"/> | ||
6 | <connection XML_version="1.2" id="Texas Instruments XDS100v1.5 USB Emulator_0"> | ||
7 | <instance XML_version="1.2" href="drivers/tixds100icepick_c.xml" id="drivers" xml="tixds100icepick_c.xml" xmlpath="drivers"/> | ||
8 | <instance XML_version="1.2" href="drivers/tixds100c64xp.xml" id="drivers" xml="tixds100c64xp.xml" xmlpath="drivers"/> | ||
9 | <platform XML_version="1.2" id="platform_0"> | ||
10 | <instance XML_version="1.2" desc="TMDSEVM6457L_0" href="boards/evmc6457l.xml" id="TMDSEVM6457L_0" xml="evmc6457l.xml" xmlpath="boards"/> | ||
11 | </platform> | ||
12 | </connection> | ||
13 | </configuration> | ||
14 | </configurations> | ||
diff --git a/program_evm/configs/evm6457l/evm6457l.ccxml b/program_evm/configs/evm6457l/evm6457l.ccxml new file mode 100644 index 0000000..04096e9 --- /dev/null +++ b/program_evm/configs/evm6457l/evm6457l.ccxml | |||
@@ -0,0 +1,14 @@ | |||
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 XDS100v1 USB Emulator_0"> | ||
5 | <instance XML_version="1.2" desc="Texas Instruments XDS100v1 USB Emulator_0" href="connections/TIXDS100usb_Connection.xml" id="Texas Instruments XDS100v1 USB Emulator_0" xml="TIXDS100usb_Connection.xml" xmlpath="connections"/> | ||
6 | <connection XML_version="1.2" id="Texas Instruments XDS100v1 USB Emulator_0"> | ||
7 | <instance XML_version="1.2" href="drivers/tixds100icepick_c.xml" id="drivers" xml="tixds100icepick_c.xml" xmlpath="drivers"/> | ||
8 | <instance XML_version="1.2" href="drivers/tixds100c64xp.xml" id="drivers" xml="tixds100c64xp.xml" xmlpath="drivers"/> | ||
9 | <platform XML_version="1.2" id="platform_0"> | ||
10 | <instance XML_version="1.2" desc="TMDSEVM6457L_0" href="boards/evmc6457l.xml" id="TMDSEVM6457L_0" xml="evmc6457l.xml" xmlpath="boards"/> | ||
11 | </platform> | ||
12 | </connection> | ||
13 | </configuration> | ||
14 | </configurations> | ||
diff --git a/program_evm/configs/evm6472l/evm6472l-linuxhost.ccxml b/program_evm/configs/evm6472l/evm6472l-linuxhost.ccxml new file mode 100644 index 0000000..324dd37 --- /dev/null +++ b/program_evm/configs/evm6472l/evm6472l-linuxhost.ccxml | |||
@@ -0,0 +1,14 @@ | |||
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 XDS100v1.5 USB Emulator_0"> | ||
5 | <instance XML_version="1.2" desc="Texas Instruments XDS100v1.5 USB Emulator_0" href="connections/TIXDS100v15_Connection.xml" id="Texas Instruments XDS100v1.5 USB Emulator_0" xml="TIXDS100v15_Connection.xml" xmlpath="connections"/> | ||
6 | <connection XML_version="1.2" id="Texas Instruments XDS100v1.5 USB Emulator_0"> | ||
7 | <instance XML_version="1.2" href="drivers/tixds100icepick_c.xml" id="drivers" xml="tixds100icepick_c.xml" xmlpath="drivers"/> | ||
8 | <instance XML_version="1.2" href="drivers/tixds100c64xp.xml" id="drivers" xml="tixds100c64xp.xml" xmlpath="drivers"/> | ||
9 | <platform XML_version="1.2" id="platform_0"> | ||
10 | <instance XML_version="1.2" desc="EVMC6472_0" href="boards/evmc6472.xml" id="EVMC6472_0" xml="evmc6472.xml" xmlpath="boards"/> | ||
11 | </platform> | ||
12 | </connection> | ||
13 | </configuration> | ||
14 | </configurations> | ||
diff --git a/program_evm/configs/evm6472l/evm6472l.ccxml b/program_evm/configs/evm6472l/evm6472l.ccxml new file mode 100644 index 0000000..71d32c4 --- /dev/null +++ b/program_evm/configs/evm6472l/evm6472l.ccxml | |||
@@ -0,0 +1,16 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
2 | <configurations XML_version="1.2" id="configurations_0"> | ||
3 | |||
4 | |||
5 | |||
6 | <configuration XML_version="1.2" id="Texas Instruments XDS100v1 USB Emulator_0"> | ||
7 | <instance XML_version="1.2" desc="Texas Instruments XDS100v1 USB Emulator_0" href="connections/TIXDS100usb_Connection.xml" id="Texas Instruments XDS100v1 USB Emulator_0" xml="TIXDS100usb_Connection.xml" xmlpath="connections"/> | ||
8 | <connection XML_version="1.2" id="Texas Instruments XDS100v1 USB Emulator_0"> | ||
9 | <instance XML_version="1.2" href="drivers/tixds100icepick_c.xml" id="drivers" xml="tixds100icepick_c.xml" xmlpath="drivers"/> | ||
10 | <instance XML_version="1.2" href="drivers/tixds100c64xp.xml" id="drivers" xml="tixds100c64xp.xml" xmlpath="drivers"/> | ||
11 | <platform XML_version="1.2" id="platform_0"> | ||
12 | <instance XML_version="1.2" desc="EVMC6472_0" href="boards/evmc6472.xml" id="EVMC6472_0" xml="evmc6472.xml" xmlpath="boards"/> | ||
13 | </platform> | ||
14 | </connection> | ||
15 | </configuration> | ||
16 | </configurations> | ||
diff --git a/program_evm/configs/evm6474/evm6474-linuxhost.ccxml b/program_evm/configs/evm6474/evm6474-linuxhost.ccxml new file mode 100644 index 0000000..39b3cde --- /dev/null +++ b/program_evm/configs/evm6474/evm6474-linuxhost.ccxml | |||
@@ -0,0 +1,28 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
2 | <configurations XML_version="1.2" id="configurations_0"> | ||
3 | <configuration XML_version="1.2" id="Texas Instruments XDS100v2 USB Emulator_0"> | ||
4 | <instance XML_version="1.2" desc="Texas Instruments XDS100v2 USB Emulator_0" href="connections/TIXDS100v2_Connection.xml" id="Texas Instruments XDS100v2 USB Emulator_0" xml="TIXDS100v2_Connection.xml" xmlpath="connections"/> | ||
5 | <connection XML_version="1.2" id="Texas Instruments XDS100v2 USB Emulator_0"> | ||
6 | <instance XML_version="1.2" href="drivers/tixds100v2icepick_c.xml" id="drivers" xml="tixds100v2icepick_c.xml" xmlpath="drivers"/> | ||
7 | <instance XML_version="1.2" href="drivers/tixds100v2c64xp.xml" id="drivers" xml="tixds100v2c64xp.xml" xmlpath="drivers"/> | ||
8 | <platform XML_version="1.2" id="platform_0"> | ||
9 | <instance XML_version="1.2" desc="EVMC6474_0" href="boards/evmc6474.xml" id="EVMC6474_0" xml="evmc6474.xml" xmlpath="boards"/> | ||
10 | <board XML_version="1.2" description="Spectrum Digital C6474 EVM Board" id="EVMC6474_0"> | ||
11 | <router HW_revision="1.0" XML_version="1.2" description="ICEPick_C Router" id="IcePick_C_0" isa="ICEPICK_C"> | ||
12 | <subpath id="Subpath_1"> | ||
13 | <property Type="numericfield" Value="0x12" desc="Port Number_0" id="Port Number"/> | ||
14 | </subpath> | ||
15 | </router> | ||
16 | <router HW_revision="1.0" XML_version="1.2" description="ICEPick_C Router" id="IcePick_C_1" isa="ICEPICK_C"> | ||
17 | <subpath id="Subpath_3"> | ||
18 | <property Type="numericfield" Value="0x11" desc="Port Number_1" id="Port Number"/> | ||
19 | </subpath> | ||
20 | <subpath id="Subpath_4"> | ||
21 | <property Type="numericfield" Value="0x12" desc="Port Number_2" id="Port Number"/> | ||
22 | </subpath> | ||
23 | </router> | ||
24 | </board> | ||
25 | </platform> | ||
26 | </connection> | ||
27 | </configuration> | ||
28 | </configurations> | ||
diff --git a/program_evm/configs/evm6474/evm6474.ccxml b/program_evm/configs/evm6474/evm6474.ccxml new file mode 100644 index 0000000..39b3cde --- /dev/null +++ b/program_evm/configs/evm6474/evm6474.ccxml | |||
@@ -0,0 +1,28 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
2 | <configurations XML_version="1.2" id="configurations_0"> | ||
3 | <configuration XML_version="1.2" id="Texas Instruments XDS100v2 USB Emulator_0"> | ||
4 | <instance XML_version="1.2" desc="Texas Instruments XDS100v2 USB Emulator_0" href="connections/TIXDS100v2_Connection.xml" id="Texas Instruments XDS100v2 USB Emulator_0" xml="TIXDS100v2_Connection.xml" xmlpath="connections"/> | ||
5 | <connection XML_version="1.2" id="Texas Instruments XDS100v2 USB Emulator_0"> | ||
6 | <instance XML_version="1.2" href="drivers/tixds100v2icepick_c.xml" id="drivers" xml="tixds100v2icepick_c.xml" xmlpath="drivers"/> | ||
7 | <instance XML_version="1.2" href="drivers/tixds100v2c64xp.xml" id="drivers" xml="tixds100v2c64xp.xml" xmlpath="drivers"/> | ||
8 | <platform XML_version="1.2" id="platform_0"> | ||
9 | <instance XML_version="1.2" desc="EVMC6474_0" href="boards/evmc6474.xml" id="EVMC6474_0" xml="evmc6474.xml" xmlpath="boards"/> | ||
10 | <board XML_version="1.2" description="Spectrum Digital C6474 EVM Board" id="EVMC6474_0"> | ||
11 | <router HW_revision="1.0" XML_version="1.2" description="ICEPick_C Router" id="IcePick_C_0" isa="ICEPICK_C"> | ||
12 | <subpath id="Subpath_1"> | ||
13 | <property Type="numericfield" Value="0x12" desc="Port Number_0" id="Port Number"/> | ||
14 | </subpath> | ||
15 | </router> | ||
16 | <router HW_revision="1.0" XML_version="1.2" description="ICEPick_C Router" id="IcePick_C_1" isa="ICEPICK_C"> | ||
17 | <subpath id="Subpath_3"> | ||
18 | <property Type="numericfield" Value="0x11" desc="Port Number_1" id="Port Number"/> | ||
19 | </subpath> | ||
20 | <subpath id="Subpath_4"> | ||
21 | <property Type="numericfield" Value="0x12" desc="Port Number_2" id="Port Number"/> | ||
22 | </subpath> | ||
23 | </router> | ||
24 | </board> | ||
25 | </platform> | ||
26 | </connection> | ||
27 | </configuration> | ||
28 | </configurations> | ||
diff --git a/program_evm/configs/evm6474l/evm6474l-linuxhost.ccxml b/program_evm/configs/evm6474l/evm6474l-linuxhost.ccxml new file mode 100644 index 0000000..048ea79 --- /dev/null +++ b/program_evm/configs/evm6474l/evm6474l-linuxhost.ccxml | |||
@@ -0,0 +1,16 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
2 | <configurations XML_version="1.2" id="configurations_0"> | ||
3 | |||
4 | |||
5 | |||
6 | <configuration XML_version="1.2" id="Texas Instruments XDS100v1.5 USB Emulator_0"> | ||
7 | <instance XML_version="1.2" desc="Texas Instruments XDS100v1.5 USB Emulator_0" href="connections/TIXDS100v15_Connection.xml" id="Texas Instruments XDS100v1.5 USB Emulator_0" xml="TIXDS100v15_Connection.xml" xmlpath="connections"/> | ||
8 | <connection XML_version="1.2" id="Texas Instruments XDS100v1.5 USB Emulator_0"> | ||
9 | <instance XML_version="1.2" href="drivers/tixds100icepick_c.xml" id="drivers" xml="tixds100icepick_c.xml" xmlpath="drivers"/> | ||
10 | <instance XML_version="1.2" href="drivers/tixds100c64xp.xml" id="drivers" xml="tixds100c64xp.xml" xmlpath="drivers"/> | ||
11 | <platform XML_version="1.2" id="platform_0"> | ||
12 | <instance XML_version="1.2" desc="TMDSEVM6474L_0" href="boards/evmc6474l.xml" id="TMDSEVM6474L_0" xml="evmc6474l.xml" xmlpath="boards"/> | ||
13 | </platform> | ||
14 | </connection> | ||
15 | </configuration> | ||
16 | </configurations> | ||
diff --git a/program_evm/configs/evm6474l/evm6474l.ccxml b/program_evm/configs/evm6474l/evm6474l.ccxml new file mode 100644 index 0000000..bc36769 --- /dev/null +++ b/program_evm/configs/evm6474l/evm6474l.ccxml | |||
@@ -0,0 +1,13 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
2 | <configurations XML_version="1.2" id="configurations_0"> | ||
3 | <configuration XML_version="1.2" id="Texas Instruments XDS100v1 USB Emulator_0"> | ||
4 | <instance XML_version="1.2" desc="Texas Instruments XDS100v1 USB Emulator_0" href="connections/TIXDS100usb_Connection.xml" id="Texas Instruments XDS100v1 USB Emulator_0" xml="TIXDS100usb_Connection.xml" xmlpath="connections"/> | ||
5 | <connection XML_version="1.2" id="Texas Instruments XDS100v1 USB Emulator_0"> | ||
6 | <instance XML_version="1.2" href="drivers/tixds100icepick_c.xml" id="drivers" xml="tixds100icepick_c.xml" xmlpath="drivers"/> | ||
7 | <instance XML_version="1.2" href="drivers/tixds100c64xp.xml" id="drivers" xml="tixds100c64xp.xml" xmlpath="drivers"/> | ||
8 | <platform XML_version="1.2" id="platform_0"> | ||
9 | <instance XML_version="1.2" desc="TMDSEVM6474L_0" href="boards/evmc6474l.xml" id="TMDSEVM6474L_0" xml="evmc6474l.xml" xmlpath="boards"/> | ||
10 | </platform> | ||
11 | </connection> | ||
12 | </configuration> | ||
13 | </configurations> | ||
diff --git a/factory_images/configs/evm6670l/evm6670l-linuxhost.ccxml b/program_evm/configs/evm6670l/evm6670l-linuxhost.ccxml index 4e2929d..4e2929d 100644 --- a/factory_images/configs/evm6670l/evm6670l-linuxhost.ccxml +++ b/program_evm/configs/evm6670l/evm6670l-linuxhost.ccxml | |||
diff --git a/factory_images/configs/evm6670l/evm6670l.ccxml b/program_evm/configs/evm6670l/evm6670l.ccxml index 4dec39e..4dec39e 100644 --- a/factory_images/configs/evm6670l/evm6670l.ccxml +++ b/program_evm/configs/evm6670l/evm6670l.ccxml | |||
diff --git a/factory_images/configs/evm6670l/evm6670le-linuxhost.ccxml b/program_evm/configs/evm6670l/evm6670le-linuxhost.ccxml index 06e4eb0..06e4eb0 100644 --- a/factory_images/configs/evm6670l/evm6670le-linuxhost.ccxml +++ b/program_evm/configs/evm6670l/evm6670le-linuxhost.ccxml | |||
diff --git a/factory_images/configs/evm6670l/evm6670le.ccxml b/program_evm/configs/evm6670l/evm6670le.ccxml index 06e4eb0..06e4eb0 100644 --- a/factory_images/configs/evm6670l/evm6670le.ccxml +++ b/program_evm/configs/evm6670l/evm6670le.ccxml | |||
diff --git a/factory_images/configs/evm6678l/evm6678l-linuxhost.ccxml b/program_evm/configs/evm6678l/evm6678l-linuxhost.ccxml index 4e18ccd..4e18ccd 100644 --- a/factory_images/configs/evm6678l/evm6678l-linuxhost.ccxml +++ b/program_evm/configs/evm6678l/evm6678l-linuxhost.ccxml | |||
diff --git a/factory_images/configs/evm6678l/evm6678l.ccxml b/program_evm/configs/evm6678l/evm6678l.ccxml index 7e009d6..7e009d6 100644 --- a/factory_images/configs/evm6678l/evm6678l.ccxml +++ b/program_evm/configs/evm6678l/evm6678l.ccxml | |||
diff --git a/factory_images/configs/evm6678l/evm6678le-linuxhost.ccxml b/program_evm/configs/evm6678l/evm6678le-linuxhost.ccxml index 3dc3152..3dc3152 100644 --- a/factory_images/configs/evm6678l/evm6678le-linuxhost.ccxml +++ b/program_evm/configs/evm6678l/evm6678le-linuxhost.ccxml | |||
diff --git a/factory_images/configs/evm6678l/evm6678le.ccxml b/program_evm/configs/evm6678l/evm6678le.ccxml index b8ea037..b8ea037 100644 --- a/factory_images/configs/evm6678l/evm6678le.ccxml +++ b/program_evm/configs/evm6678l/evm6678le.ccxml | |||
diff --git a/program_evm/gel/README.txt b/program_evm/gel/README.txt new file mode 100644 index 0000000..0ddc6d9 --- /dev/null +++ b/program_evm/gel/README.txt | |||
@@ -0,0 +1,15 @@ | |||
1 | Steps to update GELs for C66x EVMs | ||
2 | ---------------------------------- | ||
3 | |||
4 | 1: There are two GEL files provided in this directory evmc6670l.gel and evmc6678l.gel | ||
5 | |||
6 | 2: These GEL files needs to be copied to CCS installation | ||
7 | |||
8 | 3: The following steps will assume the CCS is installed in <CCS_INSTALL_DIR> (which is typically C:\Program Files\Texas Instruments\ccsv5 for Windows XP and ~/ti/ccsv5) | ||
9 | |||
10 | 4: Close the CCS if open | ||
11 | |||
12 | 5: Replace the GEL file present in the <CCS_INSTALL_DIR>/ccs_base_5.0.3.00028/emulation/boards/evmc6670l/gel directory with the evmc6670l.gel file present in this directory | ||
13 | |||
14 | 6: Replace the GEL file present in the <CCS_INSTALL_DIR>/ccs_base_5.0.3.00028/emulation/boards/evmc6678l/gel directory with the evmc6678l.gel file present in this directory | ||
15 | |||
diff --git a/program_evm/logs/logs.txt b/program_evm/logs/logs.txt new file mode 100644 index 0000000..205b14f --- /dev/null +++ b/program_evm/logs/logs.txt | |||
@@ -0,0 +1 @@ | |||
Program EVM logs will be stored in this directory. \ No newline at end of file | |||
diff --git a/factory_images/program_evm.js b/program_evm/program_evm.js index f050b87..a8e9500 100644 --- a/factory_images/program_evm.js +++ b/program_evm/program_evm.js | |||
@@ -11,42 +11,31 @@ importPackage(Packages.java.util); | |||
11 | var script = ScriptingEnvironment.instance() | 11 | var script = ScriptingEnvironment.instance() |
12 | 12 | ||
13 | var debugScriptEnv = ScriptingEnvironment.instance(); | 13 | var debugScriptEnv = ScriptingEnvironment.instance(); |
14 | // program_evm environment. | ||
15 | testEnv = {}; | ||
14 | 16 | ||
15 | // Get the Debug Server and start a Debug Session | 17 | // Get the Debug Server and start a Debug Session |
16 | var debugServer = script.getServer("DebugServer.1"); | 18 | var debugServer = script.getServer("DebugServer.1"); |
17 | 19 | ||
18 | // Create a log file in the current directory to log script execution | ||
19 | script.traceBegin("BFTRunLog.xml", "DefaultStylesheet.xsl") | ||
20 | |||
21 | //***************Functions define*************************** | 20 | //***************Functions define*************************** |
22 | //****************Open file to write*********************** | 21 | |
23 | // if attr is true, bytes will be written to the end of the file rather than the beginning | 22 | |
24 | function fileWriterOpen(path, attr) | 23 | function isFile(path) |
25 | { | 24 | { |
26 | if (attr) | 25 | try |
27 | { | 26 | { |
28 | file = new java.io.FileWriter(path, true); | 27 | file = new java.io.FileReader(path); |
29 | return file; | 28 | } |
30 | } | 29 | catch (ex) |
31 | else | ||
32 | { | 30 | { |
33 | file = new java.io.FileWriter(path, false); | 31 | return false; |
34 | return file; | 32 | } |
35 | } | ||
36 | } | ||
37 | 33 | ||
38 | //****************Write to file*********************** | 34 | return true; |
39 | function fileWrite(file, string) | ||
40 | { | ||
41 | file.write(string); | ||
42 | } | ||
43 | 35 | ||
44 | //**************** Close file************************* | ||
45 | function fileClose(file) | ||
46 | { | ||
47 | file.close(); | ||
48 | } | 36 | } |
49 | 37 | ||
38 | |||
50 | //****************Get New Time Stamp*********************** | 39 | //****************Get New Time Stamp*********************** |
51 | function localTime() | 40 | function localTime() |
52 | { | 41 | { |
@@ -104,6 +93,17 @@ function fileCopy(source,destination) | |||
104 | out.close(); | 93 | out.close(); |
105 | } | 94 | } |
106 | 95 | ||
96 | function pausecomp(millis) | ||
97 | { | ||
98 | var date = new Date(); | ||
99 | var curDate = null; | ||
100 | do { curDate = new Date(); } | ||
101 | while(curDate-date < millis) | ||
102 | { | ||
103 | //print("Waiting "+millis+"ms...\r\n") | ||
104 | } | ||
105 | } | ||
106 | |||
107 | //******************************************* | 107 | //******************************************* |
108 | // Declarations and Inititalizations | 108 | // Declarations and Inititalizations |
109 | var nandwriter_dir = java.lang.System.getProperty("user.dir"); | 109 | var nandwriter_dir = java.lang.System.getProperty("user.dir"); |
@@ -118,6 +118,7 @@ var big_endian = false; | |||
118 | var targetFlag = "unknown"; | 118 | var targetFlag = "unknown"; |
119 | var targetConfig = "unknown"; | 119 | var targetConfig = "unknown"; |
120 | var emul560 = false; | 120 | var emul560 = false; |
121 | testEnv.cioFile = null; | ||
121 | 122 | ||
122 | if (java.lang.System.getProperty("os.name").match(/Linux/i)) | 123 | if (java.lang.System.getProperty("os.name").match(/Linux/i)) |
123 | { | 124 | { |
@@ -183,15 +184,24 @@ if (arguments.length > 0 && arguments.length < 3) | |||
183 | } | 184 | } |
184 | else | 185 | else |
185 | { | 186 | { |
186 | script.traceWrite("syntax error in command line"); | 187 | print("Syntax error in command line"); |
187 | print("Syntax: program_evm.js <device> [images_to_write]") | 188 | print("Syntax: program_evm.js [tmdx|tmds]evm[c](<device>)l[x][e][-le|-be] [images_to_write]") |
188 | print(" <device> is the board name with optional -le (little endian, default) or -be (big endian)") | 189 | |
190 | print(" tmdx: TMDX type EVM") | ||
191 | print(" tmds: TMDS type EVM") | ||
192 | print(" c: Not used, for backward compatibility") | ||
193 | print(" <device> is the board name e.g 6472,6678 etc") | ||
194 | print(" l: Low cost EVM") | ||
195 | print(" x: EVM supports encryption") | ||
196 | print(" e: EVM uses 560 Mezzanine Emulator daughter card") | ||
197 | print(" le: Little Endian") | ||
198 | print(" be: Big Endian") | ||
199 | |||
189 | print(" example: TMDXEVM6678L-le") | 200 | print(" example: TMDXEVM6678L-le") |
190 | print(" [images_to_write] OPTIONAL is a list of the images to be written") | 201 | print(" [images_to_write] OPTIONAL is a list of the images to be written") |
191 | print(" example: eeprom50,nor") | 202 | print(" example: eeprom50,nor") |
192 | print(" If not specified all (eeprom50,eeprom51,nand,nor) will be written") | 203 | print(" If not specified all (eeprom50,eeprom51,nand,nor) will be written") |
193 | script.traceEnd() | 204 | java.lang.System.exit(0); |
194 | java.lang.System.exit(1); | ||
195 | } | 205 | } |
196 | 206 | ||
197 | var i2cwriterbinary = board_binaries + "eepromwriter_" + targetFlag + ".out"; | 207 | var i2cwriterbinary = board_binaries + "eepromwriter_" + targetFlag + ".out"; |
@@ -205,148 +215,231 @@ var eeprom51 = board_binaries + "eeprom51.bin"; | |||
205 | var nand = board_binaries + "nand.bin"; | 215 | var nand = board_binaries + "nand.bin"; |
206 | var nor = board_binaries + "nor.bin"; | 216 | var nor = board_binaries + "nor.bin"; |
207 | 217 | ||
218 | switch (targetFlag) | ||
219 | { | ||
220 | case "evm6457l": | ||
221 | cpu_id = "C64XP_1"; | ||
222 | var nAddress = 0x800000; | ||
223 | var iblByteSwap = false; | ||
224 | break; | ||
225 | case "evm6474l": | ||
226 | cpu_id = "C64XP_0"; | ||
227 | var nAddress = 0x800000; | ||
228 | var iblByteSwap = false; | ||
229 | break; | ||
230 | case "evm6455": | ||
231 | cpu_id = "C64XP_0"; | ||
232 | var nAddress = 0x800000; | ||
233 | var iblByteSwap = false; | ||
234 | break; | ||
235 | case "evm6474": | ||
236 | cpu_id = "C64XP_1A"; | ||
237 | var nAddress = 0x800000; | ||
238 | var iblByteSwap = false; | ||
239 | break; | ||
240 | case "evm6472l": | ||
241 | cpu_id = "C64XP_A"; | ||
242 | var nAddress = 0x800000; | ||
243 | var iblByteSwap = false; | ||
244 | break; | ||
245 | case "evm6670l": | ||
246 | cpu_id = "C66xx_0"; | ||
247 | var nAddress = 0x80000000; | ||
248 | var iblByteSwap = false; | ||
249 | break; | ||
250 | case "evm6678l": | ||
251 | cpu_id = "C66xx_0"; | ||
252 | var nAddress = 0x80000000; | ||
253 | var iblByteSwap = false; | ||
254 | break; | ||
255 | default: | ||
256 | script.traceWrite("Could not file cpu id for target " + targetFlag + "\n"); | ||
257 | |||
258 | |||
259 | } | ||
260 | |||
208 | start = localTime(); | 261 | start = localTime(); |
209 | var logFile = fileWriterOpen(script_logs+targetFlag+"_"+start+".txt", 1); | 262 | testEnv.cioFile = script_logs+targetFlag+"_"+start+"-cio"+".txt"; |
263 | // Create a log file in the current directory to log script execution | ||
264 | script.traceBegin(script_logs+targetFlag+"_"+start+"-trace"+".txt") | ||
210 | 265 | ||
211 | // Configure target | 266 | // Configure target |
212 | debugServer.setConfig(targetConfig); | 267 | debugServer.setConfig(targetConfig); |
213 | debugSession = debugServer.openSession("*","C66xx_0"); | 268 | pausecomp(1000); |
269 | debugSession = debugServer.openSession("*",cpu_id); | ||
270 | |||
271 | if (testEnv.cioFile != null) | ||
272 | debugSession.beginCIOLogging(testEnv.cioFile); | ||
273 | pausecomp(1000); | ||
214 | debugSession.target.connect(); | 274 | debugSession.target.connect(); |
275 | pausecomp(1000); | ||
215 | debugSession.target.reset(); | 276 | debugSession.target.reset(); |
277 | pausecomp(1000); | ||
216 | 278 | ||
217 | //POST | 279 | //POST |
218 | if(writeAll || writerImages.match(/eeprom50/)) | 280 | if(writeAll || writerImages.match(/eeprom50/)) |
219 | { | 281 | { |
220 | //Write EEPROM | 282 | //Write EEPROM |
221 | start = localTime(); | 283 | start = localTime(); |
222 | fileWrite(logFile, "Start POST write @ "+start+"\r\n"); | 284 | script.traceWrite("Start writing eeprom50"); |
223 | script.traceWrite("Start writing POST"); | ||
224 | script.traceWrite("Writer:" + i2cwriterbinary + "\r\n"); | 285 | script.traceWrite("Writer:" + i2cwriterbinary + "\r\n"); |
225 | script.traceWrite("POST:" + eeprom50 + "\r\n"); | 286 | script.traceWrite("Image:" + eeprom50 + "\r\n"); |
226 | 287 | if (isFile(i2cwriterbinary) && isFile(eeprom50)) | |
227 | fileCopy(eepromwriter_input50,eepromwriter_input); | ||
228 | debugSession.memory.loadProgram(i2cwriterbinary); | ||
229 | var nPage = 0x0; | ||
230 | var nAddress = 0x80000000; | ||
231 | var sFilename = eeprom50 ; | ||
232 | var nTypeSize = 32; | ||
233 | var bByteSwap = false; | ||
234 | try | ||
235 | { | 288 | { |
236 | debugSession.memory.loadRaw(nPage, nAddress, sFilename, nTypeSize, bByteSwap); | 289 | fileCopy(eepromwriter_input50,eepromwriter_input); |
290 | debugSession.memory.loadProgram(i2cwriterbinary); | ||
291 | var nPage = 0x0; | ||
292 | // var nAddress = 0x80000000; | ||
293 | var sFilename = eeprom50 ; | ||
294 | var nTypeSize = 32; | ||
295 | var bByteSwap = false; | ||
296 | try | ||
297 | { | ||
298 | debugSession.memory.loadRaw(nPage, nAddress, sFilename, nTypeSize, bByteSwap); | ||
299 | } | ||
300 | catch (ex) | ||
301 | { | ||
302 | errCode = getErrorCode(ex); | ||
303 | script.traceWrite("Error code #" + errCode + ", could not load file " + sFilename + | ||
304 | " to target memory!"); | ||
305 | } | ||
306 | debugSession.target.run() | ||
307 | end = localTime(); | ||
237 | } | 308 | } |
238 | catch (ex) | 309 | else |
239 | { | 310 | { |
240 | errCode = getErrorCode(ex); | 311 | script.traceWrite("Required EEPROM50 files do not exist in " + board_binaries + "\n"); |
241 | script.traceWrite("Error code #" + errCode + ", could not load file " + sFilename + | 312 | |
242 | " to target memory!"); | ||
243 | } | 313 | } |
244 | debugSession.target.run() | ||
245 | end = localTime(); | ||
246 | fileWrite(logFile, "\nEnd POST write @ " + end + "\n\n"); | ||
247 | } | 314 | } |
248 | 315 | ||
249 | //IBL | 316 | //IBL |
250 | if(writeAll || writerImages.match(/eeprom51/)) | 317 | if(writeAll || writerImages.match(/eeprom51/)) |
251 | { | 318 | { |
252 | start = localTime(); | 319 | start = localTime(); |
253 | fileWrite(logFile, "Start IBL write @ "+start+"\r\n"); | 320 | script.traceWrite("Start writing eeprom51"); |
254 | script.traceWrite("Start writing IBL"); | ||
255 | script.traceWrite("Writer:" + i2cwriterbinary + "\r\n"); | 321 | script.traceWrite("Writer:" + i2cwriterbinary + "\r\n"); |
256 | script.traceWrite("IBL:" + eeprom51 + "\r\n"); | 322 | script.traceWrite("Image:" + eeprom51 + "\r\n"); |
257 | 323 | ||
258 | fileCopy(eepromwriter_input51,eepromwriter_input); | 324 | if (isFile(i2cwriterbinary) && isFile(eeprom51)) |
259 | debugSession.memory.loadProgram(i2cwriterbinary); | ||
260 | var nPage = 0x0; | ||
261 | var nAddress = 0x80000000; | ||
262 | var sFilename = eeprom51; | ||
263 | var nTypeSize = 32; | ||
264 | var bByteSwap = false; | ||
265 | try | ||
266 | { | 325 | { |
267 | debugSession.memory.loadRaw(nPage, nAddress, sFilename, nTypeSize, bByteSwap); | 326 | fileCopy(eepromwriter_input51,eepromwriter_input); |
327 | debugSession.memory.loadProgram(i2cwriterbinary); | ||
328 | var nPage = 0x0; | ||
329 | // var nAddress = 0x80000000; | ||
330 | var sFilename = eeprom51; | ||
331 | var nTypeSize = 32; | ||
332 | var bByteSwap = iblByteSwap; | ||
333 | try | ||
334 | { | ||
335 | debugSession.memory.loadRaw(nPage, nAddress, sFilename, nTypeSize, bByteSwap); | ||
336 | } | ||
337 | catch (ex) | ||
338 | { | ||
339 | errCode = getErrorCode(ex); | ||
340 | script.traceWrite("Error code #" + errCode + ", could not load file " + sFilename + | ||
341 | " to target memory!"); | ||
342 | } | ||
343 | |||
344 | debugSession.target.run() | ||
345 | end = localTime(); | ||
268 | } | 346 | } |
269 | catch (ex) | 347 | else |
270 | { | 348 | { |
271 | errCode = getErrorCode(ex); | 349 | script.traceWrite("Required EEPROM51 files do not exist in " + board_binaries + "\n"); |
272 | script.traceWrite("Error code #" + errCode + ", could not load file " + sFilename + | 350 | |
273 | " to target memory!"); | ||
274 | } | 351 | } |
275 | |||
276 | debugSession.target.run() | ||
277 | end = localTime(); | ||
278 | fileWrite(logFile, "\nEnd IBL write @ " + end + "\n\n"); | ||
279 | } | 352 | } |
280 | 353 | ||
354 | |||
281 | //NAND | 355 | //NAND |
282 | if(writeAll || writerImages.match(/nand/)) | 356 | if(writeAll || writerImages.match(/nand/)) |
283 | { | 357 | { |
358 | |||
284 | start_nand = localTime(); | 359 | start_nand = localTime(); |
285 | fileWrite(logFile, "\nStart NAND write @ " + start_nand + "\n\n"); | ||
286 | script.traceWrite("Writer:" + nandwriterbinary + "\r\n"); | 360 | script.traceWrite("Writer:" + nandwriterbinary + "\r\n"); |
287 | script.traceWrite("NAND:" + nand + "\r\n"); | 361 | script.traceWrite("NAND:" + nand + "\r\n"); |
288 | debugSession.memory.loadProgram(nandwriterbinary); | 362 | if (isFile(nand) && isFile(nandwriterbinary)) |
289 | var nPage = 0x0; | 363 | { |
290 | var nAddress = 0x80000000; | 364 | debugSession.memory.loadProgram(nandwriterbinary); |
291 | var sFilename = nand; | 365 | var nPage = 0x0; |
292 | var nTypeSize = 32; | 366 | // var nAddress = 0x80000000; |
293 | var bByteSwap = true; | 367 | var sFilename = nand; |
368 | var nTypeSize = 32; | ||
369 | var bByteSwap = false; | ||
294 | 370 | ||
295 | try | 371 | try |
296 | { | 372 | { |
297 | script.traceWrite("Start loading nand.bin"); | 373 | script.traceWrite("Start loading nand.bin"); |
298 | debugSession.memory.loadRaw(nPage, nAddress, sFilename, nTypeSize, bByteSwap); | 374 | debugSession.memory.loadRaw(nPage, nAddress, sFilename, nTypeSize, bByteSwap); |
299 | 375 | ||
376 | } | ||
377 | catch (ex) | ||
378 | { | ||
379 | errCode = getErrorCode(ex); | ||
380 | script.traceWrite("Error code #" + errCode + ", could not load file " + sFilename + | ||
381 | " to target memory!"); | ||
382 | } | ||
383 | script.traceWrite("Start programming NAND"); | ||
384 | debugSession.target.run() | ||
385 | script.traceWrite("End programming NAND"); | ||
386 | end_nand = localTime(); | ||
300 | } | 387 | } |
301 | catch (ex) | 388 | else |
302 | { | 389 | { |
303 | errCode = getErrorCode(ex); | 390 | script.traceWrite("Required NAND files does not exist in " + board_binaries + "\n"); |
304 | script.traceWrite("Error code #" + errCode + ", could not load file " + sFilename + | 391 | |
305 | " to target memory!"); | ||
306 | } | 392 | } |
307 | script.traceWrite("Start programming NAND"); | ||
308 | debugSession.target.run() | ||
309 | script.traceWrite("End programming NAND"); | ||
310 | end_nand = localTime(); | ||
311 | fileWrite(logFile, "\nEnd NAND write @ " + end_nand + "\n\n"); | ||
312 | } | 393 | } |
313 | 394 | ||
314 | //NOR | 395 | //NOR |
315 | if(writeAll || writerImages.match(/nor/)) | 396 | if(writeAll || writerImages.match(/nor/)) |
316 | { | 397 | { |
317 | start_nor = localTime(); | 398 | start_nor = localTime(); |
318 | fileWrite(logFile, "\nStart NOR write @ " + start_nor + "\n\n"); | ||
319 | script.traceWrite("Writer:" + norwriterbinary + "\r\n"); | 399 | script.traceWrite("Writer:" + norwriterbinary + "\r\n"); |
320 | script.traceWrite("NOR:" + nor + "\r\n"); | 400 | script.traceWrite("NOR:" + nor + "\r\n"); |
321 | debugSession.memory.loadProgram(norwriterbinary); | ||
322 | var nPage = 0x0; | ||
323 | var nAddress = 0x80000000; | ||
324 | var sFilename = nor ; | ||
325 | var nTypeSize = 32; | ||
326 | var bByteSwap = true; | ||
327 | try | ||
328 | { | ||
329 | script.traceWrite("Start loading nor.bin"); | ||
330 | debugSession.memory.loadRaw(nPage, nAddress, sFilename, nTypeSize, bByteSwap); | ||
331 | 401 | ||
332 | } | 402 | |
333 | catch (ex) | 403 | if (isFile(nor) && isFile(norwriterbinary)) |
334 | { | 404 | { |
335 | errCode = getErrorCode(ex); | 405 | |
336 | script.traceWrite("Error code #" + errCode + ", could not load file " + sFilename + | 406 | debugSession.memory.loadProgram(norwriterbinary); |
337 | " to target memory!"); | 407 | var nPage = 0x0; |
408 | // var nAddress = 0x80000000; | ||
409 | var sFilename = nor ; | ||
410 | var nTypeSize = 32; | ||
411 | var bByteSwap = false; | ||
412 | try | ||
413 | { | ||
414 | script.traceWrite("Start loading nor.bin"); | ||
415 | debugSession.memory.loadRaw(nPage, nAddress, sFilename, nTypeSize, bByteSwap); | ||
416 | |||
417 | } | ||
418 | catch (ex) | ||
419 | { | ||
420 | errCode = getErrorCode(ex); | ||
421 | script.traceWrite("Error code #" + errCode + ", could not load file " + sFilename + | ||
422 | " to target memory!"); | ||
423 | } | ||
424 | script.traceWrite("Start programming NOR"); | ||
425 | script.traceWrite(localTime()); | ||
426 | debugSession.target.run() | ||
427 | script.traceWrite("End programming NOR"); | ||
428 | end_nor = localTime(); | ||
429 | } | ||
430 | else | ||
431 | { | ||
432 | script.traceWrite("Required NOR files does not exist in " + board_binaries + "\n"); | ||
433 | |||
338 | } | 434 | } |
339 | script.traceWrite("Start programming NOR"); | 435 | |
340 | script.traceWrite(localTime()); | ||
341 | debugSession.target.run() | ||
342 | script.traceWrite("End programming NOR"); | ||
343 | end_nor = localTime(); | ||
344 | fileWrite(logFile, "\nEnd NOR write @ " + end_nor + "\n\n"); | ||
345 | } | 436 | } |
346 | 437 | ||
347 | // Close log file | 438 | if (testEnv.cioFile != null) |
348 | fileWrite(logFile, "\n\n\n"); | 439 | { |
349 | fileClose(logFile); | 440 | // Stop CIO logging. |
441 | debugSession.endCIOLogging(); | ||
442 | } | ||
350 | 443 | ||
351 | debugSession.terminate(); | 444 | debugSession.terminate(); |
352 | debugServer.stop() | 445 | debugServer.stop() |
diff --git a/factory_images/program_evm_userguide.doc b/program_evm/program_evm_userguide.doc index da0ec26..8efa86b 100644 --- a/factory_images/program_evm_userguide.doc +++ b/program_evm/program_evm_userguide.doc | |||
Binary files differ | |||
diff --git a/program_evm/program_evm_userguide.pdf b/program_evm/program_evm_userguide.pdf new file mode 100644 index 0000000..9eefa84 --- /dev/null +++ b/program_evm/program_evm_userguide.pdf | |||
Binary files differ | |||