This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Writting flash in background?

Hi to all,

 

I am needing to write the flash of evmdm6437 in the background of my main program. The write of a only a page of flash takes certain amount of time, more than I can afford (I have a main process that needs to be running frecuently, and I can not permit between a call (to this process) and the next one, the time that writting to flash takes).

I am using the BSL of EVMDdm6437, particularly EVMDM6437_FLASH_write() function is the one that I am using. What I am thinking is to modify its code to split it up in several parts and let my main process run between them (I am thinking about wrapping this code inside a tsk and use TSK_sleep() to let the main process run).

 

Do you think that this could work? Do you have any suggestion better?

 

Thanks a lot in advance, I really need some help here...