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 building first C2000 project -- Invalid instruction for specified processor in DSP28x_usDelay

Other Parts Discussed in Thread: CONTROLSUITE

I am trying to build my first project for the H52C1 Concerto controlCARD, so I installed controlSUITE and was following the instructions for the F28M35x Quickstart User's Guide.  I was able to create the project for the Host, but after following instructions as well as I could, when I tried to build the project for the C2000, I see the errors at the end of this message.

I am using CCS Version: 5.0.1.201105110900 which was installed long before controlSUITE.  While going through the instructions, there were times when the options specified did not exist.  Perhaps controlSuite is not updating CCS??  For example, in the IMPORTANT instructions preceding the quick start, it says I must install TS470 and C2000 Code Generation tools by going to help->Software Updates->Find and Install.  The "Software Updates" and "Find and Install" menu items do not exist and I could not figure out how to follow those instructions.  When creating a project, Device Variant did not have an option for 28M35x Concerto or F28M35H52C1. The Code Generation Tools show TI v6.0.1 in the instructions, but the latest I had was TI v5.2.10. 

 

 

**** Build of configuration Debug for project Concerto2_C2000 ****

C:\Program Files (x86)\Texas Instruments\ccsv5\utils\gmake\gmake -k all

'Building file: C:/TI/controlSUITE/device_support/f28m35x/v110/F28M35x_common/source/F28M35x_usDelay.asm'

'Invoking: C2000 Compiler'

"C:/Program Files (x86)/Texas Instruments/ccsv5/tools/compiler/c2000/bin/cl2000" -g --include_path="C:/Program Files (x86)/Texas Instruments/ccsv5/tools/compiler/c2000/include" --include_path="C:\TI\controlSUITE\device_support\f28m35x\v110\F28M35x_common\include" --include_path="C:\TI\controlSUITE\device_support\f28m35x\v110\F28M35x_headers\include" --diag_warning=225 --preproc_with_compile --preproc_dependency="F28M35x_usDelay.pp"  "C:/TI/controlSUITE/device_support/f28m35x/v110/F28M35x_common/source/F28M35x_usDelay.asm"

"C:/TI/controlSUITE/device_support/f28m35x/v110/F28M35x_common/source/F28M35x_usDelay.asm", ERROR!   at line 44:

[E0002]

         Invalid instruction for specified processor version

        BF     _DSP28x_usDelay,GEQ    ;; Loop if ACC >= 0

2 Assembly Errors, No Assembly Warnings

"C:/TI/controlSUITE/device_support/f28m35x/v110/F28M35x_common/source/F28M35x_usDelay.asm", ERROR!   at line 45:

[E0002]

         Invalid instruction for specified processor version

        LRETR

Errors in Source - Assembler Aborted

 

  • Don,

    Before going any further, I recommend downloading the latest version of CCSv5 (http://processors.wiki.ti.com/index.php/Download_CCS)

    There have been major changes with the 5.1 release.

    Once you have that, use the TI Resource Explorer(In CCS, click on: View->TI Resource Explorer) to import and build one of the example projects. If that works, go ahead and try making your own. If it still doesn't work, let me know and we can go from there.

    Regards,

    Alvaro

  • Hi Don,

    Sorry to hear you're having trouble.  I just thought I might add that I wrote the quick start guide for CCSv4 users.  I will add a note in the quickstart guide and add CCSv5 instructions in the next release.

    Also to note, controlSUITE and CCS are for the most part seperate entities.  ControlSUITE doesn't update CCS and CCS doesn't update controlSUITE.  This may change in the future but for now they are seperate.

    As Alvaro said, please update CCS and try the resource explorer with the example projects.  Once you get some of those running you can examine their build configuration and base your new project off of that.

    Trey German

  • Thank you, I think downloading 5.1 is moving me in the right direction.  However, I am encountering a very common problem of not knowing if certain information pertains to a specific version.  For example, I thought there should be a way to easily import a project from TI Resource Explorer.  I couldn't find an intuitive way -- drag and drop, right click -- so I checked Help only to find no mention at all of TI Resource Explorer.  Are the Help files in CCS 5.1 up to date for that version?

    I finally tried to use Files|Import which seemed to be to correct procedure.  However, when I tried to import Blinky -- the simplest example I could find -- I get the following error:

    "Project conversion failed for project blinky_m3 with the following error: Error loading Managed Make project information for project blinky_m3.  The tool definitions used to create the project are not available."

    Do I need to follow the getting started instructions in controlSUITE for this version of CCS?  Specifically, before running one of the examples, do I need to do the steps labeled "**** IMPORTANT*** For CCSv4 support of F28M35X you will need to: "?  Or is there some other setup that I am missing?  If I do need to follow these steps, what is the 5.1 version of "help->Software Updates->Find", which does not exist on 5.1.

     

     

  • Don,

    I'm sorry you're still having trouble.  I took a look at the resource explorer and you're right, the Concerto projects aren't automatically imported like the other projects.  If you check out some of the projects for the other devices you will see they have a step by step guide built in to CCS that guides you through importing, building, and debugging the project.  I will make a note to get this fixed in the next release.

    You are correct that file, import project should work.  When you first get to the import dialog box, make sure you select "Existing CCS Eclipse Projects" from the CCS folder.

    The error you are getting is because you are lacking the correct compiler versions.  You are correct that you need to follow the "IMPORTANT" instructions in the Resource Explorer and ControlSUITE GUI.  Software updates and new software can still be installed from the help menu.  Look for the "Check for Updates" and "Install New Software" menu options.

    Regards,

    Trey German

  • I was able to complete step 1 and 2 of the IMPORTANT instructions: Update CCS and install ti_c2000support_setup_2.0.0.1.4.exe

    However, I had problems with steps 3 and 4.  I can bring up the Install New Software wizard and select " Code Generation Tools Updates - http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/codegen/Updates/p2win32" in the "Work with:" list box, but the main text box has a single entry "There are no categorized items".

    Steps 3 and 4 appear to be critical because I still get the same error when I attempt to build "blinky_m3".

    As a side issue, while trying to get the Install New Software to work I used the Add button and created an empty directory -- I thought you had to Add the item in the "Work with:" drop down to get items to appear in the main text box.  Now that empty directory appears in the "Work with:" list box and causes an error every time I start the Install New Software wizard.  How can I get rid of that entry?