diff options
author | Ivan Pang | 2011-10-21 16:54:20 -0500 |
---|---|---|
committer | Ivan Pang | 2011-10-21 16:54:20 -0500 |
commit | a2ea0152aedf19f939c545d3c692728a8010fea4 (patch) | |
tree | 9fbf164b1988d972bc455871caf8062babdc5b37 /writer | |
parent | abf260d446cec73c782f2dd410deeb717ca3b07d (diff) | |
download | mcsdk-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.txt | 21 | ||||
-rw-r--r-- | writer/eeprom/evmc6670l/bin/eepromwriter_input.txt | 2 | ||||
-rw-r--r-- | writer/eeprom/evmc6678l/bin/eepromwriter_input.txt | 2 |
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 | ||
3 | EEPROM Writer is a simple utility to program a CCS format image/data file to I2C EEPROM. | 3 | EEPROM Writer is a simple utility to program a CCS format image/data file to I2C EEPROM. |
4 | 4 | ||
5 | Steps to program the EEPROM: | 5 | Steps to program the EEPROM with a binary file: |
6 | 6 | ||
7 | 1. Be sure to set the boot mode dip switch to no boot/EMIF16 boot mode on the EVM. | 7 | 1. Be sure to set the boot mode dip switch to no boot/EMIF16 boot mode on the EVM. |
8 | 8 | ||
9 | 2. Copy the CCS format data file to writer\eeprom\evmc66xxl\bin directory, and rename it to app.dat. | 9 | 2. Copy the binary file to writer\eeprom\evmc66xxl\bin directory. |
10 | 10 | ||
11 | 3. Change the file_name, bus_addr, start_addr and swap_data in writer\eeprom\evmc66xxl\bin\eepromwriter_input.txt if necessary. | 11 | 3. 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 | ||
15 | 4. Open CCSv5 and launch the evmc66xx emulator target configuration and connect to core 0. | 17 | 4. Open CCSv5 and launch the evmc66xx emulator target configuration and connect to core 0. |
16 | 18 | ||
17 | 5. Load the program writer\eeprom\evmc66xxl\bin\eepromwriter_evm66xxl.out to CCS, be sure evmc66xxl.gel is used in CCS | 19 | 5. 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 | ||
22 | 7. Load app.dat to 0x80000000: | 24 | 7. 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 | ||
29 | 8.After the data file is loaded into the memory, run the program (in CCSv5, press F8), it will start to program the | 33 | 8.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: | |||
32 | 9.When programming is completed, the console will print "EEPROM programming completed successfully", if there | 36 | 9.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 | |||
36 | Steps to re-build eepromwriter: | 39 | Steps to re-build eepromwriter: |
37 | 40 | ||
38 | 1. Uses CCS to build eepromwriter: | 41 | 1. 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 @@ | |||
1 | file_name = app.dat | 1 | file_name = app.bin |
2 | bus_addr = 0x51 | 2 | bus_addr = 0x51 |
3 | start_addr = 0 | 3 | start_addr = 0 |
4 | swap_data = 0 | 4 | swap_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 @@ | |||
1 | file_name = app.dat | 1 | file_name = app.bin |
2 | bus_addr = 0x51 | 2 | bus_addr = 0x51 |
3 | start_addr = 0 | 3 | start_addr = 0 |
4 | swap_data = 0 | 4 | swap_data = 0 |