2020-06-03 02:01 AM
12k flash memory reserved for Bootloader and rest (52K) want reserve for application. Getting section placement failed error.
linker file....
define memory with size = 16M;
define region TinyData = [from 0x00 to 0xFF];
define region NearData = [from 0x0000 to 0x17FF];
define region Eeprom = [from 0x4000 to 0x47FF];
define region BootROM = [from 0x6000 to 0x67FF];
//0xAE40 -size of boot code + 0x400 (param) = app start addr B240(size 0xCDBF)
define region NearFuncCode = mem:[from 0xB240 size 0x4DBF];
define region FarFuncCode = mem:[from 0xB240 size 0x4DBF] | mem:[from 0x10000 size 0x7FFF];
define region HugeFuncCode = mem:[from 0xB240 size 0xCDBF];