English
Language : 

R01US0079ED0103 Datasheet, PDF (47/66 Pages) Renesas Technology Corp – RENESAS 32-Bit MCU
Data Flash Access Library - Type T01, European Release
User Interface (API)
Structure member
bufAddr_u32
Value
{uint32_t number}
idx_u32
cnt_u16
accessType_enu
{uint32_t number}
{uint16_t number}
R_FDL_ACCESS_USER /
R_FDL_ACCESS_EEL
status_enu
-
Description
Address of the buffer containing the source
data to be written.
The virtual start address for writing in Data
Flash aligned to word size (4 Bytes).
Number of words to write.
Selects the Flash pool in which the command
will be able to operate.
This is an output member. It contains the
status of the operation during and after the
execution. Possible values are described in
the next table.
The following table describes all possible status returns:
Table 6: Write operation returned status
Status
R_FDL_BUSY
R_FDL_OK(1)
R_FDL_SUSPENDED(1)
R_FDL_ERR_PARAMETER(2)
R_FDL_ERR_PROTECTION
meaning
reason
remedy
meaning
reason
remedy
meaning
reason
remedy
meaning
reason
remedy
meaning
Background and Handling
Operation started successfully
No problems during execution
Call R_FDL_Handler until the Flash operation is finished,
reported by the request structure status return value
Operation finished successfully
No problems during execution
Nothing
An on-going Flash operation was successfully suspended
Suspend processing successfully finished
Start another operation or resume the suspended
operation
Current command is rejected
Wrong command parameters:
 access is made outside of physically available Data
Flash
 command shall operate in User-pool but
accessType_enu is not R_FDL_ACCESS_USER
 command shall operate in EEL-pool but
accessType_enu is not R_FDL_ACCESS_EEL
 cnt_u16 is 0 or it is too big
 flash writing address is not aligned with granularity
(4 bytes)
Refrain from further Flash operations and investigate in the
root cause
Current command is rejected
R01US0079ED0103
47
User Manual