Vee Flash Error - Example code - EK-RA8D1

Hi ,

We were using vee flash example code to test it on EK-RA8D1 board but I am facing the following error. is there any data flash corruption or lock? We can download a program inside using link but not able to access the vee flash. I am using latest fsb example of EK-RA8D1

is there a way we can reset a data flash and try again. how to handle such happens on the field

regards,

Jeyakumar R

00> This example project demonstrates basic functionalities of vee flash driver
00> on Renesas RA MCUs based on Renesas FSP. Based on User input, EP performs :
00> 1. Write and Read operations on different Record_ID's for different data types.
00> 2. Format, GetStatus, Refresh operations can also be performed on vee flash.
00> On successful completion of each operation, success message will be printed
00> on RTT viewer. Error and info messages will be printed on JlinkRTTViewer.
00>
00>
00>
00> Vee flash Main Menu options:
00> 1. Enter 1 for Write operation.
00> 2. Enter 2 for Read operation.
00> 3. Enter 3 for Format operation(Format should only be
00> used to erase the entire data flash used by VEEPROM).
00> 4. Enter 4 for StatusGet operation.
00> 5. Enter 5 for Refresh operation.
00> User Input:
< 4
00> [ERR] In Function: vee_status_get_operation(),
00> ** RM_VEE_FLASH_StatusGet API FAILED **
00> [ERR] In Function: handle_error(),
00> ** RM_VEE_FLASH_Close API Failed **
00>
00> ** StatusGet Operation Failed **
00>
00> Returned Error Code: 0x7
00>
00> ******************************************************************
00> * Renesas FSP Example Project for vee_flash Module *
00> * Example Project Version 1.0 *
00> * Flex Software Pack Version 5.4.0 *
00> ******************************************************************
00> Refer to readme.txt file for more details on Example Project and
00> FSP User's Manual for more information about vee_flash driver
00>
00> This example project demonstrates basic functionalities of vee flash driver
00> on Renesas RA MCUs based on Renesas FSP. Based on User input, EP performs :
00> 1. Write and Read operations on different Record_ID's for different data types.
00> 2. Format, GetStatus, Refresh operations can also be performed on vee flash.
00> On successful completion of each operation, success message will be printed
00> on RTT viewer. Error and info messages will be printed on JlinkRTTViewer.
00>
00>
00>
00> Vee flash Main Menu options:
00> 1. Enter 1 for Write operation.
00> 2. Enter 2 for Read operation.
00> 3. Enter 3 for Format operation(Format should only be
00> used to erase the entire data flash used by VEEPROM).
00> 4. Enter 4 for StatusGet operation.
00> 5. Enter 5 for Refresh operation.
00> User Input:
< 3
(Connection lost)
00>
00> ******************************************************************
00> * Renesas FSP Example Project for vee_flash Module *
00> * Example Project Version 1.0 *
00> * Flex Software Pack Version 5.4.0 *
00> ******************************************************************
00> Refer to readme.txt file for more details on Example Project and
00> FSP User's Manual for more information about vee_flash driver
00>
00> This example project demonstrates basic functionalities of vee flash driver
00> on Renesas RA MCUs based on Renesas FSP. Based on User input, EP performs :
00> 1. Write and Read operations on different Record_ID's for different data types.
00> 2. Format, GetStatus, Refresh operations can also be performed on vee flash.
00> On successful completion of each operation, success message will be printed
00> on RTT viewer. Error and info messages will be printed on JlinkRTTViewer.
00>
00>
00>
00> Vee flash Main Menu options:
00> 1. Enter 1 for Write operation.
00> 2. Enter 2 for Read operation.
00> 3. Enter 3 for Format operation(Format should only be
00> used to erase the entire data flash used by VEEPROM).
00> 4. Enter 4 for StatusGet operation.
00> 5. Enter 5 for Refresh operation.
00> User Input:
< 5
00> [ERR] In Function: vee_refresh_operation(),
00> ** RM_VEE_FLASH_Refresh API FAILED **
00> [ERR] In Function: handle_error(),
00> ** RM_VEE_FLASH_Close API Failed **
00>
00> ** Refresh Operation Failed **
00>
00> Returned Error Code: 0x7