F0563100:Section address overflow out of range : ".SLIB"

Hi,

I am using RL78/G13 with e2 studio IDE. I having a problem of Section address overflow out of range : ".SLIB"

My code size was shown as larger than my controller size. But I didn't increase any script in a project even my backup project also I can't Build, That same error came.

So I doubted in IDE. I was tried many things but I can't to solve this issue.

Is anything I want to change or check. I was attached details in below .Please check and  give a solution for this.

Renesas Optimizing Linker (W3.06.00 )             27-Feb-2024 11:40:12

*** Options ***

-subcommand=LinkerFCM360W_TEST_050224.tmp
-MAKEUD=J:\UKM\renesas\my_renesas_project\e2_studio\workspace\FCM360W_TEST_050224\HardwareDebug/FCM360W_TEST_050224_l.ud
-device="C:/Users/ukm/.eclipse/com.renesas.platform_1435879475/DebugComp/RL78/RL78/Common/DR5F100LG.DVF"
-list="FCM360W_TEST_050224.map"
-nooptimize
-entry=_start
-auto_section_layout
-security_id=00000000000000000000
-debug_monitor=1FE00-1FFFF
-user_opt_byte=FFFFEF
-ocdbg=04
-input=".\generate\cstart.obj"
-input=".\generate\stkinit.obj"
-input=".\src\EEPROM.obj"
-input=".\src\LCD_Factory_Profile.obj"
-input=".\src\LCD_user_profile.obj"
-input=".\src\build_props.obj"
-input=".\src\firmware_NGC_3PH_backup_090124.obj"
-input=".\src\https.obj"
-input=".\src\https_wifi.obj"
-input=".\src\lcd.obj"
-input=".\src\modem_ack.obj"
-input=".\src\mqtt.obj"
-input=".\src\r_cg_adc.obj"
-input=".\src\r_cg_adc_user.obj"
-input=".\src\r_cg_cgc.obj"
-input=".\src\r_cg_cgc_user.obj"
-input=".\src\r_cg_intc.obj"
-input=".\src\r_cg_intc_user.obj"
-input=".\src\r_cg_it.obj"
-input=".\src\r_cg_it_user.obj"
-input=".\src\r_cg_lvd.obj"
-input=".\src\r_cg_lvd_user.obj"
-input=".\src\r_cg_port.obj"
-input=".\src\r_cg_port_user.obj"
-input=".\src\r_cg_serial.obj"
-input=".\src\r_cg_serial_user.obj"
-input=".\src\r_cg_timer.obj"
-input=".\src\r_cg_timer_user.obj"
-input=".\src\r_main.obj"
-input=".\src\r_systeminit.obj"
-library="C:\Program Files (x86)\Renesas\RL78\1_13_0\lib\rl78cm4s.lib"
-library="C:\Program Files (x86)\Renesas\RL78\1_13_0\lib\rl78cm4r.lib"
-library="C:\Program Files (x86)\Renesas\RL78\1_13_0\lib\malloc_n.lib"
-output="FCM360W_TEST_050224.abs"
-debug
-nocompress
-memory=high
-rom=.data=.dataR,.sdata=.sdataR
-nomessage
-nologo

*** Error information ***

W0561120:Section address is not assigned to ".SLIB"
F0563100:Section address overflow out of range : ".SLIB"

*** Mapping List ***

SECTION                            START      END         SIZE   ALIGN
.vect
                                  00000000  0000007f        80   0
.constfAPP_VERSION_f
                                  00000080  00000083         4   2
.constfAPI_KEYS_f
                                  00000084  000000b3        30   2
.sdata
                                  00000080  00000080         0   2
.option_byte
                                  000000c0  000000c3         4   1
.security_id
                                  000000c4  000000cd         a   1
.monitor1
                                  000000ce  000000d7         a   1
.constf
                                  000000d8  0000014f        78   2
.constfURLS_f
                                  00000150  000001cc        7d   2
.data
                                  000001ce  00001525      1358   2
.text
                                  00001526  00001cd0       7ab   1
.RLIB
                                  00001cd1  00002a37       d67   1
.const
                                  00003000  00009753      6754   2
.textf
                                  00009754  0001fcb5     16562   1
.monitor2
                                  0001fe00  0001ffff       200   1
.bss
                                  000fcf00  000fdfdd      10de   2
.dataR
                                  000fdfde  000ff335      1358   2
.sbss
                                  000ffe20  000ffe20         0   2
.sdataR
                                  000ffe20  000ffe20         0   2
.SLIB
                                  000ffe20  00102192      2373   1

Thanks,

Parents Reply
  • Hi ,

    Thanks for your reply,

    I am not include any many libraries.

    I was included string library only ,I additionally used. And I generate a project with code generator So many interrupts and

    communication related header files created automatically.

    And I include user defined header files in my project.

    Thanks,

