Arduino Forum

Development => Other Software Development => Topic started by: eried on Aug 14, 2012, 12:02 am

Title: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Aug 14, 2012, 12:02 am
Hello there! this is a tweaked Arduino IDE, don't lose time setting up Arduino, Java or the drivers, just use this fully automated installer. Plus, you get a improved experience:

Download (2013-05-24):
* Recommended main package (http://arduino-erw.googlecode.com/files/setup_Arduino_ERW_1.0.5_20130524.zip)
* Light version without Java runtime (http://arduino-erw.googlecode.com/files/setup_Arduino_ERW_1.0.5_20130524_no-java.zip)
* Energia version (TI MSP430) (http://arduino-erw.googlecode.com/files/setup_Energia_ERW_1.0.3_20130209.zip)

Less than 40 mb, for Windows XP, Windows Vista, Windows 7/8 (x86/x64), Requires .Net Framework 4.0 (http://www.microsoft.com/download/details.aspx?id=17851) and nothing else required at all, no other app, package, drivers, just your arduino and brain. Want to keep me interested on improving our arduino experience?, so maybe you can buy me a glass of pepsi (http://goo.gl/lXQ4C)? (I love it! XD):

(https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif) (https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=82SFYF7MBZTGU)

_______________________

Features:

Note: There are few things actually implemented in some way in the official IDE, like the installation because this mod originally comes from Aug 2012.

1. Standard windows install
Couple of clicks and ready!
(http://content.screencast.com/users/spam_live.cl/folders/Jing/media/8f5da63d-e819-4b08-b81e-28f1e1be4b57/2012-11-05_2358.png)

2. Driver installer
Prepares your system for the boards. Tested in Windows 8.
(http://f.cl.ly/items/0E301F450f38040k2r0q/Image%202013-03-14%20at%201.28.51%20AM.png)

3. AVRDude wrapper/fixer
When uploading a sketch, if port does not respond the IDE will try to fix the issues instead of showing  you the "port already in use message", no reboot, no physical unplug/replug, finding the app using the port.
(http://content.screencast.com/users/erwinried/folders/Snagit/media/88591242-845a-4e7c-9e43-45ff28520e01/08.13.2012-17.01.50.png)

4. Menu with Scroll support and better organization
Lots of Sketches? lots of Libraries? lots of Examples?, No problems at all.
(http://content.screencast.com/users/erwinried/folders/Jing/media/30633e06-27ef-4b6b-b3ad-bfbe7f7a99f4/2012-09-29_0523.png)

5. Pretty Windows Icon
No more blurry/ugly icons For Windows 7/8 taskbar.
(http://content.screencast.com/users/erwinried/folders/Snagit/media/e181e5c8-ba4a-48dc-aee2-341852192271/08.13.2012-17.02.51.png)

6. No delays over Tools menu or at startup
Produced by some BT dongles (More information: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1237179908 (http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1237179908)).

7. Sketch template
Start coding right away, the first sketch is compilable without pressing a key! The IDE finds a sweet spot to place the cursor for you. Also notice the fancy new font:
(http://content.screencast.com/users/spam_live.cl/folders/Jing/media/2946436c-2aae-491c-b72f-559fb8664323/2013-03-14_0252.png)

8. More and custom settings
Does not mess with other Arduino IDE versions and preferences (not even with official 1.0.1). You can go to Preferences and set another Sketch directory to keep your User librararies and sketches appart.

Also the font is customizable easily.
(http://content.screencast.com/users/spam_live.cl/folders/Jing/media/765bcdbd-8623-4d7f-9075-7edd7d8bec01/2013-03-14_0249.png)

9. File association, desktop icon, Start menu program group icons
Small details for your own amusement
(http://content.screencast.com/users/spam_live.cl/folders/Jing/media/0fe964ad-c519-476d-aff6-9a16da89bc35/2012-11-05_2359.png)

10. New library manager
Manage your libraries from Documents/Arduino/Libraries folder with ease and the IDE will reflect the changes without restart :)
* Enable or disable them: Click the checkbox (disabled libraries will not appear in the IDE or their EXAMPLES)
* Delete library: Select library and press DEL
* Add library: Click ADD, then select the a proper file of the library or select a ZIP file (manager will handle everything for you)
(http://content.screencast.com/users/spam_live.cl/folders/Jing/media/50985b0c-5570-4d0a-bb65-489c2ed5eac0/2012-11-06_0001.png)

11. More IDE enhancements!
* Undo/redo: Now remember the cursor position, almost unlimited buffer for undo
* Easy mouse selection: Now the selection with the mouse is slowed down to keep it controlable when selecting lots of lines
* Smart Reference!: Detect the selected word automatically, now you don't need to select the whole word or even a part! anything will work just right click http://screencast.com/t/dfp7m4vA7k
* More useful Copy/Cut functions: If you right click without selection, the action applies to the Line 8)
* Hold Shift key on Verify: To get Verbose compilation
* Hold Control key on Upload: To open the Serial Monitor automatically when upload complete (do not lose a bit! from the Serial data or compulsivelly click the serial monitor button).
Additionally you can use the new option in File menu too:
(http://content.screencast.com/users/erwinried/folders/Snagit/media/904511e5-3440-4b48-bd1e-f86d7c1de225/08.22.2012-19.12.25.png)
Or maybe you just forget all of those things? so just click once and Schedule the Monitor to open automatically when upload completes:
(http://content.screencast.com/users/erwinried/folders/Jing/media/944cc8c5-c602-4559-a213-9360fa7b03b7/2012-09-24_2233.png)
* Options to get the Hex file path and open the Compilation folder in one click:
(http://content.screencast.com/users/erwinried/folders/Jing/media/d521996f-a42a-4041-981c-99528e5026ae/2012-09-29_0515.png)

12. Better search and replace
Big project? Lots of tabs? No worries! Use the Search all tabs option:
(http://content.screencast.com/users/erwinried/folders/Jing/media/b20a6ebe-4f84-48f4-9457-6a087d9c468a/2012-09-24_1627.png)

13. Little Serial Monitor improvements
Hold the output unchecking "Receiving" when you like and/or set "AutoClear" to automatically clear the monitor output if more than 1 second elapsed since last data (debug anything with ease!), and reset button to manually reset some boards:
(http://content.screencast.com/users/spam_live.cl/folders/Jing/media/b7db425e-ec70-45b3-8a46-bfa9b773ff1a/2013-03-30_0309.png)

14. New WinAVR and RAM usage prediction
Official arduino uses ancient WinAVR (from 2008 or 2009), this version uses last one 20100110. Also based on http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1224729260/all (thanks to member dcb) IDE now shows ram usage to help begginers even more!:
(http://content.screencast.com/users/erwinried/folders/Jing/media/b89bcd6f-59f2-4368-aa86-eb279c0b5366/2012-08-30_0642.png)

15. Unninstall & small package
Not an improvement but as a normal windows app, includes an easy way to remove it :) and the setup including java and everything you need is about 35 mb.

_______________________
Source Code:
Java & .Net updated code:
https://github.com/eried/Arduino/

Commit History (features+source files):
https://github.com/eried/Arduino/commits/master


Changelog:
* 1.0.5 20130524: Horizontal scroll is working properly now.

* 1.0.5 20130523: Updated to official 1.0.5 version. Some fixes in the Import library function. New option to avoid placing the cursor on the Setup function when opening a sketch.

* 1.0.4 20130331: avrdude wrapper now adds line breaks to the received messages.

* 1.0.4 20130330: Reset button in Serial Monitor. Adding atmega328 to avrdude.conf. Auto format now removes extra spaces.

* 1.0.4 20130314: Updated to official 1.0.4 version. New options in preferences to reuse always the current window and open the serial monitor as default. Driver installer updated. Font now is Source Code Pro due licensing of the old font. PATH is not modified anymore (uninstall previous version is recommended). Replace All button does not hang the interface anymore. Tab switching fixed. Control-C without selection now selects the whole line. Control-X at the end of the Sketch does not throws exceptions anymore. AvrDude.exe updated. Minor changes to the template Sketch to use the default Bare minimum sketch.

* 1.0.3 20130203: Key shortcut to upload and open the serial monitor is now Ctrl+M.

* 1.0.3 20130202: Tweaks for Windows 8 in the driver installer. Key shortcut to upload and open the serial monitor is now Ctrl+i to avoid issues with some locates. Returns the maximum items that fit in the current screen for the menu scroller now uses Paul Stoffregen code.
_______________________
Fun fact: First version of this 'idea' of making an installer goes back to the year 2008: http://cl.ly/PDvw
Title: Re: [MOD] Arduino Enhanced Release 1.0.1 for Windows (installer, drivers, etc)
Post by: pito on Aug 14, 2012, 01:29 am
Great, congratulation!

I am using one small mod for redirecting the build process into a single specific directory (shall be inserted into preferences.txt) ie.:

build.path=C:\MyCode\Arduino\build.folder

p.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1 for Windows (installer, drivers, etc)
Post by: eried on Aug 14, 2012, 03:00 am

Great, congratulation!

I am using one small mod for redirecting the build process into a single specific directory (shall be inserted into preferences.txt) ie.:

build.path=C:\MyCode\Arduino\build.folder

p.


I don't understand, you say I should include that in the setup? When I need the hex file: I usually just press shift, then copy the HEX path and paste to a programmer (and the same hex file is updated on next compilations)
Title: Re: [MOD] Arduino Enhanced Release 1.0.1 for Windows (installer, drivers, etc)
Post by: pito on Aug 14, 2012, 10:00 am
That ensures the hex files are always on the same place so you do not need to mess with copying build paths into the programmer (if somebody uses an external programmer). Inclusion in the setup - it is up to you..
Title: Re: [MOD] Arduino Enhanced Release 1.0.1 for Windows (installer, drivers, etc)
Post by: eried on Aug 14, 2012, 09:52 pm

That ensures the hex files are always on the same place so you do not need to mess with copying build paths into the programmer (if somebody uses an external programmer). Inclusion in the setup - it is up to you..


True but you at least need to select the HEX file once right?, so I think it is more work (because you have to select the correct hex file and browse to the path): http://screencast.com/t/JsuttIxWqw

Don't you think? :)
Title: Re: [MOD] Arduino Enhanced Release 1.0.1 for Windows (installer, drivers, etc)
Post by: pito on Aug 15, 2012, 02:24 pm
It is matter of taste :) Whatever sketch I compile, after compilation the hex is in buld.folder so opening my programmer offers that hex and I just clik on it (within the programmer). So at least once per session you have to click on the hex :)

PS: maybe you have to place your [MOD] topic into "Using Arduino: Installation and Troubleshooting" forum item..
PS1: is the dotnet 4 installation safe? - I do not want to mess too much with my XP setup, so trying to avoid experiments...
Title: Re: [MOD] Arduino Enhanced Release 1.0.1 for Windows (installer, drivers, etc)
Post by: eried on Aug 15, 2012, 07:16 pm
Safe? it is official from MS and it is offered as update in Windows Update so I am pretty sure it is very safe :D

I thought about using a more older framework to avoid users to need .net 4 (version 4 has more than 2 years already btw), but I found that some stuff I was using like the x64 detection to install the drivers with ease was only available in "hacky"/ugly ways in older versions, so at the end I decided to set 4 for cleanliness.

About the forum, maybe this is a wrong place, I was not sure. If some moderator think it has to be somewere else, please move it
Title: Re: [MOD] Arduino Enhanced Release 1.0.1 for Windows (installer, drivers, etc)
Post by: mattallen37 on Aug 18, 2012, 04:41 pm
How about letting the user choose where the libraries folder is (like the user can with the sketch book)?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1 for Windows (installer, drivers, etc)
Post by: eried on Aug 18, 2012, 08:22 pm

How about letting the user choose where the libraries folder is (like the user can with the sketch book)?


It is doable, but since the preferences in this version are not shared with other arduino ides and the sketch folder can contain the libraries I don't think it is too useful, what do you think?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1 for Windows (installer, drivers, etc)
Post by: mattallen37 on Aug 19, 2012, 11:26 pm
I hadn't realized that I could place my custom libraries in the sketch book. Thanks for the info, and because of that, I agree that it is unnecessary.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1 for Windows (installer, drivers, etc)
Post by: jihelbi on Aug 20, 2012, 12:10 pm
Quote
Hello, this is a tweaked Arduino IDE 1.0.1, hope you enjoy it!


Can you provide a little summary of the enhanced functions ?

Screen captures are not so explicit for me.

JLB
Title: Re: [MOD] Arduino Enhanced Release 1.0.1 for Windows (installer, drivers, etc)
Post by: eried on Aug 20, 2012, 12:16 pm

Quote
Hello, this is a tweaked Arduino IDE 1.0.1, hope you enjoy it!


Can you provide a little summary of the enhanced functions ?

Screen captures are not so explicit for me.

JLB



Hi, which one for example?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1 for Windows (installer, drivers, etc)
Post by: jihelbi on Aug 20, 2012, 01:51 pm
Sorry I misunderstand the title of the post.

It's not an enhanced IDE... It's only a windows intaller...

No news in the IDE itself.

JLB
Title: Re: [MOD] Arduino Enhanced Release 1.0.1 for Windows (installer, drivers, etc)
Post by: eried on Aug 20, 2012, 06:25 pm

Sorry I misunderstand the title of the post.

It's not an enhanced IDE... It's only a windows intaller...

No news in the IDE itself.

JLB



There are some hacks in the IDE but they are little, and the snapshots reflects them, like the icon, template.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1 for Windows (installer, drivers, etc)
Post by: mrTee on Aug 22, 2012, 10:34 pm
Hi,

Fantastic work! I received a free license for the cross-platform installer from the guys of Bitrock, specifically for the purpose of making a multi platform installer for Arduino. If you want to use it, I could forward it to you.

Title: Re: [MOD] Arduino Enhanced Release 1.0.1 for Windows (installer, drivers, etc)
Post by: eried on Aug 23, 2012, 12:36 am

Hi,

Fantastic work! I received a free license for the cross-platform installer from the guys of Bitrock, specifically for the purpose of making a multi platform installer for Arduino. If you want to use it, I could forward it to you.


Well, some of the features are exclusive for Windows (and I am pretty happy since like hundred years using Inno Setup :smiley-yell:) so I am not sure if that will benefit the product.

Thanks anyway!

BTW I am finishing and testing the second release with few changes:
http://screencast.com/t/tMrI7PndS00
Title: Re: [MOD] Arduino Enhanced Release 1.0.1a for Windows (installer, drivers, etc)
Post by: MohitJindal on Aug 27, 2012, 12:17 pm
What is the difference between this ERW and the arduino software zip file 90.2 MB ?
I have installed this ERW today for Uno 3. I need that arduino software also ?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1a for Windows (installer, drivers, etc)
Post by: eried on Aug 27, 2012, 03:41 pm

What is the difference between this ERW and the arduino software zip file 90.2 MB ?
I have installed this ERW today for Uno 3. I need that arduino software also ?


No, you do not need the 90 mb one. I trimmed the official one  XD
Title: Re: [MOD] Arduino Enhanced Release 1.0.1a for Windows (installer, drivers, etc)
Post by: michaelcollier on Aug 28, 2012, 09:10 pm
Hi,

I think the idea of a windows setup.exe is a good one, I do something similar myself, http://www.kicchip.co.uk/download/arduino/1.0.1/setup.exe but yours seems to have more features than mine.

One reason I used an installer was so that the installation path could be stored in the windows registry, that way my other software knows where to look for all the arduino related files. Is that a feature you could add to your setup so I could use yours instead?

P.S I use inno for my setup.



Title: Re: [MOD] Arduino Enhanced Release 1.0.1a for Windows (installer, drivers, etc)
Post by: eried on Aug 28, 2012, 09:48 pm

Hi,

I think the idea of a windows setup.exe is a good one, I do something similar myself, http://www.kicchip.co.uk/download/arduino/1.0.1/setup.exe but yours seems to have more features than mine.

One reason I used an installer was so that the installation path could be stored in the windows registry, that way my other software knows where to look for all the arduino related files. Is that a feature you could add to your setup so I could use yours instead?

P.S I use inno for my setup.


Well, what specifically you need? Because as this package includes an installer you can always get the path from
Code: [Select]
HKEY_LOCAL_MACHINE\SOFTWARE\<Wow6432Node for x64 machines>\Microsoft\Windows\CurrentVersion\Uninstall\{APP GUID FROM INNO SCRIPT}_is1
Title: Re: [MOD] Arduino Enhanced Release 1.0.1a for Windows (installer, drivers, etc)
Post by: eried on Aug 28, 2012, 09:49 pm
In this package the GUID I used is:
Code: [Select]
8220E838-DFF3-45AA-B338-EC34684489EA

And I will use that one forever. :)
Title: Re: [MOD] Arduino Enhanced Release 1.0.1a for Windows (installer, drivers, etc)
Post by: michaelcollier on Aug 28, 2012, 10:12 pm
Thanks for the info, I'm on my laptop so can't check the key I was writing to exactly, but basically I was storing the arduino IDE version as the key and the exectable path for arduino.exe for that version

"Registry Key"/Arduino/Version/1.0.1.0    ExePath     "C:\ProgramFiles\Arduino1.0.1

My applications need to be able to scroll through all versions of installed arduino so a key is created for each install as above.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1a for Windows (installer, drivers, etc)
Post by: eried on Aug 28, 2012, 10:23 pm

Thanks for the info, I'm on my laptop so can't check the key I was writing to exactly, but basically I was storing the arduino IDE version as the key and the exectable path for arduino.exe for that version

"Registry Key"/Arduino/Version/1.0.1.0    ExePath     "C:\ProgramFiles\Arduino1.0.1

My applications need to be able to scroll through all versions of installed arduino so a key is created for each install as above.



Well, I am not particulary fan of adding things to registry. In fact I haven't added anything in the setup extra to any directory or registry rater than the ultra-required one, like unninstaller.

I am sure that you have more than enough info in the registry to autodetect last version  XD
Title: Re: [MOD] Arduino Enhanced Release 1.0.1a for Windows (installer, drivers, etc)
Post by: michaelcollier on Aug 28, 2012, 10:29 pm
Thanks for the screenshot, I need all installed versions not just the latest, when you run your setup for the next version of Arduino (maybe 1.0.1.a or something) will it produce a second set of data as per the first screenshot, or will it overwrite that information? If it produces a second set of data for 1.0.1.a then that should be ok for me. I can see why you would want to avoid writing to the registry, it is not something I do often myself.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1a for Windows (installer, drivers, etc)
Post by: michaelcollier on Aug 28, 2012, 10:34 pm
Sorry, you are already on 1.0.1.a so please apply the previous question to 1.0.1.b (I am 1 version behind you)
Title: Re: [MOD] Arduino Enhanced Release 1.0.1a for Windows (installer, drivers, etc)
Post by: eried on Aug 28, 2012, 10:59 pm

Thanks for the screenshot, I need all installed versions not just the latest, when you run your setup for the next version of Arduino (maybe 1.0.1.a or something) will it produce a second set of data as per the first screenshot, or will it overwrite that information? If it produces a second set of data for 1.0.1.a then that should be ok for me. I can see why you would want to avoid writing to the registry, it is not something I do often myself.


Yes, it is always updated to last version. In fact most apps you can find do this (or the app itself keeps the HKCU structure updated on every run).
Title: Re: [MOD] Arduino Enhanced Release 1.0.1a for Windows (installer, drivers, etc)
Post by: michaelcollier on Aug 28, 2012, 11:14 pm
OK thanks, I'll have to stick with what I have for the moment then, my application needs to be able to scroll through all Arduino versions and directories, users need to be able to install older Arduino versions alongside newer versions, so overwriting the current installation info won't work for me but would be fine for everyone else I guess, cheers, Mike
Title: Re: [MOD] Arduino Enhanced Release 1.0.1B for Windows (installer, drivers, etc)
Post by: eried on Aug 30, 2012, 09:53 pm
Updated today!

New shiny WINAVR, please test it ;) I only have MEGA and Uno but all my sketches are compiling and getting smaller sizes :D
Title: Re: [MOD] Arduino Enhanced Release 1.0.1B for Windows (installer, drivers, etc)
Post by: Docedison on Aug 31, 2012, 12:08 am
Where is the "New Code" the "New shiny WINAVR"... I downloaded the Aug 13 version...

Doc
Title: Re: [MOD] Arduino Enhanced Release 1.0.1B for Windows (installer, drivers, etc)
Post by: eried on Aug 31, 2012, 12:50 am

Where is the "New Code" the "New shiny WINAVR"... I downloaded the Aug 13 version...

Doc


Below big red download text in the first message.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1C for Windows (installer, drivers, etc)
Post by: eried on Sep 03, 2012, 06:02 am
Hello! I am working on a library installer now! for the manager, it looks like this:
(http://content.screencast.com/users/erwinried/folders/Jing/media/a82e962a-b705-4d4f-be44-a84d2e4afa09/2012-09-02_2355.png)

It can install compressed libraries and uncompressed ones:
(http://content.screencast.com/users/erwinried/folders/Jing/media/9f23ded6-6351-4c2a-a09a-032d12838550/2012-09-02_2355.png)

If the library is not on the first folder (for example if there are other subfolders or files), it will look for it inside and even fix the name to match Arduino library guidelines:
(http://content.screencast.com/users/erwinried/folders/Jing/media/c40434a3-b9a8-4dbb-84fa-6d004e2ece74/2012-09-02_2357.png)

And if the library is old, it will try to fix it:
(http://content.screencast.com/users/erwinried/folders/Jing/media/5103d61c-5cdb-4632-9e11-291c55c6334c/2012-09-02_2356.png)

Any comments or suggestions will be appreciated :)
Title: Re: [MOD] Arduino Enhanced Release 1.0.1C for Windows (installer, drivers, etc)
Post by: pito on Sep 03, 2012, 10:50 am
Some ideas:
1. baudrate checker (baudrate vs. crystal frequency with an brate error, ie "8MHz and 115k2 used - error of 7.8% !")
2. pin assignment checker (ie you'll get a window with actual pin assignment with input/outputs and pin names indication coming from the source, maybe with possible collisions based on the board used - ie "wrong Sdcard SPI pins used", "wrong I2C pins used")
3. something more complex - for DIY boards - an automatic system for DIY_board_name<->arduino_pin<->atmega_chip_pin management (ie for easy creation of your own variants with some checks)
:)
Chips supported: atmega32, atmega328p, atmega1284p (both 44pin smt and dil40), atmega128, atmega1280, atmega2560.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1C for Windows (installer, drivers, etc)
Post by: eried on Sep 03, 2012, 03:46 pm

Some ideas:
1. baudrate checker (baudrate vs. crystal frequency with an brate error, ie "8MHz and 115k2 used - error of 7.8% !")
2. pin assignment checker (ie you'll get a window with actual pin assignment with input/outputs and pin names indication coming from the source, maybe with possible collisions based on the board used - ie "wrong Sdcard SPI pins used", "wrong I2C pins used")
3. something more complex - for DIY boards - an automatic system for DIY_board_name<->arduino_pin<->atmega_chip_pin management (ie for easy creation of your own variants with some checks)
:)
Chips supported: atmega32, atmega328p, atmega1284p (both 44pin smt and dil40), atmega128, atmega1280, atmega2560.


Hi,

3) Sounds nice, like a board manager right? (Duplicate, Delete, edit)
I don't quite undestand the first 2 ones, but if you can explain a bit more where to get that data I will understand
Title: Re: [MOD] Arduino Enhanced Release 1.0.1C for Windows (installer, drivers, etc)
Post by: drjiohnsmith on Sep 04, 2012, 08:16 pm
mega spot on

a windows installer was sadly missing,
    makes arduino much easier to install for the new bee that arduino is aimed at.
 
have not tried (c) yet, but the memory free check is a great add on, as is the lib manager.
    all should be in the 'full' arduino path / set up me thinks,

( is anyone listening ? )
Title: Re: [MOD] Arduino Enhanced Release 1.0.1C for Windows (installer, drivers, etc)
Post by: eried on Sep 04, 2012, 08:39 pm

have not tried (c) yet, but the memory free check is a great add on, as is the lib manager.******
    all should be in the 'full' arduino path / set up me thinks,

( is anyone listening ? )



What do you mean? where the library manager do his things?

****** don't forget the driver installer for novices :D
Title: Re: [MOD] Arduino Enhanced Release 1.0.1C for Windows (installer, drivers, etc)
Post by: drjiohnsmith on Sep 05, 2012, 08:42 am
Hi

in my bad english I was trying to say well done,

the lib manager I had not seen till your (c) release,
    and the installer is great,

( any chance of an uninstaller  to complete the process )


Title: Re: [MOD] Arduino Enhanced Release 1.0.1C for Windows (installer, drivers, etc)
Post by: eried on Sep 05, 2012, 08:28 pm
Yes, unninstaller sounds nice, but I am not sure if is just better to disable a library rather than unninstalling it. I have to test more because the "Add" option is still under testings mainly because the "Update old library" procedure must work very well otherwise I will not enable that feature.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1C for Windows (installer, drivers, etc)
Post by: mattallen37 on Sep 06, 2012, 08:01 am
I'd like a toggle "switch" to open terminal after upload. I use the shortcut Ctrl+U to upload the sketches, and I want a way to (optionally) automatically open the terminal.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1C for Windows (installer, drivers, etc)
Post by: eried on Sep 06, 2012, 08:09 am

I'd like a toggle "switch" to open terminal after upload. I use the shortcut Ctrl+U to upload the sketches, and I want a way to (optionally) automatically open the terminal.


Which shortcut is free?

In file menu there is a new menu to upload and open serial monitor, also you can press CTRL+upload
Title: Re: [MOD] Arduino Enhanced Release 1.0.1C for Windows (installer, drivers, etc)
Post by: mattallen37 on Sep 06, 2012, 10:21 am
Instead of a shortcut, I would like it to be a toggle option. If you want it to be a shortcut though, Alt+U should be fine.

Either that, or else a shortcut that opens the terminal (not upload and open the terminal, just open the terminal), but if the program is uploading, it wait's till it finishes.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1C for Windows (installer, drivers, etc)
Post by: eried on Sep 06, 2012, 10:55 am

Instead of a shortcut, I would like it to be a toggle option. If you want it to be a shortcut though, Alt+U should be fine.

Either that, or else a shortcut that opens the terminal (not upload and open the terminal, just open the terminal), but if the program is uploading, it wait's till it finishes.


Sounds like a good suggestion but I don't want to change a lot the experience, I want to improve it and add features. So I think changing the button behaviour or the shortcut requires more comments and discussion.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1C for Windows (installer, drivers, etc)
Post by: dxw00d on Sep 06, 2012, 11:01 am
Once you start changing the IDE, it stops being 'Other Software Development'. This should be discussed on a more official level, in my opinion. Particularly if you are only working on Windows. One of the best aspects of the Arduino is that it is platform agnostic.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1C for Windows (installer, drivers, etc)
Post by: eried on Sep 06, 2012, 11:36 am

Once you start changing the IDE, it stops being 'Other Software Development'. This should be discussed on a more official level, in my opinion. Particularly if you are only working on Windows. One of the best aspects of the Arduino is that it is platform agnostic.


Well, some of the fixes/improvements are more than two or three year old (reported on google code), like the ram usage prediction, rxtx dll hack, blurry icon hack. I understand that they can't be seriously added because they are mostly hacks or unnoficcial stuff, so I am not complaining about anything.

My idea is just to get a nice fully working arduino ide with double click for Windows, what is missing now is the library installer and library automated updater. Then fix the issues with the mega 2560 and 1.0 and finally and optionally a "usb" debugger or some wizard to troubleshoot all connection issues, or bootloader, :D in that moment I will be ablet to feel that I am done hehehe... In conclusion I will enhance the experience for all those users on my platform, it is what I am able to do. The only other alternative I have is to watch how the same errors appear over and over in the forums and we keep answering the same things forever.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1C for Windows (installer, drivers, etc)
Post by: dxw00d on Sep 06, 2012, 11:43 am
Quote
In conclusion I will enhance the experience for all those users on my platform, it is what I am able to do.


So you want to bring fragmentation to Arduino?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1C for Windows (installer, drivers, etc)
Post by: eried on Sep 06, 2012, 11:59 am

Quote
In conclusion I will enhance the experience for all those users on my platform, it is what I am able to do.


So you want to bring fragmentation to Arduino?


It is already fragmented. I am just helping to balance things to my side ;)

Look the fonts on Mac, pretty and smooth. Standard ones on Win, choppy and old. If you plug a BT dongle it takes 30 secs to start in Win, winavr has like 3 years old. Where is your unified experience I am breaking?

Just take a look on the first thing we see when opening the IDE (that fuzziness is the new 1.0 icon):
(http://content.screencast.com/users/eried/folders/Jing/media/aa2a12cd-09ec-417d-a6c3-1a081747da22/2011-02-03_1525.png)
Title: Re: [MOD] Arduino Enhanced Release 1.0.1C for Windows (installer, drivers, etc)
Post by: dxw00d on Sep 06, 2012, 12:02 pm
No one can help what the native platform does by itself. Deliberate fragmentation is a different thing altogether.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1C for Windows (installer, drivers, etc)
Post by: drjiohnsmith on Sep 06, 2012, 08:35 pm
come on now

these fixes to the arduino system are great, and long over due.
    the way problems have been on the forum for years and not acted upon is very depressing,

hopefully, now its September the italains are back from the august break, and we might get some fix's.
   till then , at least we have some one who can support us, and all power to them.

now if we could only get rid of the warnings generated from the standard libraries, like tone,
    and hardware serial,

not that this can be done here, it has / should be by the developers, but again the bugs have been highlighted for years, and not fixed..


Title: Re: [MOD] Arduino Enhanced Release 1.0.1C for Windows (installer, drivers, etc)
Post by: cyclegadget on Sep 07, 2012, 04:09 am

I downloaded the "AER" last night and took a look at it. I think it is nice and I am glad that you are sharing your efforts with us.

As far as fragmentation is concerned, I think you are fine as long as you make it clear to the users that this is a custom Arduino program as opposed to the program provided by the Arduino company. If you consider we have plug-in for Eclipse, and other IDE's, there are other branches of Arduino IDE already out there.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1C for Windows (installer, drivers, etc)
Post by: Docedison on Sep 07, 2012, 05:02 am
I am currently using Ver 1.01 on a 64 bit machine can I install this thing separately? or uninstall it if necessary. Perhaps a better question would what affect will it have on my current Arduino environment? I am also looking at that Arduino plugin for Visual Studio, I have your package and the others as well and I am wondering what might be the best path, Fix my current installation?, install Visual Studio and the plug in? Any Advice?

Doc
Title: Re: [MOD] Arduino Enhanced Release 1.0.1C for Windows (installer, drivers, etc)
Post by: eried on Sep 07, 2012, 05:40 am

I am currently using Ver 1.01 on a 64 bit machine can I install this thing separately? or uninstall it if necessary. Perhaps a better question would what affect will it have on my current Arduino environment? I am also looking at that Arduino plugin for Visual Studio, I have your package and the others as well and I am wondering what might be the best path, Fix my current installation?, install Visual Studio and the plug in? Any Advice?

Doc


It is completelly separated from 1.0.1 :) just test it
Title: Re: [MOD] Arduino Enhanced Release 1.0.1D for Windows (installer, drivers, etc)
Post by: eried on Sep 09, 2012, 08:39 pm
OK! new version

I fixed small details on the AvrDude wrapper and added all the missing features to the library manager, add library from files, add from zip, remove them with ease!:
http://www.youtube.com/watch?v=iU83MbHQKRU
Title: Re: [MOD] Arduino Enhanced Release 1.0.1D for Windows (installer, drivers, etc)
Post by: UnaClocker on Sep 10, 2012, 04:22 am
This is VERY awesome. All these improvements are great and much needed. I hope your improvements can get rolled into the next update of the official version.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: UnaClocker on Sep 13, 2012, 03:26 am
I can't get it to run, I'm getting this message:
(http://www.neonsquirt.com/norun.png)
This is on a fresh machine that's never had the base Arduino installed, so maybe this version has only been tested on an existing setup so far?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: eried on Sep 13, 2012, 03:30 am

I can't get it to run, I'm getting this message:
(http://www.neonsquirt.com/norun.png)
This is on a fresh machine that's never had the base Arduino installed, so maybe this version has only been tested on an existing setup so far?


Try to run it once as Admin, probably there is some problem with permissions in your machine.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: UnaClocker on Sep 13, 2012, 06:16 pm
Nope, same problem. Turned User Account Control all the way down, rebooted, same error. I'll try the standard Arduino and see if the problem goes away.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: eried on Sep 13, 2012, 06:21 pm

Nope, same problem. Turned User Account Control all the way down, rebooted, same error. I'll try the standard Arduino and see if the problem goes away.


You will get the same error. There is some issue when the IDE creates the sketch folder. Maybe you have a file (not a folder) named "Arduino" in your Documents
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: Quarencia on Sep 16, 2012, 10:24 pm
I love it!  Three thumbs up!...and that's hard to do!  Haven't used the official ide since I got this.  My thoughts on improvments...please, please, please, please fix the bug that prevents the window from opening in the last location and size when you don't use file:quit.  If at all possible, would be great to have it open with the last sketch that was being edited as well.  I did notice that the serial window in your mod does this correctly now (official ide doesn't).

Once again, great work and thank you.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: eried on Sep 16, 2012, 11:11 pm

I love it!  Three thumbs up!...and that's hard to do!  Haven't used the official ide since I got this.  My thoughts on improvments...please, please, please, please fix the bug that prevents the window from opening in the last location and size when you don't use file:quit.  If at all possible, would be great to have it open with the last sketch that was being edited as well.  I did notice that the serial window in your mod does this correctly now (official ide doesn't).

Once again, great work and thank you.


What is that bug? I never recall arduino remembering the window position on startup :O

How to replicate/ what is the suggested behaviour?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: Visual Micro on Sep 17, 2012, 02:13 am
Good job! Well done
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: krupski on Sep 17, 2012, 09:21 pm

Hello, this is a tweaked Arduino IDE, hope you enjoy it! If it works for you please leave a comment.


Nice work!

I added a button to my IDE that you may be interested in:

It's a "Reload and Upload" button.

Since I use an external editor, it was a pain to have to click "Open", then re-select my filename, then click "Upload" again to test the code. So, my new button automatically reloads, then compiles and uploads the sketch.

Now all I have to do is edit, then click my new button.

The new button REPLACES the "New" button ONLY if "Use external editor" is checked. This keeps the IDE layout looking the same, except that the "New" button is now a "soft" button that changes function (and appearance) depending on if "Use external editor" is checked or not.

Since my mod only changes "EditorToolbar.class", I can unzip the "pde.jar" file, replace the "EditorToolbar" class, then re-zip it and it works.

I'll post the code if you're interested (it's only a few extra lines of code and a modified "buttons.gif" file).

Here's how it looks:

(http://www.gunsnet.net/photopost/data/500/new-button.jpg)


-- Roger
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: eried on Sep 17, 2012, 10:05 pm
Nice! I guess button only appears when user is using external editor only right? Send me the code to include it ;) What the external editor has?

Good job! Well done

Thanks! Not near visual studio yet but going forward :D
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: krupski on Sep 18, 2012, 02:59 pm

Nice! I guess button only appears when user is using external editor only right? Send me the code to include it ;) What the external editor has?


What I mean is that the "New" button changes to the "Reload & Upload" button if "External Editor" is selected. It doesn't matter WHICH editor you use.

Here's an animated GIF showing the difference between the IDE in "External Editor" mode and "Internal Editor" mode:

(http://three-dog.homelinux.com/other/files/arduino-animated.gif)

I'll post the code for you soon.

-- Roger
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: eried on Sep 18, 2012, 04:24 pm
Ok, cool. I was asking what special did the external editor you use, maybe the bundled one can be enhanced to that feature? 
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: pico on Sep 18, 2012, 04:27 pm
The "reload and upload" button is redundant, since an upload always forces a reload from disk automatically anyway when in "external editor" mode.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: krupski on Sep 18, 2012, 08:11 pm

The "reload and upload" button is redundant, since an upload always forces a reload from disk automatically anyway when in "external editor" mode.


OMG! I didn't know that! I spent all that effort for nothing...... (http://three-dog.homelinux.com/images/smilies/embarrassed.gif)
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: eried on Sep 19, 2012, 05:01 am


The "reload and upload" button is redundant, since an upload always forces a reload from disk automatically anyway when in "external editor" mode.

OMG! I didn't know that! I spent all that effort for nothing...... (http://three-dog.homelinux.com/images/smilies/embarrassed.gif)


hahah :/ shit happens. Well if you have another enhancement we can discuss it first. I never used external editor.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: Magicj on Sep 19, 2012, 01:01 pm
Thanks for this - not sure what is different from the official IDE but it seems to have solved the major issue with loading sketches on the 2560  :D

Very happy!!

Edit - I spoke too soon  =( It worked fine for a while but the same issues have started again.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: Quarencia on Sep 20, 2012, 04:36 pm

What is that bug? I never recall arduino remembering the window position on startup :O

How to replicate/ what is the suggested behaviour?


Very old bug that has been identified for a long time.

See this archived issue/bug report
http://code.google.com/p/arduino/issues/detail?id=78 (http://code.google.com/p/arduino/issues/detail?id=78)

See this archived forum discussion
http://arduino.cc/forum/index.php?action=printpage;topic=100.0 (http://arduino.cc/forum/index.php?action=printpage;topic=100.0)

Here is a simple test:
1. Open Arduino ide (official or yours)
2. Open a sketch and move/resize the window to your liking
3. Close the original window/blank sketch by clicking the red close button in upper right corner
4. In instance of the ide with your sketch, Go to the File menu and select Quit
5. Now reopen the ide

The ide will open with your last sketch already loaded in the last size/position.

Conversely, if you close the ide by clicking x button in upper right window corner, hitting Alt-F4, or right clicking the icon in window tray and selecting close, the ide will not remember sketch/size/position.

Suggested behavior
The suggested behavior is for ide to remember sketch/size/position (Exactly the same as it does if you select File->Quit) no matter how you choose to close the app.

Additional Data from my feeble investigation
The code and capability to remember window size/position and last sketch is already in the ide.  Unfortunately, it only works if you select Quit on the File menu.  Check the idesettings file and the parameters for last sketch/size/position are there.

last.sketch0.path=
last.sketch0.location=
last.sketch.count=

The behavior is...  If you select File->Quit it will update these parameters in the settings file.  The next time you open the app, it will read these parameters and open the last sketch/size/position.  If you then quit the app with a method other than File->Quit, it will not change the path or location parameters in the settings file, but it will set last.sketch.count to 0.  The next time you open the app it ignores the path and location parameters because count is set to 0.

There is also an additional set of parameters in the setting file...

last.sketch1.path=
last.sketch1.location=

When I manually set the last sketch count to 2 (last.sketch.count=2) in the settings file and open the ide, both of the sketches identified in last.sketch0 and last.sketch1 will open in their respective window size and position.

If I add an additional set of parameters for last.sketch2... and set last.sketch.count to 3, it will open all three sketches in their respective size/location.  Looks like someone was flirting with the idea of a recent sketch list on the file menu.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: Quarencia on Sep 20, 2012, 05:44 pm
Did some more playing with this.  As long as you close the original blank session, at next start the ide appears to re-open however many sketches you had open so long as you quit by chossing File->Quit.  I have tested up to 12.  I opened 12 sketches, exited the ide by selecting File->Quit, then reopend the ide (by double clicking the desktopo shortcut for the ide app) and it reopened all 12 sketches in the last size location they were in when I quit.

If I then double click the desktop shortcut again (without first closing the 12 open windows), it will open 12 more windows exactly on top of the first 12.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: eried on Sep 20, 2012, 06:01 pm

Did some more playing with this.  As long as you close the original blank session, at next start the ide appears to re-open however many sketches you had open so long as you quit by chossing File->Quit.  I have tested up to 12.  I opened 12 sketches, exited the ide by selecting File->Quit, then reopend the ide (by double clicking the desktopo shortcut for the ide app) and it reopened all 12 sketches in the last size location they were in when I quit.

If I then double click the desktop shortcut again (without first closing the 12 open windows), it will open 12 more windows exactly on top of the first 12.


Thanks for the detailed report, I certainly can do something on those areas if is needed.

I don't really know if is a bug or a normal behaviour. I mean, maybe I can add another menu option saying "Save and quit"? I can't recall any windows program that I like restoring the last edited file, for me a window is the representation of the sketch, and not the program. The position and size of the window seems to be wrong, I will check that because I prefer to duplicate a normal app behaviour like:

1) Remembering window size
2) Window position is based on system location (in cascade)

But if you have some thoughts about this, I will love to ear them. I just don't want to change things users are get used to, but add features users miss, like the library manager or those small enhancements.

It worked fine for a while but the same issues have started again.


What kind of issue do you experience? it seems that lastly 2560 clones are very faulty.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: cantore on Sep 21, 2012, 04:03 pm
Congratulations for this wonderful improvement Erwin. Can you explain me how do you calculate the ram usage and what is the criteria for saying "warning: Large amount of SRAM memory used" ? Do you have a percentage threshold (used/total) or do you use a more complicated technique?
Thanks
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: eried on Sep 21, 2012, 06:37 pm

Congratulations for this wonderful improvement Erwin. Can you explain me how do you calculate the ram usage and what is the criteria for saying "warning: Large amount of SRAM memory used" ? Do you have a percentage threshold (used/total) or do you use a more complicated technique?
Thanks


Hi. The original author of this improvement defined 50% as the threshold, maybe there is a better way but I can't think on one. I just added the board ram sizes to board.txt based on the datasheets.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: mattallen37 on Sep 21, 2012, 07:34 pm
FYI, the Arduino Pro Micro (by SparkFun) is said to have 1k of RAM, instead of the proper 2.5k (as the Leonardo has).

Also, if you use dynamic memory allocation, there should be a warning that there is no way of knowing how much RAM will be used.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: eried on Sep 21, 2012, 07:53 pm
FYI, the Arduino Pro Micro (by SparkFun) is said to have 1k of RAM, instead of the proper 2.5k (as the Leonardo has).


I don't recall that board in boards.txt

Also, if you use dynamic memory allocation, there should be a warning that there is no way of knowing how much RAM will be used.


Surely, it is just a handy hint for beginners. Much like the driver installer, library manager, etc.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: mattallen37 on Sep 21, 2012, 10:54 pm
I didn't know the RAM size was specified in the boards.txt file (I assumed it was by CPU). The ProMicro uses it's own core, so the boards.txt file is in a different place.

I've added these lines:
Code: [Select]
proMicro8MHz.upload.maximum_ram_size=2560
proMicro16MHz.upload.maximum_ram_size=2560
and now it works properly.

If the RAM size isn't specified in the boards.txt file, why doesn't it say so, instead of saying 1024 bytes?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: Quarencia on Sep 21, 2012, 11:08 pm
Another potential improvement...sure would be nice if the find/replace functionality could be made to search all tabs instead of just the current tab.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: eried on Sep 22, 2012, 06:09 am

If the RAM size isn't specified in the boards.txt file, why doesn't it say so, instead of saying 1024 bytes?


OK, will add that message for next version


Another potential improvement...sure would be nice if the find/replace functionality could be made to search all tabs instead of just the current tab.


Sounds nice! I will check if is easy to add a new checkbox to enable that (I don't want to change normal behaviour)
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: eried on Sep 22, 2012, 07:07 am
I will keep all the changes and improvements here:
https://github.com/eried/Arduino/

Including .net features, Java and the setup files to build the package:
https://github.com/eried/Arduino/commits/

:D if someone want to help or take a peek of the code.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: eried on Sep 25, 2012, 12:08 am
I want the "Serial Monitor" button on the next release to schedule the Serial Monitor opening if is pressed while upload happens:
http://screencast.com/t/xk05K2ds

I need suggestions for the text in the string
Code: [Select]
" (waiting for upload completion)"

Any suggestion from a native English speaker? I want it to be very easy to understand.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: cyclegadget on Sep 25, 2012, 12:24 am


I would say,
Quote
" (Serial Monitor will open after upload completion)"


or

Quote
" (waiting for upload completion to open Serial Monitor)"
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: eried on Sep 25, 2012, 01:27 am



I would say,
Quote
" (Serial Monitor will open after upload completion)"


or

Quote
" (waiting for upload completion to open Serial Monitor)"



Hey thanks, maybe this sound ok?:
" (Monitor will open after upload)"

To keep it a little shorter?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1F for Windows (installer, drivers, etc) +SRC
Post by: cyclegadget on Sep 25, 2012, 02:03 am
Quote
Hey thanks, maybe this sound ok?:
" (Monitor will open after upload)"

To keep it a little shorter?


Yes, that would sound ok.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1G for Windows (installer, drivers, etc) +SRC
Post by: eried on Sep 25, 2012, 03:44 am
OK, new 1.0.1G version!

NEW:
*Find and replace dialog now supports Searching all opened tabs
*Serial Monitor button now can schedule the opening of the monitor when the upload completes
*When loading or starting a sketch the IDE finds the end of the Setup function to place the cursor
*Fixes to the Next Tab and Prev Tab menu items. http://arduino.cc/forum/index.php/topic,124253.0.html
*If boards.txt does not contain the ram size for the selected board, user will see a warning (no default values now).

Enjoy!
______________________

I am running short on chars on the first message so I will left here the older versions to keep track:
Old versions:
http://servicios.ried.cl/arduino/setup_Arduino_ERW_1.0.1f_20120912.exe
http://servicios.ried.cl/arduino/setup_Arduino_ERW_1.0.1e_20120911.exe
http://servicios.ried.cl/arduino/setup_Arduino_ERW_1.0.1d_20120909.exe
http://servicios.ried.cl/arduino/setup_Arduino_ERW_1.0.1c_20120902.exe
http://servicios.ried.cl/arduino/setup_Arduino_ERW_1.0.1b_20120830.exe
http://servicios.ried.cl/arduino/setup_Arduino_ERW_1.0.1a_20120823.exe
http://servicios.ried.cl/arduino/setup_Arduino_ERW_1.0.1_20120813.exe
Title: Re: [MOD] Arduino Enhanced Release 1.0.1G for Windows (installer, drivers, etc) +SRC
Post by: dragonduyt2 on Sep 27, 2012, 11:10 am
I can't install Uno REV3 on Windows 8 (https://skydrive.live.com/embed?cid=ACB2197DA31D10ED&resid=ACB2197DA31D10ED%21598&authkey=AIeDxyBJF795iuo)
Please help me!!!! :~
Title: Re: [MOD] Arduino Enhanced Release 1.0.1G for Windows (installer, drivers, etc) +SRC
Post by: dxw00d on Sep 27, 2012, 11:27 am
Have a look at http://arduino.cc/forum/index.php?topic=94651.15
Title: Re: [MOD] Arduino Enhanced Release 1.0.1G for Windows (installer, drivers, etc) +SRC
Post by: dragonduyt2 on Sep 27, 2012, 11:35 am
Thanks so much!
Title: Re: [MOD] Arduino Enhanced Release 1.0.1G for Windows (installer, drivers, etc) +SRC
Post by: drjiohnsmith on Sep 27, 2012, 12:42 pm
I would hope that the arduino team are noticing this
    and will include you on there team real soon,

amazing well done,
Title: Re: [MOD] Arduino Enhanced Release 1.0.1G for Windows (installer, drivers, etc) +SRC
Post by: pico on Sep 27, 2012, 04:17 pm
I was experimenting with version 1.0.1f, and -- first of all -- congratulations on some well thought-out improvements. In particular,
I think the fact that 1.0.1 can now coexist with other versions of the IDE (e.g., 0023) without each arguing over the config files each time one is a major improvement in usablity.

I like the avrdude "fixer" wrapper -- but! I seem to have trouble with this and USBAsp (which may be because the USBAsp driver doesn't show up as a Com port). Running version 5.10 of avrdude directly from the command line is a work around (just copy and paste the verbose uploading command line info into a cmd.exe box works fine), but perhpas this is something that is not just affecting my setup (Win XP -- I haven't tried it yet on a later version of Windows).

Anyway, I bought you a Pepsi. ;-) Well done.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1G for Windows (installer, drivers, etc) +SRC
Post by: eried on Sep 27, 2012, 05:11 pm

I like the avrdude "fixer" wrapper -- but! I seem to have trouble with this and USBAsp (which may be because the USBAsp driver doesn't show up as a Com port). Running version 5.10 of avrdude directly from the command line is a work around (just copy and paste the verbose uploading command line info into a cmd.exe box works fine), but perhpas this is something that is not just affecting my setup (Win XP -- I haven't tried it yet on a later version of Windows).


Can you capture the command line when you use your USBAsp in the official Arduino, I can add a workaround in the next version.

I want to add options to easily copy things like "Hex" file path, and other minor stuff to make the experience even better, but I want to keep compatibility with everything you can do or expect from official IDE.

To capture the command line, open task manager, process tab, add the "command line" column to the details. Option 2 use "Process Explorer" and copy the details while you are uploading the files.


Anyway, I bought you a Pepsi. ;-) Well done.


Thanks for the Pepsi! :D


Have a look at http://arduino.cc/forum/index.php?topic=94651.15


Too bad I can't add a nice workaround for Win8 x64 :( maybe I can add the test signature but I am pretty sure that's illegal.


I would hope that the arduino team are noticing this
   and will include you on there team real soon,

amazing well done,



Nice you like it, but the purpose of this is not to bundle anything with the official one. I published all the code changes for everyones peace of mind.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1G for Windows (installer, drivers, etc) +SRC
Post by: cyclegadget on Sep 27, 2012, 07:36 pm

Hi eried,

Thanks for all of your work on your IDE! I was trying to work with Arduino IDE 1.0.1 standard version and I ran into the problem of having too many boards! I had added the ATtiny list of boards which is around 15 new boards and I was not able to see all of the board choices because the list does not wrap around or scroll.

The problem also exists with the sketch list. If you have too many sketches saved you can not see them all unless you go to File>open.

The example list has the problem after you add too many libraries.  The only way to solve the problem is to remove libraries and remove examples with the libraries.

Can you make it possible to scroll or wrap around the lists?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1G for Windows (installer, drivers, etc) +SRC
Post by: eried on Sep 27, 2012, 11:25 pm


Hi eried,

Thanks for all of your work on your IDE! I was trying to work with Arduino IDE 1.0.1 standard version and I ran into the problem of having too many boards! I had added the ATtiny list of boards which is around 15 new boards and I was not able to see all of the board choices because the list does not wrap around or scroll.

The problem also exists with the sketch list. If you have too many sketches saved you can not see them all unless you go to File>open.

The example list has the problem after you add too many libraries.  The only way to solve the problem is to remove libraries and remove examples with the libraries.

Can you make it possible to scroll or wrap around the lists?


I am aware of this issue, but since you can disable libraries here, you can use that as a workaroud, because this hides the examples too. My other approach is to  make combinations of submenus (if scroll is not possible due java limitations, so I need to research a bit... JSwing documentation is crap and it is the first time I use it, and with every second I use it, I love more and more .Net WinForms), what do you think about that?

Quick peek of some new options for next version ;):
(http://content.screencast.com/users/erwinried/folders/Jing/media/ee7e45d7-20c3-46c8-b885-eaab7ba0c14d/2012-09-27_1823.png)

And keycombination for Upload and open serial monitor :D hehe for the guy who asked this
Title: Re: [MOD] Arduino Enhanced Release 1.0.1G for Windows (installer, drivers, etc) +SRC
Post by: pico on Sep 28, 2012, 08:19 am


Can you capture the command line when you use your USBAsp in the official Arduino, I can add a workaround in the next version.

I want to add options to easily copy things like "Hex" file path, and other minor stuff to make the experience even better, but I want to keep compatibility with everything you can do or expect from official IDE.

To capture the command line, open task manager, process tab, add the "command line" column to the details. Option 2 use "Process Explorer" and copy the details while you are uploading the files.


Here's the command line form the "official" 1.0.1:

Code: [Select]

avrdude -CC:\Arduino\arduino-1.0.1\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -pattiny85 -cusbasp -Pusb -e -Uefuse:w:0xFF:m -Uhfuse:w:0xD7:m -Ulfuse:w:0x62:m


and here it is from ERW1.0.1f:

Code: [Select]

avrdude -CC:\Arduino\ArduinoERW1.0.1f\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -pattiny85 -cusbasp -Pusb -e -Uefuse:w:0xFF:m -Uhfuse:w:0xD7:m -Ulfuse:w:0xE2:m


the "fixit" wrapper prompt appears when using ERW1.0.1f, and even when selecting "fix" to continue, seems to cause the upload to fail. But when the command line is applied to a non-wrapper avrdude, it works fine.

This example is for burning a bootloader to an AtTiny85, but the same problem occurs when trying to upload an ordinary sketch via USBAsp. (Notice the fuse settings are slightly different, but that because one was for 8MHz, and the other for 1MHz internal oscillator -- I only realised after I posted.)
Title: Re: [MOD] Arduino Enhanced Release 1.0.1G for Windows (installer, drivers, etc) +SRC
Post by: eried on Sep 28, 2012, 09:04 am
OK, thanks, easy to solve (skip "wrapper" if -cusbasp -Pusb used)

Will post version 1.0.1H in a couple of days with the fix.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1G for Windows (installer, drivers, etc) +SRC
Post by: pico on Sep 28, 2012, 10:06 am

OK, thanks, easy to solve (skip "wrapper" if -cusbasp -Pusb used)

Will post version 1.0.1H in a couple of days with the fix.


Excellent! Thanks for this. :-)

Perhaps this might also be a problem with other devices that don't appear as COMxx serial ports? If this was the case, maybe the more general workaround would be to apply the wrapper only if a COM port is actually specified in the avrdude command line? (Just a suggestion.)
Title: Re: [MOD] Arduino Enhanced Release 1.0.1G for Windows (installer, drivers, etc) +SRC
Post by: eried on Sep 29, 2012, 10:16 am
New version!

(http://content.screencast.com/users/erwinried/folders/Jing/media/a77da1e0-7295-4502-b0b3-525200cb83f3/2012-09-29_0508.png)

(http://content.screencast.com/users/erwinried/folders/Jing/media/d521996f-a42a-4041-981c-99528e5026ae/2012-09-29_0515.png)


Perhaps this might also be a problem with other devices that don't appear as COMxx serial ports? If this was the case, maybe the more general workaround would be to apply the wrapper only if a COM port is actually specified in the avrdude command line? (Just a suggestion.)


Yes, wrapper now acts like a bypass (https://github.com/eried/Arduino/commit/62aef096a459ab4547be7ff9b1b90ca5ca767fe9) if com port is not defined.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: cyclegadget on Sep 29, 2012, 10:02 pm

You put in the scroll-er for the sketches, libraries, and the boards!!! Thank you! Thank you! Thank you! Thank you!

I installed a bunch of libraries, looked at my big list of sketches, and put in all my boards.....I can see them all!!! Hoorayyyyyyyy!


Awesome work Eried!
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: fulminator on Oct 02, 2012, 06:14 pm
I tried to download the IDE but I'm receiving

Quote
The connection has timed out
The server at servicios.ried.cl is taking too long to respond.


page. However, I've checked the site and the site seems to be up. I am missing something here, or this the site doesn't load for everybody?

Can someone please direct me to a different hosting service please?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 02, 2012, 06:23 pm

I tried to download the IDE but I'm receiving

Quote
The connection has timed out
The server at servicios.ried.cl is taking too long to respond.


page. However, I've checked the site and the site seems to be up. I am missing something here, or this the site doesn't load for everybody?

Can someone please direct me to a different hosting service please?


Hi, I don't see any issue when I try, but maybe is because my server is from latin america and I am very near it. Can you try again? Anyone is having issues?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: mattallen37 on Oct 02, 2012, 06:24 pm
I'm having problems as well.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: fulminator on Oct 02, 2012, 06:42 pm
I am from Romania, and the page didn't load. I tried to disable antivirus but with no results. Later, I used a proxy IP from America and the site loaded and the download began.

I think somewhere on the route the data is restricted. Please upload on a universal file hosting, so everybody can download the MOD. Thank you.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: mattallen37 on Oct 02, 2012, 06:59 pm
I'm from the USA, and it's not working for me.

...Please upload on a universal file hosting, so everybody can download the MOD. Thank you.
I agree.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: cyclegadget on Oct 02, 2012, 07:12 pm

On September 29, 2012, it downloaded fine for me in the USA.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: mattallen37 on Oct 02, 2012, 07:56 pm
I've tried it several times (10-20) over the last few days.

Care to upload it to these forums?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: drjiohnsmith on Oct 02, 2012, 08:38 pm
maybe the great code should be hosted on the arduino download site ?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 02, 2012, 09:29 pm
OK I will use mediafire, anyone is not able to download from there?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: mattallen37 on Oct 02, 2012, 10:27 pm
Thank you, it downloaded fine :)
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: cantore on Oct 05, 2012, 02:22 pm
Does anyone know how to disable the "fancy new font" and to use a the original IDE's one?
Thanks
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 05, 2012, 06:13 pm

Does anyone know how to disable the "fancy new font" and to use a the original IDE's one?
Thanks


In the preferences, use "System" and antialias = false

But why?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: TimFr on Oct 07, 2012, 05:26 am
Have down loaded but get error message "Application has not initialized correctly(0xc0000005) Click OK to stop application"
What can I do??
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 07, 2012, 06:06 am

Have down loaded but get error message "Application has not initialized correctly(0xc0000005) Click OK to stop application"
What can I do??


Can you run the official arduino? where that error appears? in the setup?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: Goofballtech on Oct 07, 2012, 06:18 am
Think there would be a way to invert colors? Editor background = #000000?

Edit - Nevermind, i have discovered theme.txt.

Veryyy niiiicee! Sexy black theme to go with all the new features.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: deece on Oct 07, 2012, 01:30 pm
Rather than using the truly ancient toolchains in WinAVR & Crosspack, you may be interested in using MHV AVR Tools instead, which is a multiplatform up to date AVR toolchain (GCC 4.7.2 & AVR LibC 1.8.0).
http://www.makehackvoid.com/mhvavrtools-20121007 (http://www.makehackvoid.com/mhvavrtools-20121007)

For the latest version, Win32, Linux x86 & x64 are available now, MacOSX is still cooking.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: drjiohnsmith on Oct 07, 2012, 03:41 pm
interesting alister

I think there are many different tool chains
    but the idea of this was I think to package up and update what we already use,
       
which I for one think this guy dies fantastical,
     he should be on the Arduino team me thinks,

Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: TimFr on Oct 07, 2012, 06:52 pm


Have down loaded but get error message "Application has not initialized correctly(0xc0000005) Click OK to stop application"
What can I do??


Can you run the official arduino? where that error appears? in the setup?


No I can not run the official also.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 07, 2012, 07:16 pm
No I can not run the official also.


Then you should ask in the general forum. I can't found anything related with your error in google. The only hints I got are related with XP activation
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: cantore on Oct 10, 2012, 04:40 pm


Does anyone know how to disable the "fancy new font" and to use a the original IDE's one?
Thanks


In the preferences, use "System" and antialias = false

But why?


I estetically prefer the old one, the new one has also problem with the accents
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 14, 2012, 12:52 am
:) updated today! enjoy!

Fixed some stuff I never noticed but I saw in the forums:
1) Undo/redo: now move the caret to the correct position

2) Scrolling with the mouse is nearly impossible to  control in the official IDE (just try to select 2 pages on a 4 pages code with the mouse), now there is delays (with some 'acceleration')
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: Lakes on Oct 14, 2012, 02:06 am


Does anyone know how to disable the "fancy new font" and to use a the original IDE's one?
Thanks


In the preferences, use "System" and antialias = false

But why?
I`m not liking the font either, sorry.
Not in the preferences GUI, you have to edit preferences.txt?
These are in the supplied prefs file.

editor.font=Monospaced,plain,12
editor.antialias=false

Ah, you have to change the idesettings txt file.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 14, 2012, 02:54 am
Yes, it is another file to avoid messing with the other settings.

What's wrong with the "modern" font? too smooth? heheh
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: Lakes on Oct 14, 2012, 11:00 am
Thanks for the quick update. :)

Now, just add some code folding like code blocks does... :D
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 14, 2012, 11:55 am

Thanks for the quick update. :)

Now, just add some code folding like code blocks does... :D


I think code folding is not possible... without MAJOR overhouling and/or massive donations $)
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: Lakes on Oct 14, 2012, 12:24 pm
Hehe ok. :)

KickStarter Project? :D
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: Jantje on Oct 14, 2012, 01:55 pm

Thanks for the quick update. :)

Now, just add some code folding like code blocks does... :D

And eclipse and visual micro and many others

Best regards
Jantje
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 15, 2012, 03:20 am


Thanks for the quick update. :)

Now, just add some code folding like code blocks does... :D

And eclipse and visual micro and many others

Best regards
Jantje


I don't quite undestand the utility of the folding code blocks anyway. I prefer just intellisense. I mean, it makes sense for me in Visual Studio in the designer section for example, or some pinvoke definitions, but in arduino? just make couple of tabs, one with the setup, other with the loop.

I will think about intellisense first if one day I want to start to make major changes in the IDE.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: Jantje on Oct 15, 2012, 10:45 am

I don't quite understand the utility of the folding code blocks anyway. I prefer just intellisense.

I prefer intellisense to code folding to. I use intellisense on a daily basis and I only activated code folding in C++ last week. But it are 2 different things and sometimes folding is handy. For instance to get a better understanding of a function that has grown to large and needs refactoring. This example can not be worked around with multiple tabs as you propose.

For me; a professional IDE should support both. I say professional IDE because there are very good reasons of existing for non-professional IDE's. I believe that the Arduino IDE is a great example of non-professional IDE with great value.
In many discussion about bugs and new features in the Arduino area the discussion is about "Can we add this added value without adding (to much) complexity for the user?". These are very valid discussion for the Arduino IDE that explicitly does not position itself as a professional IDE. In a professional IDE the discussions should be "How to best add this added value"

begin of rant
I do not advice everyone to use a professional IDE. You should use a tool that fits your need. My advice is to start with the Arduino IDE "as is". When you start to feel the limitations; look at the alternatives. If you have no professional software development background and do not wish to go there: use the arduino IDE with mods or go to an external editor.
If you have a professional software development background or wish to go there: go for a professional IDE that has good support for the arduino environment.
End of rant

From a practical point of view:I have never implemented code folding nor intellisense. I think however that folding was available before intellisense so my guess would be that folding is easier to implement than intellisense.

Best regards
Jantje

PS Note that in eclipse you also have the outline view which resembles the code in folded format which takes away quite a bit of the added value of code folding. (I guess visual studio has something similar)
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: Visual Micro on Oct 15, 2012, 03:12 pm
Edit:

I don't think if an ide is "Pro" or not is the right discussion.

The questions, for me, are :-

How simple and well integrated is the Arduino plugin?
Is it really easy to setup?
Stable to use?
Does it provide the same features as the Arduino?
Does it provide double click drill down into compiler errors?
Support multiple pde/ino files?

In short does it do the things the Arduino IDE does and does it do them in the same simple way?

This is what the Visual Studio plugin is designed to do/be. It reduces project development time enormously.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: Lakes on Oct 15, 2012, 05:56 pm
I`m not a "Pro" just someone who tinkers with stuff until I`m happy that it does what I want.

I`ve tried Elcipse with the plugin as its a fairly uncomplicated interface and it has a built-in serial monitor, but I could`nt get the indexing thing to work, so its gives me errors on a simple serial sketch

Visual Studio maybe be ok for Pro`s, but the interface looks too complicated for me and I`m reluctant to install anymore MS "bloatware" than I really need to.

I really like the look of codeblocks, as its very similar to something I`ve used before and it has the code folding function.
I might give that a try to see how it goes (when I have some time), no built-in serial monitor would not be a deal breaker.

Having separate tabs for each part of the sketch I`m working on seems an odd way of doing things, but thats due to my limited experience of these things.


For now though, I`ll stick with the Enhanced IDE as it just works! :)
Is there a way of increasing the Undo buffer though?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 15, 2012, 06:18 pm

For now though, I`ll stick with the Enhanced IDE as it just works! :)
Is there a way of increasing the Undo buffer though?


I didn't see a limit inside, maybe the limit is because the java virtual machine: 128MB?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: Lakes on Oct 15, 2012, 06:58 pm
I`ve just checked by typing random junk into the edit  window
This what I typed
Code: [Select]
{
  // This code will loops consecutively
  abababababababababababababababababababab
  cdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdc
  dededededededededededededededededededede
  efefefefefefefefefefefefefefefefefefefefefefefefefefef
  ghghghghghghghghghghghghghghghghghghghghg
  hihihihihihihihihihihihihihihihihihihihihihihihihihihihihih
}

This is how far it when back with cntl Z
Code: [Select]
{
  // This code will loops consecutively
  abababababababababababababababababababab
  cdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdc
  dededededededededededededededededededede
  efefefefefefefefefefefefefefefefefefefefefefefefefefef
  g
}

Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: bill2009 on Oct 15, 2012, 07:08 pm
Is there a way to move from the beginning to end of a code block (or vice versa) matching braces?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 15, 2012, 07:18 pm

Is there a way to move from the beginning to end of a code block (or vice versa) matching braces?


I think I can add that if you provide some useful case scenario in where that feature is useful.

This is how far it when back with cntl Z


I see. Checking the Java documentation I saw there is a default depth of 100 http://docs.oracle.com/javase/1.4.2/docs/api/javax/swing/undo/UndoManager.html#getLimit() (http://docs.oracle.com/javase/1.4.2/docs/api/javax/swing/undo/UndoManager.html#getLimit())

I can make it bigger easily but maybe combining the edits it is a better thing, I am not so sure if the UndoManager should record every single keystroke as an independent action
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: Lakes on Oct 15, 2012, 07:22 pm
Ok, thanks for looking into it.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 15, 2012, 08:01 pm

Ok, thanks for looking into it.


OK, but what limit do you think is enough? Also what is your opinion about combining changes or keeping individual keystrokes?

I barely noticed the limitations on the undo in all this years, I just undo something small and keep editing, never something big or too away from the place I am working on, so I need comments from users.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: Visual Micro on Oct 15, 2012, 08:06 pm
Quote
Visual Studio maybe be ok for Pro`s, but the interface looks too complicated for me and I`m reluctant to install anymore MS "bloatware" than I really need to.


Yeah, it probably didn't help my using the ArduPlane drone example, that's the most massive Arduino project on the planet (not my work, can't take any credit)  :)

Anyway Visual Studio is actually a one click install and "just works", same as the Arduino Ide.

But as I said in my email to you, the enhanced arduino ide is well worth a look. Even if it hasn't got the code navigation and helper tools, it is really great to see Arduino Ide development moving forward at a reasonable speed for a change.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: mattallen37 on Oct 15, 2012, 08:37 pm
I like individual character undo, not block undo. If I can choose the number of undo, I always set it to max (usually 9999 characters).
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: Lakes on Oct 15, 2012, 09:07 pm
+1 for individual character undo, and maybe have a prefs setting to set a limit if people want that function.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 15, 2012, 11:51 pm

+1 for individual character undo, and maybe have a prefs setting to set a limit if people want that function.



OK, I think 10000 is a small "buffer" since the only combined stuff arduino does is the indentation (as a block) so teorically 100 tabs with 10000 undos will use less than 1 mb of ram (considering only the char data).

I am believing I need to add some easy updater so the app is automatically updated (only the changed components) because I will still not upload the new installer only for the undo cache, but I will change the font and try to fix other stuff before releasing an update this week.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: mervynatbeka on Oct 16, 2012, 10:26 am
I like the update.

Is there anyway to improve the highlight error display. Currently the package highlights the line where it thinks the error is, however I am not sure that it is taking into account any comments because it always highlights a line earlier in the buffer than were the error is.

Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 16, 2012, 11:07 am

I like the update.

Is there anyway to improve the highlight error display. Currently the package highlights the line where it thinks the error is, however I am not sure that it is taking into account any comments because it always highlights a line earlier in the buffer than were the error is.




Sure thing, I also noticed that but I am not 100% sure what's wrong.

If you can come up with some samples of the error and some guesses about what is wrong (what is and what isn't accounting for the line alignment), I can for sure enhance that for some next version.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: Lakes on Oct 16, 2012, 11:22 am
Open example ASCIITABLE, delete the ";" at line
Code: [Select]
 // prints title with ending line break
 Serial.println("ASCII Table ~ Character Map");

The line
Code: [Select]
The circuit:  No external hardware needed.
is highlighted.

EDIT: For next update, I`d like an option to (auto?) open the last sketch I was working on.

Thanks!


Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: dxw00d on Oct 16, 2012, 11:36 am
Interesting. In my standard 1.0.1 IDE, the correct line is highlighted.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1H for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 16, 2012, 05:59 pm
Right, but I am pretty sure it fails in other cases I remember somebody asking about this, anyway it is a different compiler. It is only the comments, is easy to fix.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 19, 2012, 09:59 pm
Update 2012-10-19:
I used another font now :) to support accents
Also undo buffer is now 10000

Enjoy!
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Lakes on Oct 20, 2012, 10:56 am
Very good, but that comments bug is still there...
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Quarencia on Oct 20, 2012, 11:15 am
I've noticed some strange behavior in tab navigating.  When I first open the ide and use the keyboard shortcur (CNTRL + ALT + Arrow) for moving between tabs, if jumps two tabs at a time (either direction you choose).

If I then go to the tab menu and select either next or previous tab from the menu, the keyboard shortcuts start working correctly and only move one tab at a time.

This behavior repeats every time I open the ide.  Also, I checked the official ide and it works correctly and does not do this.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Quarencia on Oct 20, 2012, 03:08 pm
Personnaly, I'd like to request that the font stop changing.  Pick one and stick with it.  One way to fix this would be to add a drop down for font choice in the preferences tab.  If font choice was easy to change, people would be less enclined to complain and request changes.

Now that I've ranted a little, I'd like to compliment you on how much great stuff you've done with this.  Just sent you a donation.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Lakes on Oct 20, 2012, 04:34 pm
I don`t mind the new font, but have made it 14 point, so its easier to see where any "{ }" or ";" are missing. :)

It would be nice to have them different colours, or maybe in bold font style, someway of making them standout anyway.

EDIT: noticed something else, I don`t get the "not in sync" error when switching between UNO and Duemilanove w/328p boards.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 20, 2012, 06:06 pm

I've noticed some strange behavior in tab navigating.  When I first open the ide and use the keyboard shortcur (CNTRL + ALT + Arrow) for moving between tabs, if jumps two tabs at a time (either direction you choose).


Wow, I have to check that!


Personnaly, I'd like to request that the font stop changing.  Pick one and stick with it.  One way to fix this would be to add a drop down for font choice in the preferences tab.  If font choice was easy to change, people would be less enclined to complain and request changes.

Now that I've ranted a little, I'd like to compliment you on how much great stuff you've done with this.  Just sent you a donation.


Thanks for the donation! About the font, I noticed the problem with the accents, so I just looked for a new one that supported everything. A font option is good idea anyway.


Very good, but that comments bug is still there...


What bug?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Lakes on Oct 20, 2012, 06:34 pm
The one where it highlights the wrong line for an error.

Open the ASCIITable example, delete the ';' at   Serial.println("ASCII Table ~ Character Map");
See the comments line  " The circuit:  No external hardware needed."  at the top highlighted.

If you delete the comments, then the correct line is highlighted.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 20, 2012, 06:45 pm

The one where it highlights the wrong line for an error.

Open the ASCIITable example, delete the ';' at   Serial.println("ASCII Table ~ Character Map");
See the comments line  " The circuit:  No external hardware needed."  at the top highlighted.

If you delete the comments, then the correct line is highlighted.


Ohh, yes sorry. I make some patches every couple days (https://github.com/eried/Arduino/commits/master) and when something seems "important" I make a setup file and publish them. I was playing with an script and noticed the problem with the old font so decided to release the pending changes.

But not worry eventually I have to tackle down all the issues.

Right now, problems in order or priority:
1) Check the tab switch thing
2) Error line+comments
3) Font selector
4) Win8 x64 drivers
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Lakes on Oct 20, 2012, 06:51 pm
Many thanks for your continued efforts with this.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: mattallen37 on Oct 20, 2012, 10:44 pm
I've installed WinAVR for programming raw AVRs. I used it for a while, and it worked great. Just recently I attempted to use it again, and it tries to use the AVR tools located in C:\Program Files (x86)\Arduino\Arduino ERW 1.0.1i\hardware\tools\avr\bin instead of C:\WinAVR-20100110\bin. In doing so, it seems to have broken something, and the WinAVR stuff no longer works properly (things such as "Make All", and "Program"). There shouldn't be any connection what-so-ever between WinAVR and Arduino ERW 1.0.1i. The only thing I could think of is that the computer register system got messed up somehow, so that it looks in the wrong directory. I went to the Registery Editor, location "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" key "Path", and it does indeed include reference to C:\WinAVR-20100110\bin as well as C:\Program Files (x86)\Arduino\Arduino ERW 1.0.1i\hardware\tools\avr\bin. Something interesting to note, is that it includes no reference to the original Arduino IDE's tools, which are in directory C:\Program Files (x86)\arduino-1.0.1\hardware\tools\avr\bin.

I don't know exactly when/where the problem started. WinAVR was working fine along side of the official Arduino IDE, but I hadn't tried using WinAVR since I installed this enhanced Arduino IDE.

If in the registry key I remove the reference to the Enhanced Arduino IDE and I rename the program folder "Arduino ERW 1.0.1i" to e.g. "__Arduino ERW 1.0.1i", then I can use WinAVR. However, I need to "Make All" twice in order for most of it to succeed (still has an error, something to do with the EEPROM).

Perhaps you can shed some light on this situation.

What all registries does the Enhanced Arduino IDE use?

Can you think of any good solution?

UPDATE: Through some more investigating, it seems that the Enhanced Arduino IDE started using that specific registry key in version 1.0.1c (it didn't seem to in 1.0.1b). It also seems that renaming the program file for the enhanced arduino IDE is all that's needed (to get to the point I'm at now); it doesn't seem that that specific registry key is the (sole?) cause.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 20, 2012, 11:08 pm
The IDE does not need anything, but new WinAVR needs a PATH entry to work properly.

I created an 'Environment variable manager' application that handles this and it is called by the setup (line 113):
https://github.com/eried/Arduino/blob/4e2a003da583bee73b487825d2932cdb90203e15/erw/setup.iss

So if you can change the path, just type this in the command prompt:
Code: [Select]
"C:\Program Files (x86)\Arduino\Arduino ERW 1.0.1i\erw\SetPath.exe" -a "<your winavr path>" -r hardware\tools\avr\bin

Code for SetPath is https://github.com/eried/Arduino/blob/master/erw/csharp/SetPath/Program.cs

I tried to keep everything clean, but if you install WinAVR before my mod, I will have to append the WinAVR path anyway to keep the IDE working
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: mattallen37 on Oct 20, 2012, 11:35 pm
I'm not entirely sure what I'm supposed to do to fix the problem.

I ran the command prompt line you posted (after filling in the WinAVR bin location). It seems to have removed the directory "C:\Program Files (x86)\Arduino\Arduino ERW 1.0.1i\hardware\tools\avr\bin" from that registry key I mentioned earlier, but it doesn't seem to help any more than me manually removing it.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 20, 2012, 11:44 pm

I'm not entirely sure what I'm supposed to do to fix the problem.

I ran the command prompt line you posted (after filling in the WinAVR bin location). It seems to have removed the directory "C:\Program Files (x86)\Arduino\Arduino ERW 1.0.1i\hardware\tools\avr\bin" from that registry key I mentioned earlier, but it doesn't seem to help any more than me manually removing it.


Right, but I am not sure what is your problem really. You have a newer version of WinAVR? because having the path for C:\Program Files (x86)\Arduino\Arduino ERW... set means you can use WinAVR from any command prompt without having to install it again.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: mattallen37 on Oct 20, 2012, 11:57 pm
I have WinAVR-20100110, and I don't run it from a command prompt (well, rarely I run avrdude from it). I use Programmer's Notepad, which is included with WinAVR, and i use the "Make All" and "Program" "buttons" in the Tools menu of pn.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 21, 2012, 12:08 am

I have WinAVR-20100110, and I don't run it from a command prompt (well, rarely I run avrdude from it). I use Programmer's Notepad, which is included with WinAVR, and i use the "Make All" and "Program" "buttons" in the Tools menu of pn.


Well, since winavr requires the environment variable, one option is to keep only one, from arduino and set that path from Programmer's Notepad?

I was not able to make the compiler to work without the environment variable, like the old winavr
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: mattallen37 on Oct 21, 2012, 12:54 am
Okay, so I changed the Make and Program tools to use the make.exe program in the "C:\Program Files (x86)\Arduino\Arduino ERW 1.0.1i\hardware\tools\avr\utils\bin" directory. The Program tool was complaining with error 1 (which it has done a zillion times in my attempts to get things working again). It seems that the avrdude.exe in "C:\Program Files (x86)\Arduino\Arduino ERW 1.0.1i\hardware\tools\avr\bin" is actually not avrdude.exe, but perhaps a wrapper? avrdude2.exe is apparently what I need, so I renamed both of them, so that avrdude2 is now avrdude, and avrdude is now something it won't recognize.

Now WinAVR seems to be working (I can compile and download a program to an AtTiny85), and the Enhanced Arduino IDE still seems to download code properly to an UNO. I haven't tried much more than that so far.

Thanks for helping me out. I'll report back if I start seeing errors.

BTW, what's the deal with avrdude plus avrdude2?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 21, 2012, 01:27 am
It is a wrapper as you said :)

Exactly what it does is:
https://github.com/eried/Arduino/blob/master/erw/csharp/AvrDudeReset/Program.cs

So when you call avrdude, it tries to open the com port first, otherwise calls the "fixer" (to disable/enable the non working device).

I use the IDE to program my tinys (copy hex as path) and khazama avr programmer to upload the code.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: guix on Oct 22, 2012, 07:23 pm
Hello and thank you for this cool enhanced IDE, I'm using it since few weeks without problems :)

I have a small suggestion (sorry if it has been asked already) when we click "New" or open any sketch, it open it in a new window, it would be nice if it opened in a new tab instead :)
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 22, 2012, 07:32 pm

Hello and thank you for this cool enhanced IDE, I'm using it since few weeks without problems :)

I have a small suggestion (sorry if it has been asked already) when we click "New" or open any sketch, it open it in a new window, it would be nice if it opened in a new tab instead :)


Hehehe :D but I guess you don't understand how tabs works, they are not sketches, are part of the main sketch, like "subroutines". Look:
(http://content.screencast.com/users/erwinried/folders/Jing/media/26ab5b0e-921b-4fee-926e-58e6a4a8b1bd/2012-10-22_1431.png)

There are all the same "sketch".
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 22, 2012, 07:34 pm

I've noticed some strange behavior in tab navigating.  When I first open the ide and use the keyboard shortcur (CNTRL + ALT + Arrow) for moving between tabs, if jumps two tabs at a time (either direction you choose).


I was trying to fix this, but I can't replicate it. Can you record some quick screencast or something  with the issue? happens with the on screen keyboard too?

Anyone else is experiencing this?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: guix on Oct 22, 2012, 07:44 pm
Ah ok I see :)

But isn't it possible that you create other tabs above the existing tabs?? The above tabs would be for differents sketches, like this for example:


[sketch1][sketch2][sketch3][sketch4]
[graphic][loop][setup]

I'm sick of all those windows :P
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 22, 2012, 08:09 pm

Ah ok I see :)

But isn't it possible that you create other tabs above the existing tabs?? The above tabs would be for differents sketches, like this for example:

[sketch1][sketch2][sketch3][sketch4]
[graphic][loop][setup]


Well, you know: it is software, so everything is doable; but due the actual architecture of the application it is not a trivial to do. If a lot of people want it (like the menu scroller), I can search for something, but personally I like how Win7 stacks the windows in one icon (I usually disable the tabs in any application besides a browser/im)
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: guix on Oct 22, 2012, 08:36 pm
Ok no problem, I understand it might be harder than I think :)
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: AlxDroidDev on Oct 23, 2012, 02:55 am
Following...

Just a quick question: has anyone from the Arduino team approached you to have you work in the official Arduino IDE that is about to be released (1.0.2) ?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 23, 2012, 05:28 am

Following...

Just a quick question: has anyone from the Arduino team approached you to have you work in the official Arduino IDE that is about to be released (1.0.2) ?


No, but it was never my idea.

I've been trying to help by doing small fixes to the environment since a couple of years, but the only users who experience most of the problems use windows, so I guess those issues seem to be not very important. You certainly care less for the platform you don't use.

Also, maybe 1.0.2 will be 1.5? I am not sure yet what one should I start to fix :D
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: drjiohnsmith on Oct 23, 2012, 09:50 pm
looks like its 1.5

http://arduino.cc/en/Main/SoftwareDue

Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: AlxDroidDev on Oct 23, 2012, 10:03 pm

looks like its 1.5


It's off-topic, but it has been announced that there will be a 1.0.2 version shortly, for those that don't plan on working with the 32-bit Due.

It can be read here: http://arduino.cc/blog/2012/10/22/arduino-1-5-support-for-the-due-and-other-processors-easier-library-installation-simplified-board-menu-etc/

I have no idea why there will be a version 1.0.2, unless not all of the improvements planned for 1.0.2 made it to 1.5.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Lakes on Oct 24, 2012, 01:21 am
In the Standard IDE this code displays correctly in the serial monitor.
But in yours its does not work.
Code: [Select]

//Manual Set Time example using Time.h

#include <Time.h>

void setup() {
  //setTime(hr,min,sec,day,month,yr);

  Serial.begin(57600);
  Serial.println("Serial Connected");
  Serial.println();
  Serial.println("Manual setTime Example");
  Serial.println();
}

void loop() {
     if(timeStatus() == timeNotSet){
    Serial.println("Please set the Time");
    TimeSet();
   } 
  else{
   // Serial.println("time already set"); 
      digitalClockDisplay(); 
  delay(1000);
  }
}
 
void digitalClockDisplay(){
  /*
  time_t t = now();
  Serial.print("");
  Serial.print("Val t = ");
  Serial.println(t);
  */
  Serial.print(day());
  Serial.print("/"); 
  Serial.print(month());
  Serial.print("/"); 
  Serial.print(year());
  Serial.print(" ");
 
  Serial.print(hour());
  Serial.print(":");
  printDigits(minute());
  Serial.print(":"); 
  printDigits(second());
  Serial.println("");

  delay(5000);
}

void TimeSet() {
// Input time   
Serial.println();
  Serial.println("Input time Day dd");
//  day[3] = 0;   //null char
byte Days = 0;
  for (byte x= 0; x < 2; x++)
  {
  Days = (10* Days) + wait_read();   
  }
   Serial.print("Day is Set to ");
   Serial.print(Days);
   Serial.println();
   
  wait_read();     // nl char is discarded

  Serial.println();
  Serial.println("Input time Month mm");
byte Months = 0;
  for (byte x= 0; x < 2; x++)
  {
  Months = (10* Months) + wait_read();   
  }
   Serial.print("Month is Set to ");
   Serial.print(Months);
   Serial.println();
   
  wait_read();     // nl char is discarded

   Serial.println();
  Serial.println("Input time Year yy");
   byte Years = 0;
  for (byte x= 0; x < 2; x++)
  {
  Years = (10* Years) + wait_read();   
  }
   Serial.print("Year is Set to ");
   Serial.print(Years);
   Serial.println();
  wait_read();     // nl char is discarded   

  Serial.println();
  Serial.println("Input time Hours hh");
byte Hours = 0;
  for (byte x= 0; x < 2; x++)
  {
  Hours = (10* Hours) + wait_read();   
  }
   Serial.print("Hour is Set to ");
   Serial.print(Hours);
   Serial.println();
  wait_read();     // newline char is discarded

  Serial.println();
  Serial.println("Input time Minutes mm");
byte Minutes = 0;
  for (byte x= 0; x < 2; x++)
  {
  Minutes = (10* Minutes) + wait_read();   
  }
   Serial.print("Minutes are Set to ");
   Serial.print(Minutes);
   Serial.println();
  wait_read();     // nl char is discarded

   Serial.println();
  Serial.println("Input time Seconds ss");
byte Seconds = 0;
  for (byte x= 0; x < 2; x++)
  {
   Seconds = (10* Seconds) + wait_read();   
  }
   Serial.print("Seconds are Set to ");
   Serial.print(Seconds);
   Serial.println();
  wait_read();     // nl char is discarded

  setTime(Hours,Minutes,Seconds,Days,Months,Years);
}  //End SetTime 


//    Wait for Serial Input
char wait_read (){
  while(!Serial.available())     // Do nothing while waiting for input.
  {  }
 
  /*
The conversion of a character that contains a numeric value that corresponds to a number
can be converted to the number by subtracting the char value '0' from it.  Char '0' = Dec 48
*/
  byte num;
   byte t = Serial.read();
    if (t  >= '0' &&  t <= '9'){
      num = (t - '0');
     // Serial.print("Number Converted to");
     // Serial.println(num);
    }
       return num;
}  //   End wait_read Function

void printDigits(int digits){
  // utility function for digital clock display: prints preceding colon and leading 0

  if(digits < 10)
    Serial.print('0');
  Serial.print(digits);
}
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 24, 2012, 01:26 am
uhm... can you record a screencast video or something with the problem?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Lakes on Oct 24, 2012, 01:29 am
I could do, will a couple of screen shots comparing two serial monitors do for now?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 24, 2012, 01:56 am

I could do, will a couple of screen shots comparing two serial monitors do for now?


Yes, some way to debug it
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Lakes on Oct 24, 2012, 02:03 am
Standard Serial Monitor
(http://i.imgur.com/rWdwM.jpg)

Enhanced Serial Monitor
(http://i.imgur.com/A12eU.jpg)
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 24, 2012, 02:13 am
Thanks, I will check but it seems something with the font? can you change the font, or use the same settings in both?

By the way I updated the IDE today. The bug about the comments is fixed and there is a font settings now as you requested.
(http://content.screencast.com/users/erwinried/folders/Jing/media/80a5168d-ccc3-40fc-ac8a-f122bda546a0/2012-10-23_2026.png)
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Lakes on Oct 24, 2012, 02:18 am

Thanks, I will check but it seems something with the font? can you change the font, or use the same settings in both?
I`ll check that tomorrow.

Quote
By the way I updated the IDE today. The bug about the comments is fixed and there is a font settings now as you requested.
Fantastic! <insert thumbsup emoticon here> :)

Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: guix on Oct 24, 2012, 02:49 am
Hello, I have another suggestion that is easy to add (I think): a setting ine the config file, for scroll speed. I find the scroll speed (when selecting things in the editor) is way too fast, it's hard to select just what I want :)
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 24, 2012, 02:55 am

Hello, I have another suggestion that is easy to add (I think): a setting ine the config file, for scroll speed. I find the scroll speed (when selecting things in the editor) is way too fast, it's hard to select just what I want :)


Already fixed 8) test it in the one you have installed.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: guix on Oct 24, 2012, 03:29 am

Already fixed 8) test it in the one you have installed.


Sorry but I think it's not working then! It's still fast like the original IDE, I don't notice any "linear acceleration". I have version 1.0.1h, downloading latest now.

Edit: ok working with latest 1.0.1i, good work, thanks 8)
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 24, 2012, 04:16 am
Hehehe, yes version 1.0.1i and up. Someone asked for this describing the problem as "screen of custard", but he uses the 0022 so he maybe never will enjoy the enhancements. :smiley-roll:
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Lakes on Oct 24, 2012, 11:13 am
Changing the font back to System,plain,14 made no difference to the serial monitor output, I had to edit the prefs text file as the system font does not appear in the prefs GUI dropdown.

Both prefs setting are editor.font=System,plain,14 and editor.antialias=false



Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 24, 2012, 05:23 pm

Changing the font back to System,plain,14 made no difference to the serial monitor output, I had to edit the prefs text file as the system font does not appear in the prefs GUI dropdown.

Both prefs setting are editor.font=System,plain,14 and editor.antialias=false


OK I see, but can you replicate the problem with a simple sketch? I need some guesses about what is producing the problem because I didn't added too much to the serial routine, only some conditions:
(http://content.screencast.com/users/erwinried/folders/Jing/media/a7179ae4-8348-4f16-96b2-068758c13c0e/2012-10-24_1222.png)

My first guess is maybe at that rate, java speed is so crappy that it loses chars? can you test at lower/higher speed?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Lakes on Oct 24, 2012, 09:42 pm
Even with a delay of half a sec, the serial.prints are not seen until you press the reset button.

Code: [Select]
int sleep = 500;
void setup()
{

  Serial.begin(57600);
  delay(sleep);
  Serial.println();
  delay(sleep);
  Serial.println("Code to Replicate ArdunioERW Serial Monitor Bug.");
  delay(sleep);
  Serial.println();
   delay(sleep);
  Serial.println("Serial Connected");
  delay(sleep);
  Serial.println();
}

void loop()
{
{


Here`s another with some code in the main loop.
The loop should pause waiting for some serial input, but does not.
Sometimes a line of random chars appears before anything else is seen.
Code: [Select]
int sleep = 500;
void setup()
{

  Serial.begin(57600);
  delay(sleep);
  Serial.println();
  delay(sleep);
  Serial.println("Code to Replicate ArdunioERW Serial Monitor Bug.");
  delay(sleep);
  Serial.println();
   delay(sleep);
  Serial.println("Serial Connected");
  delay(sleep);
  Serial.println();
}
 


void loop()
{
  byte t = 0;
  Serial.println();
  delay(sleep);
  Serial.println("Please type a single number into the serial monitor.");
  delay(sleep);
  Serial.println();
   delay(sleep);

  while(!Serial.available())     // Do nothing while waiting for input.
  {  }
  byte num;
   t = Serial.read();
    if (t  >= '0' &&  t <= '9'){
      num = (t - '0');
    }
     Serial.print("Number Converted to ");
     Serial.println(num);
     Serial.read();  //discard nl char sent


Both these work correctly in the original serial monitor.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 24, 2012, 09:56 pm
This is weird, I tested the first one and I still can't replicate the issue, did you edited something else? like the boards.txt?

(http://content.screencast.com/users/erwinried/folders/Jing/media/ca851edf-0100-4da1-82de-29de30d468b0/2012-10-24_1654.png)

No reset, or anything, just upload and open the monitor. Can another user please check this?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Lakes on Oct 24, 2012, 11:13 pm
Don`t know where the boards.txt file is stored, the text file I`ve looked at is the prefs file which is stored in Application\data\Arduino
I`ve changed editor.window.height.default=800 and editor.antialias=false

I suppose it could be something odd with my PC, I`ll try it on the laptop later.

Ok, I`ve just tried a compile with the incorrect board selected and did not get an error, that can`t be right!

I`ve not done anything to change this file.

Can I copy the original boards.txt to replace yours?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 25, 2012, 12:21 am

Don`t know where the boards.txt file is stored, the text file I`ve looked at is the prefs file which is stored in Application\data\Arduino
I`ve changed editor.window.height.default=800 and editor.antialias=false

I suppose it could be something odd with my PC, I`ll try it on the laptop later.

Ok, I`ve just tried a compile with the incorrect board selected and did not get an error, that can`t be right!

I`ve not done anything to change this file.

Can I copy the original boards.txt to replace yours?


Yes, the only thing is the definition of the ram per board. You will get a warning without the boards.txt I used
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: cyclegadget on Oct 25, 2012, 01:03 am
Using his sketch, it seemed that bringing up the serial monitor does not reset the Arduino like I am normally see.

I changed the sketch, and I can see the message if I get the monitor open before the first delay() is over. After the delay is over, the monitor does not reset the board so, a reset is required.
EDIT: this is with version H on windows 7.

Altered the first delay to 5000.:
Code: [Select]
int sleep = 500;
void setup()
{

 Serial.begin(57600);
 delay(5000);
 Serial.println();
 delay(sleep);
 Serial.println("Code to Replicate ArdunioERW Serial Monitor Bug.");
 delay(sleep);
 Serial.println();
  delay(sleep);
 Serial.println("Serial Connected");
 delay(sleep);
 Serial.println();
}

void loop()
{
}
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 25, 2012, 01:09 am

Using his sketch, it seemed that bringing up the serial monitor does not reset the Arduino like I am normally see.

I changed the sketch, and I can see the message if I get the monitor open before the first delay() is over. After the delay is over, the monitor does not reset the board so, a reset is required.
EDIT: this is with version H on windows 7.

Altered the first delay to 5000.:
Code: [Select]
int sleep = 500;
void setup()
{

 Serial.begin(57600);
 delay(5000);
 Serial.println();
 delay(sleep);
 Serial.println("Code to Replicate ArdunioERW Serial Monitor Bug.");
 delay(sleep);
 Serial.println();
  delay(sleep);
 Serial.println("Serial Connected");
 delay(sleep);
 Serial.println();
}

void loop()
{
}



Yes but the reset is not something I am trying to keep, that's more like a bug of the official IDE due old RXTX lib
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Lakes on Oct 25, 2012, 02:49 am
Without that reset, after an upload, the serial monitor does not behave in a consistent manner (on my PC).

Some times it behaves and prints what you send to it, sometimes its blank, and other times I see this..
(http://i.imgur.com/P2Gny.jpg)
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 25, 2012, 02:52 am

Without that reset, after an upload, the serial monitor does not behave in a consistent manner (on my PC).

Some times it behaves and prints what you send to it, sometimes its blank, and other times I see this..
(http://i.imgur.com/P2Gny.jpg)


You renamed avrdude2 right?

The serial flush is handled by the wrapper now, not the ide (the wrapper checks if the port is working or 'hang'), can you test installing the last version? I can add some kind of "old" emulation mode token for the preferences, but I need to see if other users are getting the same issue
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: drjiohnsmith on Oct 25, 2012, 09:07 am
I seem to remember there being quite a few 'features' with the arduino and resets,
    and various versions of the boards have various hardware fix's.

dont know, but could it be that you both have different versions of the boards ?

just a thought.

now if you were part of the official arduino team, you might get lots of hardware,
    we can but hope you get adopted by them soon,

Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Lakes on Oct 25, 2012, 10:23 am


Without that reset, after an upload, the serial monitor does not behave in a consistent manner (on my PC).

Some times it behaves and prints what you send to it, sometimes its blank, and other times I see this..
(http://i.imgur.com/P2Gny.jpg)


You renamed avrdude2 right?

The serial flush is handled by the wrapper now, not the ide (the wrapper checks if the port is working or 'hang'), can you test installing the last version? I can add some kind of "old" emulation mode token for the preferences, but I need to see if other users are getting the same issue
The only thing I`ve changed is the prefs file as stated in a previous post, no other file has been altered.

You want me to install version 1.0.1h? (just to be clear as to what I`m doing).
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: mr_sparks on Oct 25, 2012, 06:18 pm
This is great, I was having a lot of issues opening the tool menu and this looks like it solved a lot more than that. Thanks!
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 25, 2012, 06:21 pm
You want me to install version 1.0.1h? (just to be clear as to what I`m doing).


That one also uses the avrdude wrapper, I will love to see another machine/user having the same problem. I just need to find the root of the issues. The serial monitor is rather simplistic, it only dumps the text arduino sends so really I am clueless right now.


I seem to remember there being quite a few 'features' with the arduino and resets,
   and various versions of the boards have various hardware fix's.

dont know, but could it be that you both have different versions of the boards ?

just a thought.

now if you were part of the official arduino team, you might get lots of hardware,
   we can but hope you get adopted by them soon,



Hehehe of course free hardware is always good, but I don't think it works that way. I have couple boards (like 12 or so) but still no leonardo or due to test (I haven't required any of these)


This is great, I was having a lot of issues opening the tool menu and this looks like it solved a lot more than that. Thanks!


You are welcome! that's the idea :D
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Lakes on Oct 25, 2012, 06:41 pm
Works fine with Hyperterminal.
(http://i.imgur.com/8pAyq.jpg)

A couple of times now the IDE has frozen while uploading.
(http://i.imgur.com/7mzma.jpg)

Not getting an error message when the incorrect board is chosen.
(http://i.imgur.com/iE9k4.jpg)
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 25, 2012, 07:09 pm
I can reproduce the second problem, the missing error message. I think my wrapper is eating more than he should, I will check this.

For the serial garbage problem, still clueless :D if you can identify something I can replicate here, or maybe connect with you via remote desktop to debug the issues, I certainly will be able to fix those issues too!

Also I was thinking on make the precompiler to detect "Serial.begin(number)" to set the monitor speed, it seems very dumb to set manually the speed everytime after you get garbage, or even maybe autodetect the bauds speed. First alternative seems easier, but limited (i.e. if you use #define PORTSPEED... or a variable in the begin)
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Lakes on Oct 25, 2012, 09:20 pm
Is the serial monitor "built-in" or could it be an external program?

The idea would be to have an option to start an external program like HyperTerminal or putty when the IDE serial monitor is selected.

I think this is a good idea, because you have more options to clear the screen etc in a "proper" terminal program.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 25, 2012, 10:16 pm

Is the serial monitor "built-in" or could it be an external program?

The idea would be to have an option to start an external program like HyperTerminal or putty when the IDE serial monitor is selected.

I think this is a good idea, because you have more options to clear the screen etc in a "proper" terminal program.


The problem is what happens if the serial port is opened in the other app, should the IDE also terminate the other process? or control it via DDE (if possible), so at the end it is just what it seems: a fully external app
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Lakes on Oct 25, 2012, 11:54 pm
What happens is the IDE tells you that the com port is already in use and asks you if you want to terminate the other App. :)
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 26, 2012, 04:27 am

What happens is the IDE tells you that the com port is already in use and asks you if you want to terminate the other App. :)


Yeah, it is doable but it breaks a lot of things :/ I will have to add options how to define the arguments for the new app (maybe in the preferences) putty.exe /open:xxx, and rewrite my wrapper to detect if the port is opened by another app (maybe scanning processes/recurses) instead of disabling the device and re-enabling it (for failure scenarios) so it is certainly doable, but I don't see really the improvement vs opening the third party serial monitor as a separated app. (Conclusion: Maybe for a future improvement)

Some things I am working on now:
-Performance of the IDE, I upgraded the JDK to last one, this allowed me to change the hack for the blurry icon (http://code.google.com/p/arduino/issues/detail?id=469) with a clean function. Also I upgraded the arduino.exe file with the last launcher4j  8)

-Setup size is now even smaller! 35 MB due the new JDK (you can compare this to  the >160 mb zip of the prerelease IDE for the Due)

I will try to fix the wrapper problem with the errors now.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 26, 2012, 06:23 am
Update 2012/10/26

* 1.0.1i 20121026: Java JDK updated to last version. Launcher compiled with last launch4j. Pretty icon for Windows 7 now uses a cleaner approach (no jdk hacks). AvrDudeWrapper now redirects output and error messages properly to the IDE.

So this means, anyone can use now avrdude.exe (wrapper) exactly as it was avrdude2.exe in any application. :)

I think application is very mature right now, I will have to start porting the changes to the new IDE instead of updating this 1.0.1 version.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Lakes on Oct 26, 2012, 10:47 am
Can you include an option to reset when the Serial monitor is started?

The original IDE does this and so does Hyperterminal (I don`t know how Hyperterminal does it, but I always see the first Serial.prints when Hyperterminal is started).

Thanks.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 26, 2012, 11:59 am

Can you include an option to reset when the Serial monitor is started?

The original IDE does this and so does Hyperterminal (I don`t know how Hyperterminal does it, but I always see the first Serial.prints when Hyperterminal is started).

Thanks.


Maybe if you left autoclear checked I can clear the serial monitor too on every opening?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Lakes on Oct 26, 2012, 12:55 pm
Autoclear checkbox restarts the arduino?, sure that`ll work for me. :)
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: damago1 on Oct 26, 2012, 09:21 pm
I am giving up this version of IDE. I was very excited to have something which is fixing most annoying errors of the original IDE. Downloaded installed and started the first project with dallas thermometers. After very painfull debugging I couldn't even compile the sketch.

I was getting errors which gave completely no clue where the problem is. After several attempts I have landed with a bunch of errors like "variable or field declared void" - for all functions in the example project and gave up.

There must be some changes in the compiler or something which is rendering example projects from OneWire.h and DallasTemperature unusable. I don't know what with other sketches but after opening this in original IDE problems disapeared.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 26, 2012, 09:59 pm

I am giving up this version of IDE. I was very excited to have something which is fixing most annoying errors of the original IDE. Downloaded installed and started the first project with dallas thermometers. After very painfull debugging I couldn't even compile the sketch.

I was getting errors which gave completely no clue where the problem is. After several attempts I have landed with a bunch of errors like "variable or field declared void" - for all functions in the example project and gave up.

There must be some changes in the compiler or something which is rendering example projects from OneWire.h and DallasTemperature unusable. I don't know what with other sketches but after opening this in original IDE problems disapeared.


Original IDE = which version? 0023? or 1.0.1

I am sorry if you are having problems, but there is no much differences in the core of this one vs the official. For the other side, I can listen and fix the issues if there is a way to replicate them.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Quarencia on Oct 27, 2012, 02:52 am
Bad news....Installed the latest build of ide 1.0.1i_20121026 this morning.  Now nothing will compile.  One example problem...Sketches with time library no longer compile.  Compile error is that time_t is not a valid type.  Also can't find all the type declarations and functions in Webduino.  Doesn't appear to be finding and/or linking the libraries correctly.  Also, compiler fails to find all functions that are defined after they are first called in sketches.  Very long lists of errors.  I uninstalled and reinstalled 1.0.1i and it still fails to compile.  The official 1.0.1 still compiles and runs these correctly.  Your version 1.0.1g_? also compiles and runs correctly.

The last version that was working for me was either 1.0.1i_20121019 or 1.0.1i_20121019.  Can't remember exactly which one it was.

Do you have a repository of past versions.  I'd like to load one of the previous builds of 1.0.1i and use that.
Found the old setup files.  Am back-revving to 20121023 and 20121020 versions.  Will let you know how they work.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Quarencia on Oct 27, 2012, 03:14 am
OK.
1.0.1i_20121023 failed to compile sketches correctly with same errors in previous post.
1.0.1i_20121020 compiled everything sucessfully with no errors.

Your change log shows that you fixed the compiler line number error between these two revs.  How could that cause these errors?

Oh, and I'm not ready to give up on your ide just yet.  Way too many cool features.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 27, 2012, 03:26 am

OK.
1.0.1i_20121023 failed to compile sketches correctly with same errors in previous post.
1.0.1i_20121020 compiled everything sucessfully with no errors.

Your change log shows that you fixed the compiler line number error between these two revs.  How could that cause these errors?

Oh, and I'm not ready to give up on your ide just yet.  Way too many cool features.


Wow, weird. Can you send me the broken sketches? I always test some of the samples in my machine and in a virtual one

The problem with the lines was in the preprocessor, I removed stuff but maybe I break something. I tried with a lot of my sketches, and all of them are compiling. I need some hints  :smiley-roll-blue:
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Quarencia on Oct 27, 2012, 03:59 am
Just sent a sketch and libraries to the e-mail in your profile.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 27, 2012, 04:04 am

Just sent a sketch and libraries to the e-mail in your profile.


Thanks, will check what's going on.

https://github.com/eried/Arduino/commit/5e48574e03288bd68526506f0cf1f5865301513c

This is the precompiler change, I think it is not related. And I can't see any relation with the new JDK and the problems
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 27, 2012, 04:45 am
Nice! I found the problem! it was the fix for the error-line. I am reviewing it carefully now.

Everything is fixed now! enjoy :D sorry for the inconveniences.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Quarencia on Oct 27, 2012, 09:07 am
Awesome! That fixed it.  Tested my sketches and the examples that were failing.  Everythnig compiles just fine in latest version.  Forced a few compile errors while I was at it and correct line numbers for compile errors is very nice.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Quarencia on Oct 27, 2012, 06:13 pm
I'm still getting all the annoying compiler warning messages.  Most annoying is only initialized variables can be placed into program memory area.  When I do verbose compile, this fills several screens.  I've read that the latest AVR-GCC 4.7.0 and AVR-LIBC 1.8.0 are supposed to be rid of this erroneous compiler message.  See Andy Brown's write up and solution here http://andybrown.me.uk/wk/2012/04/28/avr-gcc-4-7-0-and-avr-libc-1-8-0-compiled-for-windows/ (http://andybrown.me.uk/wk/2012/04/28/avr-gcc-4-7-0-and-avr-libc-1-8-0-compiled-for-windows/).

Also, I saw that Arduino released some patches to fix all the bad type casting and other sloppy & amateur programming hacks in the official arduino libraries.  <rant>I can't begin to tell you how much the sloppy programming in the official cores/libraries annoys me.  Especially since most of them have been around for a long time.  I'm the amateur, I don't need my tools to be.</rant>  See issue 963 here http://code.google.com/p/arduino/issues/detail?id=963 (http://code.google.com/p/arduino/issues/detail?id=963)

Any chance these could be incorporated?  Or are they already incorporated and they just don't completely fix the problems?

Thanks,
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 27, 2012, 07:44 pm
Are those issues addressed by 1.0.2? or 1.5 (I am confused what version is the next one)

If yes: well I have to move soon to one of those, so they will be addressed, I am just waiting for an official release to get the last source.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Quarencia on Oct 28, 2012, 01:15 pm
I don't know if they're in the next versions.  In theory, the patches should be, but history has shown theory and logic to be a poor predictor of future reality for Arduino code fixes.  As for AVRGCC and ACRLIBC, I can't imagine Arduino jumping from 4.3.3 all the way to 4.7.0.  We'll see what happens.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Markus_L811 on Oct 29, 2012, 12:22 pm
Hi very nice doing,

but something is strange, the IDE is thinking my board is 1 port ahead, so serial Port is selected to 7 and if I trying to upload an Sketch it means Port 8 is used so if I select skip the upload goes forward but the IDE tells me Port 8 is used.

B.R.

Markus

Btw. I use an Leonardo
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 29, 2012, 06:17 pm

Hi very nice doing,

but something is strange, the IDE is thinking my board is 1 port ahead, so serial Port is selected to 7 and if I trying to upload an Sketch it means Port 8 is used so if I select skip the upload goes forward but the IDE tells me Port 8 is used.

B.R.

Markus

Btw. I use an Leonardo


Thanks for the report, can you go to preferences, check Compile verbose and try again please? and paste here the first part of the verbose text that appears in the log.

What is the path of program files in your language?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Markus_L811 on Oct 30, 2012, 08:35 am
So there it is,

C:\Program Files (x86)\Arduino\Arduino ERW 1.0.1i
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 30, 2012, 08:59 am

So there it is,

C:\Program Files (x86)\Arduino\Arduino ERW 1.0.1i


Can you open putty or some serial monitor pointing to COM7 and the Leonardo RX, TX leds light up?

I see in your file:
Code: [Select]
Forcing reset using 1200bps open/close on port COM7
PORTS {COM7, } / {COM7, } => {}
PORTS {COM7, } / {COM7, } => {}
PORTS {COM7, } / {COM7, } => {}
PORTS {COM7, } / {COM7, } => {}
PORTS {COM7, } / {COM7, } => {}
PORTS {COM7, } / {COM7, } => {}
PORTS {COM7, } / {COM7, } => {}
PORTS {COM7, } / {COM8, } => {COM8, }
Found Leonardo upload port: COM8


So it seems the leonardo does something different. I don't have that board to test, but I will check the IDE code to see what is the original IDE doing. It seems windows reports COM7 as the leonardo com, but there is a routine in the IDE to detect the port if the leonardo is not responding.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Markus_L811 on Oct 30, 2012, 09:31 am

Can you open putty or some serial monitor pointing to COM7 and the Leonardo RX, TX leds light up?


Yes on COM7

Quote
Initial minimum RAM usage (more will be used at run time): 46 bytes (of a 2560 byte maximum)
Forcing reset using 1200bps open/close on port COM7
PORTS {COM7, } / {COM7, } => {}
PORTS {COM7, } / {COM7, } => {}
PORTS {COM7, } / {COM7, } => {}
PORTS {COM7, } / {COM7, } => {}
PORTS {COM7, } / {COM7, } => {}
PORTS {COM7, } / {COM7, } => {}
PORTS {COM7, } / {COM7, } => {}
PORTS {COM7, } / {COM7, } => {}
PORTS {COM7, } / {} => {}
PORTS {} / {} => {}
PORTS {} / {COM8, } => {COM8, }
Found Leonardo upload port: COM8


Output from Original Arduino IDE

I musst correct my self if I select skip or fix nothing happend no upload is done.

Arduino_ERW_1.0.1i_20121020 is in use
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 30, 2012, 10:57 am
I am not sure how that works in the leonardo, but it seems the same "port detection routine". I will try to see why the leonardo do that.

I see the official ide added:
"Initial minimum RAM usage (more will be used at run time):"

or it is your own hack?

It was about time hahah the patch was "TODO" like since 3 years ago.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Markus_L811 on Oct 30, 2012, 11:14 am

I am not sure how that works in the leonardo, but it seems the same "port detection routine". I will try to see why the leonardo do that.

I see the official ide added:
"Initial minimum RAM usage (more will be used at run time):"

or it is your own hack?

It was about time hahah the patch was "TODO" like since 3 years ago.

Not my own hack I found that somewhere and drop it in the official IDE.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Sergegsx on Oct 31, 2012, 05:48 pm
thank you so much for this...

* Hold Control key on Upload: To open the Serial Monitor automatically when upload complete (do not lose a bit! from the Serial data or compulsivelly click the serial monitor button).

Would it be possible to add an option, to always open serial monitor after uploading? I believe 95% of my sketches use some kind of serial output, i always have to be fast and clik the montior. with the control option you have added, this improves alot, but consider adding it as default to open the serial monitor.

thanks

keep the great work
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Nov 01, 2012, 12:00 am

thank you so much for this...

* Hold Control key on Upload: To open the Serial Monitor automatically when upload complete (do not lose a bit! from the Serial data or compulsivelly click the serial monitor button).

Would it be possible to add an option, to always open serial monitor after uploading? I believe 95% of my sketches use some kind of serial output, i always have to be fast and clik the montior. with the control option you have added, this improves alot, but consider adding it as default to open the serial monitor.

thanks

keep the great work


Well, second person that asks this maybe I should add it for the next version. Any suggestion from other user, maybe against this?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: cyclegadget on Nov 01, 2012, 01:20 am
Quote
Well, second person that asks this maybe I should add it for the next version. Any suggestion from other user, maybe against this?


Maybe, have a place in preferences where you can put a check mark to enable the "auto serial monitor" feature.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: drjiohnsmith on Nov 01, 2012, 08:25 am
make that  a third person

id like the button to upload to be configurable
  load
or load and open serilal port

Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: cyclegadget on Nov 01, 2012, 07:42 pm

make that  a third person

id like the button to upload to be configurable
  load
or load and open serilal port




How about 2 separate buttons one is "upload" the other is "upload with serial monitor"?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: drjiohnsmith on Nov 01, 2012, 07:51 pm
all options work for me.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Nov 01, 2012, 08:05 pm
Another button is doable, but I personally prefer

1) new option in preferences.txt to "revert" the upload mode, i.e. modifier key now upload without serial monitor
2) checkbox in preferences, near the "verbose" things. Default = official ide

I will add this to next version

______________________________

I got more information about the next release, I am not really sure what to do yet, probably the best path to follow is: update to 1.0.2... maybe just changing the version number because I don't believe they enhanced anything.

1.0.2 will be released soon, this is the legacy AVR IDE.

1.5 will be the next version, supporting other architectures and they (arduino team) say it is improved and faster. Will replace the legacy ide.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: damago1 on Nov 05, 2012, 10:53 am
I have installed the 1.5 IDE and I am disappointed.Even very old bug with fixing the delayed Tools menu was not fixed, no possibility to autoopen serial monitor etc. No significant changes except for addition of Arduino Due libraries/compilation etc.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: damago1 on Nov 05, 2012, 10:59 am
Regarding the fact that AER does not work on Leonardo (i.e. upload to Arduino Leonardo does not work) popping the message asking to fix the COM port and then leaving with error:

Serial port 'COM15' already in use. Check your board or Click fix on next upload.

The reason is that the upload process on Leonardo is different. Leonardo has USB controller built into the processor core so it disapears from the list of ports on every reset and reset is required to enter the bootloader. The detailed information on this is here:

http://arduino.cc/en/Guide/ArduinoLeonardo#toc12

What is relevant to IDE is:

... because the Leonardo's serial port is virtual, it disappears when the boards resets, the Arduino software uses a different strategy for timing the upload than with the Uno and other boards. In particular,
1) IDE is initiating the auto-reset of the Leonardo (using the serial port selected in the Tools > Serial Port menu). It does it by opening the virtual com port at 1200 baud and then closing it. This is a signal for firmware to reset the processor of Leonardo, and the virtual (CDC) serial/ COM port disappears from the list.
2) the Arduino software waits for a new virtual (CDC) serial / COM port to appear - one that it assumes represents the Leonardo bootloader. It then performs the upload on this newly-appeared port.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Nov 05, 2012, 11:00 am

I have installed the 1.5 IDE and I am disappointed.Even very old bug with fixing the delayed Tools menu was not fixed, no possibility to autoopen serial monitor etc. No significant changes except for addition of Arduino Due libraries/compilation etc.


=( but you have a Due? I want to go with the 1.5 for sure, but I beta feels like nobody will trust a "mod" from a beta version. With about 40 downloads per day I think I can't release some unfinished stuff as the new version.

For the moment I migrated all my machines to win8 and I am still not "productive" working on the mod... to bad I have to install java -sigh- in my shiny win8  :smiley-sad-blue:
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Nantonos on Nov 06, 2012, 02:34 am

How about 2 separate buttons one is "upload" the other is "upload with serial monitor"?


That would be my preference.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Nov 06, 2012, 03:51 am


How about 2 separate buttons one is "upload" the other is "upload with serial monitor"?


That would be my preference.


It is possible, but for now I am keeping the "setting to force the monitor" when you press the upload button (ctrl+upload, does not opens the monitor in this scenario). No new UI setting in preferences for the moment.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Nov 06, 2012, 04:07 am
OK, I spent a lot of hours this afternoon updating all the enhancements to the new source for 1.0.2
I tested it for a while (and it works well with my mega), but if you find something, just report it here:

1.0.2 Update (2012-11-06)
http://arduino.cc/forum/index.php/topic,118440.0.html

-Fully updated to official 1.0.2 version (but keeping all things, new JDK, new WinAVR/avrdude, pretty icon, Bluetooth responsiveness, etc)
-Some workarounds for Leonardo board in the AvrDude Wrapper. (somebody with a Leonardo please test this!)
-Setting to revert the function of Upload button to Upload and open Monitor (install the IDE, then open idesettings_v1.0.2.txt file):
Code: [Select]
serial.open_monitor=true
-Other small fixes
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Markus_L811 on Nov 06, 2012, 07:47 am

-Some workarounds for Leonardo board in the AvrDude Wrapper. (somebody with a Leonardo please test this!)


Jupp works for me. Thanks.

1 or 2 things I thinking about

1st  Numbers for the code lines so it is easier to find errors in the code
2nd the possibility to set self the counter when the Estimated memory line apears red (in percent maybe)
3rd an option to deactivate the start splashscreen to get faster to work

And a dream of me an Board-Generator so I can generate the Lines for the Board.txt from an Editor mask and pulldown selections for some parts and autointegrate it.

Damm!

Serial Monitor is brocken no Serial output from the Leonardo
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: AlxDroidDev on Nov 06, 2012, 02:22 pm

And a dream of me an Board-Generator so I can generate the Lines for the Board.txt from an Editor mask and pulldown selections for some parts and autointegrate it.


That is the top item in my wishlist.

I have a couple homemade Arduinos that use the 328 (non-P) AVR. It is ok if I want to use a serial-2-usb adapter, but when use ICSP (USBasp) to program then, I have to manually edit the boards.txt file to change the signature.

I also have a couple Atmega1284 (both P and non-P), which aren't standard  - as you all know - for arduino clones.

Being able to properly create my boards in the arduino IDE would be great, with all the required files properly edited to include them. I haven't takne the time to study what are all the required changes to support the Atmega1284 and 328 non-P, but I do acknowledge that at this moment I lack both the time to do it and some of the required background knowledge.
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: eried on Nov 06, 2012, 02:43 pm
Damm!

Serial Monitor is brocken no Serial output from the Leonardo


Works with the oficial?
Title: Re: [MOD] Arduino Enhanced Release 1.0.1i for Windows (installer, drivers, etc) +SRC
Post by: Markus_L811 on Nov 06, 2012, 03:58 pm

Damm!

Serial Monitor is brocken no Serial output from the Leonardo


Works with the official?

Yes there is it ok
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: eried on Nov 06, 2012, 04:24 pm
Following what damago1 found:

Quote
1) IDE is initiating the auto-reset of the Leonardo (using the serial port selected in the Tools > Serial Port menu). It does it by opening the virtual com port at 1200 baud and then closing it. This is a signal for firmware to reset the processor of Leonardo, and the virtual (CDC) serial/ COM port disappears from the list.
2) the Arduino software waits for a new virtual (CDC) serial / COM port to appear - one that it assumes represents the Leonardo bootloader. It then performs the upload on this newly-appeared port.


I can guess the port should change for the serial monitor too, but I don't know how the official one works if I don't see any difference in these routines and I don't know how to replicate the Leonardo behavior with another board to test, so for the moment I can't do anything to fix this.
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: eried on Nov 15, 2012, 02:41 am
Some people asked for a Boards editor. I was working on the parser and it is working perfectly, but now I am thinking on the UI. Of course I want to add some automated stuff (the image below only show simple text entries):

(http://content.screencast.com/users/spam_live.cl/folders/Jing/media/a5eb4bbc-d0ca-4e0f-8ded-daf715912856/2012-11-14_2218.png)

But before I start to enhance this part (will like to get comments  about this):

1) I think it is enough having Save as... and delete, the last item will be not deletable.

2) Application will require admin privileges on launch (due the location of boards.txt)

3) Instead of doing a custom UI, I can use http://www.devcomponents.com/dotnetbar/img/PropertyGrid2.png typical propertygrids (requires work too, create a special class with properties)

4) Maybe it will be nice if the app can "disable/enable" boards? much like the library editor?
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: Markus_L811 on Nov 15, 2012, 09:04 am
Quote
But before I start to enhance this part (will like to get comments  about this):

1) I think it is enough having Save as... and delete, the last item will be not deletable.

2) Application will require admin privileges on launch (due the location of boards.txt)

3) Instead of doing a custom UI, I can use http://www.devcomponents.com/dotnetbar/img/PropertyGrid2.png typical propertygrids (requires work too, create a special class with properties)

4) Maybe it will be nice if the app can "disable/enable" boards? much like the library editor?


1) hard qestion, I don't know

2) if it is so there is no way around

3) looks nice, both is good.

4) Vote for it.
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: pito on Nov 16, 2012, 01:43 am
Is there any plan/intention to enhance the MPIDE as well?

http://www.chipkit.org/forum/

That MPIDE  is basically 99.99% the same stuff as the Arduino IDE.
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: eried on Nov 16, 2012, 04:41 am
Not really. But all my changes are inside the github repository :)

BTW: I don't trust Microchip, they can skin their chipkit with a friendly arduino face but they are evil inside  :smiley-eek-blue: (my first experience with microcontrollers was in the time where picbasic was the king, everything was closed and microchip controlled our lifes :P now I am sure they try to do the same if they get more market one day)
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: CrossRoads on Nov 16, 2012, 08:21 am
eried,
Have you & Josh Marinacci considered getting together?

http://arduino.cc/forum/index.php?topic=120882.new;topicseen#new

This running update of 3 IDEs is a bit confusing.

Well, I guess 4 now with the DUE IDE also.
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: Nantonos on Nov 16, 2012, 11:33 am

eried,
Have you & Josh Marinacci considered getting together?

http://arduino.cc/forum/index.php?topic=120882.new;topicseen#new

This running update of 3 IDEs is a bit confusing.

Well, I guess 4 now with the DUE IDE also.


5, with Teensyduino (http://www.pjrc.com/teensy/teensyduino.html) - which will modify a stock 1.0.1 or 1.0.2 Arduino installation to add Teensy support, but won't modify an Arduino ERW 1.0.2 (I tried). Which means I get to use ERW when programming Arduino boards, but can't use it when programming Teensy boards - and I miss the enhancements.

Well, 6 with the Teensy 3.0 environment which is separate again. But these are all forks or modifiers to the Arduino IDE.
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: eried on Nov 16, 2012, 05:24 pm

eried,
Have you & Josh Marinacci considered getting together?

http://arduino.cc/forum/index.php?topic=120882.new;topicseen#new

This running update of 3 IDEs is a bit confusing.

Well, I guess 4 now with the DUE IDE also.


5 IDE's heheh... my original idea fixing the things (years ago) was to get something fixed someday in the official ide. Since that will never happen, I decided to build this mod mainly just for windows+arduino users (specially for me).

I don't know if everyone noticed but the crusade seems to be pretty effective. Almost no one is now posting or discussing the same drivers/sloweness/installation issues in the forum (I was pretty tired seeing the same issues again and again, even in some 'arduino workshops' a big part of the time is used just to teach how to get the IDE running)

I don't have any other board rather than a couple of arduinos, I have received some requests from people because they experience a lot of the same issues in derivated IDE's but besides providing feedback and hints, doing something it is  just too much work.

So, in conclusion, this mod is just a temporal solution, I may eventually update the ide to 1.5 but Josh solution is a much better approach and I will love to  see any alternative IDE replacing the Arduino IDE in the future, but our work is not very shareable.
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: drjiohnsmith on Nov 16, 2012, 10:52 pm
I'll put in my pennies worth.

You have done a great job,
   kept the focus , and fixed the bugs that have been driving us all crazy
         and made the windows installation as easy as it should be,

   
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: pico on Nov 18, 2012, 05:11 pm
How difficult would it be to put an option under "preferences" to bypass the automatic generation of protypes by the IDE preprocessor? Just leave the .pde/.ino file untouched as a C++ file prior to "merging" with the library source to produce the .cpp file for actual compilation by gcc. That would be a nice addition to the the "external editor" option, if feasible. Eliminate (well, bypass) a whole class of long-standing bugs in the IDE.
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: eried on Nov 18, 2012, 07:51 pm

How difficult would it be to put an option under "preferences" to bypass the automatic generation of protypes by the IDE preprocessor? Just leave the .pde/.ino file untouched as a C++ file prior to "merging" with the library source to produce the .cpp file for actual compilation by gcc. That would be a nice addition to the the "external editor" option, if feasible. Eliminate (well, bypass) a whole class of long-standing bugs in the IDE.



Hi, what kind of bugs? can you elaborate a Little more about the benefits of this feature?
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: warren631 on Nov 18, 2012, 11:07 pm
Great program.  It would be nice if the your exe remembered the last window size and position.
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: eried on Nov 19, 2012, 12:10 am

Great program.  It would be nice if the your exe remembered the last window size and position.


You should use "File/Quit" (it is something inherit from original ide)
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: pico on Nov 19, 2012, 01:11 am


How difficult would it be to put an option under "preferences" to bypass the automatic generation of protypes by the IDE preprocessor? Just leave the .pde/.ino file untouched as a C++ file prior to "merging" with the library source to produce the .cpp file for actual compilation by gcc. That would be a nice addition to the the "external editor" option, if feasible. Eliminate (well, bypass) a whole class of long-standing bugs in the IDE.



Hi, what kind of bugs? can you elaborate a Little more about the benefits of this feature?


Have a browse if you feel inclined:

http://code.google.com/p/arduino/issues/list?can=2&q=preprocessor&colspec=ID+Type+Status+Priority+Milestone+Owner+Summary&cells=tiles

There are also numerous threads in these forums discussing these bugs.

The depressing "official" response to these long standing issues is that it's "tricky" to fix the IDE automatic prototype generation so that it doesn't randomly produce illegal code from valid source files, and that people should simply work around the issues by various tricks (like putting the source code into a .h include file so the IDE preprocessor doesn't touch it.) I don't believe anyone actually understands what the mess of regex code really does anymore, if they ever did. Realistically, the whole mess should be tossed out and redone properly, using proper parsing techniques, but there is no "official" will to do that, and judging by the history, I don't believe these bugs will ever be addressed.

I wasted enough time chasing down issues with this "random code generator" that I eventually moved away from using the IDE completely, using Martin Oldfield's makefiles instead. The only difference is that I have to write my own prototypes now, but that is infinitely preferable to a buggy IDE that attempts to do this automatically. If the IDE had the ability to turn off or bypass its buggy automatic prototype generation, I'd give the IDE further consideration, particularly with the use of the "external editor" option and many of your enhancements.

So the ability to bypass the automatic prototype generation code would be a considerable enhancement to the stability of the IDE. It really attempts to do something that is of dubious or marginal benefit at most to the user anyway. Writing a prototype is no harder than writing the function declaration, and is good practice for a beginning programmer to get into in any case. And as one of the bug reporters commented, "pity the poor noob" who gets bitten by these bugs...


Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: eried on Nov 19, 2012, 03:33 am
Interesting... have you checked if the 1.5 solves anything? I believe they rebuilded most part of the code for that version?

I can think on even rebuilding the pre-parser, I love regular expressions/challenges and I noticed how buggy was when I touched something in the header and screwed everything (weeks ago, the comments problem)
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: pico on Nov 19, 2012, 05:40 am

Interesting... have you checked if the 1.5 solves anything? I believe they rebuilded most part of the code for that version?


No. But given the tendency of the Arduino folks to simply leave these long standing issues in the "too hard" basket in the past, I would be very surprised if anything significant has changed. At this stage, I really don't believe they have either the will or the wherewithal to fix it. It seems to be classified under "acceptably broken".

My solution has been simply to avoid it altogether, but that has also meant avoiding the IDE altogether. Which is why I was wondering if it would be easy to actually put a "bypass" option within the IDE itself, analogous to "use external editor" option.
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: eried on Nov 19, 2012, 04:51 pm
Can you post some code that should compile if that option exists? I am not sure where I have to start to add the "skips"
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: pico on Nov 19, 2012, 06:20 pm

Can you post some code that should compile if that option exists? I am not sure where I have to start to add the "skips"


Skipping the lines that actually write out the attempted automatically generated prototypes into the .cpp file would be the minimal change that should do it. The other stuff it does probably doesn't matter in terms of stability.

Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: AlxDroidDev on Nov 23, 2012, 01:08 pm
Just a quick Q: does the installer install its own Java runtime?
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: eried on Nov 23, 2012, 02:51 pm

Just a quick Q: does the installer install its own Java runtime?


Yes, it uses an internal (updated) java runtime
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: davidhux on Nov 23, 2012, 03:15 pm
I am trying to install on Windows 8 - running in Parallels on a Mac - it install OK but I cannot install the drivers for a UNO board during installation - nor when I drop all security settings.

Also when I run it I cannot see any Serial Ports under Tools drop down menu.

I have a similar problem when running a 'standard release' where Windows downloads/installs drivers when the Arduino is first plugged in - Windows does not see it behind the Virtual Machine.

Any suggestions will be welcome.

Thank-you

Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: eried on Nov 23, 2012, 03:19 pm

I am trying to install on Windows 8 - running in Parallels on a Mac - it install OK but I cannot install the drivers for a UNO board during installation - nor when I drop all security settings.

Also when I run it I cannot see any Serial Ports under Tools drop down menu.

I have a similar problem when running a 'standard release' where Windows downloads/installs drivers when the Arduino is first plugged in - Windows does not see it behind the Virtual Machine.

Any suggestions will be welcome.

Thank-you




Check the first post, the part about driver installer
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: AlxDroidDev on Nov 23, 2012, 04:24 pm


Just a quick Q: does the installer install its own Java runtime?


Yes, it uses an internal (updated) java runtime


Can the installation of its own java runtime be optional, if I want to use my already-installed Java runtime?

The thing is that since I use a SSD drive, I am a bit (too) concious about wear leveling, so I tend to limit the writes as much as possible in the SSD drive. Besides, space is kind of a constraint as well.
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: davidhux on Nov 23, 2012, 05:19 pm
Problem solved - W8 dos not allow drivers without signatures to be loaded - you have to go into Settings and disable this feature.

see
http://www.bryonconnolly.com/windows-8-arduino-driver-install
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: eried on Nov 23, 2012, 07:44 pm

Problem solved - W8 dos not allow drivers without signatures to be loaded - you have to go into Settings and disable this feature.

see
http://www.bryonconnolly.com/windows-8-arduino-driver-install


Yes, it is the same the first post says.
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: eried on Nov 23, 2012, 07:52 pm



Just a quick Q: does the installer install its own Java runtime?


Yes, it uses an internal (updated) java runtime


Can the installation of its own java runtime be optional, if I want to use my already-installed Java runtime?

The thing is that since I use a SSD drive, I am a bit (too) concious about wear leveling, so I tend to limit the writes as much as possible in the SSD drive. Besides, space is kind of a constraint as well.


Yes, but without it, the package will stay the same in size, it will only skip to write the Java folder, that is what you want? (another option is to detect if java is present and only download it if is not in the machine) in that way the package probably will be less than 5 MB in size.
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: Blakus on Nov 25, 2012, 12:42 am
Very handy, works well (takes me back to Win98 !!!).

Cheers ........... Mike B
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: eried on Nov 25, 2012, 01:59 am

Very handy, works well (takes me back to Win98 !!!).

Cheers ........... Mike B


Windows 98? I hope that is something good :D
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: joshmarinacci on Nov 25, 2012, 07:11 am
Would you be interested in helping me with my new IDE?  I'm a GUI expert but I'm not a Windows user so the Windows experience for ArduinoX will always be sub-par. I'm especially interested in your expertise with app packaging and drivers installation.  I have no idea how to do those.

- Josh



eried,
Have you & Josh Marinacci considered getting together?

http://arduino.cc/forum/index.php?topic=120882.new;topicseen#new

This running update of 3 IDEs is a bit confusing.

Well, I guess 4 now with the DUE IDE also.


5 IDE's heheh... my original idea fixing the things (years ago) was to get something fixed someday in the official ide. Since that will never happen, I decided to build this mod mainly just for windows+arduino users (specially for me).

I don't know if everyone noticed but the crusade seems to be pretty effective. Almost no one is now posting or discussing the same drivers/sloweness/installation issues in the forum (I was pretty tired seeing the same issues again and again, even in some 'arduino workshops' a big part of the time is used just to teach how to get the IDE running)

I don't have any other board rather than a couple of arduinos, I have received some requests from people because they experience a lot of the same issues in derivated IDE's but besides providing feedback and hints, doing something it is  just too much work.

So, in conclusion, this mod is just a temporal solution, I may eventually update the ide to 1.5 but Josh solution is a much better approach and I will love to  see any alternative IDE replacing the Arduino IDE in the future, but our work is not very shareable.
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: Blakus on Nov 25, 2012, 10:06 am
G'Day,
I've been trying the mod with good results except when I drag the top of the window upwards to the top of the desktop to have the window full length (Win 7 Home premium 64bit). When I do that it freezes until I reduce the height o f the window.

Cheers ............ Mike B
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: eried on Nov 25, 2012, 05:23 pm

G'Day,
I've been trying the mod with good results except when I drag the top of the window upwards to the top of the desktop to have the window full length (Win 7 Home premium 64bit). When I do that it freezes until I reduce the height o f the window.

Cheers ............ Mike B


Oh, never noticed that before, I don't use that vertical snap too much. I will look if I can fix it, happens the same with the original IDE


Would you be interested in helping me with my new IDE?  I'm a GUI expert but I'm not a Windows user so the Windows experience for ArduinoX will always be sub-par. I'm especially interested in your expertise with app packaging and drivers installation.  I have no idea how to do those.

- Josh


Sure Josh. Tell me what we can do.
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: AlxDroidDev on Nov 26, 2012, 12:16 pm




Just a quick Q: does the installer install its own Java runtime?


Yes, it uses an internal (updated) java runtime


Can the installation of its own java runtime be optional, if I want to use my already-installed Java runtime?

The thing is that since I use a SSD drive, I am a bit (too) concious about wear leveling, so I tend to limit the writes as much as possible in the SSD drive. Besides, space is kind of a constraint as well.


Yes, but without it, the package will stay the same in size, it will only skip to write the Java folder, that is what you want? (another option is to detect if java is present and only download it if is not in the machine) in that way the package probably will be less than 5 MB in size.



Either way is fine for me, but the autodetect of a JRE at installation would be AWESOME!

What I am looking after is to minimize as much as possible the writes to the HDD at install time. This is a concern for those on SSD (my case), because there is a limited number of times each cell can be rewritten. So, if the setup program can install only the specific files (ie. no JRE), that would be great.

Besides, most people - specially those who are developers - already have a JRE preinstalled, so having a second one is unnecessary IMHO.

Anyhow, thank you for taking the time to look into my suggestion.
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: eried on Nov 26, 2012, 05:26 pm
For the next minor release I can add a "non-java" package and if some people download that version, I will keep uploading that one.

By the way, I don't have experience with SSD in my dev machines, but in my ultrabook I have one and I am certainly not worried about write cycles, I am pretty sure they design the drives to stand usual usage up to >4 years (where due capacity and speed, it is not convenient to keep the old drives anymore)
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: pico on Dec 04, 2012, 09:25 am
Is it possible to install your 1.0.2 IDE package in a location other than \Program Files\Arduino?

When I move the installation to another directory (\Arduino) the IDE complained it couldn't find avr-g++ (even though the path it showed was in fact correct after moving the directory). I assume there is some registry value that is causing issues?

It gets quite confusing with multiple location of the sketches directory and the libraries directory when you have more than one version of the IDE installed.

Ideally I'd like to be able to specify a directory for "libraries", in the same way you can now specify the "sketches" dir. This would mean that I could maintain all my source user-level directories independently of particular IDE installations.

Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: pico on Dec 04, 2012, 09:37 am
Also, does your pakage of 1.0.2 have the latest version of avrdude included? I was trying to build and upload for a mega2560 target, and avrdude complained it didn't have a definition for the "wiring" programmer (in earlier version, the programmer option passed to avrdude was "stk500v2" for the mega2560, I think. The "wiring" thing is new.)

Replacing avrdude2.exe and avrdudre.conf with a recent version fixed this. I haven't tested out the "official" 1.0.2 yet, to see if in fact the later version is bundled in that release.
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: jrlp on Dec 05, 2012, 02:37 am
Pico,

I ran into the same problem you did today, as I just installed the software. It seems wiring isn't a known protocol for some reason. I changed the configuration file to try arduino as the protocol, but it would fail and not upload. So I changed it to stk500v2 and works like a charm.

In C:\program files (x86)\arduino\arduino erw 1.0.2\hardware\arduino the file is boards.txt

mega2560.upload.protocol=wiring

gets changed to

mega2560.upload.protocol=stk500v2

on line 136.

Works like a charm, I'm sure it will get fixed next revision. I'm not sure if this is the proper way to fix it, but it does _work_ in my limited testing!
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: pico on Dec 05, 2012, 02:37 pm
Also, how do you get extra board definitions included in the enhanced release (e.g., the ATtiny* chips)?

I copied the "tiny" subdir into the "\program files\arduino\arduino ERW 1.0.2\hardware" subdir, but no go... they didn't show up in the boards list at the next restart.
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: eried on Dec 05, 2012, 07:43 pm

When I move the installation to another directory (\Arduino) the IDE complained it couldn't find avr-g++ (even though the path it showed was in fact correct after moving the directory). I assume there is some registry value that is causing issues?


How are you moving the installation? You need to uninstall it and then install it in another path (or manually change the PATH environment variable)


I copied the "tiny" subdir into the "\program files\arduino\arduino ERW 1.0.2\hardware" subdir, but no go... they didn't show up in the boards list at the next restart.


You need to edit boards.txt (try to backup the old one because it contains the "ram" size, and that's not a default thing)

BTW, did the jrlp's suggestion worked for the protocol issue?
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: pico on Dec 06, 2012, 01:05 am


When I move the installation to another directory (\Arduino) the IDE complained it couldn't find avr-g++ (even though the path it showed was in fact correct after moving the directory). I assume there is some registry value that is causing issues?


How are you moving the installation? You need to uninstall it and then install it in another path (or manually change the PATH environment variable)


I was just cutting and pasting the top level directory from \program files\arduino to \arduino

OK, I've changed the PATH variable in environment settings.

How about specifying a path to user libraries? Is this already possible with your library manager?



I copied the "tiny" subdir into the "\program files\arduino\arduino ERW 1.0.2\hardware" subdir, but no go... they didn't show up in the boards list at the next restart.


You need to edit boards.txt (try to backup the old one because it contains the "ram" size, and that's not a default thing)


Don't need to do this step with the "official" IDE -- what's the specific changed feature that requires this?

Will the build step correctly find the hardware\tiny\bootloaders and hardware\tiny\cores subdirectories if I simply add hardware\tiny\boards.txt to hardware\arduino\boards.txt?

Edit: Actually, copying the "tiny" directory into "hardware" DOES work, without having to modify anything else, now that I've moved things around out of \program files\arduino. Maybe I had copied the "tiny" directory into the wrong place before, I may have been getting confused as to where things were...

This all seems to be working well. This is very good, now I think I keep just two copies of the IDE on disk, the 0023 version for all my pre-1.0 stuff that I don't want to bring over to 1.0.x for whatever reason, and your EWR 1.0.2 for all the newer stuff. (Actually, there is a third version of the IDE installed, which is for the Teensy 3, but that's based on 1.0.2 so that may be able to be merged as well, but I haven't looked into that yet...)

But the 0023 and the EWR 1.0.2 won't clobber each other every  time they are run, which is great! Almost a sane set-up! Another Pepsi is on the way! ;) (BTW, did you look at the feasibility of the "no automatic prototype generation" option for the IDE preprocessor? What do you think?)


BTW, did the jrlp's suggestion worked for the protocol issue?


I don't know, I had already solved it by copying over a later version of avrdude that had the "wiring" programmer definition in avrdude.conf file.

I would fully expect it work, however, since up until recently stk500v2 _was_ the correct protocol for the mega2560, I believe... so if it worked before why wouldn't it work now? Unless they have changed something with the new mega2560 bootloader (but that would only affect those who had updated their bootloader, and I haven't read that anywhere.)

So  I don't know what the story is with the new "wiring" protocol.

Which version of avrdude is your distribution? The one I used to replace is v5.12.

Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: Magicj on Dec 06, 2012, 01:31 pm

BTW, did the jrlp's suggestion worked for the protocol issue?


It did for me  :)
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: eried on Dec 06, 2012, 07:15 pm

How about specifying a path to user libraries? Is this already possible with your library manager?


Hi, thanks for the Pepsi :D, well not really, they are dependent on the user sketch directory, that can be modified but I think is more a hustle than something useful. You may look at "hard links" in Windows (mklink command) and create a hard link to the libraries in the other directory (to keep only 1 copy of the libraries but many folders as 'virtual' accesses)


But the 0023 and the EWR 1.0.2 won't clobber each other every  time they are run, which is great! Almost a sane set-up! Another Pepsi is on the way! ;) (BTW, did you look at the feasibility of the "no automatic prototype generation" option for the IDE preprocessor? What do you think?)


Haven't checked this. I was trying to fix the resize window problem but it seems is something in java and it is not fixable (it was reported for win7, 2 years ago).


Which version of avrdude is your distribution? The one I used to replace is v5.12.


5.10



BTW, did the jrlp's suggestion worked for the protocol issue?


It did for me  :)


Nice!
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: jrlp on Dec 07, 2012, 08:47 am
Glad my little fix helped at least a few people out!
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: pico on Dec 07, 2012, 02:51 pm

well not really, they are dependent on the user sketch directory,


Really? How so? I thought the libraries directory was always under the "main" install directory, along with "hardware", "lib" "drivers" etc. How does it's position change relative to the sketch directory?

Confused.  :~
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: dxw00d on Dec 07, 2012, 03:00 pm
Quote
I thought the libraries directory was always under the "main" install directory


The standard libraries are under the IDE main directory. Third party libraries are meant to be stored in a libraries sub-directory of the sketchbook directory, so that they are independent of the IDE installation.
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: pico on Dec 07, 2012, 03:06 pm

Quote
I thought the libraries directory was always under the "main" install directory


The standard libraries are under the IDE main directory. Third party libraries are meant to be stored in a libraries sub-directory of the sketchbook directory, so that they are independent of the IDE installation.


Oh, OK, thanks, I never realised that. I've always put all my libraries, and any third party ones, in the default one. I thought they needed to be there so the build could find them.

Still just use the #include <mylib.h>, and the build will find them?
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: dxw00d on Dec 07, 2012, 03:12 pm
Quote
Still just use the #include <mylib.h>, and the build will find them?


It should do. Always has for me.
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: eried on Dec 07, 2012, 06:32 pm
What dxw00d says is correct, in fact the library manager in my mod uses the user sketch directory to install libraries :D when you click "Add.."
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: Louis Davis on Dec 07, 2012, 08:54 pm
The change to "wiring" added in 1.0.2 to address an upload issue, see here for details: https://github.com/arduino/Arduino/commit/d83543cff15d8a1f4623b1e2babc6c2f4a867815
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: jrlp on Dec 09, 2012, 02:22 am
The problem is wiring isn't defined properly. It's not in the list of programmers. So it may have been done to fix a timing error, but introduced a bug with 100% failure rate. The stk500v2 simply works. When programmers.txt gets updated to define wiring, I'm sure it will fix everything. But until then, this is the only way to get it to work.
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: Louis Davis on Dec 09, 2012, 02:50 am
The 1.0.2 that I downloaded from Arduino is using avrdude 5.11 and supports "wiring"
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: pico on Dec 09, 2012, 05:04 am

The problem is wiring isn't defined properly. It's not in the list of programmers. So it may have been done to fix a timing error, but introduced a bug with 100% failure rate. The stk500v2 simply works. When programmers.txt gets updated to define wiring, I'm sure it will fix everything. But until then, this is the only way to get it to work.


The problem isn't in programmers.txt. The definition for the "wiring" protocol is in avrdude, specifically avrdude.exe and avrdude.conf. Only versions of avrdude 5.11 or later seem to know about "wiring", though.

The problem is that the version of avrdude shipped in this ERW 1.0.2 distro is only 5.10. For maximum compatibility, it should probably be using the same version as the one that shipped with the "official" 1.0.2, which is 5.11.

I just replaced the 5.10 version with the 5.12 version I had installed separately as a stand-alone version. Being a later version it understood the "wiring" parameter specified in programmers.txt. That worked (just remember to rename the newer avrdude.exe to replace avrdude2.exe to fit in with the "wrapper" scheme in ERW 1.0.2.)

Your solution of editing programmers.txt so it specifies "stk500v2" instead of "wiring" will work (well, work as well as it always has in the past), but has the disadvantage that you don't get the timing bug fix that the move to "wiring" was addressing. If that bug doesn't affect you, however, it's no big deal, of course.
 
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: eried on Dec 09, 2012, 06:56 am
Wow! official 1.0.2 has an updated toolkit?! I noticed that recently just by the last messages! sorry I was not aware :/

I though pico manually updated the avrdude
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: Louis Davis on Dec 09, 2012, 10:37 pm
Actually, avrdude 5.11 was released with Arduino 1.0
Title: Re: [MOD] Arduino Enhanced Release 1.0.2 for Windows (installer, drivers, etc) +SRC
Post by: eried on Dec 10, 2012, 02:13 am
So... I am a bit confused with the versioning, I remember the 1.0 with an old winavr toolkit. What should I do? I want to update that and pack a version without java too.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Dec 13, 2012, 09:25 pm
Updated to 1.0.3

* 1.0.3 20121213: Fully updated to official 1.0.3 version (but keeping all the awesomeness, new JDK, new WinAVR/avrdude, etc). Changed the protocol of the mega2560 to avoid some issues with the updated avrdude. Added a light version without Java.

About WinAVR version, etc. I am not sure about avrdude 5.11 version yet, I only found ancient 2008 files in the Official package so I kept my updated ones. Maybe is the conf file?
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: drjiohnsmith on Dec 13, 2012, 09:33 pm
well done
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: Louis Davis on Dec 13, 2012, 09:45 pm
Avrdude 5.11:
http://savannah.nongnu.org/projects/avrdude
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Dec 13, 2012, 09:57 pm

Avrdude 5.11:
http://savannah.nongnu.org/projects/avrdude


yes, I know but what I don't understand is how is the 1.0 contains something updated if there is only ancient winavr stuff inside. Maybe I am confused with the relation with avrdude-winavr, I got the last package of winavr and tweaked the IDE to make it work. I can't find a newer version and for me winavr includes avrdude. So I left the previous files since in the last official package the 'tools' files are 2008-2009
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: Louis Davis on Dec 13, 2012, 10:31 pm
See this commit:
https://github.com/arduino/Arduino/commit/85bf4252f0bfaf7fb86111c2104eb089c3a67496

They updated avr_tools.zip with the 5.11 version of avrdude.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: kwchan1978 on Dec 14, 2012, 09:15 am

http://arduino.cc/forum/index.php/topic,118440.0.html hi, I defaulted English in my modded version, maybe It can fix your issue


Hi,

Thank you very much for sending me the new Arduino ERW 1.0.3.  It works fine with no mixed menu language pull down.  I am a newbie in Arduino.  Once again, thank you.

Best regards,
KW
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: AlxDroidDev on Dec 14, 2012, 08:09 pm
eried, YOU ARE THE MAN!

Thanks so much for taking my suggestion in consideration. I really, and I mean REALLY admire your work and I am grateful for it.

Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: lost_and_confused on Dec 15, 2012, 12:19 am
Hi.

There are 21 pages of stuff.

I just quickly downloaded the file, installed the .Net 4 stuff and tried.

Real useful popup just happened.

"An error ocurred while starting the application."

Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: pico on Dec 15, 2012, 12:53 am

Hi.

There are 21 pages of stuff.


My heart bleeds for you. It really does.

Are you sitting comfortably? Then I shall read it all to you...




Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: lost_and_confused on Dec 15, 2012, 01:02 am
That would nearly constitute Australian humour.

I am having no end of trouble getting the sketches to flash and am just giving it a go.

I was hoping for a quick and easy set up so I can find out what is going on.

If it can't load, for now it is wasting my time.

Yes, what I posted wasn't exactly nice.

But so much for people helping each other.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Dec 15, 2012, 01:08 am
Can you capture the screen with the error? does it pops after the installation? Can you describe your machine? Windows version, what happens with the official one that drove you to try this mod, etc
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: lost_and_confused on Dec 15, 2012, 01:15 am
Yes, the error is after installation.

Before I did it, I got/downloaded .Net 4 and installed it.
(Fun - NOT!)

Then installed the IDE.

This is the error:

(Cropped screen grab)
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Dec 15, 2012, 01:28 am
Are you launching the IDE from the start menu? or launching the previous version?

What version did you installed? the FULL or the one that says no-java ?

I know installing .Net is not fun, but it is usually already installed by Windows Update and it makes the development of certain enhancements much easier.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: lost_and_confused on Dec 15, 2012, 01:35 am
Well, I have 1.0.1 and 1.0.2 installed.

These are the "official" versions.

Then I tried yours.

I also have that "Maria Mole" installed.

As this one comes as a .exe I ran the install and let it do its thing.
It starts to load then simply puts that message on the screen.

The IDE is being launched from a shortcut - which it generated.
The version is the one at the start of this thread - which says no java.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Dec 15, 2012, 01:56 am
Download the first link, the package should be 35 mb or so. That one will solve your problem.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: lost_and_confused on Dec 15, 2012, 03:08 am
You mean this one:

http://arduino-erw.googlecode.com/files/setup_Arduino_ERW_1.0.3_20121213.zip

That is the one I have.
(That is the first link I can find.)
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Dec 15, 2012, 03:24 am
Yes, the error message is because there is something wrong with java. The other thing you can try is installing java, and downloading the version without java. But your problem is very strange.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: lost_and_confused on Dec 15, 2012, 03:37 am
I just checked and I have the latest Java.

So I hope that is good.

I am downloading the "no-java" version now.

(Cute how they go in program files\arduino\...... rather than just in program files\.....  how I have the other two.)
Took a bit of finding.

Installed the NON-JAVA version.  Same problem.
It just gives up on me.   Same error.
(I put in in a similar path but appended NO JAVA to the end, so I have both versions installed.)

That isn't a problem is it?
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Dec 15, 2012, 04:04 am
No, no issues. There is a last thing to do: http://screencast.com/t/LLlm4QraF

And paste that log here.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: lost_and_confused on Dec 15, 2012, 07:58 am
As requested:



CmdLine:   C:\Program Files\Arduino\Arduino ERW 1.0.3\arduino.exe --l4j-debug
WOW64:      no
Working dir:   C:\Program Files\Arduino\Arduino ERW 1.0.3\.
Bundled JRE:   java
Check launcher:   C:\Program Files\Arduino\Arduino ERW 1.0.3\java\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\Arduino\Arduino ERW 1.0.3\java\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
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Dec 15, 2012, 08:18 am
Everything seems right, it is very weird. It should work. Maybe you can track the problem with Process Monitor, looking for locked files that Arduino.exe may fail to load.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: lost_and_confused on Dec 15, 2012, 08:36 am
That was fun.

I was overwhelmed by the log.

Alas there seems to be too many other things going on and gee it is hard to try and find out where the stuff to do with this is happening.

Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Dec 15, 2012, 09:09 am
Click filter... Process name equals: arduino.exe

By the way, you need to research something by yourself if you want to eventually solve the problem. If you have another XP you can compare the activity between the two logs. It is time consuming at first, but I personally can assure you, you can track any issue just with process monitor and process explorer.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: cyclegadget on Dec 15, 2012, 03:30 pm


This is the error:

(Cropped screen grab)





I had the same error when I tried to use Arduino IDE 1.5R2.   It turned out for me, that my files for the ATTiny series chips was causing the problems. It was folder called "Hardware" that contained the ATTiny files.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: lost_and_confused on Dec 15, 2012, 09:12 pm
Well, thanks.

I think I have narrowed down the problem:

See picture.

I shall ask Mr Google but there seems to be a missing DLL file.

Reading what I see, this "DWMAPI" is supposed to be standard with windows.

I have only recently upgraded to SP3 on this machine as I have only just got internet access on this machine.
Until them SP2 was good enough.

Reading the things, the DLL is supposed to be in just about any windows update.
Weird, I have just had a swag of them done, and none of them "installed" it or found it missing and replaced it.

The article also warns about downloading it from places, as it is supposed to be there already.

I'm kinda stuck with what to do now.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Dec 15, 2012, 11:12 pm
Windows will check several paths (defined in the Environment variables) so a FILE NOT FOUND is not always bad, the same as other operations, for example saving a txt file in notepad creates the file first, then deletes, then creates an empty one, etc.

Try to filter by Access denied, or something specific for arduino. I can try to fix your problem remotely via teamviewer if you are not able to find the root in a couple of days.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: pjrc on Dec 20, 2012, 03:37 pm
Nice work on all this!

I've been looking at adapting some of your improvements to work in Teensyduino.  For the menu scrolling, I had to edit the code since the hard-coded 22 pixel menu item height doesn't work for Linux and Mac.

Here's the modified code:

Code: [Select]

  private static int getMaximumItems(JPopupMenu menu) {
        JMenuItem test = new JMenuItem("test");
        ButtonUI ui = test.getUI();
        Dimension d = ui.getPreferredSize(test);
        double item_height = d.getHeight();
        JMenuItem up = new JMenuItem(MenuIcon.UP);
        ui = up.getUI();
        d = ui.getPreferredSize(up);
        double icon_height = d.getHeight();
        double menu_border_height = 8.0; // kludge - how to detect this?
        double screen_height = java.awt.Toolkit.getDefaultToolkit().getScreenSize().getHeight();
        int n = (int)((screen_height - icon_height * 2 - menu_border_height) / item_height);
        return n;
  }


Maybe this doesn't matter, since 22 probably always works fine on Windows.  But I wanted to share this, in case you're interested in using it?
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Dec 20, 2012, 07:00 pm

Nice work on all this!

I've been looking at adapting some of your improvements to work in Teensyduino.  For the menu scrolling, I had to edit the code since the hard-coded 22 pixel menu item height doesn't work for Linux and Mac.

Here's the modified code:

Code: [Select]

 private static int getMaximumItems(JPopupMenu menu) {
       JMenuItem test = new JMenuItem("test");
       ButtonUI ui = test.getUI();
       Dimension d = ui.getPreferredSize(test);
       double item_height = d.getHeight();
       JMenuItem up = new JMenuItem(MenuIcon.UP);
       ui = up.getUI();
       d = ui.getPreferredSize(up);
       double icon_height = d.getHeight();
       double menu_border_height = 8.0; // kludge - how to detect this?
       double screen_height = java.awt.Toolkit.getDefaultToolkit().getScreenSize().getHeight();
       int n = (int)((screen_height - icon_height * 2 - menu_border_height) / item_height);
       return n;
 }


Maybe this doesn't matter, since 22 probably always works fine on Windows.  But I wanted to share this, in case you're interested in using it?



Thanks Paul! I will test and update the code with yours. The fixed 22 was a value for xp or 7 (a bit more than the menu height with the default font in Windows), ugly of course :)

Good luck on the port. I have received some requests about Teensyduino (mainly due the Bluetooth delay and updated winavr) so maybe then I can port your code to Windows again :D
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: pjrc on Dec 21, 2012, 12:52 am
How did you solve the bluetooth delay?  Is it a patch to librxtx?

EDIT:  oh, yup, a librxtx patch... I just found this thread (http://arduino.cc/forum/index.php/topic,46977.0.html)
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: AlxDroidDev on Dec 21, 2012, 01:39 pm
Mine is not working: it shows the splash screen and then just closes. this is the Log output:


Code: [Select]
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


Machine is Windows 7 64-bit, 16Gb RAM, 64-bit JDK + 64-bit JRE
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Dec 21, 2012, 04:35 pm
Hi, is the version with java working in your machine?
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: Louis Davis on Dec 21, 2012, 07:03 pm
I don't think that all components of the Windows version of the IDE are 64 bit compatible.
The only way that I could get the IDE to work with an external version of Java on Win 64 is to install the 32 bit version of Java.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: lost_and_confused on Dec 23, 2012, 12:17 am
I'm back.

Been busy.

I took the two faulty boards to someone else.

He has many Arduinos.

All of them work.  He can flash them and all that.

Plug mine in...  Nothing.

As the chips are DIP, we swapped them.

I have forgotten what exactly happened, but one weird thing was that if we put the "128"(?) chip in where the 328 should be, it can be flashed.

But with the original (and other same) chips, it simply refuses to flash.

We tried re-burnign the boot loader, but that too failed.

WRT the "missing" DLL file:
I looked on my desk machine - which wasn't connected to the net at the time.  There isn't one there either.
I was sort of hoping to find it and copy it.  Alas....  That isn't going to happen.

The other person tried your GUI and it wouldn't flash MY Arduinos.
It would flash others.

Two boards, bought from DIFFERENT SHOPS who have DIFFERENT SUPPLIERS, both seem dead.

Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Dec 23, 2012, 12:29 am
So, that solves the mistery and releases any guilt over my mod?  ]:D
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: lost_and_confused on Dec 23, 2012, 12:32 am
It isn't that I was wanting or meaning to "point fingers".

I was only wanting to understand what the problem is.

Alas I am still none the wiser.

The ones I have (well two of them) don't work.
The other two do.

One is my alarm clock and the other one - ether ten - actually isn't "busted".

Going to one of the shops, we tried MULTIPLE boards and they all failed the same way.

Too many to be a coincidence.

Yet, my machine could flash the two I already had.


Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Dec 23, 2012, 12:36 am
Buy at least one original Arduino. You will have a baseline for testing issues plus you support the project. I have clones, they work, but I always try to buy at least one original of every model
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: lost_and_confused on Dec 23, 2012, 12:46 am
Yeah, that is what I have done.

My original THREE were "Freetroincs" ones.

1 - the clock
2 - an Ether 10 which I thought I blew up.
So I bought #3
3 - An "uno compatible".
It wouldn't flash.

I went back to the shop and tried several.  None of them would flash either.

Out of desperation, I went to another shop and bought an GENUINE UNO.

It won't flash.

I went to someone else's place.  He can't get them flashed either.

Out of sheer desperation - again - I dug up the Ether 10 and it actually still does work.  Other circuit quirks which I need to fix.

It flashes.

The two "new" boards won't.

One is a Freetronics and one is a Genuine Arduino.

Go figure.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: mohamed_hamdy on Dec 23, 2012, 04:43 pm
when i click on verify this massage display on :avr-g++: CreateProcess: No such file or directory

please need help important case .... i use win 8 64bit and adruino uni R3 & adruino EWR 1.0.3
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: Nxukdreamer on Dec 24, 2012, 01:07 am
Muchas gracias!
Arregló mi problema de "Dispositivo desconocido" con mi recientemente adquirida Arduino UNO.
=D
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: Benadski on Dec 27, 2012, 08:54 pm
When I try to start Arduino I only get the splash screen (Win7 64 Ultimate). The startup log says:

Code: [Select]



CmdLine: D:\Elektronica\Arduino\Arduino ERW 1.0.3\arduino.exe --l4j-debug
WOW64: yes
Working dir: D:\Elektronica\Arduino\Arduino ERW 1.0.3\.
Bundled JRE: java
Check launcher: D:\Elektronica\Arduino\Arduino ERW 1.0.3\java\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: D:\Elektronica\Arduino\Arduino ERW 1.0.3\java\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


The normal Arduino did work, but had COM 4 already in use errors (Arduino was on COM4).

Am I forgetting something?
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Dec 27, 2012, 09:03 pm
If you install it to program files, you get the same problem?
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: robogeek on Dec 27, 2012, 11:57 pm
Great modification Eriel and Thanks for sharing it with everyone.
Would love to look over the code you shared and learn something from it some day.

Thanks again.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Dec 29, 2012, 07:16 am
2012-12-29 Update

Too many people is having troubles in Windows 8, so I added a little reminder in the driver installer when that OS is detected. Hope that helps a lot of people getting a smoother process:

(http://content.screencast.com/users/spam_live.cl/folders/Jing/media/019d00e5-ee76-4ffe-9dc6-938978142409/2012-12-29_0255.png)

If someone wants to improve the instructions, send them to me. This update does not contains anything else, so you can skip it if you have the previous one from early december.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: karlok on Jan 04, 2013, 10:14 pm
Hello,

thank you for this Enhanced Release!

How can I reset/reconnect the Arduino with your release? When I used the official one, I clicked on Serial Monitor and Arduino restarts then.
With "restart" I mean exactly the same as pressing the brown-red button on the Arduino saying "RESET".

Thanks again for your help :=)
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Jan 04, 2013, 11:05 pm

Hello,

thank you for this Enhanced Release!

How can I reset/reconnect the Arduino with your release? When I used the official one, I clicked on Serial Monitor and Arduino restarts then.
With "restart" I mean exactly the same as pressing the brown-red button on the Arduino saying "RESET".

Thanks again for your help :=)


Hi, that reset is a bug in the rxtx library, I fixed it so the enumeration is speedy in this version. Why you need that reset? Everytime you upload the code the arduino resets itself.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: karlok on Jan 05, 2013, 12:16 am
Hello,
I need it because I want to look how the program looks like resetted. For example now, I am working with an alarm system and if the sensor is triggered it will send some signals via radio transmission and if not it sends some other signals, and then I just reset Arduino and troubleshoot again why/why not something was triggered. Alternatively, I could change the code so that the alarm can be changed if the situation changed, e.g. stop blinking led when reed switch is closed again. but i like this reset-feature ;)
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Jan 05, 2013, 01:59 am
If you need that bug, you can replace the rxtxSerial.dll file with the one from the official IDE package
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: karlok on Jan 05, 2013, 02:28 pm
Ok, works now. I backuped your modified dll however ;) Thanks
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: AltairLabs on Jan 06, 2013, 11:57 pm
Muchissimas Gracias !

Since arduino-0021 everything for me was broken, on two different Acer Aspire netbooks. Started developing on Uno, except for the ugly USB-COM in Win7 there was not too much problem and itwas FUN to make things.  Had to upgrade Arduino IDE when I got Mega ADK, for almost a year NOTHING worked.  I tried making tables of different combinations of Java, IDE, preferences.txt, and anything else suggested on the forums.  Now with ERW 1.0.3 I can BLINK once more.

I took up Arduino not to troubleshoot WinDoze but to HAVE FUN MAKING THINGS.

THANK YOU!!!!

Enjoy a few beers on me, and I encourage everyone to contribute as well.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Jan 07, 2013, 02:32 am
Good to know! thanks for the donation! $)
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: gandboss on Jan 18, 2013, 10:24 pm
Hi eried hope you are well.

Ive been using ERW 1.0.3 with no problems on a Uno but now I'm using a Leonardo and I cannot get the coms to the monitor to work (same code but with the serial port test for the Leornardo).

It works ok with the non ERW ver 1.0.3

Any thoughts

best wishes
Graham

Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: gandboss on Jan 18, 2013, 10:24 pm
Hi eried hope you are well.

Ive been using ERW 1.0.3 with no problems on a Uno but now I'm using a Leonardo and I cannot get the coms to the monitor to work (same code but with the serial port test for the Leornardo).

It works ok with the non ERW ver 1.0.3

Any thoughts

best wishes
Graham

Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Jan 19, 2013, 01:08 am
What kind of problem do you get with the Leonardo board?

I don't have one, but I know it works a little different. There is one guy porting some of the improvements to Teensy, so I am thinking on steal :P some of that knowledge one day (because the Teensy works similar to the Leonardo) to make the mod work.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: gandboss on Jan 19, 2013, 11:44 am
I use my monitor program for debugging that uses "Serial.print..." to write to the Monitor.

With ERW this does not work.

I'm no expert but my observation is that with the Leonardo the USB is in the processor itself and the USB link drops out and back in twice during every download.  There are details on that elsewhere.  You also need to wait for the instance of the serial port to established by adding.
      while (!Serial) {    ; // wait for serial port to connect. Needed for Leonardo only  }

This I've done although I'm not convinced that works, nevertheless non-ERW environment works and ERW doesn't, shame because I really prefer your polished version and thought you should be aware.   Without a Leonardo I guess your a bit stuffed.   If I can do any tests to help you just shout up, in the meantime Ill use the tardy official IDE.

Thanks
Graham



Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: ODwyerPW on Jan 23, 2013, 12:12 am
Cool work. unfortunately, with the DUE, I need to use 1.5.1r2 .... So I cannot use your version.

But I bought you coffee/pepsi anyway.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Jan 23, 2013, 06:23 am

Cool work. unfortunately, with the DUE, I need to use 1.5.1r2 .... So I cannot use your version.

But I bought you coffee/pepsi anyway.


Thanks a lot! yes I know, I am waiting a little bit for some official 1.5 version so I do all the porting work in a marathon :D (empowered by pepsi cola)
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: securitylabgold on Jan 25, 2013, 01:00 am
Great job! Donation confirmation number is 52D699411D1083802. Good luck. Eli
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: securitylabgold on Jan 25, 2013, 03:52 am
Variable or field 'serialEvent' declared void

I'd like see Pulse Sensor Visualizer on my laptop which used virtual COM3 port: http://arduino.cc/forum/index.php/topic,118440.0.html, but Arduino soft can't Verify and Upload the PulseSensor file http://pulsesensor.myshopify.com/pages/code-and-guide
Please help me to view the heartbeat waveform and check my heart rate on laptop.

Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Jan 25, 2013, 05:31 am
Hi, thanks for the donation!

About your issue: you have to download the file that says arduino, not the "processing" one (they are similar but only the interface)
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: psgarcha92 on Jan 25, 2013, 09:14 pm
Hey eried,
Good work man, keep it up....

Can u help me with getting the Taskbar icon right for version 1.5r2 though?? i know u are waiting for the Stable releases, but i work a lot with the DUE and it would be nice to have the better icon on the Taskbar, the high resolution one....

Please help

Regards
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Jan 26, 2013, 04:00 am
Check the github source, you can copy the code to the new one and compile it again with a shiny new icon.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: psgarcha92 on Jan 26, 2013, 05:22 am
but in github, there is no source for 1.5r2....

Am sorry for being stupid, i am a not very used to compiling and stuff

Regards
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Jan 26, 2013, 03:42 pm

but in github, there is no source for 1.5r2....

Am sorry for being stupid, i am a not very used to compiling and stuff

Regards


There is a file with instructions, look how to make Arduino in google. You may merge a little bit the code from 1.0.3 into 1.5 (just the icon code). Otherwise you will have to wait until I do it
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: psgarcha92 on Jan 30, 2013, 04:51 pm
Hey eried

Thanks for all the work you have done already, what i am going to suggest might seem a little selfish, but,
have u ever used CodeBlocks Compiler? located here
http://www.codeblocks.org/downloads/26#windows

i ask because, i have been using it for a while now, and i have noticed that when i type in an opening brace "{", a closing brace, "}"  is automatically placed in the next line, in a same way, typing in a " results in a closing " in the next line. We have templates now, but it would be really handy if this could also be there in the Arduino IDE. Do u think it is doable, without a lot of efforts?

Please take it just as a suggestion. I am personally a fan of your work, you are doing something the Arduino Team should be undertaking, hats off to you.

Regards 
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Jan 30, 2013, 05:20 pm
It is doable, but as every feature, I wait until several people ask for the same.

In my opinion, I hate these auto completions, I like visual studio style, non-intrusive completion. Sometimes you try to fix some piece of code and the extra stuff keeps showing up. In any new IDE I have to use, I first check how to disable the quotes, parentheses and brackets completion.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: psgarcha92 on Jan 31, 2013, 12:46 pm
@eried,

I totally agree, but when typing long lines of code, which for example might contain if else conditions, it sometimes becomes hard to tell which Closing bracket/Brace belongs to which Opening bracket....if the code is auto formatted in the manner it is done in CoceBlocks, it becomes a lot easier.

Another thing i wanted to ask was, as i have read, your versions of Arduino IDE use newer WinAVR versions....can that ever cause anything to go wrong..? has it ever happened that a code would work fine on the original IDE and not work properly on your IDE??

I cant wait for u to port all you have done to the Due software :)

Regards
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: karlok on Feb 02, 2013, 06:15 pm
Can you replace the shortcut CTRL+ALT+M (upload and then open the serial monitor) with something else?
because it prints the greek letter µ .
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Feb 02, 2013, 07:11 pm
Sure, what do you suggest?

Also you can reverse the behavior in preferences.txt:
(http://content.screencast.com/users/spam_live.cl/folders/Jing/media/589a62b3-33eb-4cd2-958f-224c738bd65b/2013-02-02_1510.png)
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: karlok on Feb 02, 2013, 07:18 pm
In general I don't like pressing three keys at once, even if ctrl+alt = altgr, it is easier to use something like ctrl+?

In this case I would like to use CTRL + M

And in your picture it is show "open serial monitor" can be set to true/false, but this is only the action (upload OR upload+monitor) for the arrow next to "verify". I am refering to the keyboard shortcut.

Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Feb 03, 2013, 02:04 am

In general I don't like pressing three keys at once, even if ctrl+alt = altgr, it is easier to use something like ctrl+?

In this case I would like to use CTRL + M

And in your picture it is show "open serial monitor" can be set to true/false, but this is only the action (upload OR upload+monitor) for the arrow next to "verify". I am refering to the keyboard shortcut.




OK, now it is Ctrl+i

Update 2013-02-02

* 1.0.3 20130202: Tweaks for Windows 8 in the driver installer. Key shortcut to upload and open the serial monitor is now Ctrl+i to avoid issues with some locates. Returns the maximum items that fit in the current screen for the menu scroller now uses Paul Stoffregen code.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: karlok on Feb 03, 2013, 12:24 pm
I really appreciate your fast reaction
However, excuse me,I have to bother you again, the shortcut CTRL+I prints a tabulator!
Could you add this in the configuration file, something like
openserialmonitorshortcut=M (that means CTRL+M)
openserialmonitorshortcut=I (that means CTRL+I)
So everyone with different location-specific settings can define his own shortcut.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Feb 03, 2013, 07:14 pm
mmm... are you sure there isn't some kind of extension on your keyboard? ctrl+i makes sense to me because it is near ctrl+u so I guess the other combination that makes sense is ctrl+alt+u.

Are you sure it creates the tabulator in arduino itself? because I think the ide should trap the ctrl+i before the tabulator.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: karlok on Feb 03, 2013, 08:41 pm
The shortcut CTRL+I prints a tabulator in Notepad, too.

And I prefer using CTRL+some key instead of pressing three keys and what about letting the user change the setting in the configuration file?

Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Feb 03, 2013, 09:09 pm

The shortcut CTRL+I prints a tabulator in Notepad, too.

And I prefer using CTRL+some key instead of pressing three keys and what about letting the user change the setting in the configuration file?




Oh, you are correct! I checked the ctrl+i quickly, but if you select the text it adds the tab. What about Ctrl+Y ?
I can add the setting (as a last resource) but for the moment I prefer to keep this simple.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: karlok on Feb 03, 2013, 09:12 pm
I still prefer Ctrl+M ;)
Ctrl and Y is very near each other (german keyboard, QWERTZ) so I would need to use the right ctrl-key. It is ok, though
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Feb 03, 2013, 09:43 pm

I still prefer Ctrl+M ;)
Ctrl and Y is very near each other (german keyboard, QWERTZ) so I would need to use the right ctrl-key. It is ok, though


OK you win! haha I tough ctrl+m was already assigned but it is not. So ctrl+m will be the final.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: karlok on Feb 03, 2013, 09:45 pm
Thank you very much
looking forward to downloading the new version
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Feb 03, 2013, 09:55 pm

Thank you very much
looking forward to downloading the new version


It is available right now to download. I hope does not makes conflict now with someone in Andorra because ctrl+M adds some andorrian symbol hahah :D
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: karlok on Feb 03, 2013, 10:06 pm
Works like a charm!
Thank you very much ;)
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Feb 09, 2013, 04:26 am
For all these TI loves :P I modded the Energia IDE with the same fixes/improvements:
http://forum.43oh.com/topic/3342-mod-energia-enhanced-release-103-for-windows-installer-drivers-etc-src/

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 :D in some future version, this means 0 dependencies or system modifications now)
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: avenue33 on Feb 09, 2013, 10:27 am
Nice!
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: hole on Feb 14, 2013, 12:06 am

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.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: cyclegadget on Feb 14, 2013, 03:26 am

   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?
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Feb 14, 2013, 04:11 am


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?




   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?
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: hole on Feb 14, 2013, 08:50 am

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.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: cyclegadget on Feb 15, 2013, 03:33 pm


Quote

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!
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Feb 15, 2013, 06:20 pm
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


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 :D so, no more warning
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: cyclegadget on Feb 16, 2013, 12:42 am

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: http://playground.arduino.cc/Code/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.
Title: Nice font from Adobe made for coders and programmer.
Post by: NicksonYap on Feb 16, 2013, 01:52 pm
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.
(http://arduino.cc/forum/index.php?action=dlattach;topic=118440.0;attach=36343;image)

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 :P
Title: Re: Nice font from Adobe made for coders and programmer.
Post by: modeller on Feb 16, 2013, 02:38 pm


You're welcome :P


Got it - thanks!
Title: Re: Nice font from Adobe made for coders and programmer.
Post by: eried on Feb 16, 2013, 08:25 pm

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.
(http://arduino.cc/forum/index.php?action=dlattach;topic=118440.0;attach=36343;image)

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 :P


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

haha :D will use this one, thanks
Title: Re: Nice font from Adobe made for coders and programmer.
Post by: modeller on Feb 16, 2013, 09:32 pm

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.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Feb 17, 2013, 01:23 am
Did you configured antialias=true?
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: AlxDroidDev on Feb 18, 2013, 08:20 pm
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:

Code: [Select]
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.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Feb 18, 2013, 08:57 pm
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
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: modeller on Feb 18, 2013, 09:10 pm

Did you configured antialias=true?


Oh wow - way better now.  :smiley-eek:

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.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: AlxDroidDev on Feb 18, 2013, 09:15 pm
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!

Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: Louis Davis on Feb 18, 2013, 10:07 pm
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.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Feb 19, 2013, 01:28 am


Did you configured antialias=true?


Oh wow - way better now.  :smiley-eek:

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 :)
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Feb 19, 2013, 02:17 am

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!




What Louis Davis says seems to be correct. You maybe require the JDK in 32 bits. About: "AVRdude version 5.10 instead of the newer 5.11" can you tell me how to check this, I am still confused since you (or someone) commented this weeks ago.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: hole on Feb 19, 2013, 11:29 am

PS: I will try to add the new features.


In case you run out of idea: a "remove trailing spaces" pre pass could be added to the auto format source code.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: AlxDroidDev on Feb 19, 2013, 12:44 pm

What Louis Davis says seems to be correct. You maybe require the JDK in 32 bits. About: "AVRdude version 5.10 instead of the newer 5.11" can you tell me how to check this, I am still confused since you (or someone) commented this weeks ago.


Thanks. I'll try and install the 32-bit JRE.

To check the version of AVRdude, just run (from a command prompt):

avrdude -?


the version is the very last info shown, and with version <=5.10, the results are a bit garbled in the screen (it is neat in 5.11).
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Feb 19, 2013, 06:33 pm


PS: I will try to add the new features.


In case you run out of idea: a "remove trailing spaces" pre pass could be added to the auto format source code.


Any example?
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: hole on Feb 20, 2013, 07:08 pm
Type any line of text, then hold the space key. It will add spaces at the end of the line.   :)

It does no do any harm to keep them there, but I find it annoying. So I like to clean up. Especially if I release code.

Notepad++ -> TextFX -> Trim Trailing Spaces does it for me.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: modeller on Feb 20, 2013, 07:16 pm
When I open the IDE I get an empty window. If I then go and open one of my programs it opens yet another window. Is there any setting that will stop the second window from opening. I just want the code to appear in the window that starts when the IDE starts. I looked at the preferences file and didn't see anything that looked like the setting I needed.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Feb 20, 2013, 07:43 pm

Type any line of text, then hold the space key. It will add spaces at the end of the line.   :)

It does no do any harm to keep them there, but I find it annoying. So I like to clean up. Especially if I release code.

Notepad++ -> TextFX -> Trim Trailing Spaces does it for me.


Ah, ok, it's doable.


When I open the IDE I get an empty window. If I then go and open one of my programs it opens yet another window. Is there any setting that will stop the second window from opening. I just want the code to appear in the window that starts when the IDE starts. I looked at the preferences file and didn't see anything that looked like the setting I needed.


I can research this.


So, pending stuff to add/research until now (ideally for the 1.0.4 update):
-remove trailing spaces
-reuse window
-upload hex option
-change to Source Code Pro font
-some fixes from Energia -> Arduino (like 8.3 naming issue to remove the requeriment of PATH modification, some selection issues)
-check avr compiles version
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: AlxDroidDev on Feb 21, 2013, 03:19 am


What Louis Davis says seems to be correct. You maybe require the JDK in 32 bits. About: "AVRdude version 5.10 instead of the newer 5.11" can you tell me how to check this, I am still confused since you (or someone) commented this weeks ago.


Thanks. I'll try and install the 32-bit JRE.



Eried, I gave the 32-bit JRE a try. I have GOOD and bad news. Let's go to the bad news first.

Here's what I did:
Totally uninstalled JAVA from my notebook (I had JSE + JRE for Java 6 and 7.0.10)

Then I installed:
(1st) JRE 7.0.15 32-bit
(2nd) JSE + JRE 7.0.15 64-bit

Still it didn't run, and this is the bad news. Checking the log file, I noticed it was correctly looking for the JRE I had installed, but I only found the 64-bit JRE.

What I did then was to remove the JAVA folder from the Arduino ERW folder and then create a symlink to the 32-bit JRE.

To do this, open a command prompt as administrator and issue the commands:

CD "C:\Devel\Arduino 1.0.3 ERW"   <ENTER> This is where I have my ERW IDE installed.
MKLINK /d java "c:\Program Files (x86)\Java\jre7" <ENTER>

Then I ran Arduino ERW and... SUCCESS!

Based on my experience, I'd like to make 2 suggestions:
- Either force Arduino ERW to look for a 32-bit JRE (and ignore any 64-bit JRE, since it won't work)
- or Let the use specify what JRE to use (either through the command line or in an INI file, like eclipse does in the eclipse.ini file)

This way users won't have to resort to the gimmick I did, which was to use the mklink. MKLINK has been present in Windows for a long time, first from the Resource Kits and them they started being shipped with Vista. Not many people, however, know about it. MKLINK works just like the symlink stuff from Linux.

Thanks again for all the attention and keep up the good work.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: qwertysimo on Feb 24, 2013, 03:22 pm
Hi eried,

can you please verify this bug in editor window? Scenario:

(http://qwerty.sk/images/eried_103.jpg)

After pressing the Replace All button the editor hangs. I must kill the process in task manager. It works fine in official v1.0.3 IDE.


qwertysimo

Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: qwertysimo on Feb 24, 2013, 05:16 pm
Another one?

In editor, when you have more opened tabs with saved contents, switching between tabs indicates change in code by adding asterix after tab name but there was no actual change made.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Feb 24, 2013, 10:50 pm



What Louis Davis says seems to be correct. You maybe require the JDK in 32 bits. About: "AVRdude version 5.10 instead of the newer 5.11" can you tell me how to check this, I am still confused since you (or someone) commented this weeks ago.


Thanks. I'll try and install the 32-bit JRE.



Eried, I gave the 32-bit JRE a try. I have GOOD and bad news. Let's go to the bad news first.

Here's what I did:
Totally uninstalled JAVA from my notebook (I had JSE + JRE for Java 6 and 7.0.10)

Then I installed:
(1st) JRE 7.0.15 32-bit
(2nd) JSE + JRE 7.0.15 64-bit

Still it didn't run, and this is the bad news. Checking the log file, I noticed it was correctly looking for the JRE I had installed, but I only found the 64-bit JRE.

What I did then was to remove the JAVA folder from the Arduino ERW folder and then create a symlink to the 32-bit JRE.

To do this, open a command prompt as administrator and issue the commands:

CD "C:\Devel\Arduino 1.0.3 ERW"   <ENTER> This is where I have my ERW IDE installed.
MKLINK /d java "c:\Program Files (x86)\Java\jre7" <ENTER>

Then I ran Arduino ERW and... SUCCESS!

Based on my experience, I'd like to make 2 suggestions:
- Either force Arduino ERW to look for a 32-bit JRE (and ignore any 64-bit JRE, since it won't work)
- or Let the use specify what JRE to use (either through the command line or in an INI file, like eclipse does in the eclipse.ini file)

This way users won't have to resort to the gimmick I did, which was to use the mklink. MKLINK has been present in Windows for a long time, first from the Resource Kits and them they started being shipped with Vista. Not many people, however, know about it. MKLINK works just like the symlink stuff from Linux.

Thanks again for all the attention and keep up the good work.



Nice, I will see what can I do, mainly I am just using the launcher the oficial IDE created (my modifications are VERY Little there) but I will check.


Hi eried,

can you please verify this bug in editor window? Scenario:

(http://qwerty.sk/images/eried_103.jpg)

After pressing the Replace All button the editor hangs. I must kill the process in task manager. It works fine in official v1.0.3 IDE.


qwertysimo




Thanks for the report. Will check & fix this.


Another one?

In editor, when you have more opened tabs with saved contents, switching between tabs indicates change in code by adding asterix after tab name but there was no actual change made.


Well, this is by design but it is not very "Smart". I will also try to check if is easy to fix
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: qwertysimo on Feb 28, 2013, 10:19 am
Hi again,

found another bug that does not exist in official 1.0.3. Scenario:

Open a sketchbook that has at least three tabs (create folder Test in your sketch directory and create three files inside: Test.ino, Test2.ino and Test3.ino). When you press Ctrl + Alt + right arrow, editor jumps to the third tab, Test3.ino, instead of the second one. Ctrl + Alt + left arrow jumps back to the first tab.

Workaround: Click on the dropdown list on the right of the tabs and select Next Tab menu item. From this moment Ctrl + Alt + right/left arrow works as expected.

Can you fix it? Thanks.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: piashaw on Feb 28, 2013, 04:16 pm
Hi

Great software, solved a major problem of me not being able to upload to my Leonardo with Win7 64Bit.

Upload NOW works (but I have to always hold down the reset button). If i don't it says uploaded but isn't (It does however send the signal to put it in programming mode but deosn't actually program).

My problem now is that the Serial Monitor does not work. The window opens, but does not actually connect. If I howver use the "official" 1.0.3 ide release, I can use the serial monitor, it connects and I get the results. BUT I cannot use it normally as it will not upload to teh leonardo...

Between the 2 I can manage, but maybe this serial monitor is a simple issue to resolve.

Thanks in advance. 
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Mar 01, 2013, 07:37 pm

Hi again,

found another bug that does not exist in official 1.0.3. Scenario:

Open a sketchbook that has at least three tabs (create folder Test in your sketch directory and create three files inside: Test.ino, Test2.ino and Test3.ino). When you press Ctrl + Alt + right arrow, editor jumps to the third tab, Test3.ino, instead of the second one. Ctrl + Alt + left arrow jumps back to the first tab.

Workaround: Click on the dropdown list on the right of the tabs and select Next Tab menu item. From this moment Ctrl + Alt + right/left arrow works as expected.

Can you fix it? Thanks.


This is strange because the official IDE does not works in my machine at all, so I am not sure what is going on but I will try to check this too. I am guessing the official ide jumps only 1 tab in your machine, if this mod jumps 2


Hi

Great software, solved a major problem of me not being able to upload to my Leonardo with Win7 64Bit.

Upload NOW works (but I have to always hold down the reset button). If i don't it says uploaded but isn't (It does however send the signal to put it in programming mode but deosn't actually program).

My problem now is that the Serial Monitor does not work. The window opens, but does not actually connect. If I howver use the "official" 1.0.3 ide release, I can use the serial monitor, it connects and I get the results. BUT I cannot use it normally as it will not upload to teh leonardo...

Between the 2 I can manage, but maybe this serial monitor is a simple issue to resolve.

Thanks in advance.  


Well, I don't have a Leonardo or similar to check/fix this, so on the next update I will try to migrate the "good" parts related with the Leonardo (but I think you are using 1.5 not the 1.0.3 official one?)

____________________

So, pending stuff to add/research until now (ideally for the 1.0.4 update):
-remove trailing spaces
-reuse window
-update to the new signed driver & remove win8 warning/tutorial
-upload hex option
-change to Source Code Pro font
-some fixes from Energia -> Arduino (like 8.3 naming issue to remove the requeriment of PATH modification, some selection issues)
-check avr compiles version
-check "Replace All" button hangs
-check the "*" symbol added on switching tabs
-reset in the serial monitor window
-check Ctrl + Alt + right/left arrow
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: qwertysimo on Mar 01, 2013, 07:46 pm
I am guessing the official ide jumps only 1 tab in your machine, if this mod jumps 2

Guessing right.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Mar 01, 2013, 09:39 pm

I am guessing the official ide jumps only 1 tab in your machine, if this mod jumps 2

Guessing right.


Windows version? language? etc

The code to switch the tab it is commented out in the official ide, but in my machine that does not work properly, so I re-enabled it.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: AlxDroidDev on Mar 01, 2013, 09:44 pm
Eried,

I'd like to suggest 5 more features to the IDE:

- option to pass the "-F" flag to avrdude (invalid signature), so it can ignore errors related to some cheap Chinese USBasp clones (read my post related to fixing USBasp errors)

- option to pass the "-u" flag to avrdude (disable safemode)

- Warning message when using -F and/or -u with avrdude

The 2 options above will be very useful if you implement the feature of uploading HEX files directly.

- option to specify the JRE folder, so it won´t have to look for one. Like one of my previous posts in this thread, I had problems having both 32-bit and 64-bit JREs in the same machine. This setting could be done either passing the JRE path in the command line or in some configuration file (like Eclipse does).

- replace the included version of avrdude with version 5.11. Currently Arduino ERW ships with version 5.10

Thanks!
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: piashaw on Mar 02, 2013, 04:34 am
Quote
Well, I don't have a Leonardo or similar to check/fix this, so on the next update I will try to migrate the "good" parts related with the Leonardo (but I think you are using 1.5 not the 1.0.3 official one?)


I'm using 1.0.3 as it said 1.5 was only for the due, but I'll try 1.5 as well and let you know.

If you think you've found a solution and want me to test it separately, let me know.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Mar 14, 2013, 12:47 am

Type any line of text, then hold the space key. It will add spaces at the end of the line.   :)

It does no do any harm to keep them there, but I find it annoying. So I like to clean up. Especially if I release code.

Notepad++ -> TextFX -> Trim Trailing Spaces does it for me.


Hi, I was trying to add this but noticed that this already works in the version 1.0 or newer.

Can you check this?
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: pYro_65 on Mar 14, 2013, 04:20 am
Hi eried,

I was wondering what gcc version ships with the winavr your mod is using. I have some specific c11 code to test and was hoping this would be my easiest path to do so.

From what I can gather, it should be around 4.6.X or above.

The C++0x support (http://gcc.gnu.org/gcc-4.3/cxx0x_status.html) in 4.3.2 is not that great at all.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Mar 14, 2013, 04:56 am

Hi eried,

I was wondering what gcc version ships with the winavr your mod is using. I have some specific c11 code to test and was hoping this would be my easiest path to do so.

From what I can gather, it should be around 4.6.X or above.

The C++0x support (http://gcc.gnu.org/gcc-4.3/cxx0x_status.html) in 4.3.2 is not that great at all.


gcc (WinAVR 20100110) 4.3.3

If you can make a newer gcc work properly, I can replace it :)
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: eried on Mar 14, 2013, 07:23 am
1.0.4 update

-Updated to official 1.0.4 version.
-New options in preferences to reuse always the current window and open the serial monitor as default.
-Driver installer updated.
-Minor changes to the template Sketch to use the default Bare minimum sketch
-Font now is Source Code Pro due licensing of the old font.
-PATH is not modified anymore (uninstall previous version is recommended).
-Replace All button does not hang the interface anymore.
-Tab switching fixed.
-Control-C without selection now selects the whole line.
-Control-X at the end of the Sketch does not throws exceptions anymore.
-AvrDude.exe updated

Thanks for the suggestions, I tried to address most of them. Enjoy!

(http://content.screencast.com/users/spam_live.cl/folders/Jing/media/765bcdbd-8623-4d7f-9075-7edd7d8bec01/2013-03-14_0249.png)

There are 2 missing ones, I am still thinking on how to do them cleanly (and easy):
-reset in the serial monitor
-upload hex option

Also some of the suggestions were already implemented (or maybe I didn't fully understand them):
-remove trailing spaces (Auto-format already does this)
-check the "*" symbol added on switching tabs (it was fixed already in the official version)
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Mar 16, 2013, 06:35 am


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.


How this looks to reset your arduino in Siberia from Hawaii?:
(http://f.cl.ly/items/1q2S461S1B3C2e2y3a1V/Image%202013-03-16%20at%202.27.02%20AM.png)

The only problem will be the Leonardo, since the reset there is weird. And I don't even ordered one to test yet.

Also, additionally, stepping to a functional version I added some extra features to the boards.txt editor, like the context menu with other values from the same boards.txt file:
(http://f.cl.ly/items/1y1G3X3X0A2t3w2x1W0T/Image%202013-03-16%20at%202.31.12%20AM.png)

Finally, since there are still little issues for fellow windows users hahah (even I forget how to create the log file from the exe) I am thinking on provide little extra help in the next version:
(http://f.cl.ly/items/3K0o12391O3J3v2q1z2j/Image%202013-03-16%20at%202.41.29%20AM.png)

Suggestions? Comments?
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: lost_and_confused on Mar 16, 2013, 06:42 am
I am semi-back into writing programs.

Love the new IDE.

I have bought (yet) another Arduino.

Freetronics one.  Same as the other one which won't flash.  This one does.

Now I have to try the other board and see what happens.

If it won't I'll send it back as "DOA" when I bought it.
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: hole on Mar 17, 2013, 10:08 pm

Hi, I was trying to add this but noticed that this already works in the version 1.0 or newer.

Can you check this?


- starting IDE 1.0.3.
- file blink
- deleting comment in last line beginning with the "//"

Now if you press POS1 and then END, you end at the old start of the comment. Lots of spaces.

Press Ctrl-T.

As bevor, POS1 and END positions after a lot of spaces...


Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: hole on Mar 17, 2013, 10:11 pm

How this looks to reset your arduino in Siberia from Hawaii?:


Love it!
Title: Re: [MOD] Arduino Enhanced Release 1.0.3 for Windows (installer, drivers, etc) +SRC
Post by: eried on Mar 17, 2013, 10:30 pm


Hi, I was trying to add this but noticed that this already works in the version 1.0 or newer.

Can you check this?


- starting IDE 1.0.3.
- file blink
- deleting comment in last line beginning with the "//"

Now if you press POS1 and then END, you end at the old start of the comment. Lots of spaces.

Press Ctrl-T.

As bevor, POS1 and END positions after a lot of spaces...





Can you download www.techsmith.com/jing.html or something similar to record a small clip of that? I can't really understand your instructions
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: hole on Mar 18, 2013, 08:45 am
Try this:

enter this into the IDE:

Code: [Select]

int blah;                                        // some comment


Now delete the comment starting with the //.

Code: [Select]

int blah;                                       


If you press POS1 your cursor jumps to the begin of the line.

Code: [Select]

|int blah;                                       


If you press END your cursor jumps to the end of the line.

Code: [Select]

int blah;                                       |
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: eried on Mar 19, 2013, 08:49 am
I see what you mean, I will fix this, and try to implement the "upload hex" and then publish an update :)
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: AlxDroidDev on Mar 19, 2013, 12:57 pm

I see what you mean, I will fix this, and try to implement the "upload hex" and then publish an update :)


Eried,

I understand you might be quite busy, but is there any chance any of my other suggestions be implemented? Specially the ability to explicitely specify the JRE folder to be used. Thanks.
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: eried on Mar 19, 2013, 03:09 pm


I see what you mean, I will fix this, and try to implement the "upload hex" and then publish an update :)


Eried,

I understand you might be quite busy, but is there any chance any of my other suggestions be implemented? Specially the ability to explicitely specify the JRE folder to be used. Thanks.


Sure I can but, I need you to develop a little more your idea: Where this option should be? Can you do some tests running the IDE without the exe? (google for the bat and open the pde.jar), can you provide the 2 working bat files so I can fix the launcher? (the problem in this case probably resides on the launcher, not in arduino)
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: copet_pitik on Mar 22, 2013, 10:28 am
:smiley-eek:  :smiley-eek: Hello World  :smiley-eek:  :smiley-eek:

Hello Eried,
I have a problem implementing how to fix a arduino blurry icon in win 7 taskbar
i downloaded your tutorial from here: http://servicios.ried.cl/arduino/temp/windows7_arduino-1.0.1_fix.rar
and when i try the 4th step, and run arduino it say:
Code: [Select]
"Could not read default settings.
You'll need to reinstal Arduino."

i also tried to replace the "awt.dll" in the "java/bin" folder
but nothing is solved so far.

P.S:
I am using Arduino 1.0.3
sorry if my English is bad
:smiley-eek:  :smiley-eek: Hello World  :smiley-eek:  :smiley-eek:
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: eried on Mar 22, 2013, 03:51 pm

:smiley-eek:  :smiley-eek: Hello World  :smiley-eek:  :smiley-eek:

Hello Eried,
I have a problem implementing how to fix a arduino blurry icon in win 7 taskbar
i downloaded your tutorial from here: http://servicios.ried.cl/arduino/temp/windows7_arduino-1.0.1_fix.rar
and when i try the 4th step, and run arduino it say:
Code: [Select]
"Could not read default settings.
You'll need to reinstal Arduino."

i also tried to replace the "awt.dll" in the "java/bin" folder
but nothing is solved so far.

P.S:
I am using Arduino 1.0.3
sorry if my English is bad
:smiley-eek:  :smiley-eek: Hello World  :smiley-eek:  :smiley-eek:



You don't need that fix. Is bundled in this version. (also the fix is for 1.0.1, not 1.0.4)
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: psgarcha92 on Mar 22, 2013, 05:29 pm
Hey eried,

By mistake i installed both the non-java version and Recommended version of your Enhanced Arduino 1.0.4 Package.
After a restart, one of the versions lost the Arduino icon, and shows up with "Unknown File" icon instead.
I have removed both and installed each one again, but i cant seem to get my Icon Back...

What to Do??

Regards

The Icon is like this, and it is the same way in Program Files (x86)/Arduino folder.

EDIT: I am on Windows 7 x64. Please Help.

Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: eried on Mar 22, 2013, 07:07 pm
Manually delete the link from the desktop and then install the version you want (since both versions use the same link, the second one "respected" the existing icon, so it didn't removed it on the unninstall)
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: copet_pitik on Mar 23, 2013, 09:00 am


:smiley-eek:  :smiley-eek: Hello World  :smiley-eek:  :smiley-eek:

Hello Eried,
I have a problem implementing how to fix a arduino blurry icon in win 7 taskbar
i downloaded your tutorial from here: http://servicios.ried.cl/arduino/temp/windows7_arduino-1.0.1_fix.rar
and when i try the 4th step, and run arduino it say:
Code: [Select]
"Could not read default settings.
You'll need to reinstal Arduino."

i also tried to replace the "awt.dll" in the "java/bin" folder
but nothing is solved so far.

P.S:
I am using Arduino 1.0.3
sorry if my English is bad
:smiley-eek:  :smiley-eek: Hello World  :smiley-eek:  :smiley-eek:



You don't need that fix. Is bundled in this version. (also the fix is for 1.0.1, not 1.0.4)


Okay, thanks Eried..
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: psgarcha92 on Mar 24, 2013, 12:14 am
@eried,

Thanks a lot...! Problem Solved.
Uninstalled, Rebooted, reinstalled and it worked like a charm.

Regards
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: dawiz711 on Mar 24, 2013, 04:19 am
I just had to say thanks, fought with the standard release for a sad amount of time before I found this. One liter of Pepsi coming your way my friend, my night just got alot better!
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: BobbyD on Mar 26, 2013, 03:21 am
Eried ,
This installed perfectly. I have been trying to program ATTiny 85 for several days and run into a brick wall. I followed the same instructions with your 1.0.4 and it worked without a hitch .

Thank you for sharing !
BobbyD

Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: eried on Mar 30, 2013, 11:00 pm

Try this:

enter this into the IDE:

Code: [Select]

int blah;                                        // some comment


Now delete the comment starting with the //.

Code: [Select]

int blah;                                        


If you press POS1 your cursor jumps to the begin of the line.

Code: [Select]

|int blah;                                      


If you press END your cursor jumps to the end of the line.

Code: [Select]

int blah;                                       |



Okay! it's Auto-format fixed now. Enjoy!


@eried,

Thanks a lot...! Problem Solved.
Uninstalled, Rebooted, reinstalled and it worked like a charm.


Regards


Eried ,
This installed perfectly. I have been trying to program ATTiny 85 for several days and run into a brick wall. I followed the same instructions with your 1.0.4 and it worked without a hitch .

Thank you for sharing !
BobbyD




I just had to say thanks, fought with the standard release for a sad amount of time before I found this. One liter of Pepsi coming your way my friend, my night just got alot better!


Nice it worked fine for all of your machines.

PD: My pepsi stash is full for now! :D

(http://content.screencast.com/users/spam_live.cl/folders/Jing/media/77f11e1a-a1a5-4d64-96b5-f10e9eec22d4/2013-03-30_1859.png)
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: hole on Apr 02, 2013, 08:33 am
Great work, thank you very much.
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: nid69ita on Apr 19, 2013, 02:01 pm
Thank you for sharing. Very good.

An question.
Do you think it's had to implement an intellisense for IDE editor like codeblock or visual studio ?

Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: eried on Apr 19, 2013, 09:46 pm

Thank you for sharing. Very good.

An question.
Do you think it's had to implement an intellisense for IDE editor like codeblock or visual studio ?




Well, yes and no. I will love to have intellisense, but not a crappy implementation... so for now I think you better try with VS plugin or eclipse plugin for Arduino.
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: nid69ita on Apr 19, 2013, 10:32 pm
Ok, I understand  :smiley-mr-green:
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: gc9n on Apr 21, 2013, 05:53 pm
i have a problem adding libraries , i tryied to add for example SoftPWM library
https://code.google.com/p/rogue-code/wiki/SoftPWMLibraryDocumentation

and when i launch the program hang , and terminated.. is this normal?
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: eried on Apr 21, 2013, 06:44 pm

i have a problem adding libraries , i tryied to add for example SoftPWM library
https://code.google.com/p/rogue-code/wiki/SoftPWMLibraryDocumentation

and when i launch the program hang , and terminated.. is this normal?


How you added the library? I tested that softpwm lib and it Works nice: http://screencast.com/t/zktXVt1lB1H4
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: gc9n on Apr 21, 2013, 08:19 pm
ok , i just paste the folder and its contents into the C:\Program Files (x86)\Arduino\Arduino ERW 1.0.4\libraries

i have the win 7 home
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: eried on Apr 21, 2013, 09:15 pm
Well, you shouldn't paste it there directly (also that folder requires administrator privileges), as you can see in the video, this 'enhanced' ide will even auto detect the things inside the library automatically, so try that way. Just click "Manage libraries..." and "Add"
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: gc9n on Apr 22, 2013, 11:20 am

Well, you shouldn't paste it there directly (also that folder requires administrator privileges), as you can see in the video, this 'enhanced' ide will even auto detect the things inside the library automatically, so try that way. Just click "Manage libraries..." and "Add"

Ok i will try that. , i think this way send the libraries into the folder
my documets\arduino\libraries
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: sufyan785 on Apr 29, 2013, 07:11 pm
does it support Arduino DUE board?
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: sufyan785 on Apr 29, 2013, 07:41 pm
does this support arduino due ?
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: eried on Apr 29, 2013, 07:50 pm

does this support arduino due ?



No, this is the version 1.0.4
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: karl_eller on Apr 30, 2013, 12:56 am
Any chance of you being able to add line numbers to the code window? Or is that beyond what you're able to change in the IDE?
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: ttttkk on May 01, 2013, 06:36 am
Great job! But one question though. Mine is duemilanove w/328p, when I tried upload a sketch, it said [font=Verdana]"avrdude.exe: stk500_getsync(): not in sync: resp=0x00"[/font]. But in fact I got the same message while uploading with official IDE 1.0 or above. On the contrary, I received no error message if using 0023 IDE. Do you happen to know how to fix it? I know it is nothing related to your program, but this problem has been troubling me.
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: eried on May 01, 2013, 11:14 pm

Any chance of you being able to add line numbers to the code window? Or is that beyond what you're able to change in the IDE?


It is possible as a hack I think. It depends on how much is wanted by the users :D


Great job! But one question though. Mine is duemilanove w/328p, when I tried upload a sketch, it said [font=Verdana]"avrdude.exe: stk500_getsync(): not in sync: resp=0x00"[/font]. But in fact I got the same message while uploading with official IDE 1.0 or above. On the contrary, I received no error message if using 0023 IDE. Do you happen to know how to fix it? I know it is nothing related to your program, but this problem has been troubling me.


Hi, there is another item in the boards called "duemilanove w/328" without the "p" can you test that one?
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: Sembazuru on May 02, 2013, 08:45 am


Any chance of you being able to add line numbers to the code window? Or is that beyond what you're able to change in the IDE?


It is possible as a hack I think. It depends on how much is wanted by the users :D




I guess, count this as vote #2. (I haven't checked if one can print from the IDE, I'm not near my PC at the moment. But if printing is there please also add line numbering there as well. If that is too hard, I can always print with line numbers from PSPad...)
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: Docedison on May 04, 2013, 04:02 am
Enried, I want to take this chance to publicly thank you for a really valuable addition to the IDE and as much as I would love line numbers... I can wait until it happens, quietly now....  <BFG>

Doc
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: Sembazuru on May 05, 2013, 07:47 am
Two enhancements that I'd like to request (in addition to line numbers in the sketch area):


Thanx.
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: eried on May 05, 2013, 09:49 pm

Enried, I want to take this chance to publicly thank you for a really valuable addition to the IDE and as much as I would love line numbers... I can wait until it happens, quietly now....  <BFG>

Doc


Cool, it seems everyone wants line numbers :P I will experiment a bit with that to see what can I add.


Two enhancements that I'd like to request (in addition to line numbers in the sketch area):

  • Make the cursor movement to the end of the loop() function optional.

  • When it is configured to auto-open the Serial Monitor, have it scan the source for Serial.begin() and automatically set the Serial Monitor's baud rate to match. This should probably also be optional.



Thanx.


What do you mean with: "Make the cursor movement to the end of the loop() function optional"? Should I add a way to disable that (currently moves the cursor to the end of the setup when opening a sketch)? or add the possibility to switch between end of loop or setup functions?

About the serial speed, since it is kinda linked to 'automatic com port selection' and that feature is like a general suggestion for the IDE I was waiting something 'official' related with this. Will take a look into this too anyway.

For the moment, things I will try to look:
1) Upload any hex file (this is pretty ready right now*, but still not fully working)
2) Serial speed automatic detection from the source
3) Line numbers

(http://content.screencast.com/users/spam_live.cl/folders/Jing/media/73b6769d-30a7-4869-a3cf-5e5050457723/2013-05-05_1547.png)

Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: Sembazuru on May 06, 2013, 08:10 am


Two enhancements that I'd like to request (in addition to line numbers in the sketch area):

  • Make the cursor movement to the end of the loop() function optional.

  • When it is configured to auto-open the Serial Monitor, have it scan the source for Serial.begin() and automatically set the Serial Monitor's baud rate to match. This should probably also be optional.



Thanx.


What do you mean with: "Make the cursor movement to the end of the loop() function optional"? Should I add a way to disable that (currently moves the cursor to the end of the setup when opening a sketch)? or add the possibility to switch between end of loop or setup functions?


Yeah, sorry about the confusion. When writing this I had forgotten where the cursor automatically went to. My request is to optionally totally disable it. (I know you use it as a selling feature, but I don't care for it. Just IMHO.) Maybe make it a pull-down with any or all of these 5 options: None, beginning of setup, end of setup (default), beginning of loop, end of loop.

Thank you again for this enhancement. Other than this behavior I enjoy your enhancements.
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: pinback on May 06, 2013, 04:08 pm
I like your enhanced IDE 1.0.4 but it frequently quits an upload with an error message like "avrdude.exe not in sync." The IDE usually shows the wrong or no com port when this happens. I never had this error on the stock 1.0.4.

I am using ERW 1.0.4 with an Uno rev. 3 on a Win 7 32-bit computer. A friend has the same issue on an XP machine.

Thanks,
Karl
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: eried on May 06, 2013, 11:46 pm



Two enhancements that I'd like to request (in addition to line numbers in the sketch area):

  • Make the cursor movement to the end of the loop() function optional.

  • When it is configured to auto-open the Serial Monitor, have it scan the source for Serial.begin() and automatically set the Serial Monitor's baud rate to match. This should probably also be optional.



Thanx.


What do you mean with: "Make the cursor movement to the end of the loop() function optional"? Should I add a way to disable that (currently moves the cursor to the end of the setup when opening a sketch)? or add the possibility to switch between end of loop or setup functions?


Yeah, sorry about the confusion. When writing this I had forgotten where the cursor automatically went to. My request is to optionally totally disable it. (I know you use it as a selling feature, but I don't care for it. Just IMHO.) Maybe make it a pull-down with any or all of these 5 options: None, beginning of setup, end of setup (default), beginning of loop, end of loop.

Thank you again for this enhancement. Other than this behavior I enjoy your enhancements.


Any particular reason why don't you like that? You prefer the cursor in the position 0?


I like your enhanced IDE 1.0.4 but it frequently quits an upload with an error message like "avrdude.exe not in sync." The IDE usually shows the wrong or no com port when this happens. I never had this error on the stock 1.0.4.

I am using ERW 1.0.4 with an Uno rev. 3 on a Win 7 32-bit computer. A friend has the same issue on an XP machine.

Thanks,
Karl


Are you sure about this? can you test side by side the mod vs the original and take a screencast or picture? I can't do a lot with that description, for me, and other people the updated avr tools included works much better, so if you experience issues I don't even know where to start fixing something  :smiley-eek-blue:
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: Sembazuru on May 07, 2013, 12:25 am




Two enhancements that I'd like to request (in addition to line numbers in the sketch area):

  • Make the cursor movement to the end of the loop() function optional.

  • When it is configured to auto-open the Serial Monitor, have it scan the source for Serial.begin() and automatically set the Serial Monitor's baud rate to match. This should probably also be optional.



Thanx.


What do you mean with: "Make the cursor movement to the end of the loop() function optional"? Should I add a way to disable that (currently moves the cursor to the end of the setup when opening a sketch)? or add the possibility to switch between end of loop or setup functions?


Yeah, sorry about the confusion. When writing this I had forgotten where the cursor automatically went to. My request is to optionally totally disable it. (I know you use it as a selling feature, but I don't care for it. Just IMHO.) Maybe make it a pull-down with any or all of these 5 options: None, beginning of setup, end of setup (default), beginning of loop, end of loop.

Thank you again for this enhancement. Other than this behavior I enjoy your enhancements.


Any particular reason why don't you like that? You prefer the cursor in the position 0?


Probably just me (which is why I was asking for it to be an option, not the default...). The top of my sketch(/script/source/etc...) is usually a bit informative, and the top of (well written) examples are usually very informative. I like to see what I'm about to work in case I forgot what I was doing while it loaded. (I've been told I have a short atten... oooohhh... butterfly...) ;-) (And a creature of habit... I can't seem to stop typing the noses on my smilies because that's how I learned them back pre-WWW days...) ;)

Also, much like a robot, I like to start at "home". When opening up a sketch and the IDE jumps to the middle *somewhere*, I'm lost. Currently it really isn't that big of a deal. I just scroll to the top, and then I know where I am. (Yes, I'm really that simple.) :P
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: eried on May 07, 2013, 12:36 am
OK, no worries, I will add the option to change the behaviour on the preferences, it is super easy to do. I just was puzzled about what was the reason. I think the perfect solution would be to replicate Visual Studio behaviour: exact same position/layout when you left, but the ino files don't have any metadata to use, so best second option was this one in my opinion.

I wonder how Windows 8 hitted(/will hit) your habits hehehe (I am pretty adaptable, but 8 is the first OS that changed a lot my ways to do everything, since Win 95 OSR2!)
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: Sembazuru on May 07, 2013, 12:47 am

OK, no worries, I will add the option to change the behaviour on the preferences, it is super easy to do. I just was puzzled about what was the reason. I think the perfect solution would be to replicate Visual Studio behaviour: exact same position/layout when you left, but the ino files don't have any metadata to use, so best second option was this one in my opinion.

I wonder how Windows 8 hitted(/will hit) your habits hehehe (I am pretty adaptable, but 8 is the first OS that changed a lot my ways to do everything, since Win 95 OSR2!)


Heh... That's a "will hit" my habits... I'm kinda dreading it. I but I don't expect it as bad as when I moved from AmigaOS to MSWin... :/ (I still miss things from the Amiga days. Logical assignments, an actually useful RAM: disk, the intelligent datatype system for filetype identification, and a few others that I can't recall off the top of my head but still rub me the wrong way when I encounter them...) But I think I'm starting to drift a bit off topic here.
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: Magicj on May 07, 2013, 01:46 am
I would like the cursor to start at the top of the sketch as well.

I never realised that it was jumping to the start of the loop section - I just knew that it wasn't at the top :) I assumed that it had something to do with when I saved the sketch but apparently not.
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: eried on May 08, 2013, 10:54 am
OK, here is a temporal file that adds that preference (file/preferences) to move the caret to position 0. Just replace the pde file from c:\program files (x86)\arduino\...

(http://f.cl.ly/items/3H051s360k0H410G2m3i/Image%202013-05-08%20at%204.54.51%20AM.png)

I will build the full setup after testing adding line numbers and making the upload hex work, but I am not sure how long that will take.

Also, attached is a preliminary version of the line numbers, should they have some line or special coloring area? I am yet unsure how to handle bigger numbers, right now the "dynamic" offset is buggy but a smooth one will be a bit more resource intensive (calculating the length of the last line number when scrolling):
(http://f.cl.ly/items/0H2j3I2i2K3i061V1e0C/Image%202013-05-08%20at%205.09.53%20PM.png)
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: Docedison on May 09, 2013, 05:25 am
Why not allot 3 spaces as a permanent margin?. A left justified number is certainly no less visible than any other. I would think that 999 lines of comments, fonts and/or whatever should be enough for anyone.  While you're at it you might fix that behavior that causes the scroll wheel to close the boards list or any list for that matter...

Doc
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: Sembazuru on May 14, 2013, 06:48 pm

Why not allot 3 spaces as a permanent margin?. A left justified number is certainly no less visible than any other. I would think that 999 lines of comments, fonts and/or whatever should be enough for anyone.  While you're at it you might fix that behavior that causes the scroll wheel to close the boards list or any list for that matter...

Doc


Drat... I thought I had the answer to do a quick pre-scan of the file being opened and allocate enough digits. But that doesn't take into account what happens when entering a line in the middle somewhere that increases the total line number quantity from 99 to 100... Maybe a re-scan and adjust if needed every time a new line is created and destroyed?

I'm not sure exactly how my favorite text editor (PSPad) does it. I just opened two randomly chosen ASCII files in PSPad, one with 11095 lines, and the other with 6 lines. In both, the background of the line-number area is light gray, and the numbers are left-justified within that area. For the file with 11095 lines, the line number area is 5 characters wide no matter where one looks at the file. The file with 6 lines has the line number area 2 characters wide. Unfortunately, while PSPad is freeware, it isn't open source so I doubt you could take a look under the hood to see how it handles changing quantity of line number digits.

BTW, I do like how in your screenshot you have lines that have nothing but comments in them the line number is colored the same as the comment. Not something that PSPad does, so that is something you are doing that is better than my favorite text editor... :D

Now to install your temp files to help beta these enhancements.
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: Sembazuru on May 14, 2013, 07:52 pm
Playing with your experimental line numbers pde.jar (I took a quick look at it in a HEX viewer, but didn't notice anything obviously a revision number in the first FF bytes. This one (for future reference) is 833,721 bytes long. Shall we call it line_number_beta01?)

Horizontal scrolling is broken. (Oops...)

As I mentioned before I like the changing of line numbers for lines with comments. But with for one of my actual sketches where I have some lines that are comments only and some lines that have a comment after a bit of code, the line numbers are all comment color. I'm kind of torn here. The current way helps highlight where the comments are, but when scanning code to try to find the line number where the error code is it is easier to skip over the greyed out line numbers. I'd like to suggest that the line number only changes to grey (or whatever the comment syntax highlighting color is) when the only contents of the line is a comment. But what about scanning the code just to find comments. Which is more important? Not sure how to decide this.

Oh... I just figured out how you did the coloration of the line numbers. It matches the syntax highlighting of the last character of the line. Clever. I think it might make more sense to use the syntax colorization of the first non-white-space character of the line... Dunno. That would be a judgement call based on playing with both techniques. (Though the current method, except for comments, might help highlight lines where one forgot to end it with a semi-colon. It wouldn't catch all of them, but might catch some...)

I think I do prefer left-justified line numbers, but that is just a very minor concern. I wouldn't think less of this effort because of the line number justification. I just think it is easier to see way down in the code which is the top level closing bracket when closing nested blocks if there is always 1 space between the line numbers and the code.

It's tough to tell (I hate counting multiple white-space characters, can't tell one from the other...), but it looks like you have 4 characters allocated for line numbers. When I went over 5-6000 lines I saw the line number area increase by 1 character to make room for 5 digit line numbers (at that point I was just pasting blocks of 1000 lines of garbage characters to test the line numbering). A bit of fine tuning and I found the jump happened when I pressed return to create new line number 5013. Not a criticism, just a comment on my experimentation so you can verify that it does or doesn't work as planned. ;) Starting with 5001 lines and inserting blocks of 1000 lines at the beginning of the file didn't get the extra digit added to the line number area until the third paste (expected it on the first paste of 1000 lines). Still not a problem, but might point to a small instability somewhere.

Except for the horizontal scrolling not working, I haven't run into any actual bugs yet. I checked the "option to not move the carat" pde.jar and the horizontal scrolling works there. I hope this helps.
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: eried on May 14, 2013, 08:46 pm
Thanks for the feedback Sembazuru. The coloring thing is purely non-intentional because I am 'hacking' the paint routine, so it automatically presets the coloring.

I tried to include the line numbering system from jEdit (Arduino IDE pane is based on jEdit controls, and jEdit right now is light years away with enhanced scroll, collapsive blocks, numbers, etc) but due the dependencies it is a major rebuild to update that panel. So what you tested it is a very quick and dirty attempt (1 hr or so).

So I still I am unsure how to handle the line number space, dynamic or static. I think the style of the panel can be added to the theme folder maybe (like background color, number color). Also will check the horizontal scroll, didn't noticed that, and it seems be very important due the way this hack works. It might need to do another trick like moving the textpane a little to the right, not  inserting the numbers inside the text and sync both controls.
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: Docedison on May 14, 2013, 08:59 pm
I personally find Enrieds contributions of GREAT Value. 95% of my compilation issues end when I use the "Enhanced Version" supplied by Enried.. I just wish that Enried's version had the ability to be the Default IDE instead of having to make it so by removing previous versions...

Doc
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: codlink on May 18, 2013, 07:10 pm
I seem to have found an issue.  If I have 46 libraries (folders) in the install path, I get "launch4j" errors.  When I delete one of the libraries, the program starts fine.  It also doesn't matter which library I delete, still get the same error.  All libraries work fine in the original Arduino IDE install.

This is a fresh install of the latest build.
Win7 x64 (All updates)

UPDATE:  It seems that something is conflicting with the "Documents" location.  If I have any libraries in the Documents/Arduino/libraries folder, your IDE doesn't want to start.
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: eried on May 18, 2013, 09:41 pm

I seem to have found an issue.  If I have 46 libraries (folders) in the install path, I get "launch4j" errors.  When I delete one of the libraries, the program starts fine.  It also doesn't matter which library I delete, still get the same error.  All libraries work fine in the original Arduino IDE install.

This is a fresh install of the latest build.
Win7 x64 (All updates)

UPDATE:  It seems that something is conflicting with the "Documents" location.  If I have any libraries in the Documents/Arduino/libraries folder, your IDE doesn't want to start.


Hi,

That's very weird because I have a lot of libraries (I tested with >50 when working on the Scrollbars for the menus), but most of them are disabled via the "library manager" option.

What you changed to produce the error? What is the path of your libraries right now? (absolute path in Preferences) Did this error happened the first time you installed the app and copied something to the default library folder? Can you check that you are copying the libraries to the same path you get when clicking Browse: Libraries from Sketch/Manage as shown here:
(http://f.cl.ly/items/1J383i1w140V0M0e1w1k/Image%202013-05-18%20at%203.40.40%20PM.png)
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: codlink on May 18, 2013, 10:35 pm
Nothing changed from the defaults.  I got the error and tried most of the common troubleshooting techniques.  Then, I completely uninstalled ERW and re-installed it with all default settings.

Path to libraries that is getting errors: F:\Applications\Arduino\Arduino ERW 1.0.4\libraries

I did some experimenting and When I move all of the libraries to my documents folder, the error goes away.  If I put some in the documents folder and some in the install path, I get the error.

Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: eried on May 19, 2013, 12:24 am

Nothing changed from the defaults.  I got the error and tried most of the common troubleshooting techniques.  Then, I completely uninstalled ERW and re-installed it with all default settings.

Path to libraries that is getting errors: F:\Applications\Arduino\Arduino ERW 1.0.4\libraries

I did some experimenting and When I move all of the libraries to my documents folder, the error goes away.  If I put some in the documents folder and some in the install path, I get the error.




That directory is for "system default" libraries, you should use the one in your documents, check the option I say to you in the previous version.
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: codlink on May 19, 2013, 02:53 am
That's always the excuse.  Funny how the regular IDE doesn't have any problems with the libraries in the install directory.  I installed your IDE to get past not being able to scroll through the library list.  I guess every program as it's faults.
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: eried on May 19, 2013, 03:34 am

That's always the excuse.  Funny how the regular IDE doesn't have any problems with the libraries in the install directory.  I installed your IDE to get past not being able to scroll through the library list.  I guess every program as it's faults.


You want to install libraries there? Any reason in particular? I can research the problem if you need to, it is just not a good practice because that folder will be replaced if you update the app, but your document folder will always keep the libraries. I can think on 1 issue: maybe there are duplicated libraries between the directories? Remember this version does not share the same preferences files with the other one (it uses his own preferences).

Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: codlink on May 19, 2013, 04:40 am
No reason really..  Just that's where I installed my first library when I was new.  I also never had a problem with it overwriting 3rd party libraries.  It will, of course, overwrite the default libraries.  Which I would rather have it that way.  If they ever update a library along with the release of a new IDE version, the library gets updated as well. 

No, there were no duplicates between directories.  But, I guess it's not a big deal.  So, don't worry about it.  Keep enhancing your IDE!  I will have to get accustomed to using my documents folder..
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: eried on May 20, 2013, 03:50 pm
I am not sure if I have to keep maintaining this mod anymore  XD because I recently noticed that Arduino team finally added a Windows installer for the official version http://arduino.cc/en/Main/Software also soon official version will have scroll, and other goodness.

I haven't checked yet if they fixed all the small details like the icons and so, but it seems they finally took action on some of the complains over the Windows version, and that is certainly good but makes this version a bit pointless.
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: AlxDroidDev on May 20, 2013, 04:46 pm

I am not sure if I have to keep maintaining this mod anymore  XD because I recently noticed that Arduino team finally added a Windows installer for the official version http://arduino.cc/en/Main/Software also soon official version will have scroll, and other goodness.

I haven't checked yet if they fixed all the small details like the icons and so, but it seems they finally took action on some of the complains over the Windows version, and that is certainly good but makes this version a bit pointless.


Well, buddy, I hope you DON'T stop improving your version. It is so much better than the official IDE in so many aspects....

For example, whoever develops the official IDE, is unable to fix the bluetooth compatibility problem, and everytime the official IDE has to enumerate serial ports, it hangs it the bluetooth is on. On my notebook, for example, I have to disable bluetooth, and therefore the Wi-fi card, just to start the ofcicial IDE. That is one bug that pisses me off.

I know you are working on a way to upload just the HEX files to the Arduino (I suggested that too!), so and that will be a very valuable addition to the enhanced IDE.

In other words, your IDE is years ahead of the official IDE. Please don't stop.

If it as matter of lack of Pepsi, please let us know!
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: codlink on May 20, 2013, 05:19 pm
I agree with AlxDroid, please don't stop!  There are hundreds of Arduino users that enjoy using your IDE.  Your installer is a little enhancement compared to other features your IDE provides, IMO.  I thought you were working on adding line numbers?  I would greatly appreciate that feature.
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: eried on May 20, 2013, 08:17 pm
Yeah, I still have to finish few things (hex import, line numbers, and so... update to 1.0.5 too!), but it is good that the official version it is going forward in specific windows stuff. I was talking about a pretty 'near future'  :smiley-yell:
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: Jantje on May 20, 2013, 08:43 pm
eried
1.5.X will bring lots of change for you. But I'm sure you will feel the urge to improve :D that version to.
It seems to me that you have quite a lot of experience making end user improvements and supporting software. Therefore I would consider it a great loss to the Arduino community if you stopped doing these mods.
In short: I hope your Arduino pepsi source will not dry out.

Best regards
Jantje
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: Sembazuru on May 20, 2013, 09:41 pm
It's little things that are keeping me on 1.0.4ERW for primary development (then final compile on 1.0.5) are:
* The setting for "Use the same window when opening a Sketch as default". I know it's really little but I find that when I open ArduinoIDE and then from the menu open a sketch, having to then go and close the original window is annoying.
* The setting for "Open the Serial Monitor automatically when uploading as default". Again, even though clicking the button to open the serial monitor after uploading a new version of a sketch (after the Serial Monitor window is automatically closed) is an annoyance. Especially when doing lots of uploads when tweaking and trying to isolate bugs.
* The estimated SRAM usage. I understand that this isn't truly accurate (though I'm not sure how off it is), but if I can get that number to go down I feel like I'm properly optimizing code.
* Latest version of WinAVR gives me the warm fuzzy feeling that I'm using the latest and greatest, hopefully matching the online documentation closer than the old version. (Would be nice for the WinAVR team to actually post on the website the versions of the included tools...)
* When starting fresh having the basic framework automagically there is nice, and something that was stripped out going to 1.0.5.

The higher resolution icon is nice and doesn't make my task bar look ugly (something not fixed in 1.0.5, at least with manual installation from the zip file).

I'm looking forward to line numbers, but expect that to be a bit tougher nut to crack. (I imagine that back-porting modern features of jEdit to the legacy branch that ArduinoIDE uses is probably like repeatedly running full tilt into a brick wall until you break through...)
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: piashaw on May 22, 2013, 05:34 pm
Hi,

Found what appears to be a small bug. I was using ERW 1.0.4 to program bootloaders using ArduinoISP onto Atmega 328P chips (on breadboards).

I could upload the duemilanove bootloader but NOT The UNO bootloader. It came up with an error msg.

***failed;  avrdude.exe: verification error, first mismatch at byte 0x0000 ............................

If I however tried EXACTLY The same hardware configuration but using the official 1.0.4 IDE. It uploaded the bootloader to the chip without any problems.

Minor problem, but thought I'd let you know.

Possibly related: I also had an issue trying to upload a sketch to a breadboard chip (by removing the 328P from the UNO and connecting TX and RX pins), but this also failed. It MAY be related, but the breadboard I was using isn't with me so cannot test with the official IDE release.

Great Work.

Cheers
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: Docedison on May 22, 2013, 08:25 pm
I've used ArduinoISP to burn bootloaders and program both with RS232 or ISP and the modded 1.04 release... 328's and 85's are all I've programmed so far but the setup works flawlessly With no issues. as a matter of fact ver 1.01 won't work to do the same task. I made the adafruit shield but I modified it so that I could plug the 6 pin ISP cable into any ISP connector and program the chip from my shield... Necessary because I modified the shield to program 2313's and 85's.. and the 6 pin ISP connector.

Doc
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: AlxDroidDev on May 22, 2013, 08:44 pm

I made the adafruit shield but I modified it so that I could plug the 6 pin ISP cable into any ISP connector and program the chip from my shield...


I've done the exact same thing! My shield has an ICSP header and a jumper, which determines if the MCU being flashed gets its RESET signal from the ICSP header or from the shield. I also used a clone of the Ada Arduino Protoboard as a basis for my build, and I added a couple bypass caps to the board as well, just to be safe.
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: Docedison on May 22, 2013, 11:05 pm
I can program any chip from either method... as I've said Unfortunately, I can't help you much more. I use an AMD FX 6100 6 core processor running at 3.3 GHz with Win7 Ultimate. I've read comments from various people about this issue and unless there is a wiring issue?. I made several several myself before I put power to it.. Even after all the years I've still not learned that I'm not infallible. I may know the words but I've not yet comprehended them yet. So I make mistakes, I check my work and look that all is as intended, twice... Before I ever apply power I use my fluke to verify LED polarity, It's just what works for me.

Doc
Title: Re: [MOD] Arduino Enhanced Release 1.0.4 for Windows (installer, drivers, etc) +SRC
Post by: eried on May 23, 2013, 12:43 am
I am not sure if the changes in the WinAVR affect the way the programmer works. Anybody knows?

I am not very related with using the IDE for programming, I always use Khazama Avr programmer with this http://www.ebay.com/itm/1PCS-USBasp-USBISP-3-3V-5V-AVR-Programmer-USB-ATMEGA8-New-/261021924011?pt=LH_DefaultDomain_0&hash=item3cc61e7aab :) for 3 usd it is even cheaper than uploading some code to the arduino every time you want to upload something (cheaper than the hustle)
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: iddbbi on May 23, 2013, 04:53 am
Hi, Thank you for your updates.

I have tried both of your version (ERW 1.0.4 and 1.0.5) but I got an error: "Error compiling" when try to verify/compile example codes using libraries such as from servo.h. But it is okay when using basic examples such as AnalogReadSerial.

Fyi, I am using Windows 8 Pro 64bit, Arduino Mega 2560. I only can used your ERW version since I always got Launch4j error if using the standard version.  =(

Thank you.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on May 23, 2013, 05:03 am

Hi, Thank you for your updates.

I have tried both of your version (ERW 1.0.4 and 1.0.5) but I got an error: "Error compiling" when try to verify/compile example codes using libraries such as from servo.h. But it is okay when using basic examples such as AnalogReadSerial.

Fyi, I am using Windows 8 Pro 64bit, Arduino Mega 2560. I only can used your ERW version since I always got Launch4j error if using the standard version.  =(

Thank you.


Can you upload your code to check why compiling fails?
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: JohnPunnett on May 25, 2013, 11:50 am
Hi,

I am hoping someone can help me. I have Arduino IDE & also the ERW enhanced version on my laptop which is running win7 Ultimate. Eiether IDE takes 40-50 secs to compile even simple sketches like the blink prog. My laptop is not bluetooth enabled & I have tried things like replacing the rxtxserial file, disabling wireless, virus checker etc. & it all makes no difference. Either IDE takes close to a minute to compile. I have tried my Uno R3 on my work laptop using standard IDE & compilation takes 2-3 secs as I would expect.

Any help would be greatly appreciated - Many thanks,  John
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on May 25, 2013, 03:49 pm

Hi,

I am hoping someone can help me. I have Arduino IDE & also the ERW enhanced version on my laptop which is running win7 Ultimate. Eiether IDE takes 40-50 secs to compile even simple sketches like the blink prog. My laptop is not bluetooth enabled & I have tried things like replacing the rxtxserial file, disabling wireless, virus checker etc. & it all makes no difference. Either IDE takes close to a minute to compile. I have tried my Uno R3 on my work laptop using standard IDE & compilation takes 2-3 secs as I would expect.

Any help would be greatly appreciated - Many thanks,  John


It is for sure some security solution you missed to disable. Check again, if you can't find any I can log to your pc remotely (send me a PM in about 8 hrs) via TeamViewer to fix your problem.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: ajk_ on May 28, 2013, 09:46 pm
Interesting, but...

1: I use Linux
and
2: It is still not as good and doesn't have enough tweaks as if I was just using NetBeans and make.

Still, it is nice, even if the default tab stops are still stupid. Tabs are 8, not 2, not 4.

Perhaps it would be better if you concentrated your efforts on making a good plugin for NetBeans for noobs instead. I know you won't be doing that, so here are some suggestions.

1: Remove dependence on MS Windows.
2: Tabs are 8, not 4. You should make it user adjustable too.
3: Have some place to put in extra defines for the project, so that they can be passed to GCC and G++. e.g. -DFOO=BAR
4: Have the ability to manually add include paths to GCC and G++. e.g. -I/some/path/
5: Auto-complete.
6: Spell check.
7: Dispose of how the mainline Arduino compiles, use make, and Makefiles.

If it gets all of those modifications I would be partly tempted to use it.  :smiley-mr-green:
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: codlink on May 28, 2013, 10:06 pm
There is always one that has to complain..

If you can't and/or won't use it, then why post?  It really upsets me when someone has spent many hours on developing and testing software and then gives it out for FREE.

If you think you can make it better, then why don't you make it so I can complain.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on May 29, 2013, 03:05 am

Interesting, but...

1: I use Linux
and
2: It is still not as good and doesn't have enough tweaks as if I was just using NetBeans and make.

Still, it is nice, even if the default tab stops are still stupid. Tabs are 8, not 2, not 4.

Perhaps it would be better if you concentrated your efforts on making a good plugin for NetBeans for noobs instead. I know you won't be doing that, so here are some suggestions.

1: Remove dependence on MS Windows.
2: Tabs are 8, not 4. You should make it user adjustable too.
3: Have some place to put in extra defines for the project, so that they can be passed to GCC and G++. e.g. -DFOO=BAR
4: Have the ability to manually add include paths to GCC and G++. e.g. -I/some/path/
5: Auto-complete.
6: Spell check.
7: Dispose of how the mainline Arduino compiles, use make, and Makefiles.

If it gets all of those modifications I would be partly tempted to use it.  :smiley-mr-green:



1) Can't remove this dependence, but source code is all there in GitHub (In particular, the dependant code is: https://github.com/eried/Arduino/tree/master/erw/csharp), so if anyone wants to remove these dependencies I will gladly accept their code. Dependencies are mainly because I enjoy using Visual Studio, but I don't enjoy Java. I know the language is similar to C# and I've used java for long years, even in programming contests (*leisure* scenarios), but I don't enjoy any IDE besides VS+Resharper http://www.jetbrains.com/resharper/ (...and JetBrains provided me a free license because the .net things in the IDE, so kudos for those guys! XD).

2) Good suggestion.

3-4) Can you provide more details? Like, some scenario and what do you have to do right now as a workaround?

5-6) Hard to do. The built-in editor in the IDE is very customized and basic. I haven't checked the editor on the version 1.5 yet, maybe they upgraded the editor making any enhancement more easy to do (I haven't bought a Due or newer boards yet so I will try to keep this version updated until Arduino team moves definitely to the 1.5)

7) Why? Example?
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: AlxDroidDev on May 29, 2013, 02:51 pm

1: I use Linux
(...)
Perhaps it would be better if you concentrated your efforts on making a good plugin for NetBeans for noobs instead. I know you won't be doing that, so here are some suggestions.
(...)


It is very hard to please everyone, isn't it? At least there is one guy out there - and that's Eried - that's trying to please Windows users, and I am thankful for that. Even if I didn't use Windows, I'd be appreciating the humongous effort Eried has put into developing ERW.

I completely agree with codlink.

BTW, there is a plugin already made for Eclipse, and since Eclipse is WAY BETTER than NetBeans, I'd look into that one. The Eclipse plugin development is quite active, and there is a topic for it in these forums.

Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: AlxDroidDev on May 29, 2013, 02:57 pm
Eried, how can I change the default template used by the ERW_IDE?

I'd like to change it because I find it more interesting to also have a few stardard comments in the sketch, and also a initial Port setup routine. For example, the code below is basically how I start most of my current sketches (I just change the port stuff to match the sketch's requirements):

Code: [Select]

/**********************************************************************
 *  Date:                          Last change:
 *  Description:
 *  Hardware requirements:
***********************************************************************/

/***** LIBRARIES ***/

/**** CONSTS    ***/

void setup() {
 DDRD |= B11111100;
 PORTD &= B00000011;  

 DDRB |= B11111100;
 PORTB &= B00000011;  
}

void loop() {

}


You get the idea! Currently I have a "default-sketch.txt" file that I open, copy and paste in my blank sketches, with some code similar to the one above (which I wrote off the top of my head, since I am not in my development machine right now).

A suggestion based on this question: present a choice of templates (if more than one is available) to use when creating a new sketch. There can be a "templates" folder, and each TXT file in there is one template, one choice that will be presented to the user when creating a new project, or, like I said, just use the default.txt if it is the only file in that folder. What do you think?
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: rhalf on May 29, 2013, 05:49 pm
hey guys, may i request to the developer of the Arduino ERW Enhanced Version to put a settings on tab spaces, i want to set my tab spaces to 4, and also can may you add a style configuration where in we can be able to set backgrounds and keyword color coding. lastly, if possible, can you put an intellisense? since it is an enhance version it would be so beatiful to have an intellisense...

by the way, i would like to say thank you, Your work is great... :)
actually I am teaching an arduino worshop here in philippines and i have recommended your Arduino ERW Enhanced Version to my students. 
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: codlink on May 29, 2013, 06:28 pm
You can set colors by going into the install directory/lib/theme and editing theme.txt.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: Docedison on May 29, 2013, 07:56 pm
There is always someone who want's everything done just as s/he want's... and usually someone incapable of doing it her/himself. I'm happy to have the Window$ version... FOR FREE. Were it Linux I would need to learn both a new operating system AND a new IDE. I am old enough that this would be a task I simply don't have the time or inclination for. When the Micro$oft applications fail to provide legacy support for older OS's, like  Micro$oft did with XP and 7 which is inevitable sooner than later, then perhaps I'll switch. Meanwhile complain, FWIW... It gives everyone else a window into your thought processes...
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on May 29, 2013, 10:45 pm
I am trying to keep your suggestions a bit more tidy here:
https://github.com/eried/Arduino/issues

For now, I think I will add 2 ones I think everyone agree:
-Sketch template (AlxDroidDev) it seems logical to have, and I think does not even need any option in preferences (because I am thinking on adding tabs eventually to preferences, otherwise the form will not be appropriate for small resolution screen; <800 px in height)

-Tabs-spaces option (ajk_,rhalf), but I am not sure how this needs to work yet. I am often happy as the tabs works right now.


hey guys, may i request to the developer of the Arduino ERW Enhanced Version to put a settings on tab spaces, i want to set my tab spaces to 4, and also can may you add a style configuration where in we can be able to set backgrounds and keyword color coding. lastly, if possible, can you put an intellisense? since it is an enhance version it would be so beatiful to have an intellisense...

by the way, i would like to say thank you, Your work is great... :)
actually I am teaching an arduino worshop here in philippines and i have recommended your Arduino ERW Enhanced Version to my students. 

Intellisense is like the thing I always wanted to have, but it is hard to add (from scratch) :( and a crappy implementation can be even worse than not having. I am keeping this as a "ultimate enhancement" because basically I think it is even easier to rebuild the IDE around another editor control.

BTW, it is great to hear you guys like the enhancements. As I said time ago in another topic, I got tired to kept updated my few little enhancements for the official IDE: http://services.ried.cl/arduino/ and since most of them were not applicable directly (hacks) it was hard to get them applied to the official version just for Windows users... and it seems all the indirect suggestions related with Windows somewhat soaked to the official one lately :D


by the way, i would like to say thank you, Your work is great... :)
actually I am teaching an arduino worshop here in philippines and i have recommended your Arduino ERW Enhanced Version to my students. 

When I first released this mod, one guy wrote to me a pm saying in these paid arduino courses, most of the time of the class was spent setting up the environment! crazy!
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: ajk_ on May 31, 2013, 06:21 am


Interesting, but...

1: I use Linux
and
2: It is still not as good and doesn't have enough tweaks as if I was just using NetBeans and make.

Still, it is nice, even if the default tab stops are still stupid. Tabs are 8, not 2, not 4.

Perhaps it would be better if you concentrated your efforts on making a good plugin for NetBeans for noobs instead. I know you won't be doing that, so here are some suggestions.

1: Remove dependence on MS Windows.
2: Tabs are 8, not 4. You should make it user adjustable too.
3: Have some place to put in extra defines for the project, so that they can be passed to GCC and G++. e.g. -DFOO=BAR
4: Have the ability to manually add include paths to GCC and G++. e.g. -I/some/path/
5: Auto-complete.
6: Spell check.
7: Dispose of how the mainline Arduino compiles, use make, and Makefiles.

If it gets all of those modifications I would be partly tempted to use it.  :smiley-mr-green:



1) Can't remove this dependence, but source code is all there in GitHub (In particular, the dependant code is: https://github.com/eried/Arduino/tree/master/erw/csharp), so if anyone wants to remove these dependencies I will gladly accept their code. Dependencies are mainly because I enjoy using Visual Studio, but I don't enjoy Java. I know the language is similar to C# and I've used java for long years, even in programming contests (*leisure* scenarios), but I don't enjoy any IDE besides VS+Resharper http://www.jetbrains.com/resharper/ (...and JetBrains provided me a free license because the .net things in the IDE, so kudos for those guys! XD).

2) Good suggestion.

3-4) Can you provide more details? Like, some scenario and what do you have to do right now as a workaround?

5-6) Hard to do. The built-in editor in the IDE is very customized and basic. I haven't checked the editor on the version 1.5 yet, maybe they upgraded the editor making any enhancement more easy to do (I haven't bought a Due or newer boards yet so I will try to keep this version updated until Arduino team moves definitely to the 1.5)

7) Why? Example?


1) That is too bad, the modifications look fairly useful, which is why I commented at all... i.e. I might be able to run in wine, and perhaps the Arduino team might get a clue and include the better bits, instead of the horrible IDE that it is right now.

3-4, 7) Certainly! I use make for everything because the Arduino IDE is too obtuse, and you end up having to change things in the library headers instead of just specifying what you want.
Go look here
https://github.com/xxxajk
for a pile of examples and scenarios where make outshines the IDE. When you use make, v.s. Arduino IDE, the settings that I have actually give you a smaller text area (flash consumed is less!).

and....
@Eclipse user who prefers eclipse: That's great, but I don't find eclipse as intuitive as NetBeans. Let us not start an editor war here, it's not productive for anybody. You are free to use what you like, and so am I. I'm just trying to make helpful suggestions.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: Jantje on May 31, 2013, 12:34 pm


and....
@Eclipse user who prefers eclipse: That's great, but I don't find eclipse as intuitive as NetBeans. Let us not start an editor war here, it's not productive for anybody. You are free to use what you like, and so am I. I'm just trying to make helpful suggestions.


ROFL
you moan about lacks in a great product from eried; you say eclipse is not as intuitive as NetBeans and then you say " Let us not start an editor war here" ( Sounds to me like like : I voiced my opinion; keep yours to yourself.)
If you really think something else is better do like eried, me and many others. Make your perfect world and make your own thread. You will found out it is plenty of hard work.

Jantje
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: Docedison on Jun 01, 2013, 09:22 am
If Netbeans is so great why aren't you busy there instead of wasting bandwidth with "who has a better command of what and how..." No One Really Cares...
Obviously in "Your" eyes it is a superior product... But for what? This is a thread about Arduino related software and what is being done by one person to make it a little friendlier and a few necessary modifications..

Doc
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: ajk_ on Jun 01, 2013, 02:01 pm



and....
@Eclipse user who prefers eclipse: That's great, but I don't find eclipse as intuitive as NetBeans. Let us not start an editor war here, it's not productive for anybody. You are free to use what you like, and so am I. I'm just trying to make helpful suggestions.


ROFL
you moan about lacks in a great product from eried


Wrong. I'm not moaning. I am making helpful suggestions.
I am very well aware that it is a lot of work to get things right, and that you can't always please everyone. Also every person has their own opinions. I will reiterate and expand on my points.

1: Not having tab settings are bad. Tabs always have been and always will be 8. Press your tab key on any normal terminal, even a dumb term from the 70's -- you'll get an offset of 8, which is 1/10'th of 80 columns. An offset of 8 makes code easier to read, and less cluttered. Please dig up your K&R book, it will tell you the same things. Don't clutter your code, and make it easy to read.

2: There are a lot of additional options that are lacking in the Arduino compile process. If you want to move to something advanced, it becomes difficult, since the standard tools are not used. Instead the Arduino IDE team has opted to reinvent the wheel. Look at what Atmel did. They recycled studio instead of reinventing everything. That is the smart thing to do. Unfortunately (?) this is not an option here, but making use of make is. GNU tools are available on every platform. You already are using them (GCC/G++, and friends...) so make is simply the next logical step. It frees those of us who are advanced from having to use any IDE whatsoever. Choices are a good thing.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: codlink on Jun 01, 2013, 04:22 pm
Quote
Wrong. I'm not moaning. I am making helpful suggestions.


You did in your original post and you have been branded as such.  Now you are giving suggestions to make it better which you should have done in your original post.  

When I started with Arduino, I didn't know much about programming.  The Arduino IDE is a must for beginners to get into learning as it doesn't overwhelm the person.  As they get some experience and have read several tutorials, they find more ways to make programming easier by the options that their IDE introduces.  As for me, I learned enough to grow out of the Arduino IDE and into eried's IDE.  Since then, I have enough knowledge to incorporate Notepad++ as my editor (I do have experience with NPP as I work on websites with it).  

Back to you suggestions, the "tab of 8" would be a useful addition to eried's IDE as it organizes the code better.  I honestly didn't know that the tab spaces were 8 until you mentioned it..

But for your last suggestion of using make files, I think that would just over complicate an IDE that is meant to be simple for beginners.

Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: drjiohnsmith on Jun 01, 2013, 06:38 pm
Hi

I have a bug.

decided to change from 1.04 to 1.05 , on a windows 7 machine.
   
now ide does not work.
   
Splash screen comes up for a good few seconds, then I get a error box pop up,
    Launch4J
An error occured whilst starting this application

Any suggestions please
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Jun 01, 2013, 09:32 pm

Hi

I have a bug.

decided to change from 1.04 to 1.05 , on a windows 7 machine.
   
now ide does not work.
   
Splash screen comes up for a good few seconds, then I get a error box pop up,
    Launch4J
An error occured whilst starting this application

Any suggestions please



1.0.4 still works?

Can you open cmd as admin, then browse to the arduino folder and execute arduino.exe --l4j-debug and post the log file created?
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: drjiohnsmith on Jun 01, 2013, 10:15 pm
Hi

1.04 did work, till I re booted,
   then 1.04 and 1.05 give same error.

I've just re moved every thign and re installing,
   
the 1.04 from the arduino site now runs,
    I'll get onto your 1.05 and get back to you


ta for debug tip.

Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: rhalf on Jun 01, 2013, 10:15 pm
since you were talking about netbeans and eclipse. which is better ide?
i have been using eclipse for developing simple Android apps and i based on my experienced, it is so laggy in windows.
Is netbeans better than eclipse?
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: ajk_ on Jun 02, 2013, 03:06 am

Quote
Wrong. I'm not moaning. I am making helpful suggestions.


You did in your original post and you have been branded as such.  Now you are giving suggestions to make it better which you should have done in your original post.  

When I started with Arduino, I didn't know much about programming.  The Arduino IDE is a must for beginners to get into learning as it doesn't overwhelm the person.  As they get some experience and have read several tutorials, they find more ways to make programming easier by the options that their IDE introduces.  As for me, I learned enough to grow out of the Arduino IDE and into eried's IDE.  Since then, I have enough knowledge to incorporate Notepad++ as my editor (I do have experience with NPP as I work on websites with it).  

Back to you suggestions, the "tab of 8" would be a useful addition to eried's IDE as it organizes the code better.  I honestly didn't know that the tab spaces were 8 until you mentioned it..

But for your last suggestion of using make files, I think that would just over complicate an IDE that is meant to be simple for beginners.




No, not at all, the IDE can hide the Makefile details, just like NetBeans and eclipse does.
Once a person becomes more advanced, they can then take advantage of what it has to offer, without a headache and transparently.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: ajk_ on Jun 02, 2013, 03:08 am

since you were talking about netbeans and eclipse. which is better ide?
i have been using eclipse for developing simple Android apps and i based on my experienced, it is so laggy in windows.
Is netbeans better than eclipse?

Neither.
It's a matter of personal taste.
Try both, and others. There are many out there if you really go digging.
One may fit how you think. That is why there are so many choices.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: AlxDroidDev on Jun 03, 2013, 03:29 pm

since you were talking about netbeans and eclipse. which is better ide?
i have been using eclipse for developing simple Android apps and i based on my experienced, it is so laggy in windows.
Is netbeans better than eclipse?


For Android development, Eclipse is better. Not because of Eclipse itself, but because it is an effortless step to integrate the Google/Android Development Kit into the Eclipse IDE. Google provides everything already pre-packaged for development under Eclipse.

Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: drjiohnsmith on Jun 03, 2013, 06:03 pm
Ok,

so deleted all arduino stuff.
   re booted.


downloaded 1.05 from the arduino site,
    ide opens, and code compiles,
        did not have board to see if I could download to board.

downloaded your package,
   extracted .exe, and ran the exe as administrator,
   
get the same error as before.  The arduino version still runs.

so I go to the edw 1.05 directory in dos,
   issue arduino.exe --l4j-debug command

I get the same Launch4J error message.

any suggestions please,


Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: AlxDroidDev on Jun 03, 2013, 06:45 pm

I get the same Launch4J error message.

any suggestions please,


If you're running the IDE on a 64-bit machine, make sure you have a 32-bit JAVA VM installed. I had the same problem as you, and my problem solved after I installed a 32-bit JVM, even although I am on Windows 7 64-bit
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: drjiohnsmith on Jun 03, 2013, 07:37 pm
good suggestion,

but I'm running this on a 32 bit windows 7

Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: rhalf on Jun 03, 2013, 09:33 pm


since you were talking about netbeans and eclipse. which is better ide?
i have been using eclipse for developing simple Android apps and i based on my experienced, it is so laggy in windows.
Is netbeans better than eclipse?


For Android development, Eclipse is better. Not because of Eclipse itself, but because it is an effortless step to integrate the Google/Android Development Kit into the Eclipse IDE. Google provides everything already pre-packaged for development under Eclipse.




sir, how can i make my eclipse work smoothly? its getting buggy and laggy. is normal in windows version? my eclipse version is indigo...

actually, im practicing my java in eclipse cause i want to build my own robot controller in android and do some stuffs.(actually i already have in my laptop and i wrote it in visual basic dotnet). Another thing, is unity 3d better than eclipse? would it be nice and possible if i make an arduino compiler/uploader using eclipse? or Unity3d?

thanks in advance sir!
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: Louis Davis on Jun 03, 2013, 09:36 pm

sir, how can i make my eclipse work smoothly? its getting buggy and laggy. is normal in windows version? my eclipse version is indigo...

actually, im practicing my java in eclipse cause i want to build my own robot controller in android and do some stuffs.(actually i already have in my laptop and i wrote it in visual basic dotnet). Another thing, is unity 3d better than eclipse? would it be nice and possible if i make an arduino compiler/uploader using eclipse? or Unity3d?

thanks in advance sir!


rhalf,
This is off-topic.
You should start another thread.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Jun 04, 2013, 01:03 am

good suggestion,

but I'm running this on a 32 bit windows 7




As I said I can remote control your machine to find the issue (and know how to solve the same issue in the future, or fix the mod). Via Chrome desktop sharing, teamviewer, etc.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: drjiohnsmith on Jun 04, 2013, 08:43 am
thanks eried

appreciate your hard work on this,
   I'll PM you
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: rhalf on Jun 04, 2013, 10:00 pm


sir, how can i make my eclipse work smoothly? its getting buggy and laggy. is normal in windows version? my eclipse version is indigo...

actually, im practicing my java in eclipse cause i want to build my own robot controller in android and do some stuffs.(actually i already have in my laptop and i wrote it in visual basic dotnet). Another thing, is unity 3d better than eclipse? would it be nice and possible if i make an arduino compiler/uploader using eclipse? or Unity3d?

thanks in advance sir!


rhalf,
This is off-topic.
You should start another thread.



oops, im very sorry sir, i apologize...
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: Sembazuru on Jun 10, 2013, 07:44 pm

I am trying to keep your suggestions a bit more tidy here:
https://github.com/eried/Arduino/issues

For now, I think I will add 2 ones I think everyone agree:
-Sketch template (AlxDroidDev) it seems logical to have, and I think does not even need any option in preferences (because I am thinking on adding tabs eventually to preferences, otherwise the form will not be appropriate for small resolution screen; <800 px in height)


I checked the issues page on github and didn't see an issue (either open or closed) for sketch templates. So, I submitted one for you as issue #10.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: rhalf on Jul 01, 2013, 07:28 pm
Sir Eried may i ask why serialEvent is not highlighted in  your version and in the original version of arduino ide? Is serialEvent part of arduino core or function? Did arduino team forget to put this in the arduino keywords.text? for the mean time, Ive added it to the keywords.text temporarily.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Jul 02, 2013, 01:26 am

Sir Eried may i ask why serialEvent is not highlighted in  your version and in the original version of arduino ide? Is serialEvent part of arduino core or function? Did arduino team forget to put this in the arduino keywords.text? for the mean time, Ive added it to the keywords.text temporarily.


I was not aware of this, maybe it was a late addition and arduino team forget to highlight it?
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: rhalf on Jul 03, 2013, 09:27 pm
:D I always use that function  ]:D it is very useful. by the way, i'm excited to your next release of arduino enhance version.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: warren631 on Jul 14, 2013, 06:04 pm
Nice work.  I was using your 1.0.1 then upgraded to ERW 1.0.5 (Windows 32 XP) but I have found a major problem:

After working on some different sketches I noticed a whole lot of duplicate sketches opened that I had NOT opened.  It is very confusing.  Which was the latest sketch that I was editing?  It seems that when I select and open a sketch file from Windows Explorer 'ERW 1.0.5' also opens the last two or three sketches that I was working on. It even opens duplicates of open sketches.  I looked down at my bottom line and I noticed a dozen open sketches including four duplicates!  I am sure I didn't open that many.

Please fix ASAP.   Otherwise - great work!
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Jul 14, 2013, 09:30 pm

Nice work.  I was using your 1.0.1 then upgraded to ERW 1.0.5 (Windows 32 XP) but I have found a major problem:

After working on some different sketches I noticed a whole lot of duplicate sketches opened that I had NOT opened.  It is very confusing.  Which was the latest sketch that I was editing?  It seems that when I select and open a sketch file from Windows Explorer 'ERW 1.0.5' also opens the last two or three sketches that I was working on. It even opens duplicates of open sketches.  I looked down at my bottom line and I noticed a dozen open sketches including four duplicates!  I am sure I didn't open that many.

Please fix ASAP.   Otherwise - great work!


Can you explain how to replicate that bug?, like a small example.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: nid69ita on Jul 14, 2013, 09:50 pm
Also me too. Win XP SP3. But I not use your version at this moment, IDE 1.0.5 original.

1. I open a sketch from menu File->example, , (no close it)
2. after I go with Explorer into folder projects and I open another .ino double-clicking

I open this file and also another copy of IDE with previous sketch (on desktop now 3 IDE, file from explorer and 2 copy of first sketch)
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Jul 15, 2013, 12:52 am

Also me too. Win XP SP3. But I not use your version at this moment, IDE 1.0.5 original.

1. I open a sketch from menu File->example, , (no close it)
2. after I go with Explorer into folder projects and I open another .ino double-clicking

I open this file and also another copy of IDE with previous sketch (on desktop now 3 IDE, file from explorer and 2 copy of first sketch)


I see, thanks! well it seems like a bug in the original IDE! Will take a look how to fix it, it seems related with parsing the args
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: warren631 on Jul 15, 2013, 04:04 am
I had not noticed this problem with the original ERW 1.0.1.  The problem is with ERW 1.0.5 that I just downloaded last week.  Also a lot of other strange things happen.  About one in five compiles fails.  Immediately re-compile and the sketch compiles without errors.  Sometimes it does not recognize a library, then it does without me making any changes to the sketch.  I'm also using XP SP3.  Too many strange things were happening with ERW 1.0.5 that I had to delete it and install the official IDE 1.0.5 (with all its problems such as menus that disappear off the bottom of the screen).  At least the original seems more solid and I only have to worry about problems with my sketch not the IDE.  Had you been making any tweeks recently to ERW 1.0.5?   If you test thoroughly with XP SP3 loading various sketches including library examples and you will see the problems.  I have the IDE files in c:\program files\arduino.  I have sketches in my documents/arduino.  Libraries in my documents/arduino/libraries.  Its a pity, I liked so much of what you improved the original IDE.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Jul 15, 2013, 06:07 am

I had not noticed this problem with the original ERW 1.0.1.  The problem is with ERW 1.0.5 that I just downloaded last week.  Also a lot of other strange things happen.  About one in five compiles fails.  Immediately re-compile and the sketch compiles without errors.  Sometimes it does not recognize a library, then it does without me making any changes to the sketch.  I'm also using XP SP3.  Too many strange things were happening with ERW 1.0.5 that I had to delete it and install the official IDE 1.0.5 (with all its problems such as menus that disappear off the bottom of the screen).  At least the original seems more solid and I only have to worry about problems with my sketch not the IDE.  Had you been making any tweeks recently to ERW 1.0.5?   If you test thoroughly with XP SP3 loading various sketches including library examples and you will see the problems.  I have the IDE files in c:\program files\arduino.  I have sketches in my documents/arduino.  Libraries in my documents/arduino/libraries.  Its a pity, I liked so much of what you improved the original IDE.


The base is the same code, if you can explain to me the problems using steps to reproduce them I will be able to say to you how to fix them.

For example, about the multiple windows, maybe the "new" tweak related with not using the same window made the problem more noticeable for you (but following the steps provided by nid69ita I am able to reproduce the problem in the original IDE too) so basically in theory I never removed fully an option from the original one (it is in my mind to keep the experience exactly but improved rather than requiring new steps to do things).

Also, you should be able to have both IDEs without any problem, or sharing anything :)
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: humroben on Jul 27, 2013, 01:16 am
Neither the enhanced version nor the official version of arduino work on my windows 7.

splash screen appears on all 4 versions, then disappears without bringing up the arduino programming window.

It's things like this that make me edge closer and closer to staying on linux, however, there are things on windows that i need.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: cyclegadget on Jul 27, 2013, 02:07 am

Neither the enhanced version nor the official version of arduino work on my windows 7.

splash screen appears on all 4 versions, then disappears without bringing up the arduino programming window.


I had this problem, in my case, it was the ATTiny hardware files that caused the problem. I had added those files to the IDE .
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Jul 27, 2013, 07:28 pm

Neither the enhanced version nor the official version of arduino work on my windows 7.

splash screen appears on all 4 versions, then disappears without bringing up the arduino programming window.

It's things like this that make me edge closer and closer to staying on linux, however, there are things on windows that i need.


I can try to check your issue remotely via teamviewer (if you already exhausted all the other options)
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: evyatar_nevo on Jul 29, 2013, 10:46 am
A new UI icons for the Arduino Software!

http://forum.arduino.cc/index.php?topic=166737.0
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: bstott on Aug 13, 2013, 08:39 pm
Hi,

I haven't used the Arduino in a while and upgraded to your latest ERW. Still great!

Note: A lack of space for programming lines against the left window wall is back. Would you please add a character space or two at the beginning of each line? That is for all lines not just adjusting the "indent".

The programming lines are so very close to the left window margin that it is distracting to try to program.

--- I did scroll the bar to left.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: yosemite on Aug 14, 2013, 08:47 pm
win7 64 bit, same problem as others, just get splash screen then nothing. ran the arduino.exe --l4j-debug and same thing, splash screen no output
regular arduino works
suggestions?
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Aug 15, 2013, 01:56 am

Hi,

I haven't used the Arduino in a while and upgraded to your latest ERW. Still great!

Note: A lack of space for programming lines against the left window wall is back. Would you please add a character space or two at the beginning of each line? That is for all lines not just adjusting the "indent".

The programming lines are so very close to the left window margin that it is distracting to try to program.

--- I did scroll the bar to left.


Yeah I noticed that too, I will try to check it (even better if you post it in the github :D)


win7 64 bit, same problem as others, just get splash screen then nothing. ran the arduino.exe --l4j-debug and same thing, splash screen no output
regular arduino works
suggestions?


Open a console prompt with admin privileges, then arduino.exe --l4j-debug and paste here the log that pops in the directory of the exe
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: lansas on Aug 21, 2013, 10:49 pm
great work! Thanks. Windows8 open slowly Arduino before and everytime an error occoured. I love it. I hope you can buy pepsi glass whatever I dont know what it is  :)
I will donate, thanks for your work.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: lansas on Aug 21, 2013, 10:50 pm
great work! Thanks. Windows8 open slowly Arduino before and everytime an error occoured. I love it. I hope you can buy pepsi glass whatever I dont know what it is  :)
I will donate, thanks for your work.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: daverin on Aug 23, 2013, 06:19 pm
This Program is AWESOME!!!!!! So much better than the original!!!!!

Could you guys try and create a version that allows the changing of the background colour and changing of the font colours. (similar to jgrasp)

:)
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: konsarna on Aug 23, 2013, 11:03 pm
hi
maybe it sounds stupid but I want to ask we only download and install just one of the three recommendations that appear in the first site right?
I have windows 8 and I am getting a message avrdude: stk500_getsync(): not in sync: resp=0x00 I was expecting it would be resolved but nothing hApened any idea??
thanx indeed
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: lewtwo on Aug 24, 2013, 03:43 am
Looks nice. I will certainly give this a go ...
   however I do not think I would refer to anything that requires " .Net Framework 4.0 " as lite.

Mircorsofts's runtime environment is huge and requires updating (full replacement) on a monthly basis.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Aug 24, 2013, 03:55 am

This Program is AWESOME!!!!!! So much better than the original!!!!!

Could you guys try and create a version that allows the changing of the background colour and changing of the font colours. (similar to jgrasp)

:)


Thanks daverin! Pepsi is a cola drink :) (it is like the Enhanced version of the Coca cola)


hi
maybe it sounds stupid but I want to ask we only download and install just one of the three recommendations that appear in the first site right?
I have windows 8 and I am getting a message avrdude: stk500_getsync(): not in sync: resp=0x00 I was expecting it would be resolved but nothing hApened any idea??
thanx indeed



The error you are reporting it is too generic, the board is not responding, if is properly installed and visible as a com port to windows, then it might be something in the board itself (firmware).


Looks nice. I will certainly give this a go ...
  however I do not think I would refer to anything that requires " .Net Framework 4.0 " as lite.

Mircorsofts's runtime environment is huge and requires updating (full replacement) on a monthly basis.


The .Net framework never changes or updates, every version is completely isolated. You can see every version you have in:
Code: [Select]
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework

I know it is big (not sure if ~100 MB is 'big' for today's standards) but makes much pleasant the addition of things to the IDE, so I really don't want to remove it (I can, but that requires re-coding some small additions in Java).
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: lewtwo on Aug 25, 2013, 09:08 am

The .Net framework never changes or updates, every version is completely isolated. You can see every version you have in:

I know it is big (not sure if ~100 MB is 'big' for today's standards) but makes much pleasant the addition of things to the IDE, so I really don't want to remove it (I can, but that requires re-coding some small additions in Java).


"I know it is big (not sure if ~100 MB is 'big' for today's standards)"
I have versions 3.5 and 4.0 on my current systems (and I would have sworn that V2 was there as well).  On my system v4.0 is 190 Mbytes (not including anything they stuff in the system directory at the same time).

"The .Net framework never changes.."  
http://en.wikipedia.org/wiki/.NET_Framework_version_history
On 12 April 2010, the final version of .NET Framework 4.0 was launched alongside the final release of Microsoft Visual Studio 2010.
On 18 April 2011, version 4.0.1 was released supporting some customer-demanded fixes for Windows Workflow Foundation.[21] Its design-time component, which requires Visual Studio 2010 SP1, adds a workflow state machine designer.[22]
On 19 October 2011, version 4.0.2 was released supporting some new features of Microsoft SQL Server.[23]
This does not include the Alphas and Betas or "security patches" nor the most recent update 4.0.3 (I think that is the most recent).

The thing I HATE about .NET is that it does now just update the changed files ... they replace the ENTIRE package and it takes place when you shut down the computer because MS Update only downloads the install stub. So then you have to wait for it to complete.

MUTE point

"but makes much pleasant the addition of things to the IDE, so I really don't want to remove it (I can, but that requires re-coding some small additions in Java)."
I certain it does. I do not mean to recommend, suggest or promote removing it.
Just saying if something requires .net then the "LITE" word might be subject to question.

By the way, You did a good job. :) :)
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Aug 26, 2013, 12:57 am
Well, yes, you may apply some security patches (MS sucks compressing stuff, but I doubt that the patches are the whole 190 MB again), what I wanted to express is that if you have the version *4.0* of the Framework, the applications using 4.0 will always run much like you have the Java runtime in the Arduino right now, it never needs to be updated or replaced if you don't want to.

It is not like an app store, or xbox live that it requires to be updated and replaced to keep some functionality: I still use the same untouched .net 4 built in Windows 8 from last year. But I understand your concerns, many years ago I was against .Net because in my mind, was just so wasteful (I started with Macromedia Flash and old Visual Basic in high school, so the generated "runnable" things were always lightweight, macromedia exe bundled or vb including the runtime dll), but .Net is modern and well architected, if mono was reliable to create a bundle I would make a lightweight version in no time.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: pico on Aug 29, 2013, 02:23 pm
Is the com port failure detect/reset wrapper function for avrdude still in the latest version? I had a play with your version 1.0.5 under Win7 x64 and I was getting regular "misses" on the USB virtual com port, requiring a physical unplug/plug cycle to correct. Tedious (but fairly normal, I know.)

However, your "wrapper" solution used to detect this and offer a soft reset, which lowered the tedium factor significantly (worth several Pepsis!  :smiley-mr-green:). Has this been phased out for some reason? Or is there something odd with my install?

Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Aug 29, 2013, 07:48 pm

Is the com port failure detect/reset wrapper function for avrdude still in the latest version? I had a play with your version 1.0.5 under Win7 x64 and I was getting regular "misses" on the USB virtual com port, requiring a physical unplug/plug cycle to correct. Tedious (but fairly normal, I know.)

However, your "wrapper" solution used to detect this and offer a soft reset, which lowered the tedium factor significantly (worth several Pepsis!  :smiley-mr-green:). Has this been phased out for some reason? Or is there something odd with my install?




It is still there, with a few tweaks. Can you enable verbose and post here the output when it fails?

The port will be checked if the arguments when calling avrdude don't contains: "-cavr109" but they contain portPrefix = @"-P\\.\COM", baudsPrefix = "-b":
https://github.com/eried/Arduino/blob/master/erw/csharp/AvrDudeReset/Program.cs

I think the ignore was just to avoid Leonardo issues on some people. Maybe the port is actually responding, the wrapper just tries to open the port, but does not test about the validity of the responses. If you can open the port in another terminal like HTERM, then your problem is a new one.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: pqino on Sep 29, 2013, 01:03 pm

win7 64 bit, same problem as others, just get splash screen then nothing. ran the arduino.exe --l4j-debug and same thing, splash screen no output
regular arduino works
suggestions?

Had the same behaviour (Light version without Java runtime on Win7 64bit). I had both jre 7_25 installed, 32 and 64 bit. After removing the 64bit JRE  it is working now! Is there anything requiring 64bit Java anyway?

PS: Updated to jre 1.7.0_40 32bit, also working.

launch4j.log:

CmdLine:   C:\Arduino ERW 1.0.5\arduino.exe --l4j-debug
WOW64:      yes
Working dir:   C:\Arduino ERW 1.0.5\.
Bundled JRE:   java
Check launcher:   C:\Arduino ERW 1.0.5\java\bin\javaw.exe (n/a)
64-bit search:   SOFTWARE\JavaSoft\Java Runtime Environment...
32-bit search:   SOFTWARE\JavaSoft\Java Runtime Environment...
Ignore:      SOFTWARE\JavaSoft\Java Runtime Environment\1.7
Match:      SOFTWARE\JavaSoft\Java Runtime Environment\1.7.0_40
64-bit search:   SOFTWARE\JavaSoft\Java Development Kit...
32-bit search:   SOFTWARE\JavaSoft\Java Development Kit...
Check launcher:   C:\Program Files (x86)\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 (x86)\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:   259
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: avznav on Oct 13, 2013, 11:54 am
Been waiting for this. Thanks for releasing it so quickly! Cheers! :)
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: TrafficProducer on Oct 15, 2013, 10:27 am
Video about this issue on YouTube
http://youtu.be/zY1OQ12NVrE (http://youtu.be/zY1OQ12NVrE)

Arduino ERW 1.0.5 Serial Monitor opens after upload but just displays a blank window, until I hit Reset in that Serial Monitor Window and then only a small amount of text is displayed each time that Reset is pressed.

The same sketch works in the Serial Monitor Window with the standard Arduino 1.0.5 using Ctrl+Shift+M to open the serial monitor..

This is not a complaint but hopes to help improve

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

Download:
http://forum.arduino.cc/index.php?topic=118440 (http://forum.arduino.cc/index.php?topic=118440)

Arduino ERW 1 serial Monitor bug

Seems to function as expected but the serial Monitor window remains blank.

Arduino Leonardo (Compatible)

COM Port 7

O/S Windows 7, 64 Bit

Thanking everyone
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: lewtwo on Oct 17, 2013, 06:32 pm
I have documented a "Stack Overflow" problem that I encountered in the standard Arduino IDE .
I note that the same problem exists in your enhanced version.

For details please see the thread:
http://forum.arduino.cc//index.php?topic=191078.0 (http://forum.arduino.cc//index.php?topic=191078.0)

Question:
Where do you store the TEMPLATE file?
I would like to add "Serial.begin (9600);" to mine.

I have three suggestions:
1) Add a an additional HTML help file that outlines the difference between the "enhanced version" and the "standard" version. Include things like new name for the "preferences file" and relocation of the "user library file". Personally I replaced the HTML files in new reference directory with stubs that point back to the original "Standard" reference directory because I have edited those files to include additional information, added missing files and added useful web links.

2) Include a option for the "user library path" in the preferences so that the user does not end up with two copies of their library files if they have both IDEs installed.

3) Do something about the IDE's failure to clean up after itself. The IDE fills the users temp directory with folders that it never deletes. These directories are named something on the order:
  console*.tmp
  untitled*.tmp
  build*.tmp
where the "*" is a long string of digits.
Of course specifying a "build path" in preferences solves the problem for the latter one.

These are NOT criticisms of your excellent work.
They are merely suggestions for your consideration.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: Sembazuru on Oct 17, 2013, 07:22 pm

I have documented a "Stack Overflow" problem that I encountered in the standard Arduino IDE .
I note that the same problem exists in your enhanced version.

For details please see the thread:
http://forum.arduino.cc//index.php?topic=191078.0 (http://forum.arduino.cc//index.php?topic=191078.0)

Question:
Where do you store the TEMPLATE file?
I would like to add "Serial.begin (9600);" to mine.


AFAIK the template is hardcoded. Having it as a separate, user-editable file has been discussed in this thread, but I don't know what direction eried has decided, or how far he has gotten with implementation. I haven't seen any updates for a while so I suspect RealLifeTM is getting in the way of maintaining this. ;-)

Quote

I have three suggestions:
1) Add a an additional HTML help file that outlines the difference between the "enhanced version" and the "standard" version. Include things like new name for the "preferences file" and relocation of the "user library file". Personally I replaced the HTML files in new reference directory with stubs that point back to the original "Standard" reference directory because I have edited those files to include additional information, added missing files and added useful web links.

2) Include a option for the "user library path" in the preferences so that the user does not end up with two copies of their library files if they have both IDEs installed.
Quote


I'm not sure what issue you are seeing. I have several versions of the IDE installed including ERW (1.0.5, 1.5.2, and 1.0.5 ERW). All point to the same sketch path, so they all use the same user libraries. Yes, the official versions don't ignore the library folders that start with "__disabled_" like ERW does, but I can ignore them in the list as long as I only use ERW to enable/disable libraries.



3) Do something about the IDE's failure to clean up after itself. The IDE fills the users temp directory with folders that it never deletes. These directories are named something on the order:
  console*.tmp
  untitled*.tmp
  build*.tmp
where the "*" is a long string of digits.
Of course specifying a "build path" in preferences solves the problem for the latter one.

These are NOT criticisms of your excellent work.
They are merely suggestions for your consideration.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 17, 2013, 08:23 pm

I have documented a "Stack Overflow" problem that I encountered in the standard Arduino IDE .
I note that the same problem exists in your enhanced version.

For details please see the thread:
http://forum.arduino.cc//index.php?topic=191078.0 (http://forum.arduino.cc//index.php?topic=191078.0)


Interesting. This mod is 99.9% pure Arduino Team work. If nobody working on the official version fixes it, you can add it here with details: https://github.com/eried/Arduino/issues and I will try to do my best when I compile a new version/installer to fix it.


Question:
Where do you store the TEMPLATE file?
I would like to add "Serial.begin (9600);" to mine.

I have three suggestions:
1) Add a an additional HTML help file that outlines the difference between the "enhanced version" and the "standard" version. Include things like new name for the "preferences file" and relocation of the "user library file". Personally I replaced the HTML files in new reference directory with stubs that point back to the original "Standard" reference directory because I have edited those files to include additional information, added missing files and added useful web links.


Yeah, as Sembazuru said it is hardcoded right now. It is suggested https://github.com/eried/Arduino/issues?labels=enhancement&page=1&state=open but I will eventually try to tackle most of the suggestions when the official new version (1.0.6?) arrives otherwise it will be twice the work (i.e.: Arduino Team decides finally to fix the icons, or the Serialrxtx in windows, or accept any other century old commit, eventually all the "enhancements" should be in the official version, one way or another)


2) Include a option for the "user library path" in the preferences so that the user does not end up with two copies of their library files if they have both IDEs installed.


You can set a complete different path in my mod, with their own libraries... and then identify both IDEs easily (hint: the ugly icon is the official one)


3) Do something about the IDE's failure to clean up after itself. The IDE fills the users temp directory with folders that it never deletes. These directories are named something on the order:
  console*.tmp
  untitled*.tmp
  build*.tmp
where the "*" is a long string of digits.
Of course specifying a "build path" in preferences solves the problem for the latter one.


Any particular reason you want that? Mod version has a button to show the compilation directory, it would make no sense if you close the IDE, the opened directory vanished.

Additionally, when the temp folder eventually fills the disk (couples of centuries on any modern PC if you use only arduino, because temps files <1 MB each run), Windows will warn you and offer the cleanup tool (so the decision after all is: 1 microdelay every time you close the IDE, vs 1 minute cleanup every couple years)
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: lewtwo on Oct 17, 2013, 09:38 pm

Interesting. This mod is 99.9% pure Arduino Team work. If nobody working on the official version fixes it, you can add it here with details: https://github.com/eried/Arduino/issues and I will try to do my best when I compile a new version/installer to fix it.

Thank you. I did not  know that was the proper place to report a bug ... help directs one to post it on this forum under 'other Software Developement'.
"Corrections, suggestions, and new documentation should be posted to the Forum."
I will setup an account and post the bug report there.



Yeah, as Sembazuru said it is hardcoded right now.

OK .. that is not a very big deal anyway. Just thought that I would inquire. :)




You can set a complete different path in my mod, with their own libraries... and then identify both IDEs easily 

I do not want completely different source files for each IDE. I want them to use the SAME source files and libraries. I  have that pretty much handled except the enhanced version locates the Libraries inside the user "Sketch" folder. The standard version locates it parallel to the user "Sketch" folder.




Any particular reason you want that? Mod version has a button to show the compilation directory, it would make no sense if you close the IDE, the opened directory vanished. 

I use additional utilities on the build files. I have the build directory specified in the preferences file. In that case the directory and the build files do NOT vanish (with either version).




Any particular reason you want that? ...

Additionally, when the temp folder eventually fills the disk (couples of centuries on any modern PC if you use only arduino, because temps files <1 MB each run), Windows will warn you and offer the cleanup tool (so the decision after all is: 1 microdelay every time you close the IDE, vs 1 minute cleanup every couple years) 

Just one of my pet peeves about ANY application that does not clean up after itself. It makes trouble shooting more difficult. One of the first steps I do when trying to resolve a "user's" problem is delete all the temp files and folders (that has been known to solve a problem all by itself).  Then I can tell what files the application is creating and investigate them.


Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 17, 2013, 10:14 pm

I do not want completely different source files for each IDE. I want them to use the SAME source files and libraries. I  have that pretty much handled except the enhanced version locates the Libraries inside the user "Sketch" folder. The standard version locates it parallel to the user "Sketch" folder.


Are you sure about that? can you post the 2 directory structures you mention here?


I use additional utilities on the build files. I have the build directory specified in the preferences file. In that case the directory and the build files do NOT vanish (with either version).


But in any way the button in the menu opens the compilation folder, I am not sure if the folder changes with that option or the file is just copied over that destination.


Just one of my pet peeves about ANY application that does not clean up after itself. It makes trouble shooting more difficult. One of the first steps I do when trying to resolve a "user's" problem is delete all the temp files and folders (that has been known to solve a problem all by itself).  Then I can tell what files the application is creating and investigate them.


Well, this is kinda personal preference. I prefer those application that left the temporal files for debugging the issue, maybe you should take a look to Process Monitor http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx in case of any problem with any app. In a well designed application, the temporal used files are always fresh, in fact Windows has several methods in the api to get a pointer to a fresh temporal file that does not conflict with anything. Anyway, if some people besides you think this is a senseful option, I can add this to the settings something like: [ ] Purge temporal files when exiting the IDE.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: lewtwo on Oct 18, 2013, 02:06 am


I do not want completely different source files for each IDE. I want them to use the SAME source files and libraries. I  have that pretty much handled except the enhanced version locates the Libraries inside the user "Sketch" folder. The standard version locates it parallel to the user "Sketch" folder.


Are you sure about that? can you post the 2 directory structures you mention here?


See the attach screen captures.
The first shows the "libraries" that was setup by the standard "IDE".
The second shows the folder setup by the modified "IDE".

This is not a big deal just a inconsistency that I noticed but that is a bit of a nuisance.
There are plenty of ways to work around it.



Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 18, 2013, 02:20 am
OH, that is not correct, I don't have it like that, I don't know if someone in XP also experiences the issue. Are you sure you didn't manually changed the settings?
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: lewtwo on Oct 18, 2013, 02:45 am

OH, that is not correct, I don't have it like that, I don't know if someone in XP also experiences the issue. Are you sure you didn't manually changed the settings?

Affirmative and I am running Windows 7  X64.
I need to do some clean up so I will reinstall a virgin copy and see if it does the same thing.
OH .. I just noticed that you have a link to the setting files in the Preferences Dialog. Nice touch !
Cheers.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: Lopez_Lou on Oct 28, 2013, 01:10 pm
Hello eried

First of all, I am sorry for asking this question in your topic because it is not the best place to ask but I can not find any solution for my problem by other means. I have written a topic  but nobody has answered it. Since you are modifiying the Arduino IDE, you might know something about this.

I am triying to modify the Arduino IDE to make some changes using Eclipse, so I have downloaded the source code from the web but when I try to build/run the IDE, without having changed anything, It gives me an error. Some people have told me it can be a problem between the arduino IDE source code version, the eclipse version and de Java RE and SDK version.

Do you think this might be the problem? Can you tell me which versions are you using?

Thank you in advance and for your release, pretty useful and easier to use.  :)
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 28, 2013, 03:54 pm
Which error are you getting?
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: Lopez_Lou on Oct 29, 2013, 11:28 am
Thank you for your reply, and, once again, sorry for everything.

I don`t want to disturb anyone anymore because it can be a little out of topic so I think it is better to give you my topic where I have explained all my problem (with the error) and where our replys will not disturb anyone. Here it is http://forum.arduino.cc/index.php?topic=165461.0 (http://forum.arduino.cc/index.php?topic=165461.0).

Thank you very much.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 31, 2013, 03:43 am
I was closing some requests for next version (already 3 implemented brand new features  8)):
https://github.com/eried/Arduino/issues?labels=enhancement&page=1&state=closed

But, there are some usability "issues" I need to ask people who uses this version.

1) I was thinking to include Teensy stuff as default. (Ordered couple boards and it is just too amazing to not include... or to use the ugly official one  :smiley-roll:) any suggestion/concern? (filesize will increase around 5 MB only, and I have to figure out how to add the Serial installer for that board)

2) https://github.com/eried/Arduino/issues/8 <- anyone votes this up/down?

3) https://github.com/eried/Arduino/issues/7 <- senseful options this may require? just to switch from 4 spaces to 1 tab?

4) https://github.com/eried/Arduino/issues/3 <- autosave on compilation? AND/OR verification? option to disable visible in preferences? or asume True always as any modern IDE?

I think I can implement all the remaining ones easily, the only difficult one is https://github.com/eried/Arduino/issues/1

Thanks!
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: pico on Oct 31, 2013, 05:24 am

1) I was thinking to include Teensy stuff as default. [...] and I have to figure out how to add the Serial installer for that board


This would be cool if you could do it, but I suspect that the external serial uploader Paul built might be hard to emulate in the standard IDE.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 31, 2013, 07:22 am


1) I was thinking to include Teensy stuff as default. [...] and I have to figure out how to add the Serial installer for that board


This would be cool if you could do it, but I suspect that the external serial uploader Paul built might be hard to emulate in the standard IDE.



I will re-use the same stuff, just thinking on recreate the differences between Arduino - Arduino with Teensy - Arduino modded

There is not a lot to copy (I am not sure if source is available, but I can use the compiled ones because the changes are small and I can even look the decompiled byte code to detect the changes, it is usually a new if/var or setting I have checked some files already):
(http://f.cl.ly/items/0O2W3u2I003s1g2g4133/Image%202013-10-31%20at%203.25.00%20AM.png)
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: Jantje on Oct 31, 2013, 07:18 pm
eried
If you want to support the teensy stuff Paul will be glad to help you.
He helped me with the implementation in my eclipse plugin. Basically there are 2 commands to run.
Below is a copy of the teensy part of Arduino 1.5.2 platform.txt which shows the commands to run.
Quote

# Teensy Uploader/Programmers tools
# -------------------

tools.teensy_reboot.config.path={runtime.ide.path}/hardware/teensy/tools/mac
tools.teensy_reboot.config.path.linux={runtime.ide.path}/hardware/teensy/tools/linux
tools.teensy_reboot.config.path.windows={runtime.ide.path}/hardware/teensy/tools/windows


tools.teensy_reboot.upload.params.verbose=
tools.teensy_reboot.upload.params.quiet=
tools.teensy_reboot.cmd.path={tools.teensy_reboot.config.path}/
tools.teensy_reboot.name=Teensy upload
tools.teensy_reboot.step1.pattern={tools.teensy_reboot.cmd.path}teensy_post_compile -path={build.path} -file={build.project_name} -tools={tools.teensy_reboot.config.path} -board={name}
tools.teensy_reboot.step1.name=Teensy post compile
tools.teensy_reboot.step2.pattern={tools.teensy_reboot.cmd.path}teensy_reboot -v
tools.teensy_reboot.step2.name=Teensy reboot

The code I build is very generic and yust does step1 step2 ... until no info is found.
That code is open source in case I forgot something in the platform.txt
So there is no need to reverse engineer to support teensy ;-)

Best regards
Jantje
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Oct 31, 2013, 08:08 pm
Yes, thanks. I already asked Paul and the source was being installed next to the main files :) (doh! didn't noticed that and I was just analizing the jars) so not need to reverse engineer.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: hole on Nov 04, 2013, 08:36 pm
Eried, I'm just resting from a hour long search without any findings... But from the beginning: from now to then ERW stopped  loading the IDE, "launch4j an error occurred". I'm not sure what I did wrong...

Debug log showed nothing, so I stated poking around. I found that after deleting the "arduino/libraries" folder ERW starts fine. Restoring the folder, error.

So I installed the original IDE, copied the libraries folder from ERW to ORG, tried, starts OK.

So I deleted the libraries folder and merged the folder items by item, everything fine until I merged the last folder.... But: it isn't the folder. If I remove any random folder ERW works. If I add back that random folder I get the error.

Could it be that there is a libraries limit?
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Nov 04, 2013, 08:46 pm
Where exactly are you placing the libraries? Can you paste the path here?

There is a *limit* in the system libraries (I noticed when adding Teensy code last friday). The limit is based on the menu height (based on your screen dpi, and resolution). If you go to the library manager and click "browse" libraries and copy the libraries in that folder while you leave the library manager opened: does the problem still happens?
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: hole on Nov 04, 2013, 09:18 pm
libraries are in C:\Users\hole\Desktop\Arduino ERW 1.0.5\libraries

And bingo, you are right. In my cold shed I have a small monitor (1024x786) and remote I have as much as I want... and remote it does work.

Anything to fix that problem beside buying something bigger for my shed? :-)
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Nov 04, 2013, 09:56 pm
Well I am not sure if you have too many system libraries installed in c:\program files ... but for the moment there is nothing to do, the problem is already fixed but I still don't finish all the testings like to compile a new version
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: hole on Nov 04, 2013, 10:12 pm
Sounds good to me and I can live with it. I now know the reason so I can avoid it.

My setup is a portable one, I have everything in one folder on the desktop. Idea was to have it on a network drive, but my NAS is too slow and compiling a pain. So I have my main repository on the NAS and "localize" it by syncing the folder.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: mcsean2163 on Nov 07, 2013, 03:21 pm
I'm having the same issue with this installation, (Arduino ERW 1.0.5), that it is meant to resolve, namely the splash screen appears but the IDE does not.

Any ideas where I have gone wrong ?

Sean
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Nov 07, 2013, 10:18 pm

I'm having the same issue with this installation, (Arduino ERW 1.0.5), that it is meant to resolve, namely the splash screen appears but the IDE does not.

Any ideas where I have gone wrong ?

Sean


Do you have too many libraries too?
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: hole on Nov 28, 2013, 05:57 pm
Just for information and our all enjoyment... :-)

I moved from WINAVR to "MHV AVR Tools - A WinAVR Replacement". Code size of a random project changed from 12720 bytes to 11926 bytes. And as far as I see, everything works as before only with a current gcc toolchain.

Move is easy:
1. download http://www.makehackvoid.com/sites/default/files/MHV_AVR_Tools_20131101.exe
2. install somewhere, remember the folder name
3. after install, copy this folder to your desktop and rename it to avr
4. uninstall "MHV AVR Tools - A WinAVR Replacement" (installed in step 2. open folder, run uninstall)
5. open your Arduino-IDE folder, go to hardware\tools
6. rename "avr" to "avr org"
7. move the folder from step 3 to this folder
8. delete avrdude.conf in folder avr\bin
9 copy avrdude.conf from avr org\etc to avr\etc
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Nov 30, 2013, 05:32 am

Just for information and our all enjoyment... :-)

I moved from WINAVR to "MHV AVR Tools - A WinAVR Replacement". Code size of a random project changed from 12720 bytes to 11926 bytes. And as far as I see, everything works as before only with a current gcc toolchain.


This improvement is from the Official arduino AVR or compared to the version I included in the mod?
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: hole on Dec 02, 2013, 01:56 pm
I came across it by looking around after some gcc improvements. Before that I didn't notice the age of it. Then I learned that there are some discussions about the toolchain, but honestly, I was to lazy to follow all the threads and extract any official words. I downloaded a nightly 1.5 build and it has an old winavr, too.

As far as I see, only the error message has changed (the IDE doesn't place the cursor at the approximate error position... f*ck C).

Some problems are on the libraries side. gcc dropped prog_* types, I found some usage scanning my libraries path. So those files won't compile any more. Mostly adafruit-stuff.

If it makes any sense in doing the work, it would be a nice addition to parse the error messages. And adding a note somewhere, how to manually update the toolchain.

I don't know.  :)
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: rujoking on Dec 06, 2013, 08:16 am

3) https://github.com/eried/Arduino/issues/7 <- senseful options this may require? just to switch from 4 spaces to 1 tab?


Having an option to replace the space characters with a single tab character would be great.  For me it's a matter of consistency; hitting a single key should produce an action that can be undone with another single keystroke, as opposed to the way it is now where a "single" keystroke gets converted into four (or however many) strokes, which then have to be undone individually.  (I know it's kind of a weird thing to get caught up on but my field is interface design and I'm picky.   :D)
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: rhalf on Dec 29, 2013, 07:37 pm
Hello sir Eried. is there a new version of your Arduino Enhanced version? cant wait :D by the way sir, serial monitor doesnt work on arduino leonardo. another thing, can  we add a respective serial monitor for each sketch that are open(obviously with different com ports.)? Thank you sir and happy new year :D
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Dec 30, 2013, 01:36 am
Since HP finally released a new graphic calculator I was using most of the time with that heheh http://ried.cl/proyecto/utilidad-para-intercambiar-archivos-con-la-hp-prime-primecomm/

But in any case, I have most of the current version issues fixed already, and I am mainly waiting for a new minor official release to join all and get the new version published.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: hole on Jan 09, 2014, 11:54 am
Another problem, I don't know whom to blame. I have this nicely layouted part of code.

Code: [Select]
const unsigned int sigs[7][3] = // namepart, signature, prgmode
// Attiny Sig
{
 { 13, 0x9007, 1 },    // L: 0x6A, H: 0xFF             8 pin
 { 24, 0x910B, 2 },    // L: 0x62, H: 0xDF, E: 0xFF   14 pin
 { 25, 0x9108, 2 },    // L: 0x62, H: 0xDF, E: 0xFF    8 pin
 { 44, 0x9207, 2 },    // L: 0x62, H: 0xDF, E: 0xFFF  14 pin
 { 45, 0x9206, 2 },    // L: 0x62, H: 0xDF, E: 0xFF    8 pin
 { 84, 0x930C, 2 },    // L: 0x62, H: 0xDF, E: 0xFFF  14 pin
 { 85, 0x930B, 2 }
};  


If I press Ctrl-T for autoformat it comes out really ugly. I could live with that (I would prefer less ugly, but ok...) BUT there are space added in front of the closing curly bracket.

There are other instances where things inside comments are changed. I think this is a no-no-no.

What I really miss in this situation is to allow me to fine tune the formatting to my personal demands.

(Created a issue on github, too)
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Jan 09, 2014, 02:43 pm

Another problem, I don't know whom to blame. I have this nicely layouted part of code.

Code: [Select]
const unsigned int sigs[7][3] = // namepart, signature, prgmode
// Attiny Sig
{
 { 13, 0x9007, 1 },    // L: 0x6A, H: 0xFF             8 pin
 { 24, 0x910B, 2 },    // L: 0x62, H: 0xDF, E: 0xFF   14 pin
 { 25, 0x9108, 2 },    // L: 0x62, H: 0xDF, E: 0xFF    8 pin
 { 44, 0x9207, 2 },    // L: 0x62, H: 0xDF, E: 0xFFF  14 pin
 { 45, 0x9206, 2 },    // L: 0x62, H: 0xDF, E: 0xFF    8 pin
 { 84, 0x930C, 2 },    // L: 0x62, H: 0xDF, E: 0xFFF  14 pin
 { 85, 0x930B, 2 }
};  


If I press Ctrl-T for autoformat it comes out really ugly. I could live with that (I would prefer less ugly, but ok...) BUT there are space added in front of the closing curly bracket.

There are other instances where things inside comments are changed. I think this is a no-no-no.

What I really miss in this situation is to allow me to fine tune the formatting to my personal demands.

(Created a issue on github, too)


Yeah, looks very ugly. I think I experienced the issue but since it happens to me in other environments from time to time I just try to remember to not autoformat that tab. What do you suggest as solution? I mean, this is happening because some other layout rules so would you prefer the autoformat routine to detect and ignore these *pattern* style?

I will try to take a look when I review the new minor version. I just check my github issues https://github.com/eried/Arduino/issues so if it is fixed in the official one, solution will be poured when I join the sourcecode: I know isn't optimal but my fixes/additions aren't usually multiplatform so they would get ignored as pulls for the official one.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: hole on Jan 09, 2014, 03:59 pm
1.5.5 fixes the problem, so there is nothing to suggest. :-)

I assume that once the 1.5.x/2.0?-path has stabilized that your other enhancements and fixes will move into the final version, too.

Exposing the formatter interface to fiddle around with it might not be worth the work. The way 1.5.5 exposes the formatter interface is a good way to add individual changes. If it works (and 1.5.5 seems to work) and there is a way to fix the errors, so shall it be. There are other areas that could need work... and 1.5.5 still has the 5+ years old gcc.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Jan 09, 2014, 08:57 pm

1.5.5 fixes the problem, so there is nothing to suggest. :-)

I assume that once the 1.5.x/2.0?-path has stabilized that your other enhancements and fixes will move into the final version, too.

Exposing the formatter interface to fiddle around with it might not be worth the work. The way 1.5.5 exposes the formatter interface is a good way to add individual changes. If it works (and 1.5.5 seems to work) and there is a way to fix the errors, so shall it be. There are other areas that could need work... and 1.5.5 still has the 5+ years old gcc.


haha, very nice!, well I am not sure if I should move to 1.5.x, anyone has some suggestion? there is full support for everything? In this moment I integrated the lovely teensy in the temporal dev version:

(http://f.cl.ly/items/1A2G2S2S3y3r0E052l1I/Image%202014-01-09%20at%204.53.37%20PM.png)

So basically the question is, there is a real gain? Anyone is against this?
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: hole on Jan 09, 2014, 10:30 pm
Ok, my current list of things with 1.0.5.

-- no real simple way to structure a project [1]
-- no way to organize the sketchbook [2]
-- shitty auto format (last post is only the tip of the iceberg)
-- library limits

- old gcc
- chaotic device management [2]

1: long story. in short it should work like that: use tabs, have all the declarations (vars/functions etc.) of a logical group at one tab. no need to "forward" declare on "main" tab etc.

2: this results in the stupid design idea of growing menus that could bend multiple times around the monitor. Its so backward '80 style of GUI design... And it is used for everything and its mother, sketchbook, examples, boards, Menues grow and grow and grow...

For the sketchbook, which I find highly useful, I wish I had an option to make a top level project with sub levels. Like "Alarm Clock" is top and "v1", "v2", "v3" etc as sub projects.

If I see the serial monitor of 1.5.5 I will stay with 1.0.5 ER for sure.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: timofteandrei on Jan 12, 2014, 02:12 pm
I don't know if someone had this idea, but can anyone make a pack with all important libraries from GitHub or something like that? Sometimes is a pain in the a$s to find a pretty common library on internet. Anyways, really really nice job. I'm using this Enhanced Release for about one month and I don't want to get back to the old original IDE. Oh, and can you add support for atmega644p and 1280p? Thanks! Good luck!
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Jan 17, 2014, 10:30 pm

I don't know if someone had this idea, but can anyone make a pack with all important libraries from GitHub or something like that? Sometimes is a pain in the a$s to find a pretty common library on internet. Anyways, really really nice job. I'm using this Enhanced Release for about one month and I don't want to get back to the old original IDE. Oh, and can you add support for atmega644p and 1280p? Thanks! Good luck!


Yes, I am thinking on a repository but it would be much better if Arduino did something, releasing a public api to use it, etc because it is not something very simple to maintain.


Ok, my current list of things with 1.0.5.

-- no real simple way to structure a project [1]
-- no way to organize the sketchbook [2]


Arduino IDE is intended for basic stuff, is very user friendly and you for sure can make big projects but maybe you are looking for something else. Check the plugin for Eclipse made by Jantje @ http://www.baeyens.it/eclipse/ (maybe this is the other side of the coin: too much features?).

I just like sometimes to start a notepad-like IDE, type something and done :)


-- shitty auto format (last post is only the tip of the iceberg)
-- library limits


What other problems the autoformat has?
Library limits? What do you mean? (broken compatibility?)


- old gcc
- chaotic device management [2]


I agree with chaotic  device management. I have a lot of enhancements in mind for this but as I commented several times I don't really love Java/Sun and to be completely free I should decide one day to move everything to a fully re-coded .net solution :P (but it is a long way)



1: long story. in short it should work like that: use tabs, have all the declarations (vars/functions etc.) of a logical group at one tab. no need to "forward" declare on "main" tab etc.

2: this results in the stupid design idea of growing menus that could bend multiple times around the monitor. Its so backward '80 style of GUI design... And it is used for everything and its mother, sketchbook, examples, boards, Menues grow and grow and grow...

For the sketchbook, which I find highly useful, I wish I had an option to make a top level project with sub levels. Like "Alarm Clock" is top and "v1", "v2", "v3" etc as sub projects.

If I see the serial monitor of 1.5.5 I will stay with 1.0.5 ER for sure.



Can't understand the last part. I am still undecided if I should go for  1.5.x or just keep the current one. Basically I am waiting to see if 1.0.x will have another version or no.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: akaJag on Feb 11, 2014, 05:54 pm
I am still unable to open the IDE even with this version. Once I open the program it views the splash screen of Arduino and then about 1 second later closes. This is very frustrating and I do not know why this is happening.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: Knatte_Anka on Mar 08, 2014, 05:49 pm
Does any one more have problem with the Serial monitor?
i have 2 problems:

1. Autoscroll checkbox not working, it is always Autoscrolling.
2. if sending text on 1 line to long the monitor hangs and with that all arduino erw windows.( Variabel overflow?, force new line before it?)

Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: martini2 on Mar 09, 2014, 03:28 pm
Hi

how do i install Teensy support into the Arduino_ERW_1.0.5_20130524? The Teensyduino 1.18 installer wont't install into the ERW folder. Copying the files from old Arduino 1.0.5 folder breaks ERW.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Mar 09, 2014, 05:47 pm

Does any one more have problem with the Serial monitor?
i have 2 problems:

1. Autoscroll checkbox not working, it is always Autoscrolling.
2. if sending text on 1 line to long the monitor hangs and with that all arduino erw windows.( Variabel overflow?, force new line before it?)




Does that happens with the official? For 1) I have no clue, but 2) I am thinking the device receiving the serial maybe has problems


Hi

how do i install Teensy support into the Arduino_ERW_1.0.5_20130524? The Teensyduino 1.18 installer wont't install into the ERW folder. Copying the files from old Arduino 1.0.5 folder breaks ERW.


You can't, the teensy installer is not really an add-on, it replaces the Arduino files. But I want to include teensy support permanently in the future, it is already included in my dev version.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: pico on Mar 12, 2014, 03:32 pm

You can't, the teensy installer is not really an add-on, it replaces the Arduino files. But I want to include teensy support permanently in the future, it is already included in my dev version.

That would be very neat.

BTW, are the source files for your enhanced release available for download?
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Mar 12, 2014, 07:40 pm
Sure https://github.com/eried/Arduino/

I integrated Teensy on november last year, it works nice, I haven't tested it a lot but I am just waiting for a next arduino minor release.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: help_me_please on Mar 17, 2014, 02:37 am
Can someone help me with this thread?

http://forum.arduino.cc/index.php?topic=226394.msg1637483#msg1637483

I updated the driver using 1.0.5 but Serial Port is still greyed out.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: pico on Mar 18, 2014, 07:51 am

Sure https://github.com/eried/Arduino/


Thanks for the link. I found and fixed that build size bug we discussed, The problem was you were reporting the size of the build as the size of the .text section from the .elf output, when the size of the build is actually the size of the .text section + the size of the .data section.

So, in Sizer.java, I changed

Code: [Select]

size+=checkTag(s," .text ");
data+=checkTag(s," .data ");
data+=checkTag(s," .bss ");


to

Code: [Select]

        int d = checkTag(s," .data ");
        size+=d;
        data+=d;
size+=checkTag(s," .text ");
data+=checkTag(s," .bss ");


and that fixed it.

Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Mar 18, 2014, 10:12 am
Thanks a lot :) I just added that code from a forgotten suggestion to the official one :D but certainly I will update that.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: pico on Mar 18, 2014, 12:25 pm

Thanks a lot :) I just added that code from a forgotten suggestion to the official one :D but certainly I will update that.


I've just found another bug! (The conservation of bugs principle at work.) The ERW 1.0.5 IDE serial monitor does not seem to work for Leonardo. Try running the "ASCII Table" demo sketch for example to see the problem... Serial.print() output does not show in the monitor.

This is true whether the "open the serial window automatically..." option is selected or not.

OTOH, Leonardo output seems to work properly in "official" IDE 1.0.5.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Mar 19, 2014, 07:39 am
Yeah, this might be related with https://github.com/eried/Arduino/issues/13

But, I have an Leonardo now to test now :)
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: batvase on Mar 19, 2014, 09:23 am
Hello! I need help!
I will try to explain from the beginning.
Two weeks ago I bough 3D printer Miicraft, which is equipped with Arduino Mega 2560.
I installed the software (several times, several OS), but it always indicates that the printer is not connected.
Googling I found this topic and I installed this mod, just to test the connection. So there was a connection, when I start serial monitor and after that reset button, led indicator flashes.
But I make a mistake. Yesterday I clicked on "upload" button, with this empty code:
Quote

void setup()
{
  // put your setup code here, to run once:
  
}

void loop()
{
  // put your main code here, to run repeatedly:
  
}


The Printer is equipped with UV lamp, after uploading, the lamp flashed and the communication lost.
Is there a way to revert this action?
Sorry for bad english, I hope somebody can help me.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Mar 19, 2014, 10:47 am
You need to ask the MiiCraft guys for the original source code to reupload it again in the same way you uploaded the empty code.

BTW, how much is that printer?
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: batvase on Mar 19, 2014, 11:27 am
@eried, thank you for quick reply.
3000 euro, but it is from reseller from Italy.
Sorry for offtopic, have a nice day!
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: pico on Mar 19, 2014, 04:10 pm

Yeah, this might be related with https://github.com/eried/Arduino/issues/13

But, I have an Leonardo now to test now :)


That's good. While I was in there, I've fixed another nasty and long standing bug that has bothered me for ages (added option immediately after "Verify code after upload"):


Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: pico on Apr 26, 2014, 09:59 am

While I was in there, I've fixed another nasty and long standing bug that has bothered me for ages (added option immediately after "Verify code after upload"):


eried asked me to clarify this comment regarding the added "Do not attempt to generate prototypes" option in "preferences", and in hindsight, I agree this was probably a bit obscure.

Basically, I think the IDE preprocessor's occasionally disastrous attempt to generate prototypes makes a dubious feature that deserves, and badly needs, a way to be disabled. It leads to the unsuspecting user dealing with a particularly nasty sort of bug, where the compiler is complaining about broken code that has nothing to do with what the user has written in their sketch, but rather what the (buggy) IDE preprocessor has added, mostly invisible to the user (unless they know where and why to look).

I also happen think that the benefits of automatically generating prototypes are marginal at best, even if the IDE preprocessor could do it reliably and accurately. It doesn't save the user much work, as declaring prototypes for your functions is hardly onerous or difficult to understand (really just as complicated as the idea of having to declare a variable before you use it, and we don't have users complaining about that).

And for all the reasons that "forcing" users to declare variables before they use them is a good idea, so is "forcing" them to declare functions explicitly a good idea. And they be will learning about a bit more about "real" C/C++ along the way. So even if implemented properly (which it isn't), I would still argue this "feature" is simply a Bad Idea.

In any case, whether you think the IDE attempting to automatically generate prototypes is a blessing or a curse, I suggest the option to disable the behaviour is a useful and beneficial thing. Writing your own prototypes is good programming practice, leading to better documented and more robust programs. And the only way to have the compiler reliably pick you up on the situation where you have failed to declare your prototypes properly and consistently is to disable the IDE preprocessor's attempt to generate them for you.

End of rant. For now.

Anyway, it was an easy modification to make to the IDE. If eried is interested in the code changes to put into the next Enhanced Release, he need only ask. :-)

Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Apr 26, 2014, 04:34 pm
Thanks for the info pico, I would like to have the modified code.

I will start working on 1.5.x clean version for the upcoming "enhanced" version. I am thinking on sending the changes to the official repository (at least the ones non-windows only).
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: pico on Apr 26, 2014, 04:59 pm

Thanks for the info pico, I would like to have the modified code.


Your wish is my command. I will send you the changes presently.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: pico on Apr 30, 2014, 04:31 pm


Thanks for the info pico, I would like to have the modified code.


Your wish is my command. I will send you the changes presently.


OK, first we put a new JCheckBox in "Preferences".

In Preferences.java, at line 184, insert declaration for new JCheckBox "dontGenProtosBox":

Code: [Select]

 JCheckBox verifyUploadBox;
 JCheckBox dontGenProtosBox;
 JCheckBox externalEditorBox;


In Preferences.java, at line 429, insert code to display new JCheckBox "dontGenProtosBox" (between "Verify..." and "Use external...":

Code: [Select]

   // [ ] Verify code after upload
   
   verifyUploadBox = new JCheckBox(_("Verify code after upload"));
   pain.add(verifyUploadBox);
   d = verifyUploadBox.getPreferredSize();
   verifyUploadBox.setBounds(left, top, d.width + 10, d.height);
   right = Math.max(right, left + d.width);
   top += d.height + GUI_BETWEEN;
   
   // [ ] Do not attempt to generate prototypes

   dontGenProtosBox = new JCheckBox(_("Do not attempt to generate prototypes"));
   pain.add(dontGenProtosBox);
   d = dontGenProtosBox.getPreferredSize();
   dontGenProtosBox.setBounds(left, top, d.width + 10, d.height);
   right = Math.max(right, left + d.width);
   top += d.height + GUI_BETWEEN;

   // [ ] Use external editor


In Preferences.java, at line 672, insert line "setBoolean("preproc.dontGenProtos",..." before  "setBoolean("editor.external", ..."

Code: [Select]

   setBoolean("preproc.dontGenProtos", dontGenProtosBox.isSelected());
   setBoolean("editor.external", externalEditorBox.isSelected());
   setBoolean("update.check", checkUpdatesBox.isSelected());


Finally, in Preferences.java, at line 736, insert line "dontGenProtosBox.setSelected(..." before "externalEditorBox.setSelected(..."

Code: [Select]

   sketchbookLocationField.
     setText(get("sketchbook.path"));
   dontGenProtosBox.
     setSelected(getBoolean("preproc.dontGenProtos"));
   externalEditorBox.
     setSelected(getBoolean("editor.external"));


and that's the changes to Preferences.java.

For PdeProcessor.java, in function "public ArrayList<String> prototypes(..."

(right at end of file)
   
Replace:

Code: [Select]

   // Remove generated prototypes that exactly match ones found in the source file
   for (int functionIndex=functionMatches.size() - 1; functionIndex >= 0; functionIndex--) {
     for (int prototypeIndex=0; prototypeIndex < prototypeMatches.size(); prototypeIndex++) {
       if (functionMatches.get(functionIndex)).equals(prototypeMatches.get(prototypeIndex)) {
         functionMatches.remove(functionIndex);
         break;
       }
     }
   }


with:

Code: [Select]
   
   boolean dontGenProtos =  Preferences.getBoolean("preproc.dontGenProtos");

   // Remove generated prototypes that exactly match ones found in the source file
   for (int functionIndex=functionMatches.size() - 1; functionIndex >= 0; functionIndex--) {
     for (int prototypeIndex=0; prototypeIndex < prototypeMatches.size(); prototypeIndex++) {
       if (dontGenProtos || (functionMatches.get(functionIndex)).equals(prototypeMatches.get(prototypeIndex))) {
         functionMatches.remove(functionIndex);
         break;
       }
     }
   }

 
And that's it (famous last words! ;-)

(Obviously the last bit where I rip out all the generated prototypes after going to trouble of building the list could be accomplished more efficiently, but it works fine, and was a minimal disturbance of the original code.)

Let me know if anything is unclear or there are any issues.

Thanks once again, eried, for all your great work, BTW.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on May 01, 2014, 07:38 am
Thanks pico, will be added soon to my mod.
__________________

This is a bit off topic but can somebody help me to reset the (forked) repository to the branch 1.5.x of the official?

I don't know advanced/obscure git management so it will be very handy to be able to start development from 0 using 1.5.x as the new base for the new enhanced release, plus making a new branch per improvement to pull the changes to the official one.

I have tried couple of things https://github.com/eried/Arduino/commits/master following git tutorials but I can't find how to switch the base branch to reset all from a non-master one.

Thanks!
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: jengil on May 02, 2014, 10:06 pm
I have been having horrible issues with Atmel Studio and never could get the fonts fixed on the original IDE.  Your updates make a whole world of difference for someone with bad sight like myself.  Thanks so much - this is awesome!!
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: jengil on May 03, 2014, 12:21 am
So I am absolutely loving the font change and extras with this mod but I am running into one problem.  I compile my code (that compiles with no errors on a normal Arduino IDE and did before Atmel Studio stopped working on me) and I get these two errors which seem to have something to do with accessing the EEPROM memory maybe?  I am an amateur programmer so I don't know how to go about solving this issue and need this code to work.  If you guys have a fix for it let me know, I would love to use this modified IDE for all my programming!

Code: [Select]

fb.cpp.o: In function `eeprom_write_block':
c:/program files (x86)/arduino/arduino erw 1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/eeprom.h:403: undefined reference to `__eewr_block'
fb.cpp.o: In function `eeprom_read_block':
c:/program files (x86)/arduino/arduino erw 1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/eeprom.h:285: undefined reference to `__eerd_block'


Thanks ahead of time, and I hope theres a fix :D
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on May 03, 2014, 12:47 am
Hi jengil, in which version your sketch compiled properly? 1.5.x? or 1.0.5?

Because for the moment the current version is based on 1.0.5 so the solution would be wait a little extra until I port all the changes to the newer code. I am just a bit stuck in some dumb issues with the repository.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: jengil on May 03, 2014, 03:43 am
I am currently using 1.0.5 r2, let me know if there's any way I can help or just when you finish the script.  I have spent 3 days searching for exactly what u have done so I am very happy that you actually took the time to do it. It means a lot!  Thanks again and keep up the work I look forward to using the IDE when its done!
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on May 03, 2014, 04:58 am

I am currently using 1.0.5 r2, let me know if there's any way I can help or just when you finish the script.  I have spent 3 days searching for exactly what u have done so I am very happy that you actually took the time to do it. It means a lot!  Thanks again and keep up the work I look forward to using the IDE when its done!


Cool :) Can you send me the sketch is giving you problems? it seems related with the avrdude version (I updated the sdk and avrdude from the legacy version so that can cause issues).
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: jengil on May 08, 2014, 01:09 am
Hey Sorry for the delay

Here is a simplified sketch that gives me the same set of errors

Code: [Select]
#include <avr/eeprom.h>

volatile int tTemp;


struct settings_t{
int Temp;
int TempC;
int Hu;
};

const void * const settingsAddress = ( void* ) 0x00;

settings_t settings;

void setup(){
 
  pinMode( A5, INPUT );
  pinMode( A0, INPUT );
  pinMode( 5, OUTPUT );
 
  eeprom_read_block((void*)&settings, settingsAddress, sizeof(settings));
  Serial.begin(9600);
  digitalWrite(5, HIGH);
  tTemp = settings.Temp;
}

void loop()
{
  Serial.print(tTemp);
  float byteness = analogRead(A0);
  float brightness = ((byteness*5)/1024);
  Serial.print("brightness");
  Serial.println(brightness);
  Serial.print("Temp: ");
  Serial.println(settings.Temp);
  //Here the temps will be set and saved on the touch of a button something like this
  if(brightness <= 0.7)
  {
    settings.Temp = 87;
    settings.TempC = (((settings.Temp -32)*5)/9);
    settings.Hu = 67.3; //Hu is an int.
Serial.println("Temp Settings set");
  }
 
float button = analogRead(A5);
  float buttonV = ((button*5)/1024);
  Serial.print("button V: ");
  Serial.println(buttonV);
  // if they push the "Save" button, save their configuration
  if (buttonV >= 4.0)
  {
      eeprom_write_block((const void*)&settings, (void*)0, sizeof(settings));
      Serial.print("Settings Saved");
  }
  delay(500);
}


Thanks so much! 
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: hole on May 10, 2014, 11:05 pm
Jengil,

code compiles fine here using latest ERW.

I suspect path problems... easiest fix most of the time is: delete the arduino folder and reinstall.

Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on May 10, 2014, 11:15 pm

Jengil,

code compiles fine here using latest ERW.

I suspect path problems... easiest fix most of the time is: delete the arduino folder and reinstall.




Thanks for checking that issue hole! I have all messed up due millions of arduino versions :/ and no fully working arduino ide to try (something is really messed with my jdks, jre8 looks promising :D) last arduino official arduino installer throws all to c:\program files\arduino\ so I don't know how they will handle any eventual multiple version (if any, or if the installer was just a temporal thing due people bitching)... so new default path will have to be \program files\arduino erw\ instead of \program file\arduino\-per version folder-
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: hole on May 11, 2014, 07:52 pm
You are welcome. :-)

The other day I learned something new.

Code: [Select]

#define foo

#if defined foo
#include "fish.h"
#else
#include "fowl.h"
#endif.


So the big question is: which includes are included (mind any typos...)? Fish, fowl, both, nothing?

Surprisingly (really?) both. IDE-magic searches for include by pattern search... Those are the moments, when I start drinking more coffee.

Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on May 11, 2014, 09:21 pm
You are absolutely right. They are parsing all the includes. It is pretty hard to fix the way this works is making the cpp from the sketch:
(http://f.cl.ly/items/3L3U260n041j030U2l2r/Image%202014-05-11%20at%203.15.35%20PM.png)

Is the preprocessor #if and #define the only sentences that can affect these #includes or can you think on another bizarre situation? I was playing in another project doing something really similar ( http://f.cl.ly/items/1y3S0W0z0n3V440D2U2s/Image%202014-04-06%20at%206.24.04%20PM.png ) trying to "preprocess" the code to format it, so in that same "pass" I can make the pattern invalid for these cases but C has so many tricks, so I am not sure if something really obscure may affect the includes (like something accepted by ansi c rules)
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: hole on May 11, 2014, 10:03 pm
Problem is very annoying when developing for different plattforms. I often emulate a ATtiny85 with some wires to the socket on a UNO-Board. Just for better debugging, attaching a display or such...

#if defined(__AVR_ATtiny85__) || defined(__AVR_ATtiny84__)
#else
#include <wire.h>
#endif

would be so nice.

As far as I see, there is really no easy solution. Simple text search doesn't work because the preprocessor has variables (define, undef) and branches (if).

Ok, easy would by to add another preprocessors onto of the ide. something, that knows plattforms and can do something. Baa. Not desirable.

Will 1.5 fix it?

Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on May 11, 2014, 10:18 pm
That source is from 1.5 so I don't think they will fix that. Well, in your example, define is a complete expression, not only a direct check so I can say the same: it is not simple to fix.

I also use tiny85 with tinycore, but since they add the tinys to boards.txt then it is quite easy to switch from arduino when prototyping to tiny85, no includes sentences involved.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: hole on May 11, 2014, 10:51 pm
Be more verbose, please.

I use a ST7735 display during "emulation". So I have a #include for "Adafruit_GFX.h" and "Adafruit_ST7735.h".

How do I get rid of it when compiling for tiny85?
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on May 12, 2014, 12:45 am
Have you seen this: https://code.google.com/p/arduino-tiny/downloads/detail?name=arduino-tiny-0100-0018.zip

So, if you take a look into the boards, they suggest some changes to add the tiny core files (maybe you use another version, or your own, but the concept it's the same).

When the core is defined, i.e. attiny84at16.build.core=tiny arduino will use the \tiny\cores\tiny\ files, so you can easily add your adafruit files into the core itself, and use the board selector to get multiple includes cleanly.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: hole on May 12, 2014, 07:29 am
I dislike this concept.

With it I end in a awful situation: new version of any tool, download, install, add my patches. This means writing down all the things I have done and noting all the dependencies. Its cruel.

conditional includes in my code look so much cleaner to me.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on May 13, 2014, 09:32 am

I dislike this concept.

With it I end in a awful situation: new version of any tool, download, install, add my patches. This means writing down all the things I have done and noting all the dependencies. Its cruel.

conditional includes in my code look so much cleaner to me.


Yes, for that specific file is ugly :/ what solution do you suggest? I can do basic parse for conditions, but not these complete expression you are using (like list all defines, and exclude the not matching blocks)

BTW, I am starting to mod 1.5.x and in the meanwhile I am going to try to start with the complete compatible changes in order to get them in the official:
https://github.com/arduino/Arduino/pull/2070

I hope that mini-effort worth something :D
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: hole on May 13, 2014, 06:34 pm
Yes, for that specific file is ugly :/ what solution do you suggest?


Let us take this:
Code: [Select]

#ifdef foo
  #include <fish.h>
#else
  #include <duck.h>
#endif

void main() {}


Call the preprocessor with
Code: [Select]
avr-cpp blah.c -M -MG -MF blah.make

creates

Code: [Select]
blah.o: blah.c duck.h

adding a #define foo at the begin of blah.c creates

Code: [Select]
blah.o: blah.c fish.h

So run avr-cpp for each "tab" of the ide, collect the results, remove all includes, add the avr-pp-added includes.

This is the result of 10 minutes thinking, including a toilet break and getting a fresh coffee made by a total c/gcc noob. So it might not be a working strategy. But to me it looks like an approach a more experienced developer could dig into... or at least say why it wont work. And yes, I see the longer compile time and no, I don't care and yes, I could imagine a IDE-checkbox for turning this on and off and yes I see that this might add more confusion and yes, I so would suggest a quick regex on the source to see if there is any #if and then turn it on else leave it off if not IDE switch forces it on. Or so.

Quote
BTW, I am starting to mod 1.5.x


Good thing. I love the IDE, its simple and nice. While teaching it is easy to get the pupils fast moving with it.

On the other hand, Arduinos fixing errors and development is sooooo slow. We have had the library limit bug. There is the source code auto format (very needed for pupils...), a not so good project management, a boards-menu that could be folded twice around my monitor. I still love the remote reset feature.

Really, I like the simplicity.

If I had a say (...) I would say: freeze the 1.0.x, do some error fixing (like ERW, fix the limits etc) and forget it. And make a 2.x with no compatibility in mind at all. Just learn from the errors and move on to things that work better. So it could get rid of legacy stuff and evolve.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on May 13, 2014, 11:21 pm
The solution might work, but it seems quite overkill. I am not aware of the fully process the IDE makes to convert the sketches. By the way, have you tried adding the conditions to the included files?

The typical #include 'guard':
Code: [Select]
#ifndef SOME_HEADER
#define SOME_HEADER
// code
#endif


...and using a define sentence in the arduino sketch to "invalidate" one of these files? Maybe that approach can work?

And I also like the IDE. It is simplistic as the board. I like Visual Studio because it can handle from tiny projects to huge ones without hustle, but the IDE is lovely, I just hate the missing details and that's why this mod exists (i.e. blurry windows icon!)
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: hole on May 14, 2014, 07:19 pm
I don't see any overkill near effort. It should be needed for only the IDE-tab-files. Perhaps it would be enough to glue them all together like its already done and do it with one avr-gpp call.

But again, I have no say and am a noob. :-)

Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: jengil on May 30, 2014, 06:07 pm
Quote

Jengil,

code compiles fine here using latest ERW.

I suspect path problems... easiest fix most of the time is: delete the arduino folder and reinstall.


Quote
Thanks for checking that issue hole! I have all messed up due millions of arduino versions :/ and no fully working arduino ide to try (something is really messed with my jdks, jre8 looks promising smiley-grin) last arduino official arduino installer throws all to c:\program files\arduino\ so I don't know how they will handle any eventual multiple version (if any, or if the installer was just a temporal thing due people bitching)... so new default path will have to be \program files\arduino erw\ instead of \program file\arduino\-per version folder-


I missed the response a few weeks ago, but have still been using the IDE.  Today I deleted Arduino Folders, uninstalled everything (arduino IDE & ERW IDE) (http://)and reinstalled the ERW to the new path as suggested.  When installing I get this error with board drivers (see Attachment).  I figure this could be the source of my errors in the compile?   Just to double check after I close the box, it still says installation completed properly - I open the (ERW) IDE and I still get the same error on the pasted code from a few weeks ago.  Any ideas??  The help is much appreciated I love this IDE.  Thanks for the assistance and for modding this!
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: markw2727 on Jun 12, 2014, 08:12 pm
Just tried the Enhanced IDE. Works very well. 

Question: The "Burn Bootloader" command under Tools menu does not have a keyboard shortcut.
Is this something that can be added?
I want to use a "auto clicker" type program to make programming a large number of chips. So instead of having to first select "Burn Bootloader" and wait for that to finish, then click on "upload", it could all be automated.

Thanks for any help
Mark Warren
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: pico on Jun 13, 2014, 03:53 pm

I want to use a "auto clicker" type program to make programming a large number of chips. So instead of having to first select "Burn Bootloader" and wait for that to finish, then click on "upload", it could all be automated.


A more direct and efficient way of automating the programming of a large number of chips it to set up a batch file to run avrdude directly, rather than go indirectly through the IDE. If you are using "factory fresh" Atmel chips, you are going to have to set the fuses (in particular CLKDIV8) initially via an ISP programmer before you do anything useful with them anyway. You might as well do the programming and fuse setting in one go using a batch file script and run from the command line.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: zcuba on Jul 03, 2014, 09:39 am
Hi, this mod effectively saved my day, as it, unlike the official realease version, actually runs on my computer..

Arduino Leonardo
Windows 7
ERW 1.0.5

I need to program a webserver that monitors a lot of hardware, and decided that the easiest way for me, was to use an arduino, and then transmit sampled data via serial port to an old laptop.

However!
I spent an hour debugging the arduino, as I could not get the serial port to work, and started doubting if the board worked at all.
Then it occurred to me that I could blink with "L", tried it and it worked fine.
Then added the Serial.begin(), and the println(), and the board still blinked the diode, so the code was running.
Finally I tried opening putty, and monitored the serial port, and using putty, I got data from the board.
hurray, the board works as it should, and the code runs :D

but the serial monitor tool in the ERW does not receive data ??
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Jul 03, 2014, 08:20 pm
There are some issues with the serial monitor and the leonardo (I didn't had a leonardo in that time to test the issues). My idea is eventually update this, but I haven't started yet due laziness
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: frasej on Jul 03, 2014, 09:18 pm
How hard would it be to have the main window's location and size recorded to the preferences file?  I like my window to be larger than the default, and having to resize it every time I open the program is a pain.  I know that I can edit the preferences file myself, and have done so, but really, a program should remember the user's preferences in size.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Jul 04, 2014, 09:42 am

How hard would it be to have the main window's location and size recorded to the preferences file?  I like my window to be larger than the default, and having to resize it every time I open the program is a pain.  I know that I can edit the preferences file myself, and have done so, but really, a program should remember the user's preferences in size.


In terms of effort, probably low. I will try to remember it when I am modifiying the preferences stuff. But it would be better if you append the suggestion here https://github.com/eried/Arduino/issues because my memory Its like a ram, gets flushed after sleeping.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: BOHICAMAN on Aug 15, 2014, 08:09 am
I downloaded and love the Enhanced Release version!! I am also relatively new to Arduino and it's related programming. Might someone tell me how to change the columns on the screen? When I start the program, all coding is to the extreme left on the screen and it is hard to see. Also, when first started, the slider on the bottom is set to put the screen all the way to the right. Before I can see prior coding, I have to move the slider to the left to view the left side of the screen. Are changes for these two problems in the "idesettings_v104.txt" file? If so, under what listing? Thanks!!
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: DigitalSteve on Oct 21, 2014, 11:22 pm
This turned out to be the easy workaround for using Windoze 8.1 and not being allowed by the OS to get to the temp directory where the hex file is generated.  I was able to use the button under the sketch tab and get there, then create a link to that directory on my desktop.  No more 'Access Denied'.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: Ed1960 on Oct 25, 2014, 03:44 pm
come on now

these fixes to the arduino system are great, and long over due.
    the way problems have been on the forum for years and not acted upon is very depressing,

hopefully, now its September the italains are back from the august break, and we might get some fix's.
   till then , at least we have some one who can support us, and all power to them.


Two years down the line and it still sucks :-)
All sorts of  vague improvements in 1.06 that i never realized were a problem, but still no scrolling
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: jmnijsse on Nov 19, 2014, 09:29 am
Hello,

A great mod for me.
I used arduino with student and they all have phones with BT, so a lot of malfunction.

I installed it as administrator on my laptops.
But at their student account, the board drivers aren't installed.

Is their an option to install this program for all users?

And the FFT (??? there are 3 options: board drivers and 2 other) drivers failed to install.

It was a W8.1 laptop.

Johan
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: Williamscullen818 on Dec 15, 2014, 01:21 am
Thanks, Its basically what the Arduino IDE should be. Surprised they haven't moved your changes into the official release. Maybe add some intelli-sense and Better Syntax Highlighting...? Also support for the newer arduino boards like the Due and Yun...

Thanks Again. Love the reset from Serial Monitor, such a simple thing but very useful.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: mirycia on Dec 25, 2014, 02:35 pm
hola felicidades
por tu buen trabajo y dedicacion me ha funcionado muy bien
qracias a los que  hos exforzais a un arduino mejor.
feliz navidad ho ho ho
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: dragonwarrior1 on Jan 01, 2015, 01:28 am
Hi,
So I downloaded the software and stuff...so do I have to go through the steps of finding the ArduinoUNO.inf file or do i skip that section entirely? (I'm completely new to Arduino). Because i thought that this modified version would allow me to...but for some reasons it can't find any serial port. When I go to Tools, the serial port menu option is grayed out.

Thanks!
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: doidgej on Jan 01, 2015, 07:14 pm
So i've downloaded the software, and upon the installation of the board drivers, the FTDI installs correctly but the Arduino board remains checked and raises the incomplete installation error.

Running windows 8.1, on a lenovo laptop, wondering if anyone knew why this isn't working?



Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: Datman on Jan 30, 2015, 11:06 am
Hi
I've installed v1.0.5 but, when I start it, it says (in Italian) something like this:
The sketch "E:\DOCUMENTI\Arduino\Provacavi_2.3\Provacavi_2.3k\Provacavi_2.3k.ino" can't be used. (...)

It seems it doesn't like the dot in 2.3k. I have many sketches like that and the folders have to have the same name of the sketch. Could you do something to solve the problem? Standard Arduino IDE have no problems with that files.

Thanks
Gianluca
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Feb 11, 2015, 04:41 pm
Hi
I've installed v1.0.5 but, when I start it, it says (in Italian) something like this:
The sketch "E:\DOCUMENTI\Arduino\Provacavi_2.3\Provacavi_2.3k\Provacavi_2.3k.ino" can't be used. (...)

It seems it doesn't like the dot in 2.3k. I have many sketches like that and the folders have to have the same name of the sketch. Could you do something to solve the problem? Standard Arduino IDE have no problems with that files.

Thanks
Gianluca
I think this problem will happen in the official version too
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: Sergegsx on Feb 13, 2015, 06:20 am
Any chance of launching a 1.06 enhanced version?

The main feature I am missing in the official release is the serial monitor automatically opening after upload.

Thank you and congratulations for your hard work.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: Jantje on Feb 13, 2015, 12:13 pm
If you would consider; I'd hold my horses as there seems to be a 1.0.7 comming.
Best regards
Jantje
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: AlxDroidDev on Feb 13, 2015, 05:26 pm
The main feature I am missing in the official release is the serial monitor automatically opening after upload.
Same here. It is one of the most useful features of the ERW.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: divergentribute on Feb 17, 2015, 07:06 am
Hi,

I installed this because I was having problems setting up my Arduino COM port that my computer was happy with. I did everything that numerous posts on forums have prescribed which is how i installed this IDE. Same story though. The COM port has a yellow triangle and that port doesn't show up under the Serial Port menu. When I try uploading a program nevertheless, it just responds like the official IDE does. Please help, I'm losing it.
(Board: Arduino UNO R3, OS: Windows 8)
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: divergentribute on Feb 17, 2015, 07:18 am


(Board: Arduino UNO R3, OS: Windows 8)
Windows 8
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: nid69ita on Feb 17, 2015, 09:02 am
You can try starting Arduino IDE as administrator.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Feb 17, 2015, 05:37 pm
Windows 8
In my experience, this very faulty behaviour is because bad/counterfeit arduinos. I have the same problem with boards like cheap arduino megas
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: hole on Feb 23, 2015, 09:04 am
Any chance that the serial improvements, especially the reset feature, will move to the current 1.6 release?
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: fwilip on Mar 25, 2015, 11:08 pm
I'm new to arduino so any help would be much appreciated. 

I've just installed version 1.6.1 and have not been able to find the arduino.inf driver for my new UNO board anywhere.

I'm hoping this will work...   
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: nid69ita on Mar 26, 2015, 09:24 am
I'm new to arduino so any help would be much appreciated.  

I've just installed version 1.6.1 and have not been able to find the arduino.inf driver for my new UNO board anywhere.

I'm hoping this will work...  
Impossible. What kind of Arduin Uno ? Original or chinese with other USB chip (CH304)  ??
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: fwilip on Mar 26, 2015, 10:07 am
My problem was windows 8. This method sorted the problem

http://m.youtube.com/watch?v=CdE72XUYC7k
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: joelamos on Apr 10, 2015, 09:02 pm
It would be very useful if this IDE supported high DPI screens. Namely, the button icons should be provided at multiple resolutions. Here's what the IDE looks like on my Lenovo Yoga 2 Pro.(http://i61.tinypic.com/34qoklt.png)
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: Sembazuru on Apr 20, 2015, 03:22 am
It would be very useful if this IDE supported high DPI screens. Namely, the button icons should be provided at multiple resolutions. Here's what the IDE looks like on my Lenovo Yoga 2 Pro.(http://i61.tinypic.com/34qoklt.png)
That is an issue with the underlying IDE. I'm up to 1.6.3 (official from .cc, though I still go back to 1.0.5ERW for a few things) and the new library and board managers use the same font size as the tabs. I have to fire up Microsoft magnifier to comfortably read them on my high-resolution Dell Precision M4800.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: Techhack on May 16, 2015, 07:03 pm
Greetings,

I am running an Arduino Uno on a Dell laptop that is running Windows 7. About a week ago the Uno would not connect to the laptop and the error message said that COM3 was not found.

I have searched this forum and the web and found your enhanced version. I uninstalled the earlier version and installed yours. I left all of the driver boxes checked and let the installation complete. But still my Uno can't find the COM3 port.

I tried installing the legacy port but that didn't work. In fact, Uno does not show up at all in Device Manager.

I tried booting the laptop with the Uno plugged in but still nothing

Any ideas on how I can get the COM connection back and running?

Thanks in advance for your help!

Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: abrahao1988 on Jul 06, 2015, 08:10 pm
Open the CMD and type MODE, this command show you the serial ports avaliable in OS.
In some cases the windows changes the serial port to another number.
Sorry for bad english.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: devrim on Jul 12, 2015, 03:25 pm
is there an updated version?
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: Raphango on Aug 18, 2015, 01:50 pm
Any chance we could get an "Arduino ERW 1.7.6?"
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Sep 09, 2015, 09:53 pm
Any chance we could get an "Arduino ERW 1.7.6?"
is there an updated version?
Not really, not much free time, and I don't think there is much things to add to the official version nowadays :D
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: scanet on Nov 01, 2015, 06:17 pm
Hi,
thanks for your precedent work.
As I agree that the offcial version is quite complete, it is not totally portable...
Could you just tell me where I can change it ?

Thanks for helping.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Nov 02, 2015, 06:43 am
Change what?
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: scanet on Nov 02, 2015, 11:38 pm
The default folder where Arduino saves its file, the 'sketch' containing librairies, mode, etc....

The Arduino IDE isn't totatlly portable for USB key usage.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Nov 03, 2015, 07:14 am
The default folder where Arduino saves its file, the 'sketch' containing librairies, mode, etc....

The Arduino IDE isn't totatlly portable for USB key usage.
Ahh, well if you want to edit the sourcecode, then look for "prefs.txt"
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Dec 21, 2015, 12:44 am
After 1.6.7 it seems almost ALL of the features I tried to implement here are finally implemented in Arduino :) this is a sweet feeling! Kudos for the arduino team.

(http://content.screencast.com/users/erwinried/folders/Snagit/media/ee43d068-12bd-4732-953d-1d6042fbf53e/12.20.2015-20.43.png) (http://content.screencast.com/users/erwinried/folders/Snagit/media/ee43d068-12bd-4732-953d-1d6042fbf53e/12.20.2015-20.43.png)

There are few missing things, but the wait is almost over.

Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: Jantje on Dec 21, 2015, 12:53 am
and kudos to you
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: cyclegadget on Dec 24, 2015, 03:25 am

 Eried, your MOD IDE has greatly improved my Arduino experience ever since your first version. Your work has been greatly appreciated!
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: guix on Dec 24, 2015, 03:38 am
Yes I remember using this mod few years ago (now I rarely use an Arduino IDE at all...), good work Eried ;)
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: _by_the_yisus on Jun 20, 2016, 09:12 am
I need some help
When i click on verify i have this Error compliling C:\Program Files (x86)\Arduino\Arduino ERW 1.0.5\hardware\tools\avr\bin\avr-ar: unable to rename 'core.a'; reason: Permission denied

Help!!!

WIN 10 OS
64bits
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Jun 23, 2016, 09:26 pm
I need some help
When i click on verify i have this Error compliling C:\Program Files (x86)\Arduino\Arduino ERW 1.0.5\hardware\tools\avr\bin\avr-ar: unable to rename 'core.a'; reason: Permission denied

Help!!!

WIN 10 OS
64bits
I recommend you to use the latest official one ;) this mod is really outdated
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: compsystems on Jul 06, 2016, 04:43 am
Hola

ideas o mejoras:

1: El menú BUSCAR debe ser independiente al de REEMPLAZO, o por lo menos una sola ventana pero que este en pestañas separadas como lo hace office 365, como esta actualmente el menú BUSCAR y REEMPLAZAR permite accidentalmente presionar REEMPLAZAR, debería mostrar también el numero de reemplazos

2: La ventana Monitor Serie muchas veces hay que cerrarla para poder compilar y luego programar exitosamente, el IDE debería pausar o terminar en MONITOR SERIE

Gracias
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: Raihaan on Sep 27, 2016, 10:00 pm
The Google Drive location isn't online anymore - 404... Please can you fix it or send me a zip file of your program? Much appreciated.
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: pictoescultura on Sep 26, 2017, 02:11 pm
hola los links estan caidos!
Title: Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC
Post by: eried on Sep 28, 2017, 01:14 pm
hola los links estan caidos!

The Google Drive location isn't online anymore - 404... Please can you fix it or send me a zip file of your program? Much appreciated.
Hola, ya no es muy recomendable usar mi version. Arduino integró casi todas las cosas que hacían a la mía especial.

Les recomiendo probar la última oficial.

Hay algo en particular que les hace necesitar esta antigua?