BRT Community
General Category => Discussion - EVE => Topic started by: lorcap on September 10, 2019, 10:11:07 AM
-
Hi everyone,
my NOR FLASH memory can take several seconds, almost a minute, to fully erase its content. How do I know the process is completed? I cannot find any register or interrupt flag for that.
Should I wait for REG_CMD_READ to catch up with REG_CMD_WRITE?
Thanks in advance.
-
Hello,
Yes, after issuing the CMD_FLASHERASE command, waiting until the REG_CMD_READ and REG_CMD_WRITE pointers are equal will let you know the command has completed.
Best Regards,
BRT Community.
-
Thank you very much for the quick reply.
I imagine the same applies to other FLASH-related commands.
I believe a hint in the Application Note (at "Flash Interface" chapter?) would be helpful for other developers, too.
-
Hello,
Yes, that is correct.
Thanks for the suggestion, I will pass it on to the document team.
Best Regards,
BRT Community