The function BlockErase erases a NAND Flash block. The
parameter row specifies the starting address of
the Flash block. The parameter cfg is a pointer
specifying the device configuration, which also contains default data
positions as described in Page Layout Structure.
The function is part of the NAND
Driver. The prototype is defined in the file
File_Config.h. Developers must customize the function.
Return Value
RTV_NOERR - on success.
ERR_NAND_ERASE - on failure.
ERR_NAND_HW_TOUT - hardware data transfer timeout.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.