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/F28M35H52C: Example files won't compile without numerous errors.

Part Number: F28M35H52C
Other Parts Discussed in Thread: CONTROLSUITE

Tool/software: Code Composer Studio

I have experienced issues with updates recently which may be what the problem is, at some point in the update, it says that window firewall is blocking access, I give it permission, but then the install progress goes tp "not responding" and I (eventually) get a message along the lines of "installation failed, your environment may not work properly".  Now checking for updates says there are no updates available.

I'm trying to write code based on the ControlSuite examples V210.

Anyway, when I import the adc_soc_c28 example and try to compile, I get 18 errors, all saying something like "RAML0 memory range overlaps existing memory range RAML0" and then 65 warnings like "creating output section "CpuTimer1RegsFile" without a SECTIONS" 

I think this is a linker file issue.

I've tried deleting the Linker command file and trying different ones but, so far, it seems very broken.

Any ideas?

  • Ted

    When you import projects, make sure the checkbox that says "Copy projects into workspace" is NOT checked. Don't import into the workspace, this will cause issue with linking of files in the examples.

    Best regards
    Chris
  • Chris,

    You were right, this was the issue.  I was aware of it but failed to notice that the box was checked when I did the import.  One annoying thing that happened is that I tried to correct my mistake by deleting the project from the workspace and then re-importing but when I did that, the project previously imported was greyed out; I ended up creating a new workspace and starting over but how would I remove and the reimport if I needed to?

    Thanks,

  • Ted

    Ok great!
    If you copy a project into the workspace and try to import another project (of the same name), it won't let you. My guess is you deleted it from the workspace but not the project contents on the disk. If something is copied into the workspace, when you click delete, you need to check the box for "Delete project contents on disk". Without that, the project doesn't show up in the CCS project explorer but is technically still in the workspace folder.

    Best regards
    Chris