Children
  • The .SLIB section is by default placed in code flash.

    Looking at your map file I guess that you have moved it to RAM ?

    The .SLIB seems to be 2373 bytes so it cannot fit after .dataR section.

    I recommend that you place .SLIB in code flash.

  • Hi

    No, I am not config .SLIB data store in to a RAM. When I choose to select section layout as automatically , I seen Section overflow error like above (Section address overflow out of range : ".SLIB").

    If I reapply that section as like you are send section view  means I had a Error like below, and I attached images below.

    E0562321:Section ".monitor2" overlaps section ".textf"

    Renesas Optimizing Linker (W3.06.00 )             28-Feb-2024 08:28:46
    
    *** Options ***
    
    -subcommand=LinkerFCM360W_TEST_050224.tmp
    -MAKEUD=J:\UKM\renesas\my_renesas_project\e2_studio\workspace\FCM360W_TEST_050224\HardwareDebug/FCM360W_TEST_050224_l.ud
    -device="C:/Users/ukm/.eclipse/com.renesas.platform_1435879475/DebugComp/RL78/RL78/Common/DR5F100LG.DVF"
    -list="FCM360W_TEST_050224.map"
    -nooptimize
    -entry=_start
    -auto_section_layout
    -security_id=00000000000000000000
    -debug_monitor=1FE00-1FFFF
    -user_opt_byte=FFFFEF
    -ocdbg=04
    -input=".\generate\cstart.obj"
    -input=".\generate\stkinit.obj"
    -input=".\src\EEPROM.obj"
    -input=".\src\LCD_Factory_Profile.obj"
    -input=".\src\LCD_user_profile.obj"
    -input=".\src\build_props.obj"
    -input=".\src\https.obj"
    -input=".\src\https_wifi.obj"
    -input=".\src\lcd.obj"
    -input=".\src\modem_ack.obj"
    -input=".\src\mqtt.obj"
    -input=".\src\r_cg_adc.obj"
    -input=".\src\r_cg_adc_user.obj"
    -input=".\src\r_cg_cgc.obj"
    -input=".\src\r_cg_cgc_user.obj"
    -input=".\src\r_cg_intc.obj"
    -input=".\src\r_cg_intc_user.obj"
    -input=".\src\r_cg_it.obj"
    -input=".\src\r_cg_it_user.obj"
    -input=".\src\r_cg_lvd.obj"
    -input=".\src\r_cg_lvd_user.obj"
    -input=".\src\r_cg_port.obj"
    -input=".\src\r_cg_port_user.obj"
    -input=".\src\r_cg_serial.obj"
    -input=".\src\r_cg_serial_user.obj"
    -input=".\src\r_cg_timer.obj"
    -input=".\src\r_cg_timer_user.obj"
    -input=".\src\r_main.obj"
    -input=".\src\r_systeminit.obj"
    -library="C:\Program Files (x86)\Renesas\RL78\1_13_0\lib\rl78cm4s.lib"
    -library="C:\Program Files (x86)\Renesas\RL78\1_13_0\lib\rl78cm4r.lib"
    -library="C:\Program Files (x86)\Renesas\RL78\1_13_0\lib\malloc_n.lib"
    -start=.const,.text,.RLIB,.SLIB,.textf,.constf,.data,.sdata/03000,.dataR,.bss/0FCF00,.sdataR,.sbss/0FFE20
    -output="FCM360W_TEST_050224.abs"
    -debug
    -nocompress
    -memory=high
    -rom=.data=.dataR,.sdata=.sdataR
    -nomessage
    -nologo
    
    *** Error information ***
    
    E0562321:Section ".monitor2" overlaps section ".textf"
    
    *** Mapping List ***
    
    SECTION                            START      END         SIZE   ALIGN
    .vect
                                      00000000  0000007f        80   0
    .constfAPP_VERSION_f
                                      00000080  00000083         4   2
    .constfAPI_KEYS_f
                                      00000084  000000b3        30   2
    .option_byte
                                      000000c0  000000c3         4   1
    .security_id
                                      000000c4  000000cd         a   1
    .monitor1
                                      000000ce  000000d7         a   1
    .constfURLS_f
                                      000000d8  00000154        7d   2
    .const
                                      00003000  00009753      6754   2
    .text
                                      00009754  00009efe       7ab   1
    .RLIB
                                      00009eff  0000ac65       d67   1
    .SLIB
                                      0000ac66  0000cfd8      2373   1
    .textf
                                      0000cfd9  0002353a     16562   1
    .constf
                                      0002353c  000235b3        78   2
    .data
                                      000235b4  0002490b      1358   2
    .sdata
                                      0002490c  0002490c         0   2
    .monitor2
                                      0001fe00  0001ffff       200   1
    .dataR
                                      000fcf00  000fe257      1358   2
    .bss
                                      000fe258  000ff335      10de   2
    .sdataR
                                      000ffe20  000ffe20         0   2
    .sbss
                                      000ffe20  000ffe20         0   2

    Please check,

    Thanks,

  • Hello,

    The debug monitor area is overlapped because the sections in code flash are now too big.

    Change the address below from 0x3000 to 0x2000 so they start lower in code flash.

    Also reserve the debug monitor area with this option:

  • No, I was changed as you are suggested , But still have Error.

    E0562321:Section ".monitor2" overlaps section ".textf"

  • Is really that memory size was overload ah, I can't to feel accept because when I rebuild my backup project are also showing this overflow error that why I can't to accept memory was full.

    I know my backup projects are having 95% memory full at last build. But now I rebuild that file I got error, even I didn't include any script in same project.

    Is there any idea about that ?

  • Not sure the address is changed because I sill see sections starting at 0x3000 and not at 0x2000.

  • Yes it was not changed Once I clean and rebuild that project ,after that address changed but not ERROR.

  • In previous screenshot the .textf was 75KB and now 91KB, how is it possible ?

    The program is simply too big. The 128KB code flash ends at 0x1FFF you cannot have a code flash section that goes beyond this address.

  • But this was my backup project. And how now its showing section overflow and memory was too big ?

    Is anything I need to check and verify for this, 

  • I do not know the difference between this project and backup project but for R5F100xG the sections placed in code flash must not exceed 0x1FFF.