This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

about defining charactre arrays

hey
i a working at insignia technologies and i have a problem with defining character arrays
actually i am programming a 89C51RD2 chip using flash magic and i have a problem with programs that have array size espeially two dimensional arrays of size of 150 and more as well as structures
"Although the program compiles" but the LCD which initially displays any message doesnt seem to respond to the new program and just goes blank
could anyone please help me with this definition of two dimensional arrays of size 100 and more as well as structures.THis is urgent please
Could anyone tell me the reason why this is happening and what could be done to avoid this

Parents
  • can you guide me a little bit on how to store data on the on chip ROM while the program is in application?

    As Erik said no way to store data in the OnChip ROM, though if you are working with the Atmel T89C51XX2 family of devices this is possible due to the fact that the onchip ROM is in fact a FLASH memory and one of the most nice features of the chip is that you can use the so-called in-application programming, which means you can write the FLASH memory from your own application. To do this you just have to use a number of API's provided in the onchip boot rom area.

    Additionally some T89s do have an additional 2Kb data EEPROM on chip, which can also be used to store data on chip, but the way to access this memory is a little bit different, but i will not rewrite the datasheets here, please read all what you need in the chips manuals downloadable from the atmel website.

    http://www.atmel.com

Reply
  • can you guide me a little bit on how to store data on the on chip ROM while the program is in application?

    As Erik said no way to store data in the OnChip ROM, though if you are working with the Atmel T89C51XX2 family of devices this is possible due to the fact that the onchip ROM is in fact a FLASH memory and one of the most nice features of the chip is that you can use the so-called in-application programming, which means you can write the FLASH memory from your own application. To do this you just have to use a number of API's provided in the onchip boot rom area.

    Additionally some T89s do have an additional 2Kb data EEPROM on chip, which can also be used to store data on chip, but the way to access this memory is a little bit different, but i will not rewrite the datasheets here, please read all what you need in the chips manuals downloadable from the atmel website.

    http://www.atmel.com

Children