The flash will die after a while. How can I solve this problem. Thankyou.
The simplest solution is to use a filesystem with builtin wear levelling. (Some flash chips also have it builtin such as those from M-Systems).You can get file systems that do wear levelling for most embedded operating systems.
Roger