Chile
Online
Edison Member
Karma: 30
Posts: 1172
Arduino rocks
|
 |
« Reply #210 on: October 26, 2012, 09:04:11 pm » |
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
|
|
|
|
|
Logged
|
|
|
|
|
Chile
Online
Edison Member
Karma: 30
Posts: 1172
Arduino rocks
|
 |
« Reply #211 on: October 26, 2012, 09:45:02 pm » |
Nice! I found the problem! it was the fix for the error-line. I am reviewing it carefully now. Everything is fixed now! enjoy  sorry for the inconveniences.
|
|
|
|
« Last Edit: October 26, 2012, 10:36:31 pm by eried »
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 17
|
 |
« Reply #212 on: October 27, 2012, 02:07:11 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.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 17
|
 |
« Reply #213 on: October 27, 2012, 11:13:45 am » |
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=963Any chance these could be incorporated? Or are they already incorporated and they just don't completely fix the problems? Thanks,
|
|
|
|
|
Logged
|
|
|
|
|
Chile
Online
Edison Member
Karma: 30
Posts: 1172
Arduino rocks
|
 |
« Reply #214 on: October 27, 2012, 12:44:21 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.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 17
|
 |
« Reply #215 on: October 28, 2012, 07:15:12 am » |
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.
|
|
|
|
|
Logged
|
|
|
|
|
Germany
Offline
Full Member
Karma: 10
Posts: 190
|
 |
« Reply #216 on: October 29, 2012, 06:22:03 am » |
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
|
|
|
|
« Last Edit: October 29, 2012, 06:41:52 am by Markus_L811 »
|
Logged
|
|
|
|
|
Chile
Online
Edison Member
Karma: 30
Posts: 1172
Arduino rocks
|
 |
« Reply #217 on: October 29, 2012, 12:17:21 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?
|
|
|
|
|
Logged
|
|
|
|
|
Germany
Offline
Full Member
Karma: 10
Posts: 190
|
 |
« Reply #218 on: October 30, 2012, 02:35:43 am » |
So there it is,
C:\Program Files (x86)\Arduino\Arduino ERW 1.0.1i
|
|
|
|
« Last Edit: October 30, 2012, 02:41:23 am by Markus_L811 »
|
Logged
|
|
|
|
|
Chile
Online
Edison Member
Karma: 30
Posts: 1172
Arduino rocks
|
 |
« Reply #219 on: October 30, 2012, 02:59:32 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: 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.
|
|
|
|
|
Logged
|
|
|
|
|
Germany
Offline
Full Member
Karma: 10
Posts: 190
|
 |
« Reply #220 on: October 30, 2012, 03:31:30 am » |
Can you open putty or some serial monitor pointing to COM7 and the Leonardo RX, TX leds light up?
Yes on COM7 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
|
|
|
|
« Last Edit: October 30, 2012, 03:49:20 am by Markus_L811 »
|
Logged
|
|
|
|
|
Chile
Online
Edison Member
Karma: 30
Posts: 1172
Arduino rocks
|
 |
« Reply #221 on: October 30, 2012, 04:57:52 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.
|
|
|
|
|
Logged
|
|
|
|
|
Germany
Offline
Full Member
Karma: 10
Posts: 190
|
 |
« Reply #222 on: October 30, 2012, 05:14: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.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Edison Member
Karma: 13
Posts: 1266
Arduino rocks
|
 |
« Reply #223 on: October 31, 2012, 11:48:54 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
|
|
|
|
|
Logged
|
|
|
|
|
Chile
Online
Edison Member
Karma: 30
Posts: 1172
Arduino rocks
|
 |
« Reply #224 on: October 31, 2012, 06:00:20 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
Well, second person that asks this maybe I should add it for the next version. Any suggestion from other user, maybe against this?
|
|
|
|
|
Logged
|
|
|
|
|
|