Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

Energia Sharp Memory LCD Example Library Question

$
0
0

Hey everybody! 

 

I have the FR5969 Launchpad up running with Energia. 

 

I have a 128x128 pixel Sharp Memory LCD and a 400x240 pixel Sharp LCD that I'm trying to get running on the FR5969. 

 

I tried loading the Sharp Memory LCD Example code in Energia and changed the max pixel dimensions in the .h file from 96 x 96 to 128 x 128 but that causes a memory error when I try to compile. It says the ram is over by 24 bytes. 

 

So I'm assuming its trying to make room for the memory the LCD requires in SRAM which is too small by 24 bytes. If I change the max pixel size in .h file back to 96x96 pixels it compiles just fine and only takes Binary sketch size: 5,601 bytes (of a 65,536 byte maximum)

 
When I change pixel size in .h to 128x128 I get this compile error.
 
c:/users/rwb/downloads/energia-0101e0012/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld.exe: LCD_SharpBoosterPack_SPI_main.cpp.elf section `.bss' will not fit in region `ram'
 
c:/users/rwb/downloads/energia-0101e0012/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld.exe: region `ram' overflowed by 24 bytes
 
collect2: ld returned 1 exit status
 
I think I'm going to need to use a Frame Buffer to get the larger pixel screens to work outside of SRAM. This is all new to me so I'm gonna need some guidance if possible. 
 
I also have Code Composer Studio installed and running. So I can use either Energia or CCS. 
 
If anybody has any advice I'd love to hear it!
 
Thanks for your time!
 

Viewing all articles
Browse latest Browse all 2077

Trending Articles