Hot!Can I install 2.06 but still keep using 2.04?

Author
user2x
Super Member
  • Total Posts : 211
  • Reward points : 0
  • Joined: 2011/02/10 20:43:36
  • Location: 0
  • Status: offline
2018/07/23 18:36:42 (permalink)
0

Can I install 2.06 but still keep using 2.04?

I am having trouble.
 
I do not understand the Harmony application correctly and I am worried about making a mistake.
 
On my IDE / system, I have 2.04 installed. 
Looks like the project I have uses files from there although I am lead to believe the project is supposed to use 2.01.
I do not understand how that happened or how it just upgraded itself.
 
When I run the Harmony configurator tool, I  get an error stating the project is not a harmony type project.
Again, no idea why that is happening or what to do about it.
 
If I check the system_config.h file, it shows 2.04 as version.
 
Due to some complex exceptions and problems happning in the tcpip stack and thereabouts, I want to compare the harmony source code in the tcp and heap stuff with the later 2.06.
 
But at this stage, I do not want to just automatically use 2.06.
 
How can I proceed?
Can I just install 2.06 or will that then force everything to use it?
 
Regards
X
 
#1

14 Replies Related Threads

    homisinho
    New Member
    • Total Posts : 3
    • Reward points : 0
    • Joined: 2016/05/16 04:08:56
    • Location: 0
    • Status: offline
    Re: Can I install 2.06 but still keep using 2.04? 2018/07/23 19:00:15 (permalink)
    0
    I  get an error stating the project is not a harmony type project.
     
    This message usually appears when you are not with the correct file tree
    harmony.version.app.name.firmware
     
    #2
    user2x
    Super Member
    • Total Posts : 211
    • Reward points : 0
    • Joined: 2011/02/10 20:43:36
    • Location: 0
    • Status: offline
    Re: Can I install 2.06 but still keep using 2.04? 2018/07/23 19:50:32 (permalink)
    0
    homisinho
    I  get an error stating the project is not a harmony type project.
     
    This message usually appears when you are not with the correct file tree
    harmony.version.app.name.firmware
     




     
    I can't follow. Are you saying that my project should be located inside the /harmony/2.04/apps/   directory?
    #3
    NKurzman
    A Guy on the Net
    • Total Posts : 17007
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: offline
    Re: Can I install 2.06 but still keep using 2.04? 2018/07/23 23:00:47 (permalink)
    0
    Only one version of MHC can be installed in a single version of MPLabX. And it must be the same version of Harmony.
    Many versions on harmony can be installed on a single computer. But is you want to use more than one version of MHC, then you will need to install more than one version of mplabx.
    #4
    user2x
    Super Member
    • Total Posts : 211
    • Reward points : 0
    • Joined: 2011/02/10 20:43:36
    • Location: 0
    • Status: offline
    Re: Can I install 2.06 but still keep using 2.04? 2018/07/23 23:28:26 (permalink)
    0
    Thanks, i still can't follow.
    If I install 2.06, will that then link itself into my MPlabX or is that a separate process?
    An even then, will it override the 2.04 implementation that is part of the project I am working on?
     
    Is the harmony version linked on a project by project base or IDE to IDE basis?
    The latter seems crazy!
     
     
    #5
    rjc101
    Super Member
    • Total Posts : 87
    • Reward points : 0
    • Joined: 2016/07/08 14:56:34
    • Location: 0
    • Status: offline
    Re: Can I install 2.06 but still keep using 2.04? 2018/07/24 00:41:35 (permalink)
    0
    You can physically install multiple copies of Harmony on your machine, I do this and use Beyond Compare to see what has changed before I look to switch any active code over to it.  The install goes into a different directory.
     
    To actually use Harmony in a project you need to install the Microchip Harmony Configurator (MHC) plugin for the version of Harmony you are using.  So to go from 2.04 to 2.06 un-install the current plugin, and re-install using the one in (harmony install directory)/utilities/mhc  likewise to go back you need to reverse this.  You cannot have multiple MHC plugins installed within MPLAB X.
     
    Then, in the project tell it which harmony version you are using, I think when you change MHC it will prompt anyway(?).  It just points to the root of the Harmony directory install.
    #6
    NKurzman
    A Guy on the Net
    • Total Posts : 17007
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: offline
    Re: Can I install 2.06 but still keep using 2.04? 2018/07/24 05:49:22 (permalink)
    0
    Installing MHC in MPLabX is a seperate step.
    #7
    FMKev14
    New Member
    • Total Posts : 7
    • Reward points : 0
    • Joined: 2017/12/07 13:11:51
    • Location: 0
    • Status: offline
    Re: Can I install 2.06 but still keep using 2.04? 2018/07/24 08:33:36 (permalink)
    4 (1)
    You can have various versions of Harmony installed on your PC, and you can choose which version of Harmony you want with each project.  I have 4 different Harmony versions installed, and run different projects on each.
     
    This is the key of how this works:
    Harmony is defaulted to install at:   c:\microchip\harmony\vXXXX      (where XXX is the harmony version)
    I have multiple directories under my \harmony directory   (harmony\v2_03b    harmony\v2_04     harmony\v2_06)
     
    So to make your project work with a specific version of Harmony - you need to put your project in the correct folder.
    My project that I want to use v2.04 on - I place the project in c:\microchip\harmony\v2_04\apps\
    A different project (or the same project) that I want to build with Harmony v2.06 - I then place in the path:  c:\microchip\harmony\v2_06\apps\
     
    Where your project is located - you then open MPLAB X - and open the correct project (in the correct path) and when you open MPLAB Harmony Configurator - it loads the version of Harmony that is in the path of the project.
     
    Hope that helps and made sense.  it's basically about getting the paths to the correct folder
     
    #8
    user2x
    Super Member
    • Total Posts : 211
    • Reward points : 0
    • Joined: 2011/02/10 20:43:36
    • Location: 0
    • Status: offline
    Re: Can I install 2.06 but still keep using 2.04? 2018/07/24 15:44:28 (permalink)
    0
    Thanks.
     
    I am just trying to see if I can get the whole thing goind as a start.
    So I have 2.04 installed and in MPlabX 4.15 I have Harmony configurator 2.0.5.2 installed.
    I have moved my project into \C:\microchip\harmony\v2_04\apps\panel.
     
    When I try and run the configurator, I get 
    Unable to determine the location of the framework from which.....
    So I select C:\microchip\harmony\v2_04.
    Then if tell me:
    The project is not a valid MPLAB Harmony directory hirarchy...
     
    I read the document but I am non the wiser.
    post edited by user2x - 2018/07/24 15:45:48

    Attached Image(s)

    #9
    RISC
    Super Member
    • Total Posts : 5375
    • Reward points : 0
    • Status: offline
    Re: Can I install 2.06 but still keep using 2.04? 2018/07/24 16:16:05 (permalink)
    0
    Hi,
     
    I suggest you use the developerhelp website to get started :
    http://www.microchipdeveloper.com
    There are tutorials and howtos on many subjects, in particular Harmony
     
    Regards
     
    #10
    NKurzman
    A Guy on the Net
    • Total Posts : 17007
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: offline
    Re: Can I install 2.06 but still keep using 2.04? 2018/07/24 16:57:05 (permalink)
    0
    "Harmony configurator 2.0.5.2 installed" That will only work with Harmony 2.05.
    You MUST Install Harmony configurator 2.04.XX for Harmony 2.04 It is in the Harmony install folder.
    You Can NOT Mix them. 
    #11
    user2x
    Super Member
    • Total Posts : 211
    • Reward points : 0
    • Joined: 2011/02/10 20:43:36
    • Location: 0
    • Status: offline
    Re: Can I install 2.06 but still keep using 2.04? 2018/07/24 17:34:32 (permalink)
    0
    NKurzman
    "Harmony configurator 2.0.5.2 installed" That will only work with Harmony 2.05.
    You MUST Install Harmony configurator 2.04.XX for Harmony 2.04 It is in the Harmony install folder.
    You Can NOT Mix them. 


    One would think but it states
    AB® Harmony Configurator. For use with MPLAB Harmony Framework version 2.02+ only.
     
    I did get that working sort of. I had to rename a directory from Control to firmware.
    Not sure why that was renamed to start with.
     
    post edited by user2x - 2018/07/29 21:15:54
    #12
    nigelwright7557
    Super Member
    • Total Posts : 181
    • Reward points : 0
    • Joined: 2006/11/06 08:15:51
    • Location: 0
    • Status: offline
    Re: Can I install 2.06 but still keep using 2.04? 2019/02/18 14:50:50 (permalink)
    0
    NKurzman
    Harmony.

    I made the mistake of installing 2.06 after a major windows reinstall.
    My previously working PIC32MZ USB started having problems.
    I went back to 2.04 and the problems went away.
    Sometimes newer isn't always better !
     
    post edited by nigelwright7557 - 2019/02/18 14:51:59
    #13
    NKurzman
    A Guy on the Net
    • Total Posts : 17007
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: offline
    Re: Can I install 2.06 but still keep using 2.04? 2019/02/18 19:40:58 (permalink)
    0
    You can leave both installed on the same PC.
    The version of MHC must be changed to match the version of Harmony you are using.
    #14
    qhb
    Superb Member
    • Total Posts : 9230
    • Reward points : 0
    • Joined: 2016/06/05 14:55:32
    • Location: One step ahead...
    • Status: offline
    Re: Can I install 2.06 but still keep using 2.04? 2019/02/18 21:29:44 (permalink)
    0
    Much easier if you maintain separate installs of MPLABX, and use one version of Harmony/MHC on each.
     
    #15
    Jump to:
    © 2019 APG vNext Commercial Version 4.5