Description
Description
No peripherals displayed in Peripherals view while debugging an NXP LPC4350 (multicore: M4 and M0) even though the LPC4300 Series Device pack is installed and associated with the project.
Steps to Reproduce
- Make sure LPC4300 Series Device pack is installed (v2.7.0 used).
- Make sure LPC4350 Device is associated with the M4 code project (Project Properties->C/C++ Build->Settings).
- Launch M4 debug session and verify it successfully connects to target and stops at main().
- Select Peripherals view.
Expected behavior:
List of peripherals are displayed, or a way to select/expand peripherals in the view.
Actual behavior:
The Console view displays Parsing SVD file "/Users/kd/Documents/GNUARMEclipse/Packages/Keil/LPC4300_DFP/2.7.0"...
but often Failed to get the peripheral descriptions
displays briefly in red at the bottom status line of the Console view.
The .log file shows:
!ENTRY ilg.gnuarmeclipse.debug.gdbjtag.pyocd 4 1 2016-12-30 11:53:43.592 !MESSAGE Internal Error !STACK 0 java.io.FileNotFoundException: /Users/kd/Documents/GNUARMEclipse/Packages/Keil/LPC4300_DFP/2.7.0 (Is a directory) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) at java.io.FileInputStream.<init>(FileInputStream.java:138) at ilg.gnuarmeclipse.core.Xml.parseFile(Xml.java:39) at ilg.gnuarmeclipse.debug.gdbjtag.datamodel.SvdUtils.getTree(SvdUtils.java:201) at ilg.gnuarmeclipse.debug.gdbjtag.services.PeripheralsService.getPeripherals(PeripheralsService.java:170) at ilg.gnuarmeclipse.debug.gdbjtag.viewmodel.peripherals.PeripheralsVMNode.updateElementsInSessionThread(PeripheralsVMNode.java:258) at org.eclipse.cdt.dsf.ui.viewmodel.datamodel.AbstractDMVMNode$3.run(AbstractDMVMNode.java:239) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
Versions
- GNUARMEclipse "Update Test" plugins 20161103
- Neon.2 (4.6.2.M20161124-1400)
- jdk1.8.0_112
- OSX 10.11.6
- Sourcery G++ Lite 2011.03-42 (4.5.2)
- JLink Ultra+