I am trying to read and write 8MB SDRAM MT48LC4M16A2P-75
The read and write is fine when i define my SDRAM size as 0x00200000(size of one bank). When i define the SDRAM size as 0x00800000. I am unable to verify the write.
I have attached my SDRAM init code. please do let me know hoe to proceed.