Accessing the onboard SDRAM in stm32f429 will end in issue here. I don't get the exact address of the SDRAM addressing methodology. so help me folks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-08-30 10:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-08-31 2:59 PM
did you try 42 ?
there is no question here
the address of the SDRAM blocks is:
0xC0000000 for SDRAM1 and 0xD000000 for SDRAM2
Did you make a board ? or you are using a board some of us have ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-08-31 10:25 PM
i am using your board for storing the data that sent via USB to SDRAM for that i need to program the address . i know that address manually but in program??
i don't know the methodology to save the data in that address. so i need assistance ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-08-31 10:34 PM
uint32_t *pSdramAddress = (uint32_t *)(SDRAM_DEVICE_ADDR);
*pSdramAddress++ = 0x76543210;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-08-31 10:51 PM
Thanks for your support. i already post another question regarding USB OTG kindly help me for that problem also??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-08-31 10:54 PM
I am new at this too,
I haven't done OTG yet :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-08-31 11:04 PM
ok , thanks for your support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-09-01 7:47 AM
>>i am using your board for storing the data...
Understand that the bulk of people here don't work for ST, and don't know specifically what board you have, you need to be specific as we aren't working with you.
Assuming probably a STM32F429I-DISCO or DISC1 board.
Here, where configured, the SDRAM address is 0xD0000000. This could be accessed via a pointer, or described in the Linker Script or Scatter File. Directing the Heap there, and malloc()ing it might be a more comfortable/familiar method.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-09-02 9:39 PM
hi clive , i am usind f429 discovery board only. could give me some sample code for SDRAM?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-09-02 11:21 PM
STM32Cube_FW_F4_V1.21.0\Drivers\BSP\STM32F429I-Discovery\stm32f429i_discovery_sdram.c
STM32Cube_FW_F4_V1.21.0\Projects\STM32F429I-Discovery\Applications\FatFs\FatFs_RAMDisk
Up vote any posts that you find helpful, it shows what's working..
