CHAPTER 15 FLASH MEMORY (
µ
PD70F3114)
620
User’s Manual U15195EJ5V0UD
15.7.7 Calling parameters
The arguments used to call the self-programming function are shown in the table below. In addition to these
arguments, parameters such as the write time and erase time are set to the RAM parameters indicated by ep (r30).
Table 15-10. Calling Parameters
Function Name
First Argument (r6)
Function No.
Second Argument
(r7)
Third Argument (r8)
Fourth Argument
(r9)
Return Value (r10)
Acquiring flash
information
0 Option
number
Note 1
−
−
Note 1
Erasing area
1
Area erase start
address
−
−
0: Normal completion
Other than 0: Error
Area write back
5
None (acts on erase
manipulation area
immediately before)
−
−
None
Erase byte verify 9
Verify start address
Number of bytes to
be verified
−
0: Normal completion
Other than 0: Error
Erase verify
10
None (acts on erase
manipulation area
immediately before)
−
−
0: Normal completion
Other than 0: Error
Continuous write
in word units
Note 2
16 Write
start
address
Note 3
Start address of
write source data
Note 3
Number of words
to be written (word
units)
0: Normal completion
Other than 0: Error
Pre-write
20
Write start address
Number of bytes to
be written
−
0: Normal completion
Other than 0: Error
Internal verify
21
Verify start address
Number of bytes to
be verified
−
0: Normal completion
Other than 0: Error
Notes 1.
See
15.7.10 Flash information
for details.
2.
Prepare write source data in memory other than the flash memory when data is written continuously in
word units.
3.
This address must be at a 4-byte boundary.
Caution For all the functions, ep (r30) must indicate the first address of the RAM parameter.
Содержание PD703114
Страница 2: ...2 User s Manual U15195EJ5V0UD MEMO ...