NAFlashWrite() is very slow

Hello,NAFlashWrite() is very slow. it takes around 10 seconds to write one sector. i think it is not normal. please suggest me something. regards shyam

It can be very slow to write a full sector to a flash device. It depends a lot on the actual flash you use. The one I use takes from 1 to 10 seconds, so it could be correct what you are seeing. I use a low priority thread and a queue system in order not to delay my other parts of the program.