Other Parts Discussed in Thread: UNIFLASH
Tool/software:
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi,
I will be able to review this thread by early next week.
Regards,
Rajeshwary
Hi,
Can you please add below code snippet before you call the DELAY_US(10L); function and see if you see any errors?
//
// Read FMSTAT register contents to know the status of FSM after
// program command for any debug
//
oFlashStatus = Fapi_getFsmStatus();
//
// Verify the values programmed. The Program step itself does a verify
// as it goes. This verify is a 2nd verification that can be done.
//
oReturnCheck = Fapi_doVerify((uint32 *)u32Index,
4, Buffer32+(i/2),
&oFlashStatusWord);
if(oReturnCheck != Fapi_Status_Success)
{
//
// Check Flash API documentation for possible errors
//
Example_Error(oReturnCheck);
}
Regards,
Rajeshwary
Hi,
Could you ensure that when you go to power down and start flash erase operation, your voltage levels are within the range specified in datasheet?
If inadequate voltage may cause device in unstable state.
Regards,
Rajeshwary
Hello
I have come to the following conclusion: During the operation of a Flash memory, if the power is cut off too quickly, the read operation of the Flash will freeze after power is restored. Could you explain why this happens and what the underlying principles are?
Regards
Hi,
When you are power down during flash operation, flash is getting corrupted. This might be causing ECC errors when you try to read the flash.
Regards,
Rajeshwary
Hello, I have verified that after power-on, disabling ECC before reading the FLASH and then enabling ECC after reading the FLASH did not reproduce the issue. Can you give me some suggestions to solve the problem?
Regards
Hi,
If ECC errors are triggered then this means that you flash is getting corrupted. You have to erase and program it or provide a sufficient time and voltage level during power down mode to complete flash operations
Regards,
Rajeshwary