2023-09-11 04:09 AM
Hello guys!
Is anyone knows how to store background image of touchgfx into SDRAM.
I have tried changing linker script ... but while dumping the the, in builds logs im getting
"Reading from SDRAM 0xD010000l: Verify failed".
2023-09-11 05:08 AM
Hello @JJhin.1 ,
Which board and which compiler do you use?
2023-09-11 06:14 AM
You will need to change the linker script to stage the content in QUADSPI and then put code in startup.s to move the data.
You need to create two MEMORY areas for the SDRAM/QUADSPI, and then add SECTION's to describe the content and placement
.sdram_data :
{
. = ALIGN(4);
_ssdram_data = .; /* create a global symbol at sdram_data start */
*(.sdram_data) /* .sdram_data sections */
*(.sdram_data*) /* .sdram_data* sections */
. = ALIGN(4);
_esdram_data = .; /* define a global symbol at sdram_data end */
} >SDRAM AT> QUADSPI /* Ends up in SDRAM, staged in QUADSPI */
2023-09-11 11:03 PM - edited 2023-09-11 11:04 PM
hii @Osman SOYKURT im using waveshare Core7xxi Board and cube IDE.
2023-09-11 11:06 PM
Hii @Tesla DeLorean thanks for helping me, you given linker script, what code i should have to add in the startup.s ?