ARM/Eclipse/Unable To Create View

First, James Lynch, THANK YOU!

I’ve run through the James Lynch V3 tutorial and I’m having a problem opening the Eclipse C/C++ Perspective window. I run through the instructions found on pg. 53 (everything looks normal) and Eclipse generates an error upon selecting Window>Open Perspective > Other > C/C++.

I looked to make sure both CDT files are installed correctly in my c:\eclipse directory. I verified Win OS environment PATH variable.

So, I’ve missed something. Any guidance is appreciated.

Thanks!

P.S.

Here’s a truncated Eclipse error listing:

java.lang.NullPointerException

at org.eclipse.cdt.ui.PreferenceConstants.getPreferenceStore(PreferenceConstants.java:382)

at org.eclipse.cdt.internal.ui.cview.CView.createContentProvider(CView.java:578)

at org.eclipse.cdt.internal.ui.cview.CView.initContentProvider(CView.java:433)

at org.eclipse.cdt.internal.ui.cview.CView.createPartControl(CView.java:528)

at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:305)

at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:180)

at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)

at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:283)

at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:512)

at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:126)

at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:269)

at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)

at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:391)

Hi. I’m in Florida on vacation but I’ll take a stab at this.

This looks like a mismatch of the Zylin CDT version and the Eclipse version. You need to match Eclipse 3.1 with the Zylin CDT components dated 08/10/2005 (for now at least).

I collected all the downloads (minus the cygwin stuff) into a single zip file and placed it on the www.megaupload.com web site. This collection represents versions of Eclipse, the Zylin plug-ins, JAVA, GNUARM, etc. that work together harmoniously. This is a 198 mb file and takes about a hour to download on a high-speed internet connection.

Included files:

ARM Cross Development with Eclipse Revision 4 Draft.doc (draft tutorial)

ARM Cross Development with Eclipse version 3.pdf (tutorial)

bu-2.16.1_gcc-4.0.2-c-c++_nl-1.14.0_gi-6.4.exe (GNUARM)

eclipse-SDK-3.1-win32.zip (Eclipse 3.1)

embeddedcdt-20050810.zip (Zylin CDT)

zylincdt-20050810/zip (Zylin CDT)

hwsupport-2.16.exe (OCDRemote)

jre-1_5_0_06-windows-i586-p.exe (JAVA)

openocd.zip (OpenOCD)

philips_flash_utility.zip (flash)

SourceCode.zip (sample code)

The link to this components download is:

http://www.megaupload.com/?d=CNY1Y6DX

If you want to try the OpenOCD JTAG debugger, there are instructions on its use in the draft tutorial above; just stick to this set of downloads and everything will work smoothly.

Make sure you have matched Eclipse Version 3.1 with Zylin CDT version 08/10/2005.

Give that a try.

Cheers,

Jim Lynch

Hi ! :slight_smile:

I’ve exactly same problem today with the last Yagarto chain :

http://www.yagarto.de/#download

I’ve downloaded the three packages and the last java machine. No pb during the installation.

I’ve followed the instructions of the great James Lynch tutorial (in the atmel tutorial source, using the link above : Revision 2, dated october 8, 2006). Eclipse generates always an error upon selecting Window>Open Perspective > Other > C/C++.

I’ll try to install the big package from megaload to see what happens. I’ll post my results later.

Does anyone have already seen this problem ? :?

Thanks :slight_smile:

David