Proposal: C/C++ with AVR Microcontroller Plugin AVRDUDE
For several years now I've noticed a lack of support in NetBeans IDE for the embedded systems world. I want to address this problem.
In Eclipse and Microsoft Visual Studio, there are plugins/alternative versions to allow developers to program C/C++ code for embedded devices. So far NetBeans IDE only supports the development of microchip microcontrollers (MCU) via the MPLAB X IDE, which is an extended version of NetBeans IDE.
However, most enthusiasts use Atmel MCU's and Arduino platforms (based on Atmel). Although there are workarounds available to use NetBeans IDE as an Atmel MCU IDE, it is still not an optimal solution.
See:
Developing for AVR with NetBeans
AVRFreaks AVR with NetBeans
Proposal
I propose to create a new plugin for NetBeans IDE that allows an
embedded engineer to compile and upload their code to an MCU by
utilizing AVRDUDE.
To create this functionality, we have to extend the existing C/C++ plugin with new features. After compiling a hex file, with the avr-gcc toolchain, the program AVRDUDE needs to be executed. The actual uploading of the compiled program is then handled by AVRDUDE, which is open source (see AVRDUDE).
To make the whole picture complete, the plugin also needs an AVR simulator to debug en test the written code. For this we could use http://www.nongnu.org/simulavr/. And, because embedded devices often use UART (RS232) to communicate with a computer, an RS232 implementation is also needed (see RXTX lib).
Summary
The proposed features are as follows:
- Uploading compiled program by calling AVRDUDE after compilation
- Configuring AVRDUDE for the selected MCU target (Settings)
- Code completion for Atmel AVR
- Integration of Arduino development plugin (Arduino Development using Netbeans)
- Integration of Arduino libraries / processing
- An AVR simulator to debug en test code
- A RS232 monitoring tool/window
I am committed to make this work! However, before I begin, I would like to hear your thoughts and ideas. Or maybe there are other NetBeans Platform developers willing to contribute to the development of this plugin?
Development of this plugin has started!! See http://java.net/projects/nbplugin-avr
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)




Comments
Javier Ortiz replied on Sun, 2011/11/06 - 6:03pm
Kurt Risser replied on Mon, 2011/11/07 - 11:38am
Ingmar,
A NetBeans plugin for Arduino programming would be sweet. I've used NetBeans to write Arduino programs, and it is not so easy. A plugin would be terriffic.
Kurt Risser
Sławomir Mikuła replied on Mon, 2011/11/07 - 4:02pm
Ingmar Hendriks replied on Tue, 2011/11/08 - 3:02am
in response to:
Sławomir Mikuła
Terrence Barr replied on Sat, 2011/12/03 - 2:39pm
Ingmar,
Excellent idea. I've blogged about. Let's see how we can get this going!
Best,
-- Terrence
Ingmar Hendriks replied on Fri, 2011/12/16 - 4:04pm
Carla Brian replied on Fri, 2012/05/04 - 9:18am
Matt Coleman replied on Fri, 2012/06/22 - 2:02am
in response to:
Terrence Barr
me too...i blogged this coz its really awesome
buffalo web design
Mateo Gomez replied on Wed, 2012/08/15 - 1:49am
I am honestly learning so much from Netbeans
mexican drinks