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

Unanswered Firmware problem

Discussion in 'Troubleshooting' started by Cientifico_Loco, Jun 7, 2016.

  1. Cientifico_Loco

    Cientifico_Loco New Member

    Joined:
    Nov 4, 2015
    Messages:
    6
    Likes Received:
    0
    Sorry i'm not an expert in arduino, but when i tried to send the firmware to the arduino mega, it's send me this error.: (I'm using "ROBO_3D_Auto_Level_7_17_8mm" firmware.)

    Using the U8glib library and deleting the // un configuration.h file


    Code:
    Arduino:1.6.9 (Windows 10), Tarjeta:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
    
    In file included from sketch\Marlin.h:23:0,
    
                     from sketch\thermistortables.h:4,
    
                     from sketch\Configuration.h:710,
    
                     from C:\Users\Felipe\Documents\Arduino\ROBO_3D_Auto_Level_7_17_8mm\Auto_Level_7_17_8mm\Auto_Level_7_17_8mm.ino:33:
    
    sketch\pins.h:2564:0: warning: "X_MAX_PIN" redefined [enabled by default]
    
    #define X_MAX_PIN          -1
    
    ^
    
    In file included from sketch\Marlin.h:23:0,
    
                     from sketch\thermistortables.h:4,
    
                     from sketch\Configuration.h:710,
    
                     from C:\Users\Felipe\Documents\Arduino\ROBO_3D_Auto_Level_7_17_8mm\Auto_Level_7_17_8mm\Auto_Level_7_17_8mm.ino:33:
    
    sketch\pins.h:445:0: note: this is the location of the previous definition
    
         #define X_MAX_PIN           2
    
    ^
    
    In file included from sketch\Marlin.h:23:0,
    
                     from sketch\thermistortables.h:4,
    
                     from sketch\Configuration.h:710,
    
                     from C:\Users\Felipe\Documents\Arduino\ROBO_3D_Auto_Level_7_17_8mm\Auto_Level_7_17_8mm\Auto_Level_7_17_8mm.ino:33:
    
    sketch\pins.h:2565:0: warning: "Y_MAX_PIN" redefined [enabled by default]
    
    #define Y_MAX_PIN          -1
    
    ^
    
    In file included from sketch\Marlin.h:23:0,
    
                     from sketch\thermistortables.h:4,
    
                     from sketch\Configuration.h:710,
    
                     from C:\Users\Felipe\Documents\Arduino\ROBO_3D_Auto_Level_7_17_8mm\Auto_Level_7_17_8mm\Auto_Level_7_17_8mm.ino:33:
    
    sketch\pins.h:451:0: note: this is the location of the previous definition
    
         #define Y_MAX_PIN          15
    
    ^
    
    In file included from sketch\Marlin.h:23:0,
    
                     from sketch\thermistortables.h:4,
    
                     from sketch\Configuration.h:710,
    
                     from C:\Users\Felipe\Documents\Arduino\ROBO_3D_Auto_Level_7_17_8mm\Auto_Level_7_17_8mm\Auto_Level_7_17_8mm.ino:33:
    
    sketch\pins.h:2566:0: warning: "Z_MAX_PIN" redefined [enabled by default]
    
    #define Z_MAX_PIN          -1
    
    ^
    
    In file included from sketch\Marlin.h:23:0,
    
                     from sketch\thermistortables.h:4,
    
                     from sketch\Configuration.h:710,
    
                     from C:\Users\Felipe\Documents\Arduino\ROBO_3D_Auto_Level_7_17_8mm\Auto_Level_7_17_8mm\Auto_Level_7_17_8mm.ino:33:
    
    sketch\pins.h:457:0: note: this is the location of the previous definition
    
         #define Z_MAX_PIN          19
    
    ^
    
    In file included from sketch\Marlin.h:23:0,
    
                     from sketch\temperature.h:24,
    
                     from sketch\ultralcd.cpp:1:
    
    sketch\pins.h:2564:0: warning: "X_MAX_PIN" redefined [enabled by default]
    
    #define X_MAX_PIN          -1
    
    ^
    
    In file included from sketch\Marlin.h:23:0,
    
                     from sketch\temperature.h:24,
    
                     from sketch\ultralcd.cpp:1:
    
    sketch\pins.h:445:0: note: this is the location of the previous definition
    
         #define X_MAX_PIN           2
    
    ^
    
    In file included from sketch\Marlin.h:23:0,
    
                     from sketch\temperature.h:24,
    
                     from sketch\ultralcd.cpp:1:
    
    sketch\pins.h:2565:0: warning: "Y_MAX_PIN" redefined [enabled by default]
    
    #define Y_MAX_PIN          -1
    
    ^
    
    In file included from sketch\Marlin.h:23:0,
    
                     from sketch\temperature.h:24,
    
                     from sketch\ultralcd.cpp:1:
    
    sketch\pins.h:451:0: note: this is the location of the previous definition
    
         #define Y_MAX_PIN          15
    
    ^
    
    In file included from sketch\Marlin.h:23:0,
    
                     from sketch\temperature.h:24,
    
                     from sketch\ultralcd.cpp:1:
    
    sketch\pins.h:2566:0: warning: "Z_MAX_PIN" redefined [enabled by default]
    
    #define Z_MAX_PIN          -1
    
    ^
    
    In file included from sketch\Marlin.h:23:0,
    
                     from sketch\temperature.h:24,
    
                     from sketch\ultralcd.cpp:1:
    
    sketch\pins.h:457:0: note: this is the location of the previous definition
    
         #define Z_MAX_PIN          19
    
    ^
    
    In file included from sketch\dogm_lcd_implementation.h:38:0,
    
                     from sketch\ultralcd.cpp:36:
    
    sketch\dogm_font_data_marlin.h:12:25: fatal error: utility/u8g.h: No such file or directory
    
    #include <utility/u8g.h>
    
                             ^
    
    compilation terminated.
    
    exit status 1
    Error compilación en tarjeta Arduino/Genuino Mega or Mega 2560.
    
    Este reporte podría tener más información con
    "Mostrar salida detallada durante la compilación"
    opción habilitada en Archivo -> Preferencias.
    
    Please help[​IMG]
     
  2. Geof

    Geof Volunteer Moderator
    Staff Member

    Joined:
    Nov 9, 2015
    Messages:
    6,757
    Likes Received:
    2,339
    I cant read spanish lol. I'm guessing you had an error loading the firmware to the board. Make sure you have the correct comm selected and the USB is plugged into the printer/arduino board. Make sure all devices that use USB are shut off and give it a try again.
     
  3. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    Looks like a compile error.

    I tried downloading and compiling that version of the firmware and had no issues.
    This is what I got compiling it:

    Code:
    
    Sketch uses 114,224 bytes (44%) of program storage space. Maximum is 253,952 bytes.
    Global variables use 4,201 bytes (51%) of dynamic memory, leaving 3,991 bytes for local variables. Maximum is 8,192 bytes.
    
    
    Look here:

    http://forums.reprap.org/read.php?415,627003

    Not sure what changes/customization you might have made.
    I just downloaded and extracted the source and then ran it through the Arduino compiler.
     
    Geof likes this.
  4. Ryan TeGantvoort

    Ryan TeGantvoort Active Member

    Joined:
    Mar 11, 2016
    Messages:
    343
    Likes Received:
    172
    We need some more information as to what you uncommented? Are you installing an LCD Controller? Tell us the changes you have made and someone will be able to help you. It looks like some of the errors have to deal with installing an LCD, and it looks like the U8glib library is not being found. I know when I got the latest version of the U8glib library, it was being called incorrectly in the firmware. Wrong folder or something I believe. If that is the case I believe I changed the folder name rather than finding every instance.
     
  5. Cientifico_Loco

    Cientifico_Loco New Member

    Joined:
    Nov 4, 2015
    Messages:
    6
    Likes Received:
    0
    I'm installing the ReRap Discountt LCD pannel "full-graphic-smart-lcd-controller"

    I can't install the firmware without the LCD pannel too. :(
     
  6. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    As I mentioned in the other thread you have compiler options set wrong. It is not firmware source issues. Under Tools >> Board it must say "Genuine Mega or Mega 2560". That is not the default setup for Arduino IDE
     
  7. Ryan TeGantvoort

    Ryan TeGantvoort Active Member

    Joined:
    Mar 11, 2016
    Messages:
    343
    Likes Received:
    172
    Did you comment out the XXL Controller after uncommenting the Full Graphics Controller? You cannot have both of them uncommented or they clash and the firmware will not upload.
     

Share This Page