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: Technical issues with compiler version 18.1.4



Tool/software: Code Composer Studio

We have a piece of code which copies data into separate code section defined in memory map using #pragma DATA_SECTION.

If I use any old compiler, this pragma is working and compiler is fetching the data from the defined memory area using the variable name defined in

#pragma DATA_SECTION(_FData, "DataArea");
 
With new compiler, it’s keeping a copy of _FData in another location instead of fetching it from defined location.

Due to this the calculated checksum of the code is changing, as compiler is keeping another copy.

All optimisation settings are same between old and new compilers.

  • I presume the source files, and the linker command file, are the same, and the only difference is the version of the compiler.

    Please get the linker map file from an older build that works, and from a newer build that fails.  Put them both in a zip file and attach it to your next post.

    Thanks and regards,

    -George

  • Yes, both linker cmd file and source files are same.

    I understand you need files from me, is it possible to look at this issue without me providing the files?

    Regards,

    Abhi

  • While I have never seen this particular problem, I have seen many like it.  Based on that, I'm confident that the root of the problem is something very subtle. That being the case, the only way to advance the issue is to see the direct evidence, like the actual map files.

    You are welcome to use the private message feature to send the files just to me.  Hover your mouse over my screen name or avatar. A box will pop up. Click on Send a private message. In the message compose interface which comes up, use the paper clip icon to attach the zip file.

    Thanks and regards,

    -George   

  • Hi George,

    Thanks for the reply, unfortunately I cannot send the files to you.

    If you have seen this problem before, what are the solutions suggested?

    I can try them and update you if that's okay?

    Regards,

    Abhi

  • Unfortunately, this problem does not look familiar.  I only see one way forward, and that is for you to send me the linker map files I requested.  Moreover, there is no guarantee that I will be able to resolve the problem at that point.  I may ask to see even more.  

    Thanks and regards,

    -George