I recently inherited an older project and am trying to get it up and running again. It is an ATxmega128A1 that has the external SRAM chip. When I go to compile it says:
error: Program Memory Usage : 124874 bytes 89.7 % Full
Data Memory Usage : 48588 bytes 593.1 % Full (Memory Overflow)
EEPROM Memory Usage : 1765 bytes 86.2 % Full
The project is old and is using an older ebi_driver.c Rev 479 from 2007-03-05. However, if I modify the line from ATxmega128A1.atdf:
<memory-segment start="0x4000" size="0xBFFF" type="ram" rw="RW" exec="0" name="EXTERNAL_SRAM external="true"/>
And remove the 'external="true"' portion the program will build and run properly.
Task "RunOutputFileVerifyTask"
Program Memory Usage : 124874 bytes 89.7 % Full
Data Memory Usage : 48588 bytes 84.7 % Full
EEPROM Memory Usage : 1765 bytes 86.2 % Full
I have the 'external ram check for memory overflow' option checked in my compiler settings.
Do I need to modify the 'SRAM segment' under memory settings? Currently it is blank.