Hello to everybody,
I have a big project using a ATMega644 that when compiling GCC says...
Program: 58872 bytes (89.8% Full)
(.text + .data + .bootloader)
Data: 3833 bytes (93.6% Full)
(.data + .bss + .noinit)
EEPROM: 69 bytes (3.4% Full)
The program uses one external interrupt, and RTC, a Dataflash memory, the internal EEPROM, a LCD display, and Flash to store images and it has more or less 40 files between .C and .H.
The optimization is set to -Os.
I have found several ramdom errors when writing to the dataflash, specially with global variables that change their contents during the program, and without being "touched" by the program.
Can anybody point me things to check ir order to find this error, or anything that may help?
Thanks very much!