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.

Code Composer linker "decompress" message

Other Parts Discussed in Thread: LM3S6965

I am using CC4.1 for a Stellaris LM3S6965 project.

This is a serial bootloader that works with UART1, not the stock bootloader that works with UART0.  There are a couple posts on which files to modify, and that all seems straightforward.

Before making any changes I copied the project from the StellarisWare folder into a new workspace and did a link first on the unmodified code; got the following:

warning: creating output section ".cinit" without a SECTIONS specification

warning: LOAD placement specified for section
   ".text:decompress:ZI:rtsv7M3_T_le_eabi.lib<copy_zero_init.obj>". This
   section contains decompression routines required for linker generated copy
   tables and C/C++ auto-initialization.  Must ensure that this section is
   copied to run address before the C/C++ boot code is executed or is placed
   with single allocation specifier (ex. "> MEMORY").

warning: LOAD placement specified for section
   ".text:rtsv7M3_T_le_eabi.lib<memset_t2.obj>". This section contains
   decompression routines required for linker generated copy tables and C/C++
   auto-initialization.  Must ensure that this section is copied to run address
   before the C/C++ boot code is executed or is placed with single allocation
   specifier (ex. "> MEMORY").

  • Stan57799 said:

    Before making any changes I copied the project from the StellarisWare folder into a new workspace and did a link first on the unmodified code; got the following:

    Are you saying that one of the Stellarisware example projects generates this warning when built out of the box? I have not seen these types of warnings generated for the examples, but I do notice you are using an old version of CCS (and possibly old version of Stellarisware?). My first recommendation would be to update to the latest CCS (v5.5) and make sure you are working with latest Stellarisware.

    Having said that I found this thread that explains the reason for the warning, which might be helpful as well.

  • The example project generated the warning, but it's most likely because I copied the project into a new workspace.  I didn't import the project; I created a new project, copied the source, header, and linker files into the new project, and then added the Include Options in the Project Properties.

    I will follow the thread in your link and see if the suggested changes fix the problem.

    I haven't updated CCS because we have a lot of code running on several different boards, and I'm nervous about changing something that is working.  I guess it's time to take the plunge.

    I will also check to see if there is a newer version of Stellarisware.  Thanks for the help.