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.

DSP f2812 in Code Composer v3.3

I started a project with the DSP F2812 but had to migrate from version 3.1 to 3.3, but that version does not provide support for this dsp. The same code that compiles on a version gives error in the other. Can anyone help me solve this?

  • Hi Mat,

    What is the error? Can you attach the screenshot?
    Also, any particular reason why you want to stick to CCS v3.3? You can jump to CCS v5.5 or the latest v6.1 and both of these support F2812.

    Regards,
    Gautam
  • This erros is: run placement fails for object "objectname"

    I solve the error allocating and deallocating memory spaces, but when compiles the result is not expected, while compiling in version 3.1 besides not having errors, the result is expected.

    I'm a project and I have to use this version of Code Composer ...

  • CCSv3.3 definitely does support F2812.  You have something else going on.  What do you mean "The result is not expected?"  Are you saying the code doesn't run correctly?  If so, have you debugged the problem?

    Regards,

    David

  • Compiling the Code in other versions and analyzing the test outputs with oscilloscope, you should see a square wave. However compile the same code in version 3.3, nothing happens in the output. Also, there is this additional error in version 3.3 (run placement fails for object "objectname")
  • These are not CCS v3.3 issues.  If you are using the same compiler version and the same project options, you should get the same results.  CCS is just a GUI.  The compiler, project options you select, and your linker command file determine how your project is built.

    The run placement error you are getting is probably caused by the compiler generating larger code than whatever compiler you used in CCSv3.1, and the linker is unable to fit the particular section cited into the memory you specified.

    - David

  • David, the project works in version 3.1, but the 3.3 is not working. A detail I forgot to mention is that natively the driver for the DSP did not exist, it was "imported" from version 3.1. With this, all the codes give the same error. My suspicions are exactly those, but do not know what to do with this version that does not have native support, to compile the code correctly ...

  • Matheus,

    I do not know what is going on with your CCSv3.3 installation. I can say for sure that F2812 was supported in CCSv3.3. Think about it. If the support was there in the earlier v3.1, it is there in in v3.3. Not sure what you mean by driver. I have CCSv3.3 installed on an old WinXP machine, and it works just fine with F2812. Perhaps you accidentally de-selected something during the installation?

    CCS itself does not really do the code compilation. That is done by the compiler tools. CCS is just a shell that launches the compiler. If you are using the same compiler and same project options in CCSv3.3 as in CCSv3.1, it should give the same build results.

    If the code is not running correctly, you need to debug and find out what is going on. There really isn't enough information here for me to say what is happening.

    Regards,
    David