English
Language : 

SH7059 Datasheet, PDF (881/1042 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
25. ROM (SH7059)
Response H'06
⎯ Response: H'06 (one byte): Response to transition to programming/erasing state
The boot program will send ACK when the user MATs and user boot MATs have been erased by the transferred
erasing program.
Error response H'C0 H'51
⎯ Error response: H'C0 (one byte): Error response to transition to programming/erasing state
⎯ Error code: H'51 (one byte): Erasing error
An error occurred and erasure was not completed.
Command Error: A command error will occur when a command is undefined, the order of commands is incorrect, or a
command is unacceptable. Issuing a clock-mode selection command before a device selection or issuing an inquiry
command after the command for transition to the programming/erasing state, are examples.
Error response H'80 H'xx
⎯ Error response: H'80 (one byte): Command error
⎯ Command: H'xx (one byte): Received command
Command Order: The order for commands in the inquiry selection state is shown below.
(1) A supported device inquiry (H'20) should be made to inquire about the supported devices.
(2) The device should be selected from among those described by the returned information and set with a device selection
(H'10) command.
(3) A clock-mode inquiry (H'21) should be made to inquire about the supported clock modes.
(4) The clock mode should be selected from among those described by the returned information and set with a clock-mode
selection (H'11) command.
(5) After selection of the device and clock mode, inquiries for other required information should be made, such as the
multiplication ratio inquiry (H'22) or operating frequency inquiry (H'23).
(6) A new bit rate should be selected with the new bit-rate selection (H'3F) command, according to the returned
information on multiplication ratios and operating frequencies.
(7) After selection of the device and clock mode, the information of the user boot MAT and user MAT should be made to
inquire about the user boot MAT information inquiry (H'24), user MAT information inquiry (H'25), erased block
information inquiry (H'26), programming unit inquiry (H'27), and two-MAT simultaneous programming information
inquiry (H'28).
(8) After making inquiries and selecting a new bit rate, issue the command for transition to the programming/erasing state
(H'40). The boot program will then enter the programming/erasing state.
Programming/Erasing State: In the programming/erasing state, a programming selection command makes the boot
program select the programming method, a 128-byte programming command makes it program the memory with data, and
an erasing selection command and block erasing command make it erase the block. Table 25.19 lists the
programming/erasing commands.
Rev.3.00 Mar. 12, 2008 Page 791 of 948
REJ09B0177-0300