cancel
Showing results for 
Search instead for 
Did you mean: 

Hi Team, I am working on stm32f769 board, as i am trying to test sdram. In my project i need to test sdram . Can you please guide me further. In the root terminal, what is the node path. like /dev/i2c[for i2c ]

VP.2
Associate II
 
4 REPLIES 4

The Discovery board?

That's not how you get to it, it is not Linux

There ae some examples of bringing up SDRAM in the CubeF7 Examples

STM32Cube_FW_F7_V1.9.0\Projects\STM32F769I-Discovery\Examples\BSP

STM32Cube_FW_F7_V1.9.0\Projects\STM32F769I-Discovery\Examples\FMC\FMC_SDRAM

STM32Cube_FW_F7_V1.9.0\Drivers\BSP\STM32F769I-Discovery\stm32f769i_discovery_sdram.c

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
VP.2
Associate II

Hi Tesla DeLorean,

Thanks for your reply.

Yes, stm32f769 Discovery board.

Is it possible to read and write data into SDRAM of Bank 1 or Bank 2[i.e 0XC0000000/0XD0000000]?

Can you please provide sample application to test the same, if it is available.

Thanks in Advance.

VP.2
Associate II

Hi,

I am using this stm32 board with Uclinux OS.

Sounds like hours of fun..

STM32Cube_FW_F7_V1.15.0\Drivers\BSP\STM32F769I-Discovery\stm32f769i_discovery_sdram.h

#define SDRAM_DEVICE_ADDR ((uint32_t)0xC0000000)

#define SDRAM_DEVICE_SIZE ((uint32_t)0x1000000) /* SDRAM device size in MBytes */

..

If you want to read/write the SDRAM I would suggests using uint32_t pointers, and walking test patterns across the memory to verify retention, size and address decode.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..