emWin + LPC1788 + SRAM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

emWin + LPC1788 + SRAM

1,168件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TVT on Thu Feb 20 03:39:47 MST 2014
Hi!

We are attempting to connect TM043NBH02 LCD touch screen module to our new LPC1788 based system that have Static RAM for video memory. We trying to use emWin library to display information on LCD module but it seems that the emWin GUI library oriented to use SDRAM as video memory.

Is it possible to use SRAM with emWin because GUI_Init() always comes to call GUI_Error() with message "GUI_Alloc.c:\nMemory test failed in _InitOnce()"?

Thanks.

--
+BW, TVT
ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,066件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by eddy0317 on Thu Mar 13 00:57:35 MST 2014
My solution:
#define GUI_BUF_ADDR  0x28200000

The original value is 0x28050000.But My LCD screen resolution is 800*680,and VRAM_ADDR is 0x28000000.So the frame buffer would reach GUI_BUF_ADDR.
0 件の賞賛
返信

1,066件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TVT on Fri Feb 21 06:52:41 MST 2014
Hi!

Another problem have raised:

"GUI_Alloc.c:\nIllegal block size in _RemoveHolesNew()" during GUI_Init().
What could it mean?

Any suggestions?

--
+BW, TVT
0 件の賞賛
返信