Could this be causing by issues?
If you had spent 10 min tops doing a bit of your own research about how hardware flash chips work, you wouldn't have asked this retarded question in the first place. YES this is 100000000000% what's causing your issues. Now feel free to ask for yet another confirmation if prj's answer doesn't satisfy you.