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.

"INTERNAL ERROR!: Trying to access empty SC map"

Code Composer Studio v2.21

C5502 Device Simulator/CPU - C55xx

I started with the sim55x BIOS "clktest" example. I had it working. I added additional functionality to it.

I want to use this as framework for other test programs. Therefore, I want to rename the project and files in the project to be more general. I manually edited the project file to to agree the file name changes I made. Now I am not able to build the project.

I see the following message as the compiler works on each file in the project:

 

INTERNAL ERROR!: Trying to access empty SC map

This may be a serious problem.  Please contact customer support with a
description of the problem and a sample of the sourcefile that caused this
message to appear.

 

What does this mean? Is there a way to fix it without scrapping my changes and starting over with my working clktest project?

Thanks for any guidance.

  • Hi,

    This is a hard error to pinpoint, as it is very unusual and this version of CCS is very old. I would then try to inspect some usual suspects: filenames with special characters, spaces in paths, reference to invalid or corrupt files, etc.

    If you would like to send your .pjt file that could help.

    Regards,

    Rafael

  • Hi Rafael:

    Thanks for the response.

    I will attach a stripped down project that exhibits the problem.

    4452.GoofyProject.zip

    I did not resolve the issue in my project, but I was able to get around the issue by creating a new project and adding my files to it.

    This issue is not holding me up, so it is acceptable for me if you assign it low priority.

    Best regards,

    Patrick McCloskey

  • Patrick,

    Thanks for sending this; I found an ancient bug report (filed in 2004) that clarifies what the error message means.

    The error message (inside the file <cc_build_Debug.log> of your project) is coming from the internal shell used by the assembler and compiler and it is caused by the tool's inability to find the path passed to the -ahi parameter (..\..\inc). In this case, re-creating the project probably fixed this path.

    Over the years several updates and bug fixes were incorporated into the internal shell of the compiler tools, therefore this error became a rarity.

    Regards,

    Rafael