2015-04-02 05:37 AM
I have linked STemWin library. My project uses external RAM.
When I display some progressbar using internal RAM, value of progress is displayed correctlly (ex. 50%). When I am switching buffer ''aMemory'' to extrernal RAM (static U32 aMemory[GUI_NUMBYTES / 4] __attribute__ ((section(''.extram''))) the value of progress is displayed strange, ex. 00 instead off 50%, 33 instead of 13%, each times the second digit is shown twice, first digit and ''%'' char aren't displayed. Where is the problem ?2017-08-21 12:32 AM
Dear szymura ,
Do you got any solution for this problem. Because i am facing the same problem for GUI.
I am using the sdram .and declared same as you have done.
My GUI is not working (lcd flickers) for progress bar etc.
If changed the
aMemory to internal ram the it is working fine . But I want more memory So I am using external sdram.
if I check aMemory seperately then it is working ok
uwWriteReadStatus=0;
for (uwIndex = 0; uwIndex < (GUI_NUMBYTES / 4); uwIndex++)
{ aMemory1[uwIndex] = uwIndex; }/* Read back data from the SDRAM memory */
for (uwIndex = 0; uwIndex < (GUI_NUMBYTES / 4); uwIndex++) { // if (0x87654321 != *(__IO uint32_t*) (SDRAM_BANK_ADDR + WRITE_READ_ADDR + 4*uwIndex)) if (uwIndex != aMemory1[uwIndex]) { uwWriteReadStatus++; } }I am getting
uwWriteReadStatus as 0;That means it working.
Regards,
Somnath