[MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC

For all these TI loves :stuck_out_tongue: I modded the Energia IDE with the same fixes/improvements:

All this afternoon I fighted with some stuff in the TI toolkit (similar problem with the official ide when I updated winavr and I noticed how to fix the Arduino version so PATH will be no required now :smiley: in some future version, this means 0 dependencies or system modifications now)

Nice!

eried:
If you need that bug, you can replace the rxtxSerial.dll file with the one from the official IDE package

Just to voice another vote for keeping a way to reset the board by a IDE switch.

In my case I do remote development (sitting in my warm room with the arduino some miles away I a cold garage) and I love the reset feature.

It would be nice to be able to load a hex file using the Arduino IDE and UNO as ISP. I have read in another thread that a person should just use AVR Dude but, it would make my life easier to do it with the IDE.

In my thoughts the menu would be like this:

  1. load Uno with ISP sketch
  2. select load hex with UNO
  3. open hex file
  4. select upload hex to target board

Any thoughts?

hole:

eried:
If you need that bug, you can replace the rxtxSerial.dll file with the one from the official IDE package

Just to voice another vote for keeping a way to reset the board by a IDE switch.

In my case I do remote development (sitting in my warm room with the arduino some miles away I a cold garage) and I love the reset feature.

Reset board when serial monitor opens? or via another way? what do you think? will be a setting in preferences.txt enought?

cyclegadget:
It would be nice to be able to load a hex file using the Arduino IDE and UNO as ISP. I have read in another thread that a person should just use AVR Dude but, it would make my life easier to do it with the IDE.

In my thoughts the menu would be like this:

  1. load Uno with ISP sketch
  2. select load hex with UNO
  3. open hex file
  4. select upload hex to target board

Any thoughts?

How the step 3 fits with the ide? where that option should be invoked in your idea?

eried:
Reset board when serial monitor opens? or via another way? what do you think? will be a setting in preferences.txt enought?

A "Reset" Button placed on the Serial Monitor window would be far more elegant.

Quote from: cyclegadget on February 13, 2013, 08:26:24 PM

It would be nice to be able to load a hex file using the Arduino IDE and UNO as ISP. I have read in another thread that a person should just use AVR Dude but, it would make my life easier to do it with the IDE.

In my thoughts the menu would be like this:

  1. load Uno with ISP sketch
  2. select load hex with UNO
  3. open hex file
  4. select upload hex to target board

Any thoughts?

How the step 3 fits with the ide? where that option should be invoked in your idea?

Eried thanks for your response.

Perhaps 3) should say select the hex file to upload.

At the moment for a person to upload a hex file, they have to use an ISP and AVRDude. Then, the user needs to type command prompts for the process to work properly. I find it to be a confusing process...although I may need to learn how it is doing anyway.

I think it would be great if the IDE made the process easier for the user similarly, to uploading sketches using ISP.

Thank you for all your efforts! Your AER IDE is my absolute favorite!

cyclegadget, for sure I can add that but I need more details.

I don't use any of these functions (I use "copy hex file to clipboard" and then paste it in an external programmer app, then only click verify and upload in my external app) so I need to know the process completely, how you do it now manually, what are the "pre" conditions, like com port should be selected? board selection changes something? etc, does the manual way shows some progress bar I need to parse into the ide? etc,etc better if you do some screencast recording

hole:
A "Reset" Button placed on the Serial Monitor window would be far more elegant.

That sounds better, will attempt to add a reset button in the next version. Also now I can add signed win 8 drivers :smiley: so, no more warning

Eried, I did some research for the hex upload with Avrdude and here is what I have found so far.

A program with source code for uploading Hex files: Arduino Playground - ArduinoUpload

Here is a thread that may give clues to the process: http://arduino.cc/forum/index.php/topic,37586.0.html

qoute from anther thread************************
Re: Upload Blink sketch using AVRDUDE command line

This is the comand line I've used:
avrdude.exe -V -F -C avrdude.conf -p atmega168 -c stk500v1 -P COM2 -b 57600 -U flash:w:Blink.cpp.hex -vvvv

I will be try to gather more information if you need it. Thanks for the efforts.

Hey,
There's a font from Adobe called Source Code Pro.
Very suitable for programming and coding.
Even the zeros have a dot in the middle so a capital "O" definitely looks like an "O".
More info:
http://blogs.adobe.com/typblography/2012/09/source-code-pro.html

In the preview, font size is set to 20.

Download:

It's so good, you might want to include it in the Arduino ERW as the default font type.

You're welcome :stuck_out_tongue:

NicksonYap:
You're welcome :stuck_out_tongue:

Got it - thanks!

NicksonYap:
Hey,
There's a font from Adobe called Source Code Pro.
Very suitable for programming and coding.
Even the zeros have a dot in the middle so a capital "O" definitely looks like an "O".
More info:
http://blogs.adobe.com/typblography/2012/09/source-code-pro.html

In the preview, font size is set to 20.

