Problems loading graphics to glk-24064

LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT Series

Moderators: Henry, Mods

Post Reply
mtbeercan
LCD!
Posts: 19
Joined: Sun Mar 28, 2004 8:22 am
Location: Louisiana Swamps

Problems loading graphics to glk-24064

Post by mtbeercan »

Hi, I'm having problems loading bitmaps past the 4th save location on a GLK-24064-25. I can load the first 4 bitmaps ok to memory, but at the 5th save location I get error "7 bits sent, 8 bits recieved". Doesn't matter if I use MOGD or LCD Tester. Any ideas?
mtbeercan
LCD!
Posts: 19
Joined: Sun Mar 28, 2004 8:22 am
Location: Louisiana Swamps

Post by mtbeercan »

Duh, nevermind :roll: , looks like I'm out of memory.
Henry
OMNIPRESENT
OMNIPRESENT
Posts: 3014
Joined: Tue Aug 14, 2001 6:00 pm
Contact:

Post by Henry »

ya, that can happen...
Henry J.
President
Matrix Orbital
mtbeercan
LCD!
Posts: 19
Joined: Sun Mar 28, 2004 8:22 am
Location: Louisiana Swamps

Post by mtbeercan »

So let me ask a question about memory then. How would I go about saving a bitmap file to a eeprom like a 24c***? I am using the glk24064 display with a pic micro and communicating with serial commands through a max232 interface. The reason is, I can swap cables between computer and pic without having to mess with jumpers and solder pads. I understand 12c communication and would like to play with direct write between pic/prom arrangement and display. So how exactly do I save bitmap artwork in a hex format? If I knew this then I could load it to eeprom and direct write through pic to display, correct?
Miles
Matrix Orbital
Matrix Orbital
Posts: 1105
Joined: Mon Mar 04, 2002 4:00 pm

Post by Miles »

From what your describing to me is you want to utilize an external EEPROM to store extended bitmaps and fonts. This would be a very complicated task as every time you would want to load a bitmap form your "external" memory, your microcontroller would have to perform this specific function everytime. The display normally grabs information from the current memory chip. Instead of the display communicating with the current "on-board" memory chip, your microcontroller would have to send the appropriate information to display at the appropriate time. I hope this helps as I know it's confusing... :-?
Miles Y.
Head of Technical Support
Product Manager
Matrix Orbital
mtbeercan
LCD!
Posts: 19
Joined: Sun Mar 28, 2004 8:22 am
Location: Louisiana Swamps

Post by mtbeercan »

Thanks Miles, I don't mind a little confusion. I would like to learn to direct write bitmap to screen. The display manual outlines how to send a bitmap in direct mode, but I'm not certain on how to go about saving a bitmap as a hex file. As a hex file I could program the eeprom and address the saved hex with the microcontroller. For example if I want to store a small text file to 24cxxx eeprom I save the .txt file as .bin in windows. Now I use a bin to hex editor and convert the file to a hex format. Then I can use a programmer to load the .hex file to eeprom. So thats my question I suppose, "how to go about converting a .bmp to a .hex?"
Post Reply