Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed from November 25 through December 2. Thank you for your patience.

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.

CCS/CCSTUDIO: CoCreateInstance falied Error

Part Number: CCSTUDIO
Other Parts Discussed in Thread: TMS320C6418

Tool/software: Code Composer Studio

Hi there,

I'm using CCS3 and developing a DSP-Bios project with these settings:

Compiler version: TIv7.3.4

DSP/Bios version: 5.42.2.10

Device: TMS320C6418

The project has a .tcf file.

I was able to correctly develope and build my project  till something accidentally changed on the settings.

At the moment I'm able to compile but if I try to open the .tcf file trough the DSP/Bios Configuration Tool I get this error: "CoCreateInstance failed: hiervw.dll"

Before this error I was correctly able to open the .tcf file trough the DSP/Bios Configuration Tool straight from CCS3 project Explorer.

If I open with a text editor the .tcf file, edit it and compile, the compilation works correctly with the updated .tcf file.

If I copy the project into a different computer with CCS3 installed the tcf file is correctly opened with the DSP/Bios Configuration Tool.

Any suggestion about how to solve this?

Thank you

Regards

  • Sorry, the Code composer studio version I'm using is CCS 5.2.0
  • Hi Charles,

    What setting accidentally changed? A CCS setting, a Windows setting? etc?

    Todd
  • Hi Todd,
    I was working on the project properties on CCS, but I could not understand when the error started to occur. I was hoping that from the error message I showed someone could suggest where to act into the CCS settings.
    As long as I was working on my project, If I try to import any other project with a .tcf file I get the error (even the examples code one provided with ccs).
    I didn't change directories or modified file on windows.

    Let me know if there is something else I can do to help explaining my issue.

    Thank you
    Regards
  • Hi Karles,

    The person that knows this area the best is out the rest of the week. He'll get back to you early next week, but it might be best if you post a reminder on Tues if you have not heard back from us.

    Todd
  • Ok Todd,
    I'll be back on this post if I don't get back from you by Tues.

    Thank you
  • Hi Karles,

    It looks like something got corrupted in your Windows registry that has to do with the DPS/Bios Configuration Tool. That's why you are able to open file successfully on a different computer.

    Can you uninstall and then reinstall CCS 5.2.0 and try again to open the .tcf file?

    If that doesn't work we can dig into your registry and try to figure out what's wrong.

    Regards,

    Joseph

  • Hi Joseph,
    yes I can do that and I will let you know.

    Thank you
    Regards
  • Hi Joseph,

    I did unistall and then install back CCS 5.2.0 but the same error apper.

    Still, if I import the same project on a different computer everthing works.

    Compilation still ends up successfully, the problem is just on the tcf editor tool.

    I have multiple CCS versions installed on my  desktop (CCS 5.2.0, CCS5.5.0 and CCS7), organized as follow:

    I have the same error if I open the procject with a different CCS version installed on my computer.

    The error started to show up when the other CCS installation where already installed and I didn't install new plugins or software.

    Here the Tconf settings I'm using:

    I checked and hiervw.dll is  at the directory linked by the "import path" showed into the Tconf setting.

    I'm running into a Windows10, 64bit, but I was able to correctly work on my projects from the beginning of the installation, till the error started to show up.

    Is there something else I can do to?

    Thank you

    Regards

  • Hi Karles,

    Can you run regedit, and select the top "Computer" item and the select the "Edit->Find" menu item, check the "Data" checkbox and search for "hiervw"?

    If it is registered properly,  it should eventually find a numeric key {71D775785-71E....

    If you expand the key, there will be an InProcServer32 key, that will show the location of hiervw.dll on the right hand side.

    Please let me know what if/what you find.

    Regards,

    Joseph

  • Hi Joseph,
    I'm sorry but I don't understand how I am supposed to find the numeric key you described.
    I can tell that form my computer directory I can find the hiervw.dll file at each installed bios version folder:

    C:\ti\bios_5_42_01_09\packages\ti\bios\config\gconf\bin
    C:\ti\bios_5_42_02_10\packages\ti\bios\config\gconf\bin
    C:\ti\bios_5_41_13_42\packages\ti\bios\config\gconf\bin

    How do I find the key related to the hiervw.dll? Does the steps you described have to be followed from Code Composer Studio or straight from Windows?

    Sorry, but I really wasn't able to realize how to see that key.

    Thank you
    Regards
  • Hi Karles,

    Run "regedit" from a Windows command prompt. Then select "Computer" item and the select the "Edit->Find" menu item, check the "Data" checkbox and search for "hiervw":

    Keep searching and look for a value like this:

    If it is found, let me know the location found for hiervw.dll.

    Also, did this problem start to happen after you installed a specific version of Code Composer Studio?

    Regards,

    Joseph

  • Karles,

    My screen shots  didn't get posted. Here they are:

  • Hi Joseph,
    sure!, sorry I didn't get you were referring to "regedit"! I follow your steps as soon as I will get back to my office.
    Thank you

    Regards
  • Hi Joseph,

    I was finally able to follow your steps.

    Here is the result of my search, icluding the location of hiervw.dll

    The problem didn't show up after a new CCS installation, but I do have multiple installed CCS versions: CCS 5.2, CCS5.5 and CCS7.4

    Let me know if there is something else I can do to help solving this issue and thank you again for your support!

    Regards

  • Hi Karles,

    If you look at the regedit location of hiervw.dll, it is under a CCS installation: C:\ti\ccs5_2\BIOS_5~1\packages\ti\bios\config\gconf\bin

    This is different from the Tconf screen shot you posted. It shows: -Dconfig.importPath="C:/ti/bios_5_42_02_10/packages;"

    It is also different than the locations you posted earlier:

    C:\ti\bios_5_42_01_09\packages\ti\bios\config\gconf\bin
    C:\ti\bios_5_42_02_10\packages\ti\bios\config\gconf\bin
    C:\ti\bios_5_41_13_42\packages\ti\bios\config\gconf\bin

    Can you tell me if there is a heirvw.dll in C:\ti\ccs5_2\BIOS_5~1\packages\ti\bios\config\gconf\bin?

    And thank you for your patience. When this sort of registry corruption occurs, it is sometimes very difficult to resolve.

    Regards,

    Joseph

  • Hi Joseph,

    and thank you again for your support! I do understand that this issue is particular, so I will follow every step you will suggest me.

    The path C:\ti\ccs5_2\BIOS_5~1\packages\ti\bios\config\gconf\bin does not exist! Here is my dir situation:

  • Hi Karles,

    Let's try registering the Configuration Tool .dll files manually in a location where they exist.

    Can you open a Command Prompt and change to the directory: C:\ti\bios_5_42_02_10\packages\ti\bios\config\gconf\bin ?

    Then enter these commands in the order shown:

        regsvr32 cdbconf.dll

        regsvr32 hiervw.dll

        regsvr32 objvw.dll

        regsvr32 propv.dll

        regsvr32 propv.dll

        regsvr32 uipkg.dll

    If they register successfully, then start Code Composer Studio and try opening your .tcf file with the DSP/BIOS Configuration Tool from Project Explorer and let me know how it goes.

    Regards,

    Joseph

  • Hi Joseph,
    unfortunately the steps you showed me didn't work.
    I also tried to do it again and open a new example project (the dsp-bios example clk provided with the ccs installation) but still the same error occurs. I tried with each one of the installed ccs version ccs5.2, ccs5.5, ccs7 and the same error occurs.
    If you think this could help, I can unistall all my ccs versions and install it back.

    Let me know and thank you again for your support!
    Regards
  • Hi Karles,

    This is probably your only option at this point. You should uninstall your DPS/BIOS versions before uninstalling CCSs too.

    Also, after uninstalling, make sure to delete the BIOS and CCS directories if they are still there.

    I remember that older versions of CCS sometimes leave things in the registry even after uninstalling, so there is the possibility that the problem may still happen.

    Regards,

    Joseph

  • Thank you Joseph, I will do it and let you know.

    Regards
  • Hi Karles,

    I'm going to mark this as TI Thinks Resolved. If you find out otherwise, simply do a reply on this thread. If it has been locked (which happens after N number of weeks of no activity), just open a new thread and reference this thread.

    Todd
  • Hi Joseph,
    uninstall followed by a new install did solve my problem.
    Thank you for you time, I appreciated it!

    Regards
  • Hi Todd,
    the thread is now closed, I marked it resolved since the suggestion of Joseph to re-install CCS made it work again.

    Thank you
    Regards