3 bank_merge, Bank_merge – Maxim Integrated 71M6534 Energy Meter IC Family Software User Manual
Page 16
71M653X Software User’s Guide
ce_merge old_653x_demo.hex ce.ce ce.dat 653x_demo.hex
2.4.3 BANK_MERGE
If using Keil’s professional package, bank_merge.exe is not needed to produce Intel-386 files from banked code.
Simply go to the pull-down hex file selection in the output section of the project configuration of uVision, and select
“i386”. Keil’s premium OHX51 hex file converter will automatically produce a single intel-386 file containing all the code
banks.
If producing banked code with Keil’s standard package, the BL51 linker is tightly coupled to the OC51 and OH51 code
converters. These produce one 64K Intel hex file for each code bank. The Signum emulator and TSC’s TFP (in-circuit
programmer) require that banked code be in a different format, a single Intel-386 hex file.
Bank_merge.exe is a program that converts Keils’ multiple hex files into a single Intel-386 hex file.
Usage: bank_merge <Number of Banks> <ROM Size> <Input Name> <Output>\n");
<Number of Bank>
- 3 for 6531, and 7 for 6534");
<ROM Size>
- The memory size of ROM in kbyte (128,256,...)"
<Input>
- Compiled files' name without extension"
<Output>
- Output file name. Must have '.hex' extension\n");
For example:
bank_merge 3 128 banktest31 new_code.hex
This merges the three compiled hex files, banktest31.H01, banktest31.H02, banktest31.H03 and produces
new_code.hex in a 128kbyte intel-386 hex file.
v1.1v1.1
TERIDIAN Proprietary
16 of 116
© Copyright 2005-2008 TERIDIAN Semiconductor Corporation