Hi Team,
I'm asking for some help for my customer:
Hello TI engineer, I have a question for consultation
Background: The current code is running on Bank 0, and I need to erase the Sector of Bank 0 because of my own business needs
According to the prompts in F021 Flash API Reference Guide Version 2.01.01:
(1) Reading a Flash memory location from the bank that an erase command (sector or bank) is currently being performed will stall the CPU until the erase command finishes and the FMSTAT register indicates the FSM is not busy.
(2) Reading a Flash memory location from the bank that an program command is currently being performed will stall the CPU until the program command finishes and the FMSTAT register indicates the FSM is not busy
(1) Reading a Flash memory location from the bank that an erase command (sector or bank) is currently being performed will stall the CPU until the erase command finishes and the FMSTAT register indicates the FSM is not busy.
(2) Reading a Flash memory location from the bank that an program command is currently being performed will stall the CPU until the program command finishes and the FMSTAT register indicates the FSM is not busy
It is mentioned in these two sentences that if the current bank is being erased during reading, the CPU will stall until the erase is completed and the BUSY bit of FMSTAT is 0, and it will continue.
How is the continuation here achieved? Whether the current mechanism will let the CPU continue on its own, or will it notify the CPU by some method to continue reading
I need to do and erase on the same Bank, is there any solution
Best Regards,
Ben