• AVR Freaks

Helpful ReplyHot!I'm new to Harmony, should I start with Harmony 3 or Harmony 2?

Author
m4l490n
Senior Member
  • Total Posts : 121
  • Reward points : 0
  • Joined: 2010/06/15 22:21:39
  • Location: 0
  • Status: offline
2019/08/01 18:06:21 (permalink)
0

I'm new to Harmony, should I start with Harmony 3 or Harmony 2?

I'm about to migrate a project from PLIB to harmony. I was reading about harmony 2 and started to get acquainted with it when I found some other documentation about harmony 3. All I can say right now is that they both seem very different, kind of the same idea but different.
 
I'm wondering what should I do. I don't want to invest all my time to learn all I can about harmony 2 to later discover that it will be phased out in favor of 3. There are a lot of very lengthy PDFs about harmony 2 and I started to go through all of them. I'm about to study the drivers and all about the "static" and "dynamic" implementation. But I don't know if this will also apply to harmony 3 because the documentation is very scarce and not very good. Anyways I don't know what to do.
 
Any suggestions?
#1
ric
Super Member
  • Total Posts : 23833
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: online
Re: I'm new to Harmony, should I start with Harmony 3 or Harmony 2? 2019/08/01 18:30:54 (permalink)
5 (1)
m4l490n
...
 I don't want to invest all my time to learn all I can about harmony 2 to later discover that it will be phased out in favor of 3.

That is exactly what is going to happen.
There is only one more minor release of Harmony planned, then it will become "abandonware".
You can still use it, and it will be available for years, but all future development will be on 3, not 2.
That's unfortunate for you if you want a feature that is currently in 2 but hasn't been ported to 3 yet...
 

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!
#2
NKurzman
A Guy on the Net
  • Total Posts : 17835
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: online
Re: I'm new to Harmony, should I start with Harmony 3 or Harmony 2? 2019/08/01 18:59:32 (permalink)
0
Migrate? That would indicate you’re probably using an older MX chip. Your PIC may not be supported in V3.XX yet. Check to be sure. And some of the libraries may be missing in 3.
#3
m4l490n
Senior Member
  • Total Posts : 121
  • Reward points : 0
  • Joined: 2010/06/15 22:21:39
  • Location: 0
  • Status: offline
Re: I'm new to Harmony, should I start with Harmony 3 or Harmony 2? 2019/08/01 19:18:15 (permalink)
0
NKurzman
Migrate? That would indicate you’re probably using an older MX chip. Your PIC may not be supported in V3.XX yet.



I'm using the PIC32MX795F512L and I just created a project in MPLAB using MHC 3 for that PIC so I guess it's supported. If it's fully supported or if MHC 3 is production-ready is something I'm totally ignorant about.
 
The only thing I know is that I'm about to embark on an adventure that will end up in massive pain in the rear whether I chose to start learning about MHC 3 and it is not complete or if I start learning about MHC 2 create my project and later be left in the darkness because nobody would care any more about MHC 2.
#4
m4l490n
Senior Member
  • Total Posts : 121
  • Reward points : 0
  • Joined: 2010/06/15 22:21:39
  • Location: 0
  • Status: offline
Re: I'm new to Harmony, should I start with Harmony 3 or Harmony 2? 2019/08/01 19:21:21 (permalink)
0
ric
That is exactly what is going to happen.
There is only one more minor release of Harmony planned, then it will become "abandonware".
You can still use it, and it will be available for years, but all future development will be on 3, not 2.
That's unfortunate for you if you want a feature that is currently in 2 but hasn't been ported to 3 yet...

 
Well, that sucks, I will have to start my project using MHC 2 and then in the near future migrate it, again, to MHC 3 pink: pink
#5
DominusT
Super Member
  • Total Posts : 1325
  • Reward points : 0
  • Joined: 2005/07/22 08:31:18
  • Status: offline
Re: I'm new to Harmony, should I start with Harmony 3 or Harmony 2? 2019/08/02 12:34:05 (permalink)
0
A good question would be:

How easy is it to migrate to H3 from H2?
 
I have heard that H3 is not a continuation of H2, it is something completely new.
 
#6
Jerry Messina
Super Member
  • Total Posts : 437
  • Reward points : 0
  • Joined: 2003/11/07 12:35:12
  • Status: offline
Re: I'm new to Harmony, should I start with Harmony 3 or Harmony 2? 2019/08/02 16:13:50 (permalink)
5 (1)
...but all future development will be on 3

Right. At least until harmony 4, harmony 5, etc.
I hear future plans include abandoning harmony in favor of a new method... PLIB!
 
#7
muellernick
Super Member
  • Total Posts : 474
  • Reward points : 0
  • Joined: 2015/01/06 23:58:23
  • Location: Germany
  • Status: offline
Re: I'm new to Harmony, should I start with Harmony 3 or Harmony 2? 2019/08/05 02:34:03 (permalink)
0
Microchip drove us into a peculiar situation.
They quit supporting V2 and V3 isn't finished. When will V3 be finished? Who knows? Maybe in 2 years? Or maybe V4 is the way to go?
 
Look. I'm stuck at V1.09. If I would migrate to V2, I would invest in a already dead horse. And if I would migrate to V3 now, I invest in a pony that can't jump right now and there is no crystal ball that tells me when said pony will be able to jump. So for me: No, sorry, thanks!
 
For you: If you look at the docs of H3 and see "alpha" or "beta", consider that feature as non-working, except you see clear evidence here in the forum that it works for your processor and your configuration (static, dynamic, DMA, ...).
 
"Well boss, I just wanted to use that latest and greatest version of Harmony. And sure, it is not my fault that it doesn't work. So why do I have to look for a new job right now?"
 
Nick
#8
BillP
Super Member
  • Total Posts : 332
  • Reward points : 0
  • Joined: 2014/09/28 07:53:35
  • Location: CA
  • Status: offline
Re: I'm new to Harmony, should I start with Harmony 3 or Harmony 2? 2019/08/05 08:57:42 (permalink) ☄ Helpfulby m4l490n 2019/08/08 16:33:14
0
The decision to start with Hv3 depends on the requirements of your upcoming project.  If you will be using components that already work in Hv2, Hv3 should be OK.  If you are using new components or re-written components, then expect some bumps in the road.  

Much of the visible differences between Hv2 and Hv3 are cosmetic.  For example, Hv2 has a framework directory, Hv3 has component directories.  In Hv3 there is a firmware/src/config directory with all the MHC3 code.  The generated code is all there, you just have to find it.  The superloop in main() is the same.  The Hv2 system_config.h is configuration.h in Hv3, etc.

I am going through all my book examples and they do work in Hv3, except for the dual COM port and https functions.  I am sure those will be fixed soon, as they both work in Hv2.

Again, check your system requirements before making a decision.
#9
LostInSpace
Super Member
  • Total Posts : 265
  • Reward points : 0
  • Joined: 2016/03/11 22:47:59
  • Location: 0
  • Status: offline
Re: I'm new to Harmony, should I start with Harmony 3 or Harmony 2? 2019/08/07 16:22:04 (permalink) ☄ Helpfulby m4l490n 2019/08/08 16:33:06
0
A good question would be:
How easy is it to migrate to H3 from H2?
 
I make real time systems and hence use only the static drivers since the stuff I do has to be deterministic. I started with 1.4x and now am on 2.05/6 and I really had very, very few issues making that jump because the static 'PLIB_' functions didn't change at all. I expect the same when I eventually go to 3.x.
 
The different versions of Harmony and MPLAB-X can all coexist on the same PC at the same time.
#10
Jump to:
© 2019 APG vNext Commercial Version 4.5