summaryrefslogtreecommitdiffstats
path: root/writer
diff options
context:
space:
mode:
authorIvan Pang2011-10-21 16:54:20 -0500
committerIvan Pang2011-10-21 16:54:20 -0500
commita2ea0152aedf19f939c545d3c692728a8010fea4 (patch)
tree9fbf164b1988d972bc455871caf8062babdc5b37 /writer
parentabf260d446cec73c782f2dd410deeb717ca3b07d (diff)
downloadmcsdk-tools-a2ea0152aedf19f939c545d3c692728a8010fea4.tar.gz
mcsdk-tools-a2ea0152aedf19f939c545d3c692728a8010fea4.tar.xz
mcsdk-tools-a2ea0152aedf19f939c545d3c692728a8010fea4.zip
POST updates; eepromwriter now supports .bin instead of .dat
Diffstat (limited to 'writer')
-rw-r--r--writer/eeprom/docs/README.txt21
-rw-r--r--writer/eeprom/evmc6670l/bin/eepromwriter_input.txt2
-rw-r--r--writer/eeprom/evmc6678l/bin/eepromwriter_input.txt2
3 files changed, 14 insertions, 11 deletions
diff --git a/writer/eeprom/docs/README.txt b/writer/eeprom/docs/README.txt
index 9da0cb9..a456d38 100644
--- a/writer/eeprom/docs/README.txt
+++ b/writer/eeprom/docs/README.txt
@@ -2,16 +2,18 @@ EEPROM Writer Utility
2 2
3EEPROM Writer is a simple utility to program a CCS format image/data file to I2C EEPROM. 3EEPROM Writer is a simple utility to program a CCS format image/data file to I2C EEPROM.
4 4
5Steps to program the EEPROM: 5Steps to program the EEPROM with a binary file:
6 6
71. Be sure to set the boot mode dip switch to no boot/EMIF16 boot mode on the EVM. 71. Be sure to set the boot mode dip switch to no boot/EMIF16 boot mode on the EVM.
8 8
92. Copy the CCS format data file to writer\eeprom\evmc66xxl\bin directory, and rename it to app.dat. 92. Copy the binary file to writer\eeprom\evmc66xxl\bin directory.
10 10
113. Change the file_name, bus_addr, start_addr and swap_data in writer\eeprom\evmc66xxl\bin\eepromwriter_input.txt if necessary. 113. Change the file_name, bus_addr, start_addr and swap_data in writer\eeprom\evmc66xxl\bin\eepromwriter_input.txt if necessary.
12 By default the EEPROM writer will load app.dat to DSP memory and write the data to I2C slave 12 Make sure that file_name is set to the name of your binary file.
13
14 *By default the EEPROM writer will load app.bin to DSP memory and write the data to I2C slave
13 bus address 81 (0x51) at EEPROM device start byte address 0 with data swap disabled (0). 15 bus address 81 (0x51) at EEPROM device start byte address 0 with data swap disabled (0).
14 16
154. Open CCSv5 and launch the evmc66xx emulator target configuration and connect to core 0. 174. Open CCSv5 and launch the evmc66xx emulator target configuration and connect to core 0.
16 18
175. Load the program writer\eeprom\evmc66xxl\bin\eepromwriter_evm66xxl.out to CCS, be sure evmc66xxl.gel is used in CCS 195. Load the program writer\eeprom\evmc66xxl\bin\eepromwriter_evm66xxl.out to CCS, be sure evmc66xxl.gel is used in CCS
@@ -21,10 +23,12 @@ Steps to program the EEPROM:
21 23
227. Load app.dat to 0x80000000: 247. Load app.dat to 0x80000000:
23 * In CCSv5, right click mouse in memory window, select "load memory". 25 * In CCSv5, right click mouse in memory window, select "load memory".
24 * Browse and select writer\eeprom\evmc66xxl\bin\app.dat. 26 * Browse and select your binary file.
25 * Select the option "Use the file header information to set the start address and size of the memory block to be 27 - By default, the browse menu only displays .dat files. You will have to change the option
26 loaded" and click "next". 28 TI Data Format (*.dat) to Raw Data Format (*.bin) to find your binary file.
27 * Change the Start Address to "0x80000000" if it is not 0x80000000, and click "finish". 29 * Change the Start Address to "0x80000000" if it is not 0x80000000
30 * Change the Type-size to 32 bits if it is not 32 bits.
31 * click "finish".
28 32
298.After the data file is loaded into the memory, run the program (in CCSv5, press F8), it will start to program the 338.After the data file is loaded into the memory, run the program (in CCSv5, press F8), it will start to program the
30 EEPROM. 34 EEPROM.
@@ -32,7 +36,6 @@ Steps to program the EEPROM:
329.When programming is completed, the console will print "EEPROM programming completed successfully", if there 369.When programming is completed, the console will print "EEPROM programming completed successfully", if there
33 is any error, the console will show the error message. 37 is any error, the console will show the error message.
34 38
35
36Steps to re-build eepromwriter: 39Steps to re-build eepromwriter:
37 40
381. Uses CCS to build eepromwriter: 411. Uses CCS to build eepromwriter:
diff --git a/writer/eeprom/evmc6670l/bin/eepromwriter_input.txt b/writer/eeprom/evmc6670l/bin/eepromwriter_input.txt
index 76b3dd9..d87d3c4 100644
--- a/writer/eeprom/evmc6670l/bin/eepromwriter_input.txt
+++ b/writer/eeprom/evmc6670l/bin/eepromwriter_input.txt
@@ -1,4 +1,4 @@
1file_name = app.dat 1file_name = app.bin
2bus_addr = 0x51 2bus_addr = 0x51
3start_addr = 0 3start_addr = 0
4swap_data = 0 4swap_data = 0
diff --git a/writer/eeprom/evmc6678l/bin/eepromwriter_input.txt b/writer/eeprom/evmc6678l/bin/eepromwriter_input.txt
index 76b3dd9..d87d3c4 100644
--- a/writer/eeprom/evmc6678l/bin/eepromwriter_input.txt
+++ b/writer/eeprom/evmc6678l/bin/eepromwriter_input.txt
@@ -1,4 +1,4 @@
1file_name = app.dat 1file_name = app.bin
2bus_addr = 0x51 2bus_addr = 0x51
3start_addr = 0 3start_addr = 0
4swap_data = 0 4swap_data = 0