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.

Flash programming in Concerto

Other Parts Discussed in Thread: CONTROLSUITE

Hi everyone,

                       I was trying to run a simple example application from the controlSuite with my CCS 5.4 and imported setup_M3 and the C28 blinky projects. On building the project in m3 i see the following errors.

<Linking>
warning: creating output section ".TI.crctab" without a SECTIONS specification
"C:\ti\controlSUITE\device_support\f28m36x\v201\MWare\cmd\F28M36x_generic_M3_FLASH.cmd", line 65: warning:
CRC table operator (AppCrc) ignored for ".pinit": CRC table operator cannot be associated with empty output section
Invalid project path: Referenced project path is not accessible

When i try to load the application, it will cause the following message in the console window:

Cortex_M3_0: Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map.


The same code works fine with RAM. Please suggest a solution to this problem.

  • Naveen,

    Our software team is looking at fixing these issues.  They will send you the fixed files to eliminate these warnings.  Meanwhile you might want to update your controlsuite to get the latest device support package.  

    May be the TI.crctab got mapped to OTP locations that are reserved (you can check your map file) for some other functionality like OTPSECLOCK, EMAC address etc.  Also it might have got mapped to other OTP locations that are blocked in Flash Plugin and hence Plugin is saying that there are some sections that are mapped to not-allowed locations (like OTP or Flash sectors that are not available in your device).  Once you get the corrected files, you should be able to program the Flash.  

    Please check what got programmed in the OTPSECLOCK location in OTP when you tried to program the coff file with the warnings that you mentioned.  Values that got programmed in OTPSECLOCK and other fields in OTP will effect the functionality of those bit-fields in OTP.    

    Thanks and regards,

    Vamsi

  • Naveen,

    For the warning regarding "creating output section ".TI.crctab" without a SECTIONS specification", open up the F28M36x_generic_M3_FLASH.cmd file and add the following line under the "SECTIONS" mapping.

    Add ".TI.crctab : > FLASH"  (See image below)

    Regarding the warning "CRC table operator (AppCrc) ignored for ".pinit": CRC table operator cannot be associated with empty output section", the .pinit section holds the table of constructors for C++ classes and the linker is providing a warning that the section is empty. You can ignore this warning since it will have no affect on your project.

    Best Regards,

    Chris

  • Hi Vamsi,

                  thanks for your reply.

                 we are using Control suite 3.2.4. we checked  TI.crctab section  in my map file,it is non conflicting to any other one.

    Regards

    Balasanjeev

  • Hi vamsi,

    we are using CCS ver 5.3.4 and control suite is 3.2.7     
    we take dual blinky example code from control suite . The same code works fine with RAM.

    verified memory map file when i configure to flash.

    We check out TI forum for this.

    Please suggest a solution to this problem.

    Regards,

    sanjeev

  • Balasanjeev,

    Where is TI.crctab got mapped in your map file?

    Please attach your linker command file and .map file.

    Also check this out:  http://e2e.ti.com/support/microcontrollers/c2000/f/171/p/371206/1305589.aspx.

    Thanks and regards,
    Vamsi