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 with debugging lab02 (cannot load lab02.out)

Other Parts Discussed in Thread: MOTORWARE, CONTROLSUITE

Hi,

I had previously successfully finished motor identification in lab2. I reinstalled CCS5 and the c2000 compiler on my PC for my DRV8301-69m-kit, and now I encounter this problem when debugging lab2b:

-------

load problem error

encountered a problem loading file

C:\ti\motorware\motorware_1_01_00_12\sw\solutions\instaspin_foc\boards\drv8301kit_revD\f28x\f2806xF\projects\ccs5\proj_lab02b\Release\proj_lab02b.out

Could not open file


------

when exploring that directory I could not find the Release folder nor can I find proj_lab02b.out, even when I had clicked on build. I had installed the c2000 compiler through help->update in CCS5. Any idea as to the cause of this error? Incidentally I encounter this problem except for lab 1 and 2 which I had built before reinstalling CCS5 and compiler.


Help is much  appreciated! Thanks

Yue

  • We already have CCSv6.

    Download it. Delete the old one. Then install the new one.

    If you don't like downloading. Delete it. Then re-install the old one, CCSv5.

  • it sounds like CCS thinks the project is already built, so it is just trying to load the .out directly (which doesn't exist anymore).

    you should be able to force a "Rebuild Project", and then use the debugger icon or manually load the project using the menu (this is what I do, just out of habit).

    if that doesn't seem to work I would delete the project from CCS and re-import.

    and if still having issues then try to create a new workspace the next time you open your CCS.

    and the final solution would be a full uninstall/reinstall, but that really shouldn't be necessary.

  • 0216.Doc1.docx

    Not sure how to get around this error.

    Tried with a new workspace, re-imported projects but did not work. When importing, an error occurred saying that compiler definition was not available and required me to upgrade to compiler C2000 v6.2, even though I had compiler C2000 v6.19 already installed in the directory of CCS5. I then did a fresh installing of CCS6 in another hard drive and updated the c2000 compiler for CCS6 in its directory and tried importing projects, the same error appeared again with the compiler.

    Installed a newer version of motorware, and tried to import project from there (in case the original files in old motorware were corrupt) but still did not solve that error with non-available compiler definitions.

    Screenshots of error messages and the installation directory for the c2000 compiler are attached.

    Could you elaborate on how you forced a rebuild and how you manually loaded the project from menu? Even though I navigate to project-->build project, the .out file was not built.

    P.S file path for compiler is F:\Ti\ccsv6\tools\compiler\c2000_6.2.7 which is inside the directory for CCS6

  • yue,

    I don't have an idea on how to fix this....we are not seeing these errors from anyone else. Very strange and frustrating!

    I've posted to the CCS forum for some help from the CCS experts.

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/363933.aspx

  • Hi,

    yue yao said:

    load problem error

    encountered a problem loading file

    C:\ti\motorware\motorware_1_01_00_12\sw\solutions\instaspin_foc\boards\drv8301kit_revD\f28x\f2806xF\projects\ccs5\proj_lab02b\Release\proj_lab02b.out

    Could not open file

    Just saw Chris post on CCS forum. This error could've been eliminated by simple "Rebuild All" function.  I faced the same issue couple of days back when I was editing one of the sample codes from controlSuite.

    Also, the errors displayed in CCSv6 are due to absence of C2000 compiler or seems so! I would like you try one thing... delete all CCS related folders ie first by uninstalling them and then deleting the folders individually. Then install CCSv6.

    Regards,

    Gautam

  • yue yao said:
    Installed a newer version of motorware, and tried to import project from there (in case the original files in old motorware were corrupt) but still did not solve that error with non-available compiler definitions.

    It is certainly odd that you are getting these errors with CCSv6. CCS v6 comes with C2000 compiler 6.2.x so if it were properly installed then the error about missing compiler definitions should not be coming.

    Can you go into CCS menu Window->Preferences->Code Composer Studio->Build->Compilers, and see if the specific version of C2000 Compiler tools that comes with your installation is listed under "Discovered Tools"? If it is not then there was likely something wrong in the installation.

    As suggested by Gautam, I would then recommend uninstalling CCS (make sure to delete all directories as the uninstaller sometimes leaves some directories/files behind) and install clean to a empty directory. Also, just FYI, you mentioned about installing CCSv6 to another drive on your machine. If you need to have multiple versions of CCS installed in the same machine, it is fine to just install to different directories, such as c:\ti, c:\ti2 etc.