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.

F28035 Solar Power Inverter Developer's kit Problem



Hi,

I'm on the F28035 Solar Power Inverter Developer's kit, Now I'm trying to create a new CCS v4 project and copy related file to my new folder, and remove unnecessary files(such as files for F2833x, F2802x etc. and **example** etc.)

Now errors ocurr after building, like below, could anyone give me some suggestions?

Regards,

Felix

--------------

Errors:

errors encountered during linking; "Renewable.out" not built

placement fails for object ".text", size 0xd46 (page 0).  Available ranges: RAML0L1      size: 0xc00        unused: 0xc00        max hole: 0xc00

placement fails for object "ramfuncs", size 0x472 (page 0).  Available ranges: RAMM0        size: 0x3b0        unused: 0x1a6        max hole: 0x1a6

unresolved symbol __IQ15div, first referenced in ./Renewable-Main-F2803x.obj

unresolved symbol __IQ15int, first referenced in ./sgen.obj

Warning:

creating output section "DLOG" without a SECTIONS specification

---------------

  • What you have here is a problem during linking.  Basically the linker is attempting to assign an object ".text" of size 0xd46 (3398 words) to the range RAML0L1 which is of size 0xc00 (3072 words) and is spitting an error because 3398 > 3072 and it doesnt fit.  The same is happening for "ramfuncs".

    This problem is easy to fix using some advanced memory management - splitting the objects into smaller objects and assigning them to different areas of RAM.  As long as there is enough spare RAM everything should be fine.  Are you able to copy your linker command file (.cmd) for your project into a reply and I will hopefully provide some methods of getting rid of your problems with this information.

     

    Thanks,

     

    Tim

  • Hi Tim,

    Really thank you!

    I allready tried to modify my linker command file by meself and now it works.

    Regards,

    Felix