chipKIT® Development Platform

Inspired by Arduino™

Verify and Upload hangs, even with Example sketches on Arduino Uno

Created Wed, 06 Jan 2016 23:07:52 +0000 by cyrm01


cyrm01

Wed, 06 Jan 2016 23:07:52 +0000

Hi, I have used MPIDE (0150) to successfully verify and upload sketches to a chipKit Uno32. However, when I try to do the same with an Arduino Uno, the program seems to hang and never completes. The computer doesn't lock up or anything, it just stops processing. I'm using Win XP. I have made sure that I've selected the board and port correctly.

The messages I get are:

java.lang.NullPointerException at processing.app.debug.Compiler.compileLink(Compiler.java:705) at processing.app.debug.Compiler.compile(Compiler.java:229) at processing.app.Sketch.build(Sketch.java:1588) at processing.app.Sketch.exportApplet(Sketch.java:1628) at processing.app.Sketch.exportApplet(Sketch.java:1597) at processing.app.Editor$DefaultExportHandler.run(Editor.java:2334) at java.lang.Thread.run(Thread.java:619)

Any help regarding what I'm missing will be appreciated. Thanks!


majenko

Thu, 07 Jan 2016 00:32:16 +0000

MPIDE doesn't work with the Arduino boards any more. It's old stuff from before the dawn of time.

If you want an IDE that does them all, then either UECIDE (link below) or use the Arduino IDE and install the chipKIT Core package (experimental) from github: http://chipkit.net/wiki/index.php?title=ChipKIT_core


cyrm01

Thu, 07 Jan 2016 23:38:56 +0000

Thanks, majenko! Worked like a charm!