In the project this scatter file:
APP 0x90309000 0x000B0000
{
APPCFG +0
{
* (APP_CFG)
}
APP0 +0
{
main.o* (APPENTRY)
}
APP1 +0
{
main.o* (+RO)
*.o* (+RO)
}
APP_RAM 0xF0380000 0x00060000
{
main.o (+RW,+ZI)
*.o (+RW,+ZI)
}
}
modify to:
APP 0x90309000 0x00030000
{
APPCFG +0
{
* (APP_CFG)
}
APP0 +0
{
main.o* (APPENTRY)
}
APP1 +0
{
main.o* (+RO)
*.o* (+RO)
}
APP_RAM 0xF0380000 0x00060000
{
main.o (+RW,+ZI)
*.o (+RW,+ZI)
}
}
In the project it changed and change allowable maximum size of proggram and linker given bellow error:
armlink : error L6220: Load region APP size (197016 bytes) exceeds limit (196608 bytes).
The only difference is that the size of the
APPregion in memory (the secondAPPparameter) was lowered from0x000B0000(decimal720896) to0x00030000(decimal196608).The two
APPparameters are:0x90309000: The start address of theAPPregion in memory.0x00030000: The size of theAPPregion in memory.The new size constraint is the reason why you see
You may be able to raise the size limit to
0x00030198(or perhaps even0x00030200) to make it accept the197016bytes required - but after looking at your other question, I assume that's not an option because theEEPregion starts at0x30000bytes after theAPPregion:So: