2020-02-17 03:52 AM
Hi, I am trying to use the external SD Ram(8MB) of STM32F746 DISCOVERY board but the program crashes after writing 16kB of data .
I am new to STM32 platform, I first generated the initial code with CubeMX ide and configured the ram as per the example file. And wrote values into the ram with the following command:
*(__IO uint8_t*) (SDRAM_BANK_ADDR + o) = k;
where SDRAM_BANK_ADDR=0xc0000000;
but after writing 16kB of data the program gets stuck .
I don't know what I am doing wrong.
Code attached.