Download:
http://store1.adobe.com/cfusion/store/html/index.cfm?store=OLS-US&event=displayFontPackage&code=1960

It's so good, you might want to include it in the Arduino ERW as the default font type.

You're welcome :stuck_out_tongue:

Cool! I was looking for a new font without commercial license just this week
https://github.com/evilcorp/Energia/commit/f0a841cc1bbc871ab20ba51f71cc80121afa6c4b

haha :smiley: will use this one, thanks

NicksonYap:
It's so good, you might want to include it in the Arduino ERW as the default font type.

Hmmm ... I thought I changed the preferences file correctly but now I think it's defaulting to some other font becasue the font isn't smooth like the example, and I do see I installed them properly because they are in the fonts listing when I bring up Fonts under control panel.

How exactly do you specify these fonts in the preferences file on the line -

editor.font=SourceCodePro,Regular,17

^^^ That isn't doing the job.

Did you configured antialias=true?

Hello!

I have the version without the build-in Java and I cannot start it. I am using the latest version and this is the log I have when I start it:

CmdLine:	C:\Devel\Arduino ERW 1.0.3\arduino.exe --l4j-debug
WOW64:		yes
Working dir:	C:\Devel\Arduino ERW 1.0.3\.
Bundled JRE:	java
Check launcher:	C:\Devel\Arduino ERW 1.0.3\java\bin\javaw.exe (n/a)
64-bit search:	SOFTWARE\JavaSoft\Java Runtime Environment...
Ignore:		SOFTWARE\JavaSoft\Java Runtime Environment\1.6
Ignore:		SOFTWARE\JavaSoft\Java Runtime Environment\1.6.0_33
Ignore:		SOFTWARE\JavaSoft\Java Runtime Environment\1.7
Match:		SOFTWARE\JavaSoft\Java Runtime Environment\1.7.0_10
Using 64-bit runtime.
64-bit search:	SOFTWARE\JavaSoft\Java Development Kit...
Ignore:		SOFTWARE\JavaSoft\Java Development Kit\1.6
Ignore:		SOFTWARE\JavaSoft\Java Development Kit\1.6.0_33
Ignore:		SOFTWARE\JavaSoft\Java Development Kit\1.7
Ignore:		SOFTWARE\JavaSoft\Java Development Kit\1.7.0_10
Using 64-bit runtime.
Check launcher:	C:\Program Files\Java\jre7\bin\javaw.exe (OK)
Add classpath:	lib\pde.jar
Add classpath:	lib\core.jar
Add classpath:	lib\jna.jar
Add classpath:	lib\ecj.jar
Add classpath:	lib\RXTXcomm.jar
Launcher:	C:\Program Files\Java\jre7\bin\javaw.exe
Launcher args:	-Xms256m -Xmx512m -classpath "lib;lib\pde.jar;lib\core.jar;lib\jna.jar;lib\ecj.jar;lib\RXTXcomm.jar" processing.app.Base
Args length:	120/32768 chars
Exit code:	1

Any help on what can be the culprit ?

Thanks in advance!

BTW, +1 for the idea to flash HEX files directly from the IDE using a previously selected programmer (ArduinoISP, USBasp, atk500, etc).

Thanks again.

Launch log looks pretty good. The splash screen appear and nothing happens? some error msg? the full one works ok?

PS: I will try to add the new features. I am sending all my the patches to Energia project so I have been a little busy last week. But eventually, maybe for 1.0.4 I will resume to enhance Arduino again

eried:
Did you configured antialias=true?

Oh wow - way better now. :astonished:

Thanks.

Is there some document that explains what all of the settings in the preferences file do? I know some are obvious, but others aren't so obvious.

Eried, the splash screen is displayed for a few seconds and then the app simply closes. No error messages or anything.

I haven't installed the full version because I have a SSD in my working notebook, and I am quite concerned (read "paranoid") about wear leveling on the SSD. So I try to avoid large writes to the SSD as much as possible so I have a larger life span on the SSD.

So I cannot tell you if the full version will work, because I won't install it. The original Arduino IDE 1.0.3 and 1.0.1 both work.

Please note that I installed it in a custom location (C:\Devel\Arduino ERW 1.0.3), not in the suggested Program Files folder.

Another question:
Is there any reason why the ERW comes with AVRdude version 5.10 instead of the newer 5.11 ?

PS:
I have a MSP430 LaunchPad forgotten in some drawer and the Energia IDE might be just what I need to dust it off and start using it!

Are all the files 64-bit compatible?

In my experience they are not and I could only use the 32-bit version of the JRE on 64-bit Windows when running the IDE. I only tried it with the standard IDE, so I wasn't sure if you changed some of the files in your version to be 64-bit compatible.

modeller:

eried:
Did you configured antialias=true?

Oh wow - way better now. :astonished:

Thanks.

Is there some document that explains what all of the settings in the preferences file do? I know some are obvious, but others aren't so obvious.

I am not sure, but they are in the code, so if there is someone obscure you can check the source code to get more details in github :slight_smile: