i used the STM32F439 control
#define GUI_NUMBYTES (1024 * 1024*2)
/* 32 bit aligned memory area */
U32 extMem[GUI_NUMBYTES / 4];
In the SDRAM
//Changed here only
static U32 *aMemory;
aMemory=(U32*)0xc0000000;//as GUI's RAM buffer
If used the SDRAM as the GUI's RAM,I can't pass the GUI_DEVICE_CreateAndLink(DISPLAY_DRIVER_0, COLOR_CONVERSION_0, 0, 0);
I don't know why.
the driver of LCD is OK, The SDRAM_Init(void) ,
void SDRAM_InitSequence(void) used the demo.
the hardware is MB1046 ,if anyone have this demo board,you can try it.
In the end ,i don't know what's why .i used the SDRAM as GUI's RAM.
the software is IAR6.6 .
At the same time.i used the keil to debug the code .i found that it's can't jump to the c,always in the disassembly .it's strage.
thank you so muck.