Go Down

Topic: Upload without recompiling (Read 10046 times) previous topic - next topic

cyclegadget


My computer at home runs in the low 30's on processes and the one I am sitting at is at 49. You have a lot of add-ons running or something to be show above 100!

Mark
Good links: Eagle tutorial= http://www.youtube.com/playlist?list=PLDE1858BD83D19C70
General Arduion tutorials = http://tronixstuff.wordpress.com
http://www.gammon.com.au/forum/bbshowpost.php?bbtopic_id=123

robtillaart


- sounds not like too much apps or so, although firefox can be a killer app
- disk usage is not extreme either.

Do you have a virusscanner in the background?

which version of the IDE?

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

smeezekitty



- sounds not like too much apps or so, although firefox can be a killer app

Yes. Firefox is the reason the CPU is not 1%
Quote

Do you have a virusscanner in the background?

Yes
Quote

which version of the IDE?



0021
Avoid throwing electronics out as you or someone else might need them for parts or use.
Solid state rectifiers are the only REAL rectifiers.
Resistors for LEDS!

mowcius

Quote
If this happens, you need a new Arduino. The Arduino doesn't just randomly loose sketches.

The Arduino Uno bootloader shipped with the first batch can cause arduino boards to not remember their sketch but that just means you need to load the new bootloader.

I think that an 'upload from hex' could be quite useful - Yes we can do it with another program but that's not the point.

And of course a better location for the hex would be good too.

CrossRoads

@mowcius,
any thoughts on smeezekitty's really slow compile times? See Replys #8,9 in this thread. 56 seconds to compile "blink" sketch?
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

mowcius

I'm afraid I've got no idea on that - my 1.8Ghz with 1GB RAM only takes 15 seconds or so to compile blink (or similar - haven't timed it)

I haven't seen any solutions anywhere else either.

smeezekitty

I don't really mind the delay because I use it to work on hardware etc. But uploading without recompiling would be very helpful.
Avoid throwing electronics out as you or someone else might need them for parts or use.
Solid state rectifiers are the only REAL rectifiers.
Resistors for LEDS!

superman54f

i think he forgot to change board type or maybe he choose wrong board on the tools> board
and check also the comport.

AndyDev

From what I can work out the buttons are "Verify/Compile" and "Upload", however their functions are "Verify/Compile" and "Verify/Compile/Upload" it's a bit frustrating. At least an 'On Upload dont recompile if sketch unchanged' checkbox would be nice in preferences, or have the buttons do what they say, or maybe a 3rd or something.

Marttyn

I fully support this. We had to deploy the same program to 10 Arduino Mega. Compile took about 1 minute on each upload, even when the HEX was not changed.
Is there any program that can upload an HEX that is simple enough and with GUI? Dont want to mess with fuses, clock speeds or anything... just select which arduino, which port, the HEX file, and upload. Would be great, at least if the Arduino IDE dont have any interest on this topic.

Marttyn

Found this: http://www.hobbytronics.co.uk/arduino-xloader
Also changing IDE to Visual Studio or Atmel Studio gives much more freedom...
Quite tired of Arduino IDE.

eahenle

You ever run into a problem, search the internet high and low for solutions, and determine that it's basically been ignored by the developers for most of a decade?

How is this still an issue?  There is no option anywhere in IDE 1.8.9 to prevent the wanton deletion of the compiled result, or to in any way force the use of the most recent successful compilation.  Every time I want to upload to a board, the IDE chooses to recompile.  Even if there hasn't been a single changed character anywhere in any source code, even if it's to the same board, even if the board has been powered on since before the last compilation and the same uploader has been connected continuously, the program will recompile in its entirety.  This happens for every board, every programmer, and every sketch, and it happens for every installation of the IDE on every computer I can get my hands on.

I need to program a number of boards with identical code, in an application that lends itself to frequent problems during upload.  Having to recompile the code (and all libraries) for every single attempt is completely ridiculous, especially given that this has been a known problem for 8 or 9 years.  Right now, my plan is to export the .hex and upload it using different software... but the point of an IDE is supposed to be that you do not need other software.

Go Up