• AVR Freaks

Hot!Unable to include the bootloader component

Author
Maldus
Starting Member
  • Total Posts : 60
  • Reward points : 0
  • Joined: 2016/08/17 09:55:57
  • Location: 0
  • Status: offline
2019/08/26 23:21:29 (permalink)
0

Unable to include the bootloader component

Hello everyone,
Yet again, I am here looking for assistance in using Microchip's faulty tools. This time I was trying to test the bootloader functionality offered by Harmony; unfortunately I am unable to even add the component to the configuration: trying to do so results in the following error being printed out:
 

 
<Configuration Database>[Error]: Failed to activate component: bootloader
<Log>[Error]: Exception cause: Traceback (most recent call last):
  File "C:\Users\Maldus\HarmonyFramework\bootloader\config/bootloader.py", line 208, in instantiateComponent
    setupCoreComponentSymbols()
  File "C:\Users\Maldus\HarmonyFramework\bootloader\config/bootloader.py", line 184, in setupCoreComponentSymbols
    coreComponent.getSymbolByID("systickEnable").setValue(True)
    at com.microchip.h3.database.scriptinterface.component.ComponentRemoteSymbolInterface.getSymbolByID(ComponentRemoteSymbolInterface.java:22)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:498)


java.lang.NullPointerException: java.lang.NullPointerException
<Log>[Error]: Stack trace:
<Log>[Error]: org.python.core.Py.JavaError(Py.java:546)
<Log>[Error]: org.python.core.Py.JavaError(Py.java:537)
<Log>[Error]: org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:188)
<Log>[Error]: org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:204)
<Log>[Error]: org.python.core.PyObject.__call__(PyObject.java:478)
<Log>[Error]: org.python.core.PyObject.__call__(PyObject.java:482)
<Log>[Error]: org.python.core.PyMethod.__call__(PyMethod.java:141)
<Log>[Error]: org.python.pycode._pyx77.setupCoreComponentSymbols$13(C:\Users\Maldus\HarmonyFramework\bootloader\config/bootloader.py:190)
<Log>[Error]: org.python.pycode._pyx77.call_function(C:\Users\Maldus\HarmonyFramework\bootloader\config/bootloader.py)
<Log>[Error]: org.python.core.PyTableCode.call(PyTableCode.java:167)
<Log>[Error]: org.python.core.PyBaseCode.call(PyBaseCode.java:124)
<Log>[Error]: org.python.core.PyFunction.__call__(PyFunction.java:403)
<Log>[Error]: org.python.pycode._pyx77.instantiateComponent$14(C:\Users\Maldus\HarmonyFramework\bootloader\config/bootloader.py:350)
<Log>[Error]: org.python.pycode._pyx77.call_function(C:\Users\Maldus\HarmonyFramework\bootloader\config/bootloader.py)
<Log>[Error]: org.python.core.PyTableCode.call(PyTableCode.java:167)
<Log>[Error]: org.python.core.PyBaseCode.call(PyBaseCode.java:138)
<Log>[Error]: org.python.core.PyFunction.__call__(PyFunction.java:413)
<Log>[Error]: org.python.core.PyFunction.__call__(PyFunction.java:408)
<Log>[Error]: com.microchip.h3.database.component.FrameworkComponent.activate(FrameworkComponent.java:334)
<Log>[Error]: com.microchip.h3.database.ComponentManager.activateUniqueComponent(ComponentManager.java:687)
<Log>[Error]: com.microchip.h3.database.ComponentManager.activateComponent(ComponentManager.java:747)
<Log>[Error]: com.microchip.mh3.componentgraph.Graph.handleDragEnd(Graph.java:740)
<Log>[Error]: com.microchip.mh3.componentgraph.Graph.handleEvent(Graph.java:625)
<Log>[Error]: com.microchip.utils.event.EventBus.handleEvent(EventBus.java:257)
<Log>[Error]: com.microchip.utils.event.EventBus.broadcastToHandler(EventBus.java:241)
<Log>[Error]: com.microchip.utils.event.EventBus.broadcastEvents(EventBus.java:206)
<Log>[Error]: com.microchip.utils.event.EventBus.raiseEvent(EventBus.java:131)
<Log>[Error]: com.microchip.mh3.event.Events.raiseEvent(Events.java:76)
<Log>[Error]: com.microchip.mh3.ui.availabletree.AvailableTreeUI$1.mouseReleased(AvailableTreeUI.java:122)
<Log>[Error]: java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290)
<Log>[Error]: java.awt.Component.processMouseEvent(Component.java:6539)
<Log>[Error]: javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
<Log>[Error]: java.awt.Component.processEvent(Component.java:6304)
<Log>[Error]: java.awt.Container.processEvent(Container.java:2239)
<Log>[Error]: java.awt.Component.dispatchEventImpl(Component.java:4889)
<Log>[Error]: java.awt.Container.dispatchEventImpl(Container.java:2297)
<Log>[Error]: java.awt.Component.dispatchEvent(Component.java:4711)
<Log>[Error]: java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
<Log>[Error]: java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
<Log>[Error]: java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
<Log>[Error]: java.awt.Container.dispatchEventImpl(Container.java:2283)
<Log>[Error]: java.awt.Window.dispatchEventImpl(Window.java:2746)
<Log>[Error]: java.awt.Component.dispatchEvent(Component.java:4711)
<Log>[Error]: java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
<Log>[Error]: java.awt.EventQueue.access$500(EventQueue.java:97)
<Log>[Error]: java.awt.EventQueue$3.run(EventQueue.java:709)
<Log>[Error]: java.awt.EventQueue$3.run(EventQueue.java:703)
<Log>[Error]: java.security.AccessController.doPrivileged(Native Method)
<Log>[Error]: java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
<Log>[Error]: java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
<Log>[Error]: java.awt.EventQueue$4.run(EventQueue.java:733)
<Log>[Error]: java.awt.EventQueue$4.run(EventQueue.java:731)
<Log>[Error]: java.security.AccessController.doPrivileged(Native Method)
<Log>[Error]: java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
<Log>[Error]: java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
<Log>[Error]: org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
<Log>[Error]: java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
<Log>[Error]: java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
<Log>[Error]: java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
<Log>[Error]: java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
<Log>[Error]: java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
<Log>[Error]: java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
 

 
These lines gives me a slight sense of uneasiness in suggesting that there is some kind of aberrant Python-Java hybrid working in the back stage, but are otherwise unhelpful in pointing me to the solution.
 
