Hi,
I would be interested to know what happens when I call Fapi_issueProgrammingCommand() when the Flash State Machine (FSM) is busy.
- The Reference Guide SPNU501G recommends that FMSTAT is interrogated for FSM busy prior to Fapi_issueProgrammingCommand() call.
- SPNU501G also describes: "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."
- Fapi_issueProgrammingCommand() does not return a busy status, only success and three failures related to buffer size.
If I make a call to Fapi_issueProgrammingCommand() when the FSM is busy, will the CPU be stalled, or will Fapi_issueProgrammingCommand() return with something other than success?
Regards, Tony.