Hello my english speaking friends. I will like to work with GLCD. I working with the program uv4 and others, and this generate table of chars for the compilers CCs and Hs... How can i to converter this format file(chars) to binari format (bin) , for load to eeprom 24lcxx ? Thanks by people.
can code go into eeprom for load to eeprom 24lcxx ? NO
however code can go into a PARALLEL EEPROM
Erik
You can put anything you like into a serial EEPROM
The question is whether the CPU can fetch its instructions for execution from there - to which the short answer is, "No.".
The long answer is that you would have to write code that would: 1. fetch the stuff from the serial EEPROM; 2. put that stuff into a place from which the CPU can fetch its instructions for execution; 3. get the CPU to start fetching its instructions for execution from that location.
Which is, essentially, the function of a so-called Bootloader...
THE CODE IS NOT EXECUTABLE CODE. WHY DIDNT YOU READ WHAT I SAID!
GLCD FOR SHOWING PICTURES LIKE BMP FILES.
For first you need to understand what is in the BMP file and what you need to put in EEPROM
A BMP file can have a complex structure where are defined a lot of extra information about picture,
MY GLCD is RGB?
for RGB you need to save 24 bits for each pixel so, you need to use 3 locations for your picture where any location tell you the value for R / G / B color
if you are familiar with matlab you can write a program(script) what can convert any picture in raw format
the eeprom memory is viewed like a unidimensional but my picture is bidimensionl, if i know rows and cols number i can save your picture line after line where pixel[5][6] form a picture 30X50.
CAN I PUT THIS CODE INTO EEPROM?
THE CODE IS NOT EXECUTABLE CODE if it is not executable, it is not 'code' but data
CAN I PUT THIS CODE INTO EEPROM? no, but you can put that DATA in an EEPROM if you do not need a refresh rate faster than you can transfer from the EEPROM to yhe display. The EEPROM data sheet (and whatever code you need for whatever micro you use) will allow you to calculate the transfer rate from EEPROM to the display.
"CAN I PUT THIS CODE INTO EEPROM?"
WHY DIDNT YOU READ WHAT I SAID!
You can put anything you like into a serial EEPROM!
And, having put it there, you can pull it out again - then you can do with it as you wish!
View all questions in Keil forum