SDRAM Not working in STM32H757I-Eval Board.
- August 26, 2022
- 2 replies
- 1800 views
I am using STM32H757I-Eval Board for our study, I created the project for STM32H757 SDRAM interface. While configuring the SDRAM through FMC. I configured SDRAM1 with Bank 2.
After that found that the pin configuration generated by the code generator there is difference in Pins interface in schematics of eval board with SDRAM interface. So I modified the a same accordingly and compiled the code.
I created variable and allocate it SDRAM Memory Address 0xD0000000 with the following statement.
uint32_t SDRAM_Buff[256] __attribute__((section(".ARM.__at_0xD0000000")));
I updated the variable with some data,.
for(Counter = 0; Counter>256; Counter++)
{
SDRAM_Buff[Counter] = Counter+1;
}
After compiling the same I checked the MAP file to verify whether the variable is allocated in SDRAM memory or not. I found below mentioned information which I thing is not correct.
Kindly assist whether i am doing correct or i am missing something. I referred the code package of STM32H747I since I am not able to find the code bundle for STM32H757I-Eval board. If possible please share the same it will be very help ful.
I am also attaching the project for reference to check and verify the same with STM32H757I-Eval board.
Kindly provide the solution for the same .
BR,
Gaurav More