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.

Question about Sections on C2000 Launchpad Piccolo

Other Parts Discussed in Thread: CONTROLSUITE

I'm trying to convert my RAM based project in a FLASH based project writing it on FLASH memory. My question is, I know that a lot of sections are in F2802x_GlobalVariableDefs.c and F2802x_Headres_nonBIOS.cmd.  But my project did'nt work, I'm not sure, but I think its because of this two warnings:

#10247-D creating output section "ramfuncs" without a SECTIONS specification 
#10247-D creating output section "csmpasswds" without a SECTIONS specification 

My question is: Is there any file missing on my project?

It's attached below.

2664.Piccolo - Test_1 (FLASH).zip

  • Matheus Jacques said:

    #10247-D creating output section "ramfuncs" without a SECTIONS specification 
    #10247-D creating output section "csmpasswds" without a SECTIONS specification 

    The warnings means that the linker is creating and allocating "ramfuncs" and "cmspasswds" output sections in memory using some default algorithm because it isn't explicitly allocated in the linker command file.  It is best to explicitly allocate the section to the appropriate memory region by adding the section to the SECTIONS directive in the linker command file. Especially the section "ramfuncs" is usually for storing functions that will be copied from Flash to RAM, so in the linker command file you should explcitly load it in Flash and run from RAM. 

    I would suggest importing the Flash example in ControlSuite (C:\ti\controlSUITE\device_support\f2802x\v210\f2802x_examples\flash_f28027) and taking a look at it to get an idea of the different sections and where they are allocated for Flash programs. The F2802x.cmd that is part of the example project shows the allocation for ramfuncs and csmpasswds.

    Another great reference when you are moving a RAM based project to Flash based project is this application note:
    http://www.ti.com/apps/docs/litabsmultiplefilelist.tsp?literatureNumber=spra958l&docCategoryId=1&appId=120

  •  

    Dear Arthi ,

    Even I am trying to boot my code in FLASH in C2000 launchpad.

    I have attached my Project file in this post.

    Please validate and give the feedback on which linker file is missing

     

     2318.azimnew1.rar

    Regards,

    Azim

     

     

     

     

  • Hi Guys,

    Finally i have managed to crack the FLASH Settings

    There is no requirement for any importing of settings from the Example Files.

    Just follow the steps in the below document

    0083.Flash Accesses Settings for C2000 in CCS5.doc

    Regards,

    Azim