News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Main Menu

How to detect CMD_FLASHERASE completion?

Started by lorcap, September 10, 2019, 10:11:07 AM

Previous topic - Next topic

lorcap

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.

BRT Community

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.

lorcap

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.

BRT Community

Hello,

Yes, that is correct.

Thanks for the suggestion, I will pass it on to the document team.

Best Regards,
BRT Community