Arduino Forum

Development => Other Software Development => Topic started by: stanleyhuang on Mar 02, 2013, 02:18 pm

Title: Arduino Builder – utility for viewing, building and uploading Arduino sketch
Post by: stanleyhuang on Mar 02, 2013, 02:18 pm
Why bother to make this utility as the Arduino IDE can do everything?



That's why I made this utility, simple, straight-forward and trying to have a sleek look, and to feel better when compiling a sketch and programming Arduino.

Links


(http://www.arduinodev.com/wp-content/uploads/2013/03/ab1.png)

(http://www.arduinodev.com/wp-content/uploads/2013/03/ab2.png)

(http://www.arduinodev.com/wp-content/uploads/2013/03/ab3.png)

(http://www.arduinodev.com/wp-content/uploads/2013/03/ab4.png)

Intro

Arduino Builder is a fully standalone utility for viewing, compiling and uploading Arduino sketch file and compiled ELF or HEX file (usually bootloader) to Arduino board with Arduino serial programming interface, USBasp or Arduino ISP, without the need for Arduino IDE. This can be easily done with no more than 3 steps. When compiling is required (for uploading sketch file), the utility scans the sketch for referenced libraries and build the necessary libraries automatically.

Arduino Builders comes in GUI (graphic user interface) version, for normal end users, and CLI (command line interface) version, named Arduino Uploader, for integrating into 3rd-party applications. A real case is Mind+, the Arduino graphical programming environment (http://www.mindplus.cc).

The distribution package contains Arduino 1.0.4 core and library files, AVR GCC compiler toolchain and AVRDUDE. As only the standard Arduino libraries are shipped with the utility, in order to build with custom libraries, please place the library source code files (with identical directory name) in <install dir>/arduino/libraries directory, as what is done with official Arduino IDE.
Title: Re: Arduino Uploader – yet another utility for Arduino compiling and uploading
Post by: retrolefty on Mar 02, 2013, 04:39 pm
Looks like quite an effort, thanks for the contribution I will check it out. However it does not (nor can it) deal with my pet peeve that the arduino IDE no longer stores a compiled sketch's hex file into the users sketch folder as it did long ago in much earlier versions. It's a real pain to search out the temp directory for the strange file names it uses and to then store them away somewhere useful for future use. What procedure or steps do you use to handle your hex file storage?

Lefty
Title: Re: Arduino Uploader – yet another utility for Arduino compiling and uploading
Post by: stanleyhuang on Mar 02, 2013, 05:28 pm
With my utility, compiled hex is always stored in the same directory of the sketch.
Title: Re: Arduino Uploader – yet another utility for Arduino compiling and uploading
Post by: retrolefty on Mar 02, 2013, 05:34 pm

With my utility, compiled hex is always stored in the same directory of the sketch.


Wow, nice. That feature alone is worth using your utility. Can your utility do a compile without a upload, much like the IDE has a verify option that just compiles a sketch without having to have the board attached?

Lefty
Title: Re: Arduino Uploader – yet another utility for Arduino compiling and uploading
Post by: stanleyhuang on Mar 02, 2013, 05:47 pm
The CLI can do this, simply by specifying - for serial port option in the command line. I will add this feature to GUI soon.
Title: Re: Arduino Uploader – yet another utility for Arduino compiling and uploading
Post by: stanleyhuang on Mar 04, 2013, 12:12 pm
Just released 0.6.1. In this revision, I added a "Build Only" button to do compiling only. A pie chart UI was also added to show memory consumption for target MCU.
Title: Re: Arduino Uploader – yet another utility for Arduino compiling and uploading
Post by: retrolefty on Mar 04, 2013, 03:23 pm
I'm having trouble getting your application to run on my windows XP SP3 system.

Version 6.1
opening file explorer and clicking on ....GUI.exe, I see opening window of your GUI app for about 3 seconds, it then disappears and file explorer just hangs with a hourglass cursor. Task manager says file explorer is not responding, can't quit file explorer and have to reboot to recover.

Version 6.0
Opening file explorer and click on ....GUI.exe , I get opening window of your GUI app. Select Uno board and point to a arduino sketch .ino file and then click on comm 5 (my uno board's comm port) and GUI says error uploading.


Lefty
Title: Re: Arduino Uploader – yet another utility for Arduino compiling and uploading
Post by: Riva on Mar 04, 2013, 03:37 pm

I'm having trouble getting your application to run on my windows XP SP3 system.

Version 6.1
opening file explorer and clicking on ....GUI.exe, I see opening window of your GUI app for about 3 seconds, it then disappears and file explorer just hangs with a hourglass cursor. Task manager says file explorer is not responding, can't quit file explorer and have to reboot to recover.

Instead of re-booting, open Task Manager and 'End Process' on explorer.exe. Then from within Task Manager do File->New Task and type explorer.exe and hit okay. Should be quicker than re-booting.
Title: Re: Arduino Uploader – yet another utility for Arduino compiling and uploading
Post by: retrolefty on Mar 04, 2013, 03:57 pm


I'm having trouble getting your application to run on my windows XP SP3 system.

Version 6.1
opening file explorer and clicking on ....GUI.exe, I see opening window of your GUI app for about 3 seconds, it then disappears and file explorer just hangs with a hourglass cursor. Task manager says file explorer is not responding, can't quit file explorer and have to reboot to recover.

Instead of re-booting, open Task Manager and 'End Process' on explorer.exe. Then from within Task Manager do File->New Task and type explorer.exe and hit okay. Should be quicker than re-booting.


When I try to End Process on explorer.exe (not responding) task manger kills it and then shows a new copy of explorer.exe starting and it also is not responding. As I said rebooting was the only way to get going again.

Lefty
Title: Re: Arduino Uploader – yet another utility for Arduino compiling and uploading
Post by: stanleyhuang on Mar 04, 2013, 06:14 pm
I will test it on XP soon.
It runs quite well in Windows 7.
Title: Re: Arduino Uploader – yet another utility for Arduino compiling and uploading
Post by: stanleyhuang on Mar 05, 2013, 11:44 am
Version 0.6.2 is released. The new version fixed several issues and works well Windows XP.
Title: Re: Arduino Uploader – yet another utility for Arduino compiling and uploading
Post by: retrolefty on Mar 05, 2013, 06:08 pm

Version 0.6.2 is released. The new version fixed several issues and works well Windows XP.


Thank you very much, I will give it a try sometime later today.

Lefty
Title: Re: Arduino Uploader – yet another utility for Arduino compiling and uploading
Post by: retrolefty on Mar 05, 2013, 06:25 pm
Well I gave it a try and it's still a no go. Lock's up file explorer and can only reboot to recover. Maybe it's my machine, so best to have someone else with an XP report if it works for them or not.

Lefty
Title: Re: Arduino Uploader – yet another utility for Arduino compiling and uploading
Post by: stanleyhuang on Mar 06, 2013, 09:30 am
I tested in on Windows XP in VM. What's your IE version? Is it 6.0? The UI (including the pie chart) is HTML based as I plan to port it to other OS than Windows.
Title: Re: Arduino Uploader – yet another utility for Arduino sketch uploading (0.7.0)
Post by: stanleyhuang on Mar 17, 2013, 04:18 am
The new release of 0.7.0 has added options for MCU operating frequency including 20Mhz, 16Mhz, 12Mhz and 8Mhz. An interesting Arduino variant (based on ATMega644pa) named Microduino+ is also supported in this version.
(http://www.arduinodev.com/wp-content/uploads/2013/03/microduino-300x224.jpg)
Title: Re: Arduino Builder – utility for viewing, building and uploading Arduino sketch
Post by: stanleyhuang on Mar 23, 2013, 01:39 pm
Code viewer is added in 0.8.0 and the GUI version has been renamed from Arduino Uploader to Arduino Builder as it is no longer an uploader alone.
Title: Re: Arduino Builder – utility for viewing, building and uploading Arduino sketch
Post by: xiao on May 13, 2013, 05:18 am

Code viewer is added in 0.8.0 and the GUI version has been renamed from Arduino Uploader to Arduino Builder as it is no longer an uploader alone.



hello sir,

this is having a bug when ArduinoBuilder-0.8.3 is used.

GUI and a hex file is able to burn to Nano3.0 correctly, PDE or INO is either no provided and no used.

however, we want simply and further user isolation and more easy, used the ArduinoUploader.exe command line tool alone, and also provided a hex file only, but it does not work.

followings command lines are not working at all,

ArduinoUploader test.hex 7 COM4
ArduinoUploader test 7 COM4

PC, Win7 64bit, ArduinoBuilder-0.8.3

would you please help to check  what was wrong with our command line.

best regards,
xiao
Title: Re: Arduino Builder – utility for viewing, building and uploading Arduino sketch
Post by: CrossRoads on May 13, 2013, 05:35 am
Hi stanleyhuang,
Is it hard to add support for other processors and pinout variants?
Title: Re: Arduino Builder – utility for viewing, building and uploading Arduino sketch
Post by: Riva on Jul 15, 2013, 02:29 pm
Whenever I try to run Arduino Builder I keep getting the window below. Any idea ho to overcome this?
Title: Re: Arduino Builder – utility for viewing, building and uploading Arduino sketch
Post by: DaAwesomeP on Jul 15, 2013, 09:44 pm
Hi!
This is an awesome tool!
However, is it possible to change the directory for the libraries but still include the standard arduino libraries? Pretty much multi-folder scanning for libraries. I (and probably everyone else) hold their libraries the folder that the Arduino IDE provides. It would be nice if as well as scanning the libraries folder inside the Arduino Builder folder, it could also scan one selected by the user and then save that preference. I tried creating a symbolic link to my arduino libraries folder inside of the library folder for Arduino Builder, but it failed.

Windows 8 32-bit (Works perfectly!)
Arduino Mega 2560 R3
Title: Re: Arduino Builder – utility for viewing, building and uploading Arduino sketch
Post by: DaAwesomeP on Jul 16, 2013, 05:32 pm
From my experience with windows, this means exactly what it says. Try using Arduino Builder with no internet on your computer (disable WiFi and unplug the ethernet). You can try clicking the "refresh page" link. Lastly, you should try re-downloading Arduino Builder and putting it somewhere else on your machine. Is your computer fully updated (Windows Update)? Are you using the most recent version of Internet Explorer? Is your antivirus/firewall blocking the connection? Speaking of which: what is your antivirus program? Is there anything in its log saying it blocked Arduino Builder? Have you restarted your computer?

What this definitely means is that Arduino Builder somehow relies on the internet to run. Personally, I think that is a major problem in the application. Try everything above.
Title: Re: Arduino Builder – utility for viewing, building and uploading Arduino sketch
Post by: greasemonkey32 on Nov 21, 2013, 11:12 am
This is a great program Stanley.  Just what I have been looking for.
Is there any chance of adding support for the Lilypad Leonardo?
Title: Re: Arduino Builder – utility for viewing, building and uploading Arduino sketch
Post by: drpeej on Dec 11, 2013, 03:41 pm
I have just downloaded ArduinoBuilder 0.8.8.7 and it crashes as soon as I click build only.  No error messages - it just disappears
Title: Re: Arduino Builder – utility for viewing, building and uploading Arduino sketch
Post by: pwilkerson on Oct 16, 2014, 07:31 am
Thank you, this is quite nice. I am running version 0.8.9, and I am enjoying using it.
Lots of good stuff, I love that I can have multiple Arduinos and download to each of them fairly quickly.

Here are some nice to haves:
1) be able to remember the baud rate.
2) re-sizable window.
3) multiple terminals so I can see and interact with more than one Arduino.

Keep up the good work,
Thank You
Paul
Title: Re: Arduino Builder – utility for viewing, building and uploading Arduino sketch
Post by: q2dg on Mar 03, 2015, 06:20 pm
Well, it seems this project is dead, isn't?
Title: Re: Arduino Builder – utility for viewing, building and uploading Arduino sketch
Post by: FlyByDay on May 31, 2015, 12:40 pm
I just tried to compile my sketch using this builder for the first time, and all I
get is:

The title bar    : "Error occurred during compilation (Error code:-"
The log window: "Error compiling source code."

Is there any way to actually get some useful information on the error?

PC: Windows 8.1
Arduino Builder version 0.9.0

Title: Re: Arduino Builder – utility for viewing, building and uploading Arduino sketch
Post by: scanet on Nov 04, 2015, 12:49 am
Hi,
I'd like to use this software to enhance mine, Blockly@rduino, but it always crash !
Rather strange, when I try to compile Firmata.ino ArduinoBluider closes. On W8.1x64 nor than on W2012x64.

Could tell us how to make it work.

Thanks.
Title: Re: Arduino Builder – utility for viewing, building and uploading Arduino sketch
Post by: Robin2 on Nov 04, 2015, 10:41 am
Could tell us how to make it work.
Looks like you need a time machine to take you back to 2013

...R
Title: Re: Arduino Builder – utility for viewing, building and uploading Arduino sketch
Post by: mastrumisciu on Oct 09, 2016, 11:26 pm
Hello, I really like your software.
I have a dell 6400 inspiron laptop and a acer aspire one netbook both with windows 7 installed.
Arduino Builder works great with the dell and the main window of the software displays always 2 com port to be selected for hex upload.
I can easily upload hex files on my feather 32u (selecting leonardo board) through the dell.
With the Acer I have only 1 com port and always the "no new port found" error.
Could you please help me understand why this happens ?
Thanks
Dom
Title: Re: Arduino Builder – utility for viewing, building and uploading Arduino sketch
Post by: CLplaneguy on Nov 20, 2016, 03:03 pm
I have installed Arduino Builder .0.9.5.7z, but my schetches will not run.  Builder is not finding the libraries.  Where should the libraries be?  Or perhapse a better question,  where should I install Builder or how do I point Builder to the libraries.