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: TMS320DM6446

Other Parts Discussed in Thread: TMS320DM6446

Tool/software: Code Composer Studio

Hello 

I am getting the below warning in CCS studio. while 

=======================================

#10247-D creating output section ".text:__signbitf:rtsv5_A_le_eabi.lib<_printfi.c.obj>" without a SECTIONS specification

=======================================

are these warning going to affect the .out file if yes then how to remove this warnings please help

Thanks in Advance

Shubham

  • I presume you are getting many diagnostics similar to ...

    Shivam Khot said:
    #10247-D creating output section ".text:__signbitf:rtsv5_A_le_eabi.lib<_printfi.c.obj>" without a SECTIONS specification

    ... and not just this one.

    The most likely explanation is that you are not using a linker command file.  For a general introduction to this file, please read the article Linker Command File Primer.  

    When you create a new project in CCS, you tell it which device you use.  This choice causes CCS to automatically set many project configuration details for you.  One of these details is a linker command file.  In your case, a new project for a TMS320DM6446 system is configured to use a linker command file with a path similar to ...

    C:\ti\ccs1010\ccs\ccs_base\c6000\include\DM6446.cmd

    If my guess is correct, that you do not have a linker command file, then this is a good one to start with.

    Please let me know if this information helps you resolve the problem.

    Thanks and regards,

    -George

  • Hi George

    thanks for your valuable response

    as you said that  C:\ti\ccs1010\ccs\ccs_base\c6000\include\DM6446.cmd is need to added but it is already available and it is link with our code I am going to attach the DM6446.cmd brief

    MEMORY
    {
    #ifndef DSP_CORE /* ARM exclusive memory regions */

    ARM_IRAM: o = 0x00000000 l = 0x00004000 /* 16kB Internal ARM instruction RAM */
    ARM_IROM: o = 0x00004000 l = 0x00002000 /* 8kB Internal ARM instruction ROM */
    ARM_DRAM: o = 0x00008000 l = 0x00004000 /* 16kB Internal ARM data RAM */
    ARM_DROM: o = 0x0000C000 l = 0x00002000 /* 8kB Internal ARM data ROM */

    #endif
    #ifdef DSP_CORE /* DSP exclusive memory regions */

    DSP_L2: o = 0x00800000 l = 0x00010000 /* 64kB DSP L2 RAM/CACHE */
    DSP_L1P: o = 0x00E08000 l = 0x00008000 /* 32kB DSP L1 Program CACHE */
    DSP_L1D: o = 0x00F04000 l = 0x0000B000 /* 48kB DSP L1 Data RAM */
    DSP_L1D_C: o = 0x00F10000 l = 0x00008000 /* 32kB DSP L1 Data CACHE */
    SH_ARM_DRAM: o = 0x10008000 l = 0x00004000 /* 16kB Shared Internal ARM data RAM */
    SH_ARM_DROM: o = 0x1000C000 l = 0x00002000 /* 8kB Shared Internal ARM data ROM */

    #endif
    EMIFA: o = 0x02000000 l = 0x08000000 /* 128MB EMIFA ARM Code/Data - DSP Data*/
    SH_DSP_L2: o = 0x11800000 l = 0x00010000 /* 64kB Shared DSP L2 RAM/CACHE */
    SH_DSP_L1P: o = 0x11E08000 l = 0x00008000 /* 32kB Shared DSP L1 Program CACHE */
    SH_DSP_L1D: o = 0x11F04000 l = 0x0000B000 /* 48kB Shared DSP L1 Data RAM */
    SH_DSP_L1D_C: o = 0x11F10000 l = 0x00008000 /* 32kB Shared DSP L1 Data CACHE */
    EMIFA_CS2: o = 0x42000000 l = 0x08000000 /* 128MB EMIFA DSP Shadow - Code/Data */
    DDR2: o = 0x80000000 l = 0x10000000 /* 256MB of external DDR */
    }

    SECTIONS
    {
    .text > DDR2
    .stack > DDR2
    .bss > DDR2
    .cio > DDR2
    .const > DDR2
    .data > DDR2
    .switch > DDR2
    .sysmem > DDR2
    .far > DDR2
    .args > DDR2
    .ppinfo > DDR2
    .ppdata > DDR2

    /* TI-ABI or COFF sections */
    .pinit > DDR2
    .cinit > DDR2

    /* EABI sections */
    .binit > DDR2
    .init_array > DDR2
    .neardata > DDR2
    .fardata > DDR2
    .rodata > DDR2
    .c6xabi.exidx > DDR2
    .c6xabi.extab > DDR2
    }

  • If you currently use a linker command file with this line ...

    Shivam Khot said:
    .text > DDR2

    ... then I don't understand how you get the diagnostic you show in the first post.  That input section should be part of this .text output section.  

    Please show the complete invocation of the linker, and all of the system response.  Please do not post a screen shot.  Copy and paste the text into a file.  Be sure the file name uses the extension .txt.  Attach that file to your next post.

    Thanks and regards,

    -George

  • Hi George

    thanks for your valuable response

    So as you asked i have attached the invocation procedure of the Linker file 

    Thanks In Advance

    Shubham

  • I should have been more direct in my request.  I need to see the text from the Console view, and not a screen shot.

    Please perform a complete build of the project.  Right click on the project name and select Rebuild Project,  Then save everything in the Console view to a text file.  Use the icon named Copy Build Log.  When you name the file, be sure to use the file extension .txt.  Attach that text file to your next post.

    Thanks and regards,

    -George

  • Hi George

    Please find the attachment below,I have added console view after building the project on CCS studio i got the warnings.

    I hope this is what you are asking for

    Copy Build Log
    
    IcePick_C_0: Warning: A firmware update is recommended for the XDS200 debug probe. Click the "Update" button to update the firmware. Click the "Continue" button to continue without updating. (Emulation package 9.2.0.00002) 
    ARM9_0: File Loader: Verification failed: Values at address 0x00000000 do not match Please verify target memory and memory map.
    ARM9_0: GEL: File: /home/zumi/Anurag_BareMetal/Alpha_driver_Dm6446/Workspace _emac/Emac_A/Debug/Emac_A.out: a data verification error occurred, file load failed.
    ARM9_0: Unable to terminate memory download: NULL buffer pointer at 0x320.

    Thanks

    Shubham

  • Unfortunately, you captured the wrong diagnostics.  I need to see the diagnostics generated with the project is compiled and linked.  It will include the diagnostic you show in your first post. Please try again.

    Thanks and regards,

    -George

  • Hello George

    I am sorry i did not understand your point as I am newbie to CCS hope you will understand.

    Please find the attachment below, Diagnostic generated with the project is compiled and linked.

    **** Build of configuration Debug for project Emac_A ****
    
    /home/zumi/ti/ccs1010/ccs/utils/bin/gmake -k -j 4 all -O 
     
    Building file: "../main.c"
    Invoking: ARM Compiler
    "/home/zumi/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv5e --code_state=32 -me --include_path="/home/zumi/Anurag_BareMetal/Alpha_driver_Dm6446/Workspace _emac/Emac_A" --include_path="/home/zumi/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --define=dm6446 -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="main.d_raw"  "../main.c"
    "../main.c", line 38: warning #1119-D: this assembly directive potentially unsafe inside a function
    "../main.c", line 61: warning #1119-D: this assembly directive potentially unsafe inside a function
    Finished building: "../main.c"
     
    Building target: "Emac_A.out"
    Invoking: ARM Linker
    "/home/zumi/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv5e --code_state=32 -me --define=dm6446 -g --diag_warning=225 --diag_wrap=off --display_error_number -z -m"Emac_A.map" --heap_size=0x800 --stack_size=0x800 -i"/home/zumi/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/lib" -i"/home/zumi/Anurag_BareMetal/Alpha_driver_Dm6446/Workspace _emac/Emac_A/Debug" -i"/home/zumi/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --priority --reread_libs --diag_wrap=off --display_error_number --warn_sections --relocatable --xml_link_info="Emac_A_linkInfo.xml" --rom_model -o "Emac_A.out" "./main.obj" "../DM6446.cmd"  -llibc.a 
    <Linking>
    warning #10247-D: creating output section ".text:__signbitl:rtsv5_A_le_eabi.lib<_printfi.c.obj>" without a SECTIONS specification
    warning #10247-D: creating output section ".text:__signbitf:rtsv5_A_le_eabi.lib<_printfi.c.obj>" without a SECTIONS specification
    warning #10247-D: creating output section ".text:__isnormall:rtsv5_A_le_eabi.lib<_printfi.c.obj>" without a SECTIONS specification
    warning #10247-D: creating output section ".text:__isnormalf:rtsv5_A_le_eabi.lib<_printfi.c.obj>" without a SECTIONS specification
    warning #10247-D: creating output section ".text:__isnormal:rtsv5_A_le_eabi.lib<_printfi.c.obj>" without a SECTIONS specification
    warning #10247-D: creating output section ".text:__isnanl:rtsv5_A_le_eabi.lib<_printfi.c.obj>" without a SECTIONS specification
    warning #10247-D: creating output section ".text:__isnanf:rtsv5_A_le_eabi.lib<_printfi.c.obj>" without a SECTIONS specification
    warning #10247-D: creating output section ".text:__isinfl:rtsv5_A_le_eabi.lib<_printfi.c.obj>" without a SECTIONS specification
    warning #10247-D: creating output section ".text:__isinff:rtsv5_A_le_eabi.lib<_printfi.c.obj>" without a SECTIONS specification
    warning #10247-D: creating output section ".text:__isfinitel:rtsv5_A_le_eabi.lib<_printfi.c.obj>" without a SECTIONS specification
    warning #10247-D: creating output section ".text:__isfinitef:rtsv5_A_le_eabi.lib<_printfi.c.obj>" without a SECTIONS specification
    warning #10247-D: creating output section ".text:__isfinite:rtsv5_A_le_eabi.lib<_printfi.c.obj>" without a SECTIONS specification
    warning #10247-D: creating output section ".text:__fpclassifyl:rtsv5_A_le_eabi.lib<_printfi.c.obj>" without a SECTIONS specification
    warning #10247-D: creating output section ".text:__fpclassifyf:rtsv5_A_le_eabi.lib<_printfi.c.obj>" without a SECTIONS specification
    warning #10247-D: creating output section ".text:__fpclassify:rtsv5_A_le_eabi.lib<_printfi.c.obj>" without a SECTIONS specification
    warning #10247-D: creating output section ".text:__signbit:rtsv5_A_le_eabi.lib<s_frexp.c.obj>" without a SECTIONS specification
    warning #10247-D: creating output section ".text:__isnan:rtsv5_A_le_eabi.lib<s_frexp.c.obj>" without a SECTIONS specification
    warning #10247-D: creating output section ".text:__isinf:rtsv5_A_le_eabi.lib<s_frexp.c.obj>" without a SECTIONS specification
    Finished building target: "Emac_A.out"
     
    
    **** Build Finished ****
    

    Thanks in Advance

    Shubham

  • Please remove the linker option --relocatable.  In a typical project, there is no reason to use it.

    Thanks and regards,

    -George