m37905 Renesas Electronics Corporation., m37905 Datasheet - Page 419

no-image

m37905

Manufacturer Part Number
m37905
Description
Mitsubishi 16-bit Single-chip Microcomputer 7700 Family / 7900 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
m37905F8CSP
Manufacturer:
MIT
Quantity:
20 000
Notes: When “FF
FLASH MEMORY VERSION
19.2 Flash memory CPU reprogramming mode
Table 19.2.3 Errors and States of bits SR.3 to SR.5
19-16
Fig. 19.2.6 Full status check flowchart and actions to be taken if any error has ocurred
19.2.5. Full status check
If an error has occurred, bits SR.4 and SR.5 of the status register are set to “1” upon completion of the
programming or erase operation. Therefore, the result of the programming or erase operation can be
recognized by checking these status (in other words, full status check).
Table 19.2.3 lists the errors and the states of bits SR.4 and SR.5, and Figure 19.2.6 shows the full status
check flowchart and the action to be taken if any error has occurred.
Status register
SR.5
Read status register
Note: Under the condition that any of SR.4 and SR.5 = “1,” none of the programming, block erase, erase-all-blocks commands can be
1
1
0
Completed.
array mode. Simultaneously with this, the command code written at the 1st bus cycle is cancelled.
SR.5 = 0?
SR.4 = 0?
SR.4 = 1
SR.5 = 1
accepted. To execute any of these commands, in advance, execute the clear status register command.
and
SR.4
?
1
0
1
NO
YES
YES
16
” is written at the 2nd bus cycle of any of these commands, the microcomputer enters the read
Command sequen-
ce error
Erase error
Programming error
YES
NO
NO
Error
Command sequence
Programming error
Erase error
error
• Commands are not correctly written.
• Data other than “D0
• Data other than“20
• Although the block erase or erase-all-blocks command is executed,
• Although the programming command is executed, programming is not
7905 Group User’s Manual Rev.1.0
these blocks are not correctly erased.
correctly performed.
block erase command (Note).
erase-all-blocks command (Note).
• • • •
• • • •
• • • •
Execute the clear status command to clear SR.4 to “0.”
Execute the programming command again.
Note: If the same error occurs, however, the block cannot be used.
Execute the clear status command to clear SR.4 and SR.5 to “0.”
Execute the correct command again.
Execute the clear status command to clear SR.5 to “0.”
Execute the block erase or erase-all-unlocked-blocks command again.
Note: If the same error occurs, however, the block cannot be used.
Note: If the same error occurs, however, the block cannot be used.
16
Error occurrence conditions
16
” and “FF
” and “FF
16
16
” is written at the 2nd bus cycle of the
” is written at the 2nd bus cycle of the

Related parts for m37905