This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Error[e104]: Failed to fit all segments into specified ranges.

Error[e104]: Failed to fit all segments into specified ranges. Problem discovered in segment BANKED_CODE. Unable to place 71 block(s) (0x1b47c byte(s) total) in 0x1af20
byte(s) of memory. The problem occurred while processing the segment placement command
"-P(CODE)BANKED_CODE=_CODE_BEG-_CODE_END,_BANK4_BEG-_BANK4_END,_BANK5_BEG-_BANK5_END,_BANK6_BEG-_BANK6_END,_BANK7_BEG-_BANK7_
END", where at the moment of placement the available memory ranges were "CODE:3db4-3ff7,CODE:4b000-4ffff,CODE:58b24-5ffff,CODE:68000-6ffff,CODE:78000-7e7ff"
Error while running Linker

  • Hi,

    Here if i am changing code memory or disable power saving(xPOWER_SAVING). its working without error but its not advertising.

    I am using BLE1.4 stack(Which i am converting 1.3.2 to 1.4). IAR Worbench 8.20.2.

    Suggestions welcome,

    Best wishes with thanks

    MANO MM