English
Language : 

R01US0079ED0103 Datasheet, PDF (46/66 Pages) Renesas Technology Corp – RENESAS 32-Bit MCU
Data Flash Access Library - Type T01, European Release
User Interface (API)
Status
Background and Handling
remedy
Refrain from further Flash operations and investigate in the
root cause
meaning Current command is rejected
R_FDL_ERR_PROTECTION
reason
 To gain robustness, the parameter check is repeated
right before Flash modification and returns the
protection error in case of a violation (e.g. due to an
unwanted variable modification)
 Other device specific protection mechanisms (e.g.
security unit like ICU or FHVE protection mechanisms
prevent Flash operations.
remedy
Refrain from further Flash operations and investigate in the
root cause
meaning Current command is rejected
R_FDL_ERR_REJECTED(2)
reason
remedy
Another operation is ongoing
Request again the command when the preceding
command has finished
meaning At least one bit within the specified blocks is not erased
R_FDL_ERR_ERASE(1)
reason
Hardware defect: one or more Flash bits could not be
erased completely
remedy
A Flash block respectively the complete Data Flash should
be considered as defect
meaning
A library internal error occurred, which could not happen in
case of normal application execution
R_FDL_ERR_INTERNAL(1)
reason
 Application bug (e.g. program run-away, destroyed
program counter) or hardware problem
 Only on older F1x devices: failed ID code
authentication supplied in the device descriptor. See
section 4.2 ”Run-time configuration” for details about
ID code
remedy
Refrain from further Flash operations and investigate in the
root cause
(1) R_FDL_Execute will never set this status code
(2) R_FDL_Handler will never set this status code
4.5.2 R_FDL_CMD_WRITE
The write command can be used to write a number of data words located in the RAM into the Data Flash
at the location specified by the virtual target address.
Note:
It is not allowed to “Overwrite” data, which means writing data to already partly or completely written Flash
area. Please always erase the targeted area before writing into it.
The members of the request structure given to R_FDL_Execute are described in the following table:
Table 5: Request structure usage for write command
Structure member
command_enu
Value
R_FDL_CMD_WRITE
Description
Request a write operation
R01US0079ED0103
46
User Manual