Go Down

Topic: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC (Read 277548 times) previous topic - next topic

eried


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
My website: http://ried.cl

eried

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.
My website: http://ried.cl

Quarencia

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.

Quarencia

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/.

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

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

Thanks,

eried

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.
My website: http://ried.cl

Quarencia

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.

Markus_L811

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

eried


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?
My website: http://ried.cl

Markus_L811

So there it is,

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

eried


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.
My website: http://ried.cl

Markus_L811


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

eried

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.
My website: http://ried.cl

Markus_L811


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.

Sergegsx

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

eried


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?
My website: http://ried.cl

Go Up