Skip to main content
BChan.1
Visitor II
February 17, 2020
Question

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

  • February 17, 2020
  • 0 replies
  • 569 views

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.

This topic has been closed for replies.