I'm using MPLABX 5.15 Harmony Framework 3.3.0.1 on a newly created Harmony Project for PIC32MZ2064DAG169. No other components are present besides System and DFP.
 
Am I doing something wrong? Does the bootloader component of the Harmony Framework even work? Does the Harmony framework itself work?
#1
Maldus
Starting Member
  • Total Posts : 60
  • Reward points : 0
  • Joined: 2016/08/17 09:55:57
  • Location: 0
  • Status: offline
Re: Unable to include the bootloader component 2019/08/27 23:30:54 (permalink)
0
Update: uninstalling and reinstalling the whole framework didn't help. Still the same error. Maybe it's an outdated library and it doesn't work anymore?
#2
Maldus
Starting Member
  • Total Posts : 60
  • Reward points : 0
  • Joined: 2016/08/17 09:55:57
  • Location: 0
  • Status: offline
Re: Unable to include the bootloader component 2019/08/30 00:59:17 (permalink)
0
Apparently the PIC32MZ family (with some SAM MCUs that I tried as well) is not yet supported by the bootloader library. It would be nice to have an actual warning message instead of a cryptic Java/Python log.
#3
NKurzman
A Guy on the Net
  • Total Posts : 17708
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: offline
Re: Unable to include the bootloader component 2019/08/30 06:08:49 (permalink)
0
Harmony 3.XX is still in beta. It is not completed for pic32MZ parts.
SAMs were reported as done, but apparently not.
#4
bordlab
Starting Member
  • Total Posts : 56
  • Reward points : 0
  • Joined: 2018/01/29 06:45:53
  • Location: 0
  • Status: offline
Re: Unable to include the bootloader component 2019/09/11 09:18:57 (permalink)
0
It would be nice to have that in the read me or release notes as supported products.  Are there any road maps as when to expect this?
#5
ric
Super Member
  • Total Posts : 23535
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: offline
Re: Unable to include the bootloader component 2019/09/11 23:37:09 (permalink)
0
You'd do better to ask Microchip. We're just users like you.
 

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!
#6
Jump to:
© 2019 APG vNext Commercial Version 4.5