71M6534H Demo Board User’s Manual
Page: 28 of 86
© 2005-2007 TERIDIAN Semiconductor Corporation
V2-0
1.9.2 CALIBRATION MACRO FILE
The macro file in Figure 1-6 contains a sequence of the serial interface commands. It is a simple text file and
can be created with Notepad or an equivalent ASCII editor program. The file is executed with HyperTerminal’s
Transfer->Send Text File
command.
Figure 1-6: Typical Calibration Macro File
It is possible to send the calibration macro file to the 71M6534H for “temporary” calibration. This will temporarily
change the CE data values. Upon power up, these values are refreshed back to the default values stored in
flash memory. Thus, until the flash memory is updated, the macro file must be loaded each time the part is
powered up. The macro file is run by sending it with the
transfer
Æ
send text file
procedure of HyperTerminal.
Use the
Transfer
Æ
Send Text File
command!
1.9.3 UPDATING THE 6534_DEMO.HEX FILE
The d_merge program updates the 6534_demo.hex file with the values contained in the macro file. This
program is executed from a DOS command line window. Executing the d_merge program with no arguments
will display the syntax description. To merge macro.txt and old_6534_demo.hex into new_6534_demo.hex, use
the command:
d_merge old_6534_demo.hex macro.txt new_6534_demo.hex
The new hex file can be written to the 71M6534H through the ICE port using the ADM51 in-circuit emulator.
This step makes the calibration to the meter permanent.
1.9.4 UPDATING CALIBRATION DATA IN FLASH MEMORY WITHOUT USING THE
ICE OR A PROGRAMMER
It is possible to make data permanent that had been entered temporarily into the CE RAM. The transfer to
EEPROM memory is done using the following serial interface command:
>]U
Thus, after transferring calibration data with manual serial interface commands or with a macro file, all that has
to be done is invoking the U command.
After reset, calibration data is copied from the EEPROM, if present. Otherwise, calibration
data is copied from the flash memory. Writing 0xFF into the first few bytes of the EEPROM
deactivates any calibration data previously stored to the EEPROM.
CE0
/disable
CE
]10=+16022 /CAL_IA
(gain=CAL_IA/16384)
]11=+16381 /CAL_VA
(gain=CAL_VA/16384)
]12=+16019 /CAL_IB
(gain=CAL_IB/16384)
]13=+16370 /CAL_VB
(gain=CAL_VB/16384)
]14=+15994 /CAL_IC
(gain=CAL_IC/16384)
]15=+16376 /CAL_VC
(gain=CAL_VC/16384)
]18=+115
/PHADJ_A (default 0)
]19=+113
/PHADJ_B (default 0)
]1A=+109
/PHADJ_C (default 0)
CE1
/enable CE
Содержание 71M6534H
Страница 2: ...71M6534H Demo Board User s Manual Page 2 of 86 2005 2007 TERIDIAN Semiconductor Corporation V2 0...
Страница 8: ...71M6534H Demo Board User s Manual Page 8 of 86 2005 2007 TERIDIAN Semiconductor Corporation V2 0...
Страница 40: ...71M6534H Demo Board User s Manual Page 40 of 86 2005 2007 TERIDIAN Semiconductor Corporation V2 0...