Errors During Self-Programming; Flash Information - NEC V850E/IA1 mPD703116 User Manual

32-bit single-chip microcontrollers
Hide thumbs Also See for V850E/IA1 mPD703116:
Table of Contents

Advertisement

16.7.9 Errors during self-programming

The following errors related to manipulation of the flash memory may occur during self-programming. An error
occurs if the return value (r10) of each function is not 0.
Error
Overerase error
Undererase error
(blank check error)
Verify error
Internal verify error
Caution The overerase error and undererase error may simultaneously occur in the entire flash memory.

16.7.10 Flash information

For the flash information acquisition function (function No. 0), the option number (r7) to be specified and the
contents of the return value (r10) are as follows. To acquire all flash information, call the function as many times as
required in accordance with the format shown below.
Option No. (r7)
0
Specification prohibited
1
Specification prohibited
2
Bit representation of return value (MSB: bit 31) FFFFFFFFFFFFFFFFAAAAAAAAFFFFFFFF (LSB: bit 0)
Bits 31 to 16: FFFFFFFFFFFFFFFF (reserved for future use)
Bits 15 to 8: AAAAAAAA (number of areas) (unsigned 8 bits)
Bits 7 to 0:
3+0
End address of area 0
3+1
End address of area 1
Cautions 1.
The start address of area 0 is 0. The "end address + 1" of the preceding area is the start
address of the next area.
2. The flash information acquisition function does not check values such as the maximum
number of areas specified by the argument of an option. If an illegal value is specified, an
undefined value is returned.
CHAPTER 16 FLASH MEMORY ( µ µ µ µ PD70F3116)
Table 16-11. Errors During Self-Programming
Function
Erase verify
Erase byte verify
Continuous write in word units
Internal verify
Table 16-12. Flash Information
Return Value (r10)
Mask bits 31 to 16 because they are not normally 0.
FFFFFFFF (reserved for future use)
Mask bits 7 to 0 because they are not normally 0.
User's Manual U14492EJ3V0UD
Description
Excessive erasure occurs.
Erasure is insufficient.
Additional erase operation is
needed.
The written data cannot be correctly read. Either an
attempt has been made to write to flash memory that
has not been erased, or writing is not sufficient.
The written data is not at the correct signal level.
747

Advertisement

Table of Contents
loading

Table of Contents