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.

error #10099-D run placement fails for object

Hello,

I’m using CCSv5 with compiler versión 6.0.2.

I added  a header file with 4000 defines in my project and this .h was included in other files where some constants structures use them. This .h has the protection for only be taken into account once.

With all this, I get this error:

  Errors (2 items):

      #10010 errors encountered during linking;

      #10099-D run placement fails for object

This error is a problem with ram length. CCSv5 shows me that RAM necessary is bigger than RAM available. However, RAM length was enough before including this header file, and defines don’t use RAM memory.

Before adding this file, the variables stored in RAM occupied a size, but after this problem, the .map generated doesn't have all this variables. The RAM length showed in .map is shorter; it stops in position where bios has located the variable CLK_HTIMEPERLTIME.

This problem appears and disappears if I change some includes to .h files, but I don’t know why, which is the reason of the error and how to solve it properly.

I would appreciate some help.

Thanks,

Nerea