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: program will not fit into available memory.

Tool/software: Code Composer Studio

Hi

I have a problem in C2000 Piccolo Workshop Lab9 CLA Floating-Point FIR Filter. I applied all step properly but in Lab_9.cmd file give an error on line 38.

Error is "program will not fit into available memory. placement with aligment blocking fails for section ".cinit" size 0x77 page 0. Available memory ranges L0SARAM size : 0x800  unused: 0x74  max hole :0x74 ""

Thanks.

  • Hello,

    try maximum level of optimization and set speed versus size to 0.
  • User5803443,

    Could you please let me know which workshop/device and target board you are using? Also, did you experience the same error when running the solution file? You should not need to change the optimization level for the lab to work.

    - Ken
  • I am working on C2000 Piccolo Multi-Day Workshop. My device is Experimenter's Kit Piccolo F28035. I tried to solution but I experience same error.

  • User5803443,

    Could you please attach your project (.zip) for review. Thanks.

    - Ken
  • Ken, User,

    good idea!

    I did a quick look at that lab.

    Students are obliged to make necessary changes in the project source code.

    During the labs many things are changed, probably.

    Questions:

    0. We need to find out which workshop we are talking about.

    Link to my workshop user guide:

    What is your link, document?

    1. Did you started from the first lab and successfully passed all before lab9?

    2. Did you tried size versus speed optimizations? If YES: did you received the same error with the same respective values? I mean values withing a message: section ".cinit" size 0x77 page 0. Available memory ranges L0SARAM size : 0x800  unused: 0x74  max hole :0x74 "". If YES, the error might be related to wrong changes within a code, configuration.

    3. The TMS320F2837xD Microcontroller Workshop has been prepared for TI v16.9.5.LTS compiler.

    Could you post your CCS General Project Properties window? Please, see the picture below:

  • User5803443,

    It's been a week since we have heard from you last. Therefore, we are assuming you were able to resolve your issue. If this isn’t the case, please reject this resolution or reply to this thread. If this thread locks, please make a new thread describing the current status of your issue. Thank you.

    - Ken
  • I am working on different topic now so I don't look back again this problem. Generally I try to use CLA and I work with CLA succesfully. Thank you for all reply.