LockedXC8 has disappeared from MPLAB...how to register Toolsuite?

Author
chico
Starting Member
  • Total Posts : 51
  • Reward points : 0
  • Joined: 2009/12/22 16:26:01
  • Location: 0
  • Status: offline
2015/03/17 11:08:56 (permalink)
0

XC8 has disappeared from MPLAB...how to register Toolsuite?

Hi - I use both MPLABX (for new projects) and MPLAB (for legacy projects) under Windows 7.
 
I've been working with a legacy project in MPLAB 8.92 and not sure what happened, but xc8 no longer shows up as a registered tool. MPLAB shows xc16 and xc32 and the older Hi-Tech compilers, but not xc8 (I've got version 1.34). 
 
I have reinstalled both MPLAB and xc8 numerous times (as Administrator), cleaned the registry, all the usual suspects, but MPLAB won't show xc8.
 
So, reaching back into the past...is there a trick I'm missing to get MPLAB and xc8 to hook up? I don't know how to initiate or force a Toolsuite registration other than install the tool and it usually shows up.
 
Thanks in advance... chico
#1

18 Replies Related Threads

    jack@kksound
    code tags!
    • Total Posts : 2838
    • Reward points : 0
    • Joined: 2014/05/14 10:03:19
    • Location: 0
    • Status: offline
    Re: XC8 has disappeared from MPLAB...how to register Toolsuite? 2015/03/17 11:17:32 (permalink)
    0
    Try running the MPLAB 8 as administrator (set the option in the shortcut), this works on my Win 7 machine that exhibited the same issues.
    #2
    chico
    Starting Member
    • Total Posts : 51
    • Reward points : 0
    • Joined: 2009/12/22 16:26:01
    • Location: 0
    • Status: offline
    Re: XC8 has disappeared from MPLAB...how to register Toolsuite? 2015/03/17 11:45:19 (permalink)
    0
    Thanks for the quick reply, Jack.
     
    Nope, running as Administrator (from either the shortcut or the app) doesn't fix it.
     
    I just noticed something else. Even though I've updated xc16 and xc32 to the latest versions, they still show in the "Select Language Toolsuite" menu as version 1.10 (my previously installed versions), not the newly installed update versions (1.34).
     
    But then when I go to "Select Language Toolsuite Locations" to update the locations, they aren't even listed! So in the "Select Language Toolsuite Locations" menu, I'm missing xc8, xc16, and xc32, even though they are installed in the Program Files/Microchip folder. My other compilers are listed and correct there.
     
    Do those clues help solve this riddle? How do I force MPLAB to register these compilers?
     
     
    #3
    NKurzman
    A Guy on the Net
    • Total Posts : 16567
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: online
    Re: XC8 has disappeared from MPLAB...how to register Toolsuite? 2015/03/17 12:13:31 (permalink)
    0
    The individual compilers do not show up in XC8
    It Hi-tech still there?  Select that and choose the compiler from there.
    #4
    chico
    Starting Member
    • Total Posts : 51
    • Reward points : 0
    • Joined: 2009/12/22 16:26:01
    • Location: 0
    • Status: offline
    Re: XC8 has disappeared from MPLAB...how to register Toolsuite? 2015/03/17 12:31:11 (permalink)
    0
    NKurzman
    The individual compilers do not show up in XC8
    It Hi-tech still there?  Select that and choose the compiler from there.




    If I understand you correctly, I went to both the ""Select Language Toolsuite Locations" and "Select Language Toolsuite" menus, selected the Hi-tech compiler, and pointed it to the xc8 executable. But...it doesn't stick. The project compiles with the Hi-Tech compiler, and the menus point back to the Hi-Tech compiler location. Did I do it the way you intended? 
    #5
    chico
    Starting Member
    • Total Posts : 51
    • Reward points : 0
    • Joined: 2009/12/22 16:26:01
    • Location: 0
    • Status: offline
    Re: XC8 has disappeared from MPLAB...how to register Toolsuite? 2015/03/17 16:16:45 (permalink)
    +2 (2)
    I found a solution, which I'm posting for anyone else who encounters the same problem.
     
    Thanks to another user who posted this solution to a similar problem, I downloaded from the Microchip site:
     
     
      Register Plug in Batch file for MPLAB IDE ("Register Plugin.bat")
    (this forum won't let me post the actual link...search the site for it)
     
    ...I ran it, and voila! I now have xc8 listed as a compiler option.
     
    I don't know why re-installing xc8 multiple times didn't do this, but at least I'm back on track...
     
    post edited by chico - 2015/03/17 16:20:46
    #6
    NKurzman
    A Guy on the Net
    • Total Posts : 16567
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: online
    Re: XC8 has disappeared from MPLAB...how to register Toolsuite? 2015/03/17 19:27:30 (permalink)
    0
    Now that you mention it.  That was to fix a bug in one of the MPLab Versions.
     
    And "elected the Hi-tech compiler, and pointed it to the xc8 executable." No.
    The Plug-in handles all the XC8 / Hi-Tech compilers and versions
    #7
    phoenix_don
    New Member
    • Total Posts : 17
    • Reward points : 0
    • Joined: 2009/08/05 16:53:49
    • Location: 0
    • Status: offline
    Re: XC8 has disappeared from MPLAB...how to register Toolsuite? 2015/04/17 20:21:00 (permalink)
    +1 (1)
    Yes, I encountered the same problem; could see XC16 and XC32, but not XC8.  However, I went to the deleted items list and restored the V1.33 folder (alongside the V1.34 folder), and, for some reason, now the XC8 (v1.34) showed up as a selectable compiler. Don't know why, but it seems that Microchip should know and do better on the next release.
    #8
    RISC
    Super Member
    • Total Posts : 5309
    • Reward points : 0
    • Status: offline
    Re: XC8 has disappeared from MPLAB...how to register Toolsuite? 2015/04/19 02:59:49 (permalink)
    0
    Hi,
    There won't be any fix for the venerable MPLAB version ;=)
    Regards
    #9
    ric
    Super Member
    • Total Posts : 22101
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: offline
    Re: XC8 has disappeared from MPLAB...how to register Toolsuite? 2015/06/02 19:23:14 (permalink)
    +4 (4)
    chico
    I found a solution, which I'm posting for anyone else who encounters the same problem.
     
    Thanks to another user who posted this solution to a similar problem, I downloaded from the Microchip site:
      Register Plug in Batch file for MPLAB IDE ("Register Plugin.bat")
    (this forum won't let me post the actual link...search the site for it)
    ...

    I've just had to reinstall MPLAB8.92 and XC8 onto a new laptop (after mine died), and been through the same bother.
    That batch file simply contains:
    echo off
    REM Register Plugin.Bat
    REM Environment PATH must be set to the System dir for locating regsvr32
    REM MUST be executed from the plugin folder
    echo on
    regsvr32 /s MPLABXC8.dll
    regsvr32 /s HTSOFT.dll


    However, to work, it MUST be in the folder containing the DLL file, which in my case was:
    C:\Program Files (x86)\Microchip\xc8\v1.34\bin

    and it MUST be run as an admin.
     
    I ended up not using the batch file, but running regsvr32 from the command line as follows.
    Run cmd.exe as admin, by clicking START, typing in "cmd", right-clicking cmd.exe when it appeared, and selecting "Run as administrator". 
    I then typed these lines
    cd  "C:\Program Files (x86)\Microchip\xc8\v1.34\bin"

    regsvr32 mplabxc8.dll

    That way you get to see the window saying it worked (or didn't). The batch file suppresses the confirmation.
     
     
    post edited by ric - 2015/06/02 19:26:55

    I also post at: PicForum
    Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
    NEW USERS: Posting images, links and code - workaround for restrictions.
    To get a useful answer, always state which PIC you are using!
    #10
    drh
    30+ years
    • Total Posts : 1052
    • Reward points : 0
    • Joined: 2004/07/12 11:43:22
    • Location: Hemet, Calif. USA
    • Status: offline
    Re: XC8 has disappeared from MPLAB...how to register Toolsuite? 2015/06/03 07:09:52 (permalink)
    0
    I had the same problem, trying to get XC8 V1.34 to show up in MPLAB V8.92 (XP sp3). I downloaded and installed XC8 V1.33
    and that showed up on the list. I don't remember which document it was, probably the release file, but while still I had V1.34 installed, there was a comment about V1.34 being deprecated on MPLAB. Chock up another one for Microchip marketing.
     
    post edited by drh - 2015/06/03 07:11:23

    David
    #11
    mlp
    boots too small
    • Total Posts : 614
    • Reward points : 0
    • Joined: 2012/09/10 15:12:07
    • Location: previously Microchip XC8 team
    • Status: offline
    Re: XC8 has disappeared from MPLAB...how to register Toolsuite? 2015/06/08 15:28:06 (permalink)
    +2 (2)
    drh
    Chock up another one ...

    You misspelled "Chalk".
     

    Mark (this opinion available for hire)
    #12
    dan1138
    Super Member
    • Total Posts : 2868
    • Reward points : 0
    • Joined: 2007/02/21 23:04:16
    • Location: 0
    • Status: offline
    Re: XC8 has disappeared from MPLAB...how to register Toolsuite? 2015/06/08 15:56:53 (permalink)
    +1 (1)
    mark.pappin
    drh
    Chock up another one ...

    You misspelled "Chalk".

    Well it depends on the situation.
    You can chalk one up when playing darts or chock one up to keep the truck from rolling over your head. :)
    post edited by dan1138 - 2015/06/08 16:18:42
    #13
    drh
    30+ years
    • Total Posts : 1052
    • Reward points : 0
    • Joined: 2004/07/12 11:43:22
    • Location: Hemet, Calif. USA
    • Status: offline
    Re: XC8 has disappeared from MPLAB...how to register Toolsuite? 2015/06/09 06:49:24 (permalink)
    +1 (1)
    It did get your attention.
    post edited by drh - 2015/06/09 06:56:30

    David
    #14
    mlp
    boots too small
    • Total Posts : 614
    • Reward points : 0
    • Joined: 2012/09/10 15:12:07
    • Location: previously Microchip XC8 team
    • Status: offline
    Re: XC8 has disappeared from MPLAB...how to register Toolsuite? 2015/06/09 15:41:29 (permalink)
    +1 (1)
    drh
    It did get your attention.

    Only the attention of my English-language-pedant hat.
    And regardless of my hat, I'm not Microchip Marketing.
     

    Mark (this opinion available for hire)
    #15
    NKurzman
    A Guy on the Net
    • Total Posts : 16567
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: online
    Re: XC8 has disappeared from MPLAB...how to register Toolsuite? 2015/06/09 17:13:24 (permalink)
    +2 (2)
    Never use a Chalk Chock.
    #16
    drh
    30+ years
    • Total Posts : 1052
    • Reward points : 0
    • Joined: 2004/07/12 11:43:22
    • Location: Hemet, Calif. USA
    • Status: offline
    Re: XC8 has disappeared from MPLAB...how to register Toolsuite? 2015/06/10 06:51:26 (permalink)
    +2 (2)
    Just to get technical, and this is a technical forum (still?), the word chock is spelled correctly. I should have used chalk in my comment.

    David
    #17
    qlb1234
    New Member
    • Total Posts : 17
    • Reward points : 0
    • Joined: 2009/07/16 20:46:30
    • Location: 0
    • Status: offline
    Re: XC8 has disappeared from MPLAB...how to register Toolsuite? 2015/06/16 23:45:17 (permalink)
    0
    ric
    chico

    cd  "C:\Program Files (x86)\Microchip\xc8\v1.34\bin"
    regsvr32 mplabxc8.dll

    That way you get to see the window saying it worked (or didn't). The batch file suppresses the confirmation.


    Thank you. This is exactly the solution.
    And this is the register keys missing for what it's worth.
     
    32-bit

     
    Windows Registry Editor Version 5.00
     
    [HKEY_CLASSES_ROOT\CLSID\{38171385-97B2-4ec5-BF2C-C2C027BA5B04}]
    @="CoHTPlug Class"
    "AppID"="{778FCE02-1740-4E56-BF3D-6223DCC84771}"
     
    [HKEY_CLASSES_ROOT\CLSID\{38171385-97B2-4ec5-BF2C-C2C027BA5B04}\Control]
     
    [HKEY_CLASSES_ROOT\CLSID\{38171385-97B2-4ec5-BF2C-C2C027BA5B04}\Implemented Categories]
     
    [HKEY_CLASSES_ROOT\CLSID\{38171385-97B2-4ec5-BF2C-C2C027BA5B04}\Implemented Categories\{23DD0110-9C76-48A6-A990-74BF0B3AD5D1}]
     
    [HKEY_CLASSES_ROOT\CLSID\{38171385-97B2-4ec5-BF2C-C2C027BA5B04}\Implemented Categories\{2AFF9029-EAF2-4F2D-8A4A-8515D03BDF13}]
     
    [HKEY_CLASSES_ROOT\CLSID\{38171385-97B2-4ec5-BF2C-C2C027BA5B04}\InprocServer32]
    @="C:\\Program Files\\Microchip\\xc8\\v1.34\\bin\\MPLABXC8.dll"
    "ThreadingModel"="Apartment"
     
    [HKEY_CLASSES_ROOT\CLSID\{38171385-97B2-4ec5-BF2C-C2C027BA5B04}\MiscStatus]
    @="0"
     
    [HKEY_CLASSES_ROOT\CLSID\{38171385-97B2-4ec5-BF2C-C2C027BA5B04}\MiscStatus\1]
    @="131473"
     
    [HKEY_CLASSES_ROOT\CLSID\{38171385-97B2-4ec5-BF2C-C2C027BA5B04}\ProgID]
    @="Microchip.CoHTPlug.1.44"
     
    [HKEY_CLASSES_ROOT\CLSID\{38171385-97B2-4ec5-BF2C-C2C027BA5B04}\ToolboxBitmap32]
    @="C:\\Program Files\\Microchip\\xc8\\v1.34\\bin\\MPLABXC8.dll, 102"
     
    [HKEY_CLASSES_ROOT\CLSID\{38171385-97B2-4ec5-BF2C-C2C027BA5B04}\TypeLib]
    @="{612C6FB0-AF48-477C-9126-CA60C8314C76}"
     
    [HKEY_CLASSES_ROOT\CLSID\{38171385-97B2-4ec5-BF2C-C2C027BA5B04}\Version]
    @="1.44"
     
    [HKEY_CLASSES_ROOT\CLSID\{38171385-97B2-4ec5-BF2C-C2C027BA5B04}\VersionIndependentProgID]
    @="Microchip.CoHTPlug"
     
     

     
    64-bit

     
    Windows Registry Editor Version 5.00
     
    [HKEY_CLASSES_ROOT\CLSID\{38171385-97B2-4ec5-BF2C-C2C027BA5B04}]
    @="CoHTPlug Class"
    "AppID"="{778FCE02-1740-4E56-BF3D-6223DCC84771}"
     
    [HKEY_CLASSES_ROOT\CLSID\{38171385-97B2-4ec5-BF2C-C2C027BA5B04}\Control]
     
    [HKEY_CLASSES_ROOT\CLSID\{38171385-97B2-4ec5-BF2C-C2C027BA5B04}\Implemented Categories]
     
    [HKEY_CLASSES_ROOT\CLSID\{38171385-97B2-4ec5-BF2C-C2C027BA5B04}\Implemented Categories\{23DD0110-9C76-48A6-A990-74BF0B3AD5D1}]
     
    [HKEY_CLASSES_ROOT\CLSID\{38171385-97B2-4ec5-BF2C-C2C027BA5B04}\Implemented Categories\{2AFF9029-EAF2-4F2D-8A4A-8515D03BDF13}]
     
    [HKEY_CLASSES_ROOT\CLSID\{38171385-97B2-4ec5-BF2C-C2C027BA5B04}\InprocServer32]
    @="C:\Program Files (x86)\\Microchip\\xc8\\v1.34\\bin\\MPLABXC8.dll"
    "ThreadingModel"="Apartment"
     
    [HKEY_CLASSES_ROOT\CLSID\{38171385-97B2-4ec5-BF2C-C2C027BA5B04}\MiscStatus]
    @="0"
     
    [HKEY_CLASSES_ROOT\CLSID\{38171385-97B2-4ec5-BF2C-C2C027BA5B04}\MiscStatus\1]
    @="131473"
     
    [HKEY_CLASSES_ROOT\CLSID\{38171385-97B2-4ec5-BF2C-C2C027BA5B04}\ProgID]
    @="Microchip.CoHTPlug.1.44"
     
    [HKEY_CLASSES_ROOT\CLSID\{38171385-97B2-4ec5-BF2C-C2C027BA5B04}\ToolboxBitmap32]
    @="C:\Program Files (x86)\\Microchip\\xc8\\v1.34\\bin\\MPLABXC8.dll, 102"
     
    [HKEY_CLASSES_ROOT\CLSID\{38171385-97B2-4ec5-BF2C-C2C027BA5B04}\TypeLib]
    @="{612C6FB0-AF48-477C-9126-CA60C8314C76}"
     
    [HKEY_CLASSES_ROOT\CLSID\{38171385-97B2-4ec5-BF2C-C2C027BA5B04}\Version]
    @="1.44"
     
    [HKEY_CLASSES_ROOT\CLSID\{38171385-97B2-4ec5-BF2C-C2C027BA5B04}\VersionIndependentProgID]
    @="Microchip.CoHTPlug"
     
     

    post edited by qlb1234 - 2015/06/16 23:46:51
    #18
    Ian.M
    Super Member
    • Total Posts : 13114
    • Reward points : 0
    • Joined: 2009/07/23 07:02:40
    • Location: UK
    • Status: offline
    Re: XC8 has disappeared from MPLAB...how to register Toolsuite? 2016/11/09 07:07:47 (permalink)
    +2 (2)
    For the record, now the MPLAB 8 page has vanished, the original register plugin batch file3 can be found at http://ww1.microchip.com/downloads/en/DeviceDoc/Register%20Plugins.zip
    However the manual method documented by Ric in post#10 above is preferable.

    --
    NEW USERS: Posting images, links and code - workaround for restrictions.
    I also support http://picforum.ric323.com because this forum is sometimes too broken to use!
    #19
    Jump to:
    © 2018 APG vNext Commercial Version 4.5