- SS-HQ1 Application Notes -
Ver.1.0.0 January 7, 2005
35
4.4.2. "EEPROM ALL WRITE" Command
This is the command for "writing all parameters that can be saved to EEPROM and that are currently retained by
the chip ID code and DSP." The procedure described below is recommended to prevent write errors to
EEPROM.
< Preparations >
(1) Keep ready in the PC or in the external microcomputer the parameter file you wish to save to EEPROM.
To avoid problems in system settings, check parameters of CAT20 (port driver setting) and CAT12 (CPU
setting) thoroughly.
(2) Send CPUHOLD (CAT12_Byte5_bit0)=1[h] and stop the entire CPU.
(3) Send all parameters while retaining CPUHOLD=1[h], and store it temporarily in the register in DSP.
To send all parameters with the SS-HQ1 control software, click the All Write button in the Register
Read/Write menu. For communication with external microcomputer, send all bytes of each category to the
DSP.
< Write process >
(1) Primary write: Execute the EEPROM ALL WRITE command with CPUHOLD=1[h].
In the SS-HQ1 control software, click in the following sequence: EEPROM sub-menu -> procedure Send ->
Write -> Read -> All Select button -> Start button. Immediately after the EEPROM write, verify will be
executed. Confirm that the result shows that all parameters are OK.
If write is not possible, or if an error occurs, check whether an EEPROM or serial communication connect
fault (CASI, CASO, CASCK, CSROM) has occurred.
(2) Restart: Reset power-on (Pin11: XRSTL -> H) to identify EEPROM to the DSP. The EEPROM value will be
reflected during start, but the firmware stops because CPUHOLD=1[h].
(3) Secondary write: Change value stored in EEPROM to CPUHOLD=0[h]. First, send CPUHOLD=0[h].
Overwrite only CAT12(CPU) using the EEPROM Category WRITE Command.
In the SS-HQ1 control software, click in the following sequence: EEPROM sub-menu -> procedure Send ->
Write -> Read -> Click CAT12 -> Start button. When the verify result of CAT12 is displayed, confirm by
clicking OK.
* We recommend that you save the parameter files to the PC.
(4) Restart: At the next power-on reset (Pin11: XRSTL -> H), start in the CPUHOLD=0[h] condition.