Hi Don,
The routine will returned the FTFE_FSTAT value, the 0x20 means ACCERR bit is set.
When execute Erase Flash Sector Command, below situation will report ACCERR error:

Wish it helps.
best regards
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------