Are you using DMA? it maybe memory bank cannot be accessed by DMA.
I advise you to check the flash write function, and check if your block device is locked for writing. So, in this case, try unlocking the device for writing.
Imen
In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks