Uploading time to Ardumega

Hi,
just wanted to ask, how long your Code takes to upload to APM?

I haven't got any experience in that field, but uploading the code takes something like 5-10 Minutes before arduino-loader is ready with uploading.

Seems like a hell of a long time, but I may just have the wrong imagination of how long something like that should take.

Regards
Daniel

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • About 40-50 lines down in your program you should see:

    #define SerBau 115200

    If that number isn't 115200 your serial port will be slow.

    When you press upload, at the bottom of your screen it says "uploading to I/O board". It isn't at that point, it's compiling..

    Below that when it says "Binary sketch size . . ." It is finished compiling and started uploading.
    Watch the lights on the IMU near the green light. The orange lights both start flashing as it is uploading.

    Check the timing on those two sections. While it is compiling it is strictly CPU limited. When it is uploading the serial port timing takes over.

    Shut down everything else on the computer that you don't need.
  • Wow, that is really strange then.
    I have a rather slow laptop, about 4 years old, 1,5ghz, 2gb Ram

    well, basically when i start pressing upload to the board in arduino 21, it is time to get a coffee, cause that can really take a while. I was surprised, and i guessed something was wrong with my setup, because otherwise it would be impossible to change anything proper on the code without always waiting for ages.

    Any Ideas you have how to speed things up?
    It can't be a failure on the APM Board, can it?

    Regards
    Daniel
  • Compilation should take about 20 s, upload probably something like that too, so about 40 s total. What rig are you running? Even a 1990s era PC should do better than a minute with an AVR program.
  • 3D Robotics
    Mine takes about a minute (40 seconds of compiling and 20 seconds of uploading). It really depends on how fast your computer is--5-10 minutes sounds crazy slow, however. Some of the team also use a special build of Arduino with improved complier speed, which can bring that down to about 30 seconds total.
This reply was deleted.

Activity