Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Use SD card for save font and bitmap in codevision AVR

Status
Not open for further replies.

meysam_abbasinia

Advanced Member level 4
Joined
Aug 14, 2007
Messages
105
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Location
IRAN
Activity points
2,136
hi
in a project I'm working on 7 inch TFT LCD and ATXmega128A1, we need save font and icons on flash memory of AVR, now the memory is full and need more space so we decide use SD card for save fonts and icons on it in FAT format, but I don't know how can I use GLCD function by external memory.
for example we use glcd_putimagef for display an image from flash memory and compiler says we can use glcd_putimagex for display images from external memory, but how?

my ask is what should I do? I need save fonts on SD card. I need some sample.

thank you.
 

meysam_abbasinia

Advanced Member level 4
Joined
Aug 14, 2007
Messages
105
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Location
IRAN
Activity points
2,136
he try to read bitmap file directly, let me test it, read bitmap file and write to TFT lcd directly and I will say result.

- - - Updated - - -

No, that is not good idea. thank you for your link
 

ernpao

Advanced Member level 4
Joined
Sep 16, 2010
Messages
100
Helped
26
Reputation
52
Reaction score
24
Trophy points
1,298
Activity points
2,043
I think that a 7 inch tft is too big for your mcu in terms of memory (RAM and not really program memory) as well as speed. You may be able to get away without using a RAM buffer on your mcu (but you will get 'flickering' as you draw on your screen) but I think using an sd card will slow down your system even further. I think the link vbase posted is ok, but your current mcu may just not be fast enough. In short, I think you should be using a more powerful mcu for driving a 7 inch lcd + sd card for memory, but that is just my 2 cents :-D
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top