cancel
Showing results for 
Search instead for 
Did you mean: 

Hi, I am trying to use the external SD Ram(8MB) of STM32f746 DISCOVERY board but the programme crashes after writing 16kB of data .

BChan.1
Associate

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.

0 REPLIES 0