1. Got a question or need help troubleshooting? Post to the troubleshooting forum or Search the forums!

Solved Firmware update issues

Discussion in 'Troubleshooting' started by Sims Reaper, May 29, 2015.

  1. Sims Reaper

    Sims Reaper New Member

    Joined:
    May 23, 2015
    Messages:
    12
    Likes Received:
    3
    I am attempting to update the firmware for my Robo3D printer. I have followed the guides here on and everything has gone well, except for one issue now. I cannot compile the firmware to get to the upload stage.
    I have tried verifying the Sketch, different extraction paths for the zip file... nothing working.

    I keep getting a multiple variables error

    Arduino: 1.6.1 (Windows 7), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

    C:\Users\Jordon\Documents\Arduino\libraries\Auto_Level_7_17/ultralcd.cpp:709: multiple definition of `maxEditValue'

    C:\Users\Jordon\AppData\Local\Temp\build2381658423489514260.tmp\ultralcd.cpp.o:C:\Users\Jordon\AppData\Local\Temp\build2381658423489514260.tmp/ultralcd.cpp:709: first defined here

    C:\Users\Jordon\AppData\Local\Temp\build2381658423489514260.tmp\Auto_Level_7_17\ultralcd.cpp.o: In function `lcd_return_to_status':

    C:\Users\Jordon\Documents\Arduino\libraries\Auto_Level_7_17/ultralcd.cpp:709: multiple definition of `menu_edit_float3()'

    C:\Users\Jordon\AppData\Local\Temp\build2381658423489514260.tmp\ultralcd.cpp.o:C:\Users\Jordon\AppData\Local\Temp\build2381658423489514260.tmp/ultralcd.cpp:709: first defined here

    C:\Users\Jordon\AppData\Local\Temp\build2381658423489514260.tmp\Auto_Level_7_17\ultralcd.cpp.o: In function `lcd_return_to_status':

    C:\Users\Jordon\Documents\Arduino\libraries\Auto_Level_7_17/ultralcd.cpp:709: multiple definition of `menu_edit_float52()'

    C:\Users\Jordon\AppData\Local\Temp\build2381658423489514260.tmp\ultralcd.cpp.o:C:\Users\Jordon\AppData\Local\Temp\build2381658423489514260.tmp/ultralcd.cpp:709: first defined here

    C:\Users\Jordon\AppData\Local\Temp\build2381658423489514260.tmp\Auto_Level_7_17\ultralcd.cpp.o: In function `lcd_return_to_status':

    C:\Users\Jordon\Documents\Arduino\libraries\Auto_Level_7_17/ultralcd.cpp:709: multiple definition of `lcd'

    C:\Users\Jordon\AppData\Local\Temp\build2381658423489514260.tmp\ultralcd.cpp.o:C:\Users\Jordon\AppData\Local\Temp\build2381658423489514260.tmp/ultralcd.cpp:709: first defined here

    C:\Users\Jordon\AppData\Local\Temp\build2381658423489514260.tmp\Auto_Level_7_17\ultralcd.cpp.o: In function `lcd_return_to_status':

    C:\Users\Jordon\Documents\Arduino\libraries\Auto_Level_7_17/ultralcd.cpp:709: multiple definition of `currentMenuViewOffset'

    C:\Users\Jordon\AppData\Local\Temp\build2381658423489514260.tmp\ultralcd.cpp.o:C:\Users\Jordon\AppData\Local\Temp\build2381658423489514260.tmp/ultralcd.cpp:709: first defined here

    C:\Users\Jordon\AppData\Local\Temp\build2381658423489514260.tmp\Auto_Level_7_17\ultralcd.cpp.o: In function `lcd_return_to_status':

    C:\Users\Jordon\Documents\Arduino\libraries\Auto_Level_7_17/ultralcd.cpp:709: multiple definition of `blocking_enc'

    C:\Users\Jordon\AppData\Local\Temp\build2381658423489514260.tmp\ultralcd.cpp.o:C:\Users\Jordon\AppData\Local\Temp\build2381658423489514260.tmp/ultralcd.cpp:709: first defined here

    C:\Users\Jordon\AppData\Local\Temp\build2381658423489514260.tmp\Auto_Level_7_17\ultralcd.cpp.o: In function `lcd_return_to_status':

    C:\Users\Jordon\Documents\Arduino\libraries\Auto_Level_7_17/ultralcd.cpp:709: multiple definition of `buttons'

    C:\Users\Jordon\AppData\Local\Temp\build2381658423489514260.tmp\ultralcd.cpp.o:C:\Users\Jordon\AppData\Local\Temp\build2381658423489514260.tmp/ultralcd.cpp:709: first defined here

    C:\Users\Jordon\AppData\Local\Temp\build2381658423489514260.tmp\Auto_Level_7_17\ultralcd.cpp.o: In function `lcd_return_to_status':

    C:\Users\Jordon\Documents\Arduino\libraries\Auto_Level_7_17/ultralcd.cpp:709: multiple definition of `move_menu_scale'

    ..... lots more, had to cut it out to get the message up...... then it ends with


    collect2.exe: error: ld returned 1 exit status

    Error compiling.

    I be up for any help here, hopefully I'm not the only one having this issue.

    I have downloaded the mere Blink code and it compiles fine... not sure what I'm missing. Even reverted to the 1.6.1 Arduino program as I saw that was what someone here had used to successfully flash their firmware.

    Sorry to ask for help, but I just don't know Arduino well enough to figure this one out on my own...
     
  2. jbigler1986

    jbigler1986 Active Member

    Joined:
    Feb 13, 2015
    Messages:
    534
    Likes Received:
    128
    Make sure that your printed is not connected to a software such as mattercontrol or something similar
     
  3. Sims Reaper

    Sims Reaper New Member

    Joined:
    May 23, 2015
    Messages:
    12
    Likes Received:
    3
    I have. It isn't connected. Arduino isn't even making it to the upload stage. It is erroring out during the compile stage.
     
  4. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    Which project file are you opening with the Arduino IDE?
    There have been more than one in the past (which is silly) and only one of them works...
     
  5. Sims Reaper

    Sims Reaper New Member

    Joined:
    May 23, 2015
    Messages:
    12
    Likes Received:
    3
    Speakr's solution worked for me. Uninstalled arduino, deleted all folders and files related to it and the firmware. Deleted all references to Arduino from the registry, rebooted. Then downloaded the hourly build of Arduino, unzipped it to a desktop folder. Downloaded the firmware, and unzipped it to a separate folder. Opened Arduino IDE from in its folder directory, and "Opened" the .ino firmware sketch. Was able to make the changes I wanted, compile and upload.
     
  6. Bragonfly

    Bragonfly New Member

    Joined:
    Mar 15, 2015
    Messages:
    3
    Likes Received:
    1
    Thanks for the tip, worked for me as well!
     

Share This Page