Arduino Forum

Products => Arduino Due => Topic started by: DevilsChild on Feb 13, 2013, 03:25 pm

Title: Upload terribly slow.
Post by: DevilsChild on Feb 13, 2013, 03:25 pm
Hello,

My new Arduino Due arrived. I uploaded the code which worked before on the Arduino Mega to the Duo. The code still works, but the upload takes 40 seconds. Is that normal, or is there any way to make it faster?

Greetings.
Title: Re: Upload terribly slow.
Post by: mcleung on Feb 16, 2013, 06:46 am
Hi,

I believe that it is the norm. I'm experiencing similar upload times. The new thing about the Due vs the Uno or the Mega is that it needs to "flash" the memory, and writing and verifying the pages seems to be the bottleneck.

I've tried to disable the "verify code after upload" in the preferences however it does not seem to work as code is still verified.
Title: Re: Upload terribly slow.
Post by: DevilsChild on Feb 16, 2013, 11:59 pm
That's actually pretty sad. Increasing memory size and maintaining transfer speed is never going to work...
My sketch is 13 KB on my Arduino Mega and 80 KB on my Due, so I guess every medium sized sketch will take half a minute to upload.

If anyone has an idea, please post it here :)
Title: Re: Upload terribly slow.
Post by: retrolefty on Feb 17, 2013, 12:05 am
Quote
If anyone has an idea, please post it here


Sure, put the Due in the closet and continue to use your mega board until the Due platform has matured. Those on the bleeding edge are bound to have finger cuts.  :D

Lefty

Title: Re: Upload terribly slow.
Post by: MercuriThunder on Feb 20, 2015, 04:57 am
Try using the native USB port. I can upload sketches of various sizes in about 4 seconds to the Due.