| Electronic Components Datasheet Search |
|
RH850 Datasheet(PDF) 45 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
RH850 Datasheet(HTML) 45 Page - Renesas Technology Corp |
|
45 / 66 page ![]() Data Flash Access Library - Type T01, European Release User Interface (API) R01US0079ED0103 45 User Manual 4.5.1 R_FDL_CMD_ERASE The erase command can be used to erase a number of Flash blocks defined by a start block and the number of blocks. The members of the request structure given to R_FDL_Execute are described in the following table: Table 3: Request structure usage for erase command Structure member Value Description command_enu R_FDL_CMD_ERASE Request a block erase operation bufAddr_u32 - Not used idx_u32 {uint32_t number} Number of the first block to be erased. Flash blocks are defined by the erase granularity that is 64 Bytes, e.g.: block 0: 0x00 ... 0x3F block 1: 0x40 ... 0x7F ... cnt_u16 {uint16_t number} Numbers of blocks to erase accessType_enu R_FDL_ACCESS_USER / R_FDL_ACCESS_EEL Selects the Flash pool in which the command will be able to operate. status_enu - 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 4: Erase operation returned status Status Background and Handling R_FDL_BUSY meaning Operation started successfully reason No problems during execution remedy Call R_FDL_Handler until the Flash operation is finished, reported by the request structure status return value R_FDL_OK (1) meaning Operation finished successfully reason No problems during execution remedy Nothing R_FDL_SUSPENDED (1) meaning An on-going Flash operation was successfully suspended reason Suspend processing successfully finished remedy Start another operation or resume the suspended operation R_FDL_ERR_PARAMETER (2) meaning Current command is rejected reason 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 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |