2021-09-28 11:14 PM
I have maked this changes to make the switch from SDRAM to the SRAM (IS61WV102416BLL) on the Board.
#define GUI_NUM_LAYERS 1
#define LCD_LAYER0_FRAME_BUFFER ((int)0x68000000)
/* Initializes the SRAM device in the Main*/
BSP_SRAM_Init(0);
But it don’t Work, if I set LCD_LAYER0_FRAME_BUFFER back to
((int)0xD0000000) SDRAM
then it work.
It looks to be something that needs to
be Init but I can’t see what it is.
Need help.
2021-09-29 03:09 AM
The NE3 "CS for SRAM" was missing, it need a jumper on JP2, it means that the SRAM has never worked.
Now the Background color �?GUI_SetBkColor(GUI_GREEN);�? works, but the “GUI_DispStringAt("Hello world!", (LCD_GetXSize()-100)/2, (LCD_GetYSize()-20)/2);�?
Shows a defuse Hello world! When I use the SRAM, and a clean Hello world! When SDRAM is used.
FMC_NBL0 and FMC_NBL1 is common port pins for SDRAM and SRAM I
wonder if that can be a problem?