Other Parts Discussed in Thread: TMS320F28035
Hi,
I am using Picollo B DSP and I need to implement a function that writes to FLASH.
The function must be non blocking.
The FLASH function that i use to erase the sectors (Flash_Erase()) is blocking.
Is there a function that will erase the sectors but it is non-blocking? i.e. first call to the function will start the erase process, the next calls will return a status ERASE_IN_PROGRESS and when the erase proccess is finished a SUCCESS value (or error) will be returned.
I saw that there is an option to call a callback during erase, however I cannot rely on the callback to be executed in time for the other critical code to be executed.
Thanx in advance,
Adi