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.

CCS 6.1 : #10247-D creating output section ".reset" without a SECTION specification

Other Parts Discussed in Thread: TMS320F28334, CONTROLSUITE

Hi there

I update to CCS 6.1 and getting now this warning:

#10247-D creating output section ".reset" without a SECTION specification

I checked the .map file and it looks like the runtime library rts2800_fpu32 is generating this output section:

.reset 0 0000ab28 00000002 

0000ab28 00000002 rts2800_fpu32.lib : boot.obj (.reset)

If I'm compiling under CCS6.0 I didn't get the this .reset section in the .map file

Used DSP: TMS320F28334

Old System (working):  CSS 6.0, Compiler: 6.2.11, TI-RTOS 2.10.1.38, XDCtool: 3.31.0.24_core

New System : CSS 6.1, Compiler: 6.2.11, TI-RTOS 2.12.1.33, XDCtool: 3.31.1.33_core

Any suggestion how I could fix the problem?

Thanks

Simon

  • I can tell you the immediate reason you get that error message.  I cannot tell you the best way to fix it.

    The message means that there is no specification in the linker command file for the output section .reset, so one is being created and allocated for you according to the default rules.  These rules are almost always wrong.  For more general background, please see this wiki article.  

    Simon Nussbaumer said:
    If I'm compiling under CCS6.0 I didn't get the this .reset section in the .map file

    Here is one guess at an explanation ... When building under CCS 6.0, you use a different linker command file which makes use of this technique.

    Simon Nussbaumer said:
    Any suggestion how I could fix the problem?

    It is likely you have somehow misconfigured the project.  Or, you are using the wrong linker command file.  I realize this is not that helpful.  I suggest you start a new thread in the C2000 device forum.  Or, if you prefer, I can move this thread into that forum.

    Thanks and regards,

    -George

  • Hi George!

    Thank you for your fast reply!
    As you suggested, I added following line to the cmd file:

    .reset : > RESET, PAGE = 0, TYPE = DSECT

    Which solved the problem with the warning.

    However, I'm still not able to run the code on the hardware. Looking at the MAP file, I see that I have considerably fewer memory (L02SARAM) usage than in compared to a CCS 6.0 build. (even if I use the same TI-RTOS and XDC tool version):

    CCS 6.1; TI-RTOS 2.10.1.38, XDCtools 3.31.0.24_core

    name origin length used unused attr fill
    ---------------------- -------- --------- -------- -------- ---- --------
    PAGE 0:
    L02SARAM 00008000 00003200 00002b24 000006dc RWIX <== !!!!!!!!!
    FLASH 00320000 0001bffd 000162e7 00005d16 RWIX
    BEGIN 0033bffe 00000002 00000002 00000000 RWIX
    FLASH_BL 0033c000 00003f7f 00000000 00003f7f RWIX
    CSM_RSVD 0033ff80 00000076 00000000 00000076 RWIX
    BEGIN_BL 0033fff6 00000002 00000000 00000002 RWIX
    CSM_PWL 0033fff8 00000008 00000000 00000008 RWIX
    ADC_CAL 00380080 00000009 00000000 00000009 RWIX
    OTP 00380400 00000400 00000000 00000400 RWIX
    IQTABLES 003fe000 00000b50 00000000 00000b50 RWIX
    IQTABLES2 003feb50 0000008c 00000000 0000008c RWIX
    FPUTABLES 003febdc 000006a0 000006a0 00000000 RWIX
    ROM 003ff27c 00000d44 00000000 00000d44 RWIX
    RESET 003fffc0 00000002 00000000 00000002 RWIX
    VECTORS 003fffc2 0000003e 00000000 0000003e RWIX

    PAGE 1:
    M01SARAM 00000000 00000800 000002f2 0000050e RWIX
    DEV_EMU 00000880 00000180 000000d0 000000b0 RWIX
    FLASH_REGS 00000a80 00000060 00000008 00000058 RWIX
    CSM 00000ae0 00000010 00000010 00000000 RWIX
    ADC_MIRROR 00000b00 00000010 00000010 00000000 RWIX
    XINTF 00000b20 00000020 0000001e 00000002 RWIX
    CPU_TIMER0 00000c00 00000008 00000008 00000000 RWIX
    CPU_TIMER1 00000c08 00000008 00000008 00000000 RWIX
    CPU_TIMER2 00000c10 00000008 00000008 00000000 RWIX
    PIE_CTRL 00000ce0 00000020 0000001a 00000006 RWIX
    PIEVECT 00000d00 00000100 00000000 00000100 RWIX
    DMA 00001000 00000200 000000e0 00000120 RWIX
    MCBSPA 00005000 00000040 00000025 0000001b RWIX
    MCBSPB 00005040 00000040 00000025 0000001b RWIX
    ECANA 00006000 00000040 00000034 0000000c RWIX
    ECANA_LAM 00006040 00000040 00000040 00000000 RWIX
    ECANA_MOTS 00006080 00000040 00000040 00000000 RWIX
    ECANA_MOTO 000060c0 00000040 00000040 00000000 RWIX
    ECANA_MBOX 00006100 00000100 00000100 00000000 RWIX
    ECANB 00006200 00000040 00000034 0000000c RWIX
    ECANB_LAM 00006240 00000040 00000040 00000000 RWIX
    ECANB_MOTS 00006280 00000040 00000040 00000000 RWIX
    ECANB_MOTO 000062c0 00000040 00000040 00000000 RWIX
    ECANB_MBOX 00006300 00000100 00000100 00000000 RWIX
    EPWM1 00006800 00000022 00000022 00000000 RWIX
    EPWM2 00006840 00000022 00000022 00000000 RWIX
    EPWM3 00006880 00000022 00000022 00000000 RWIX
    EPWM4 000068c0 00000022 00000022 00000000 RWIX
    EPWM5 00006900 00000022 00000022 00000000 RWIX
    EPWM6 00006940 00000022 00000022 00000000 RWIX
    ECAP1 00006a00 00000020 00000020 00000000 RWIX
    ECAP2 00006a20 00000020 00000020 00000000 RWIX
    ECAP3 00006a40 00000020 00000020 00000000 RWIX
    ECAP4 00006a60 00000020 00000020 00000000 RWIX
    ECAP5 00006a80 00000020 00000020 00000000 RWIX
    ECAP6 00006aa0 00000020 00000020 00000000 RWIX
    EQEP1 00006b00 00000040 00000040 00000000 RWIX
    EQEP2 00006b40 00000040 00000040 00000000 RWIX
    GPIOCTRL 00006f80 00000040 0000002e 00000012 RWIX
    GPIODAT 00006fc0 00000020 00000020 00000000 RWIX
    GPIOINT 00006fe0 00000020 0000000a 00000016 RWIX
    SYSTEM 00007010 00000020 00000020 00000000 RWIX
    SPIA 00007040 00000010 00000010 00000000 RWIX
    SCIA 00007050 00000010 00000010 00000000 RWIX
    XINTRUPT 00007070 00000010 00000010 00000000 RWIX
    ADC 00007100 00000020 0000001e 00000002 RWIX
    SCIB 00007750 00000010 00000010 00000000 RWIX
    SCIC 00007770 00000010 00000010 00000000 RWIX
    I2CA 00007900 00000040 00000022 0000001e RWIX
    L37SARAM 0000b200 00004e00 00004919 000004e7 RWIX
    FW_VERSION 0033bffd 00000001 00000001 00000000 RWIX
    BL_VERSION 0033ff7f 00000001 00000000 00000001 RWIX
    CSM_PWL 0033fff8 00000008 00000008 00000000 RWIX
    PARTID 00380090 00000001 00000001 00000000 RWIX

    CCS 6.0 TI-RTOS 2.10.1.38, XDCtools 3.31.0.24_core

    name origin length used unused attr fill
    ---------------------- -------- --------- -------- -------- ---- --------
    PAGE 0:
    L02SARAM 00008000 00003200 00003053 000001ad RWIX <== !!!!!!
    FLASH 00320000 0001bffd 00016a92 0000556b RWIX
    BEGIN 0033bffe 00000002 00000002 00000000 RWIX
    FLASH_BL 0033c000 00003f7f 00000000 00003f7f RWIX
    CSM_RSVD 0033ff80 00000076 00000000 00000076 RWIX
    BEGIN_BL 0033fff6 00000002 00000000 00000002 RWIX
    CSM_PWL 0033fff8 00000008 00000000 00000008 RWIX
    ADC_CAL 00380080 00000009 00000000 00000009 RWIX
    OTP 00380400 00000400 00000000 00000400 RWIX
    IQTABLES 003fe000 00000b50 00000000 00000b50 RWIX
    IQTABLES2 003feb50 0000008c 00000000 0000008c RWIX
    FPUTABLES 003febdc 000006a0 000006a0 00000000 RWIX
    ROM 003ff27c 00000d44 00000000 00000d44 RWIX
    RESET 003fffc0 00000002 00000000 00000002 RWIX
    VECTORS 003fffc2 0000003e 00000000 0000003e RWIX

    PAGE 1:
    M01SARAM 00000000 00000800 000002f2 0000050e RWIX
    DEV_EMU 00000880 00000180 000000d0 000000b0 RWIX
    FLASH_REGS 00000a80 00000060 00000008 00000058 RWIX
    CSM 00000ae0 00000010 00000010 00000000 RWIX
    ADC_MIRROR 00000b00 00000010 00000010 00000000 RWIX
    XINTF 00000b20 00000020 0000001e 00000002 RWIX
    CPU_TIMER0 00000c00 00000008 00000008 00000000 RWIX
    CPU_TIMER1 00000c08 00000008 00000008 00000000 RWIX
    CPU_TIMER2 00000c10 00000008 00000008 00000000 RWIX
    PIE_CTRL 00000ce0 00000020 0000001a 00000006 RWIX
    PIEVECT 00000d00 00000100 00000000 00000100 RWIX
    DMA 00001000 00000200 000000e0 00000120 RWIX
    MCBSPA 00005000 00000040 00000025 0000001b RWIX
    MCBSPB 00005040 00000040 00000025 0000001b RWIX
    ECANA 00006000 00000040 00000034 0000000c RWIX
    ECANA_LAM 00006040 00000040 00000040 00000000 RWIX
    ECANA_MOTS 00006080 00000040 00000040 00000000 RWIX
    ECANA_MOTO 000060c0 00000040 00000040 00000000 RWIX
    ECANA_MBOX 00006100 00000100 00000100 00000000 RWIX
    ECANB 00006200 00000040 00000034 0000000c RWIX
    ECANB_LAM 00006240 00000040 00000040 00000000 RWIX
    ECANB_MOTS 00006280 00000040 00000040 00000000 RWIX
    ECANB_MOTO 000062c0 00000040 00000040 00000000 RWIX
    ECANB_MBOX 00006300 00000100 00000100 00000000 RWIX
    EPWM1 00006800 00000022 00000022 00000000 RWIX
    EPWM2 00006840 00000022 00000022 00000000 RWIX
    EPWM3 00006880 00000022 00000022 00000000 RWIX
    EPWM4 000068c0 00000022 00000022 00000000 RWIX
    EPWM5 00006900 00000022 00000022 00000000 RWIX
    EPWM6 00006940 00000022 00000022 00000000 RWIX
    ECAP1 00006a00 00000020 00000020 00000000 RWIX
    ECAP2 00006a20 00000020 00000020 00000000 RWIX
    ECAP3 00006a40 00000020 00000020 00000000 RWIX
    ECAP4 00006a60 00000020 00000020 00000000 RWIX
    ECAP5 00006a80 00000020 00000020 00000000 RWIX
    ECAP6 00006aa0 00000020 00000020 00000000 RWIX
    EQEP1 00006b00 00000040 00000040 00000000 RWIX
    EQEP2 00006b40 00000040 00000040 00000000 RWIX
    GPIOCTRL 00006f80 00000040 0000002e 00000012 RWIX
    GPIODAT 00006fc0 00000020 00000020 00000000 RWIX
    GPIOINT 00006fe0 00000020 0000000a 00000016 RWIX
    SYSTEM 00007010 00000020 00000020 00000000 RWIX
    SPIA 00007040 00000010 00000010 00000000 RWIX
    SCIA 00007050 00000010 00000010 00000000 RWIX
    XINTRUPT 00007070 00000010 00000010 00000000 RWIX
    ADC 00007100 00000020 0000001e 00000002 RWIX
    SCIB 00007750 00000010 00000010 00000000 RWIX
    SCIC 00007770 00000010 00000010 00000000 RWIX
    I2CA 00007900 00000040 00000022 0000001e RWIX
    L37SARAM 0000b200 00004e00 00004919 000004e7 RWIX
    FW_VERSION 0033bffd 00000001 00000001 00000000 RWIX
    BL_VERSION 0033ff7f 00000001 00000000 00000001 RWIX
    CSM_PWL 0033fff8 00000008 00000008 00000000 RWIX
    PARTID 00380090 00000001 00000001 00000000 RWIX

    I also checked the project properties, and the seem to be the same.
    Looking at the Memory Map file, it seems that in CCSv6.1 some SYS/BIOS function aren't used(and therefore aren't allocated) , which are used in CSSv6.0. This doesn't make sense to me, since I used the same TI-RTOS version.

    I have to take a closer look, whats exactly the problem, but if you could have a guess where I might search, I would be more than glad.

    Thanks and best regards
    Simon

  • Simon Nussbaumer said:
    As you suggested, I added following line to the cmd file:

    .reset : > RESET, PAGE = 0, TYPE = DSECT

    Which solved the problem with the warning.

    Why wasn't that line in the linker command file in the first place?  Why did you have to add it?  That is not normal.  Perhaps you are using the wrong linker command file.  And if so, how did that happen?  

    I suggest you try to solve the problem at this level, i.e. is the project configured and organized correctly.  I lack the expertise to help you with that, because I don't have the knowledge of how controlSUITE projects (if that is what this is) are typically set up.

    Thanks and regards,

    -George