• AVR Freaks

Helpful ReplyHot!MHC MPLAB Harmony V3 offline install? [SOLVED with a bit of hacking]

Author
Howard Long
Super Member
  • Total Posts : 782
  • Reward points : 0
  • Joined: 2005/04/04 08:50:32
  • Status: offline
2019/10/30 05:25:05 (permalink)
0

MHC MPLAB Harmony V3 offline install? [SOLVED with a bit of hacking]

I am trying to install Harmony V3 MHC and integrate it into MPLAB X. I can get all of the various github repositories manually installed, but I can't find a .nbm file required to integrate MHC V3 into MPLAB X.
 
Has anyone had any luck. or suggestions, for this?
 
Edit: This is for two reasons: (a) the target environment is locked down, and (b) I need a way to create a canonical build to an exact version for long term maintenance.
post edited by Howard Long - 2019/11/02 03:23:19
#1
JPortici
Super Member
  • Total Posts : 894
  • Reward points : 0
  • Joined: 2012/11/17 06:27:45
  • Location: Grappaland
  • Status: offline
Re: MHC MPLAB Harmony V3 offline install? 2019/10/30 07:03:25 (permalink)
0
Hi Howard, i think the nbm in in the mhc repo? otherwise you'll have to download the plugin from X's plugin manager
 
in any case, you can download it witout the dreaded downloader in MPLAB X in two ways:
- framework-downloader.jar file in mhc repo and run it standalone.. but it will be discontinued.
- harmony-content-manager.jar (the new downloader, much better) in the mhc repo and run it, download the framework through there
#2
Howard Long
Super Member
  • Total Posts : 782
  • Reward points : 0
  • Joined: 2005/04/04 08:50:32
  • Status: offline
Re: MHC MPLAB Harmony V3 offline install? 2019/10/31 06:55:55 (permalink) ☄ Helpfulby EngSam 2020/01/23 06:21:00
0
The problem is that I can't get any of the Microchip Java based proxy configs to work, so I need a means of installing offline.
 
The .nbm doesn't seem to be available in any of the github repos as far as I could tell.
 
I managed to get the nbm by installing it on a separate machine and pinching it out of the temporary directory before it restarts MPLAB X. In Windows 10 this was C:\Users\<username>\AppData\Roaming\mplab_ide\dev\v5.25\update\com-microchip-mplab-modules-mh3.nbm and it's removed after MPLAB X is restarted.
 
You can then install this .nbm plug in on the locked down machine.
 
The next part of the process is to either copy a known working Harmony v3 directory hive from another machine, or, as I did on the locked machine I had, download all the repos as .zips in the github repo https://github.com/Microchip-MPLAB-Harmony/ from a browser, unzip them into a directory (in my case C:\Microchip\HarmonyV3) and remove the -master or other suffix appropriately.
#3
EngSam
New Member
  • Total Posts : 11
  • Reward points : 0
  • Joined: 2019/04/17 09:28:54
  • Location: 0
  • Status: offline
Re: MHC MPLAB Harmony V3 offline install? 2020/01/22 10:50:39 (permalink)
0
Hi , i am facing the same problem 
 
and have done the things you described exactly 
 
buit whats after that ?
 
I went into harmony 3 content manager and choose the path : harmonyV3 ( location of unzipped libs)
 
I got an exception 
 
and when i run the harmony code configurator i gt an error also 
 
maybe the path i provided is missing something ??
 
https://ibb.co/6RfYZpq
https://ibb.co/s6QzzW9
https://ibb.co/TYKqR38
 
 
#4
EngSam
New Member
  • Total Posts : 11
  • Reward points : 0
  • Joined: 2019/04/17 09:28:54
  • Location: 0
  • Status: offline
Re: MHC MPLAB Harmony V3 offline install? 2020/01/23 08:25:14 (permalink)
0
After moving the files to C:\Users\<username>\ ... and leaving everything in default , i managed to get a mhc to open but with the following exception :
 
https://ibb.co/hW8wdTz
 
dump text:
 
Path: C:\Users\alex\mhc
Launch Stage: Generating Configuration Database
System Information:
Processor Information:
ID: Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
Architecture: AMD64
Mode: null
Count: 4
Operating System Information:
Name: Windows 10
Version: 10.0
Architecture: amd64
Available processors (cores): 4
Free memory (bytes): 145879544
Maximum memory (bytes): 2081161216
Total memory available to JVM (bytes): 343646208
Exception Information:
java.lang.Exception: java.lang.NullPointerException
Stack Trace:
java.lang.Exception: java.lang.NullPointerException
at com.microchip.mh3.mplx_launcher.core.CoreIDE.parseDatabase(CoreIDE.java:1298)
at com.microchip.mh3.mplx_launcher.core.CoreIDE$23.run(CoreIDE.java:671)
at com.microchip.utils.task.TaskManager.update(TaskManager.java:117)
at com.microchip.utils.task.TaskManager.access$000(TaskManager.java:9)
at com.microchip.utils.task.TaskManager$1.run(TaskManager.java:198)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at java.awt.Component.show(Component.java:1671)
at java.awt.Component.setVisible(Component.java:1623)
at java.awt.Window.setVisible(Window.java:1014)
at java.awt.Dialog.setVisible(Dialog.java:1005)
at com.microchip.mh3.mplx_launcher.core.CoreIDE.startup(CoreIDE.java:693)
at com.microchip.mh3.mplx_launcher.Launcher.launch(Launcher.java:46)
at com.microchip.mplab.modules.mh3.MHCLauncher.Launch(MHCLauncher.java:217)
at com.microchip.mplab.modules.mh3.MHCLauncher.PreLaunch(MHCLauncher.java:128)
at com.microchip.mplab.modules.mh3.MHCAutoLauncher$1$1.run(MHCAutoLauncher.java:62)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.NullPointerException
at com.microchip.mh3.startupdialog.StartupDialog.generatePackageList(StartupDialog.java:315)
at com.microchip.mh3.startupdialog.StartupDialog.init(StartupDialog.java:189)
at com.microchip.mh3.startupdialog.StartupDialog.<init>(StartupDialog.java:172)
at com.microchip.mh3.mplx_launcher.core.CoreIDE.parseDatabase(CoreIDE.java:1264)
... 46 more
 
 
#5
EngSam
New Member
  • Total Posts : 11
  • Reward points : 0
  • Joined: 2019/04/17 09:28:54
  • Location: 0
  • Status: offline
Re: MHC MPLAB Harmony V3 offline install? 2020/01/23 08:32:16 (permalink)
0
I also tried to run an offline install on an another machine , then after finisheing i connected to internet and run harmony content manager which connected properly but didnot recognize the manually placed libraries ( mhc , csp , dev_packs ) 
 
the log files look like the attached image 
https://ibb.co/Xk2hCnZ
https://ibb.co/3NS5xCp
 
#6
Jump to:
© 2020 APG vNext Commercial Version 4.5