Posted on April 06, 2017 at 15:27The original post was too long to process during our migration. Please click on the attachment to read the original post.
SDRAM_GPIOInit(); from the loop, doing it 3 times is problematic. Do it once and early.
I'll try and walk the code some more later. The GPIO Init stuff looks good as I scan through it. Consider initializing FMC for both THEN SDRAM for both rather than FMC+SDRAM twice.
If you just enable one bank, do both work independently.
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..