跳至主要內容
Knowledgebase
Home
Renesas Electronics Taiwan - Knowledgebase

How to solve Erasure Blank check Writing Internal verification error?

Latest Updated:01/14/2015

Question:

How do you recommend solving problems leading to the following errors in data flash library Type04 for the RL78 family?

  • Erasure error (PFDL_ERR_ERASE)
  • Blank check error (PFDL_ERR_MARGIN)
  • Writing error (PFDL_ERR_WRITE)
  • Internal verification error (PFDL_ERR_MARGIN)

Answer:

■ Erasure error (PFDL_ERR_ERASE)
Handling differs according to the state in which the error occurred.

<When an erasure error occurred while the operating environment was normal>
You can consider the error to represent a failure of the data flash memory and we recommend that you prohibit use of the block.

<When an erasure error might have occurred due to noise or a voltage fluctuation>
Erase the block again in normal operating environment.
→When erasure ends normally, you can continue to use the block.
→If an erasure error occurs, you can consider the data flash memory to have failed and we recommend that you prohibit use of the block.

■ Blank check error (PFDL_ERR_MARGIN)
Erase the block again in normal operating environment.
→When erasure ends normally, you can continue to use the block.
→If an erasure error occurs, you can consider the data flash memory to have failed and we recommend that you prohibit use of the block.

■ Writing error (PFDL_ERR_WRITE)
Handling differs according to the state in which the error occurred.

<When a writing error occurred while the operating environment was normal>
You can consider the error to represent a failure of the data flash memory and we recommend that you prohibit use of the block.

<When a writing error might have occurred due to noise, a voltage fluctuation, or rewriting of an address where writing has already proceeded>
Erase the block again in normal operating environment.
→When writing ends normally, you can continue to use the block.
→If a writing error occurs again during writing, you can consider the data flash memory to have failed and we recommend that you prohibit use of the block.

■ Internal verification error (PFDL_ERR_MARGIN)
Erase, write, and internally verify the block again in normal operating environment.
→When internal verification ends normally, you can continue to use the block.
→If an error occurs during block erasure and internal verification, you can consider the data flash memory to have failed and we recommend that you prohibit use of the block.

Suitable Products
Data Flash Libraries