Is there a non-blocking version of FlashEraseSector()?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is there a non-blocking version of FlashEraseSector()?

Jump to solution
510 Views
davidwhite
Contributor II

It seems that when you call this function, it will not return until the erase has been completed, so it could block other code from running for many hundreds of milliseconds. Is there a non-blocking version of this function that can be polled for erase completed?

0 Kudos
1 Solution
367 Views
deepakrana
NXP Employee
NXP Employee

hi

FSL recommend the use of the C90TFS_Flash drivers.

http://cache.freescale.com/files/32bit/software/C90TFS_FLASH_DRIVER.exe?fpsp=1&WT_TYPE=Device%20Driv...

Think they should serve the purpose.

If you are looking to customize further you may but then make sure while erasing you are not accessing in the same block.

View solution in original post

0 Kudos
1 Reply
368 Views
deepakrana
NXP Employee
NXP Employee

hi

FSL recommend the use of the C90TFS_Flash drivers.

http://cache.freescale.com/files/32bit/software/C90TFS_FLASH_DRIVER.exe?fpsp=1&WT_TYPE=Device%20Driv...

Think they should serve the purpose.

If you are looking to customize further you may but then make sure while erasing you are not accessing in the same block.

0 Kudos