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

LCD Full graphic smart

Discussion in 'Troubleshooting' started by David Avila, Jan 30, 2018.

  1. David Avila

    David Avila Member

    Joined:
    Mar 16, 2016
    Messages:
    69
    Likes Received:
    5
    I have the 12864 LCD Full Graphic Smart Display Controller for RepRap RAMPS 1.4 3D when uploading the firmware I'm getting a error on my Robo3d r1 please help thanks

    Arduino: 1.8.5 (Mac OS X), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

    In file included from sketch/Marlin.h:23:0,
    from sketch/BlinkM.cpp:5:
    sketch/pins.h:2564:0: warning: "X_MAX_PIN" redefined
    #define X_MAX_PIN -1
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/BlinkM.cpp:5:
    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/BlinkM.cpp:5:
    sketch/pins.h:2565:0: warning: "Y_MAX_PIN" redefined
    #define Y_MAX_PIN -1
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/BlinkM.cpp:5:
    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/BlinkM.cpp:5:
    sketch/pins.h:2566:0: warning: "Z_MAX_PIN" redefined
    #define Z_MAX_PIN -1
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/BlinkM.cpp:5:
    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/ConfigurationStore.cpp:1:
    sketch/pins.h:2564:0: warning: "X_MAX_PIN" redefined
    #define X_MAX_PIN -1
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/ConfigurationStore.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/ConfigurationStore.cpp:1:
    sketch/pins.h:2565:0: warning: "Y_MAX_PIN" redefined
    #define Y_MAX_PIN -1
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/ConfigurationStore.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/ConfigurationStore.cpp:1:
    sketch/pins.h:2566:0: warning: "Z_MAX_PIN" redefined
    #define Z_MAX_PIN -1
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/ConfigurationStore.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/Marlin.h:23:0,
    from sketch/MarlinSerial.cpp:23:
    sketch/pins.h:2564:0: warning: "X_MAX_PIN" redefined
    #define X_MAX_PIN -1
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/MarlinSerial.cpp:23:
    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/MarlinSerial.cpp:23:
    sketch/pins.h:2565:0: warning: "Y_MAX_PIN" redefined
    #define Y_MAX_PIN -1
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/MarlinSerial.cpp:23:
    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/MarlinSerial.cpp:23:
    sketch/pins.h:2566:0: warning: "Z_MAX_PIN" redefined
    #define Z_MAX_PIN -1
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/MarlinSerial.cpp:23:
    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/Marlin_main.cpp:30:
    sketch/pins.h:2564:0: warning: "X_MAX_PIN" redefined
    #define X_MAX_PIN -1
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/Marlin_main.cpp:30:
    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/Marlin_main.cpp:30:
    sketch/pins.h:2565:0: warning: "Y_MAX_PIN" redefined
    #define Y_MAX_PIN -1
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/Marlin_main.cpp:30:
    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/Marlin_main.cpp:30:
    sketch/pins.h:2566:0: warning: "Z_MAX_PIN" redefined
    #define Z_MAX_PIN -1
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/Marlin_main.cpp:30:
    sketch/pins.h:457:0: note: this is the location of the previous definition
    #define Z_MAX_PIN 19
    ^
    sketch/Marlin_main.cpp:2192:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
    LCD_MESSAGEPGM(MACHINE_NAME" "MSG_OFF".");
    ^
    In file included from sketch/SdFile.h:27:0,
    from sketch/cardreader.h:8,
    from sketch/Marlin_main.cpp:44:
    SdBaseFile.h:38: error: using typedef-name 'fpos_t' after 'struct'
    struct fpos_t {
    ^
    In file included from sketch/Marlin.h:10:0,
    from sketch/Marlin_main.cpp:30:
    /private/var/folders/_v/j_7t840d7655z3xlqtv0lgvr0000gp/T/AppTranslocation/731AA024-C615-4170-90AE-33499055760F/d/Arduino.app/Contents/Java/hardware/tools/avr/avr/include/stdio.h:950:33: note: 'fpos_t' has a previous declaration here
    __extension__ typedef long long fpos_t;
    ^
    sketch/Marlin_main.cpp: In function 'void loop()':
    sketch/Marlin_main.cpp:588:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    card.openFile("robo~1.gco",true);
    ^
    sketch/Marlin_main.cpp: In function 'void set_bed_level_equation_lsq(double*)':
    sketch/Marlin_main.cpp:884:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    planeNormal.debug("planeNormal");
    ^
    exit status 1
    using typedef-name 'fpos_t' after 'struct'

    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.


     
  2. WheresWaldo

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

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    Search, this has been answered a number of times. With the old firmware there is a define for 'fpos_t' in the firmware. That conflicts with a library used in the newer Arduino IDE. You need to search for 'fpos_t' and replace all occurrences with 'filepos_t' then recompile. I also believe @mark tomlinson has attached an already edited file somewhere on this forum.
     
  3. David Avila

    David Avila Member

    Joined:
    Mar 16, 2016
    Messages:
    69
    Likes Received:
    5
    Thanks I tried to find 'fpos_t' in the find but nothing comes up, it would be great to get the edit done
     
  4. David Avila

    David Avila Member

    Joined:
    Mar 16, 2016
    Messages:
    69
    Likes Received:
    5
    Ok did it, it did upload the firmware now when I reboot the screen flashes and beeps, I cant control the controller but there is a image
     
  5. WheresWaldo

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

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    Ah, with the full graphics you need to enable it and disable the existing one. In Configuration.h look for
    Code:
    #define REPRAP_DISCOUNT_SMART_CONTROLLER
    and place to // at the beginning to comment it out, then remove the // from
    Code:
    //#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
    Just a few lines further down.
     
    Geof likes this.
  6. David Avila

    David Avila Member

    Joined:
    Mar 16, 2016
    Messages:
    69
    Likes Received:
    5
    did that also added the U8glib. I seed the screen like it should work it just flashes ever 2 seconds and peeps not letting me control it
     
  7. David Avila

    David Avila Member

    Joined:
    Mar 16, 2016
    Messages:
    69
    Likes Received:
    5
    I uploaded a quick youtube video of the issue

     
  8. WheresWaldo

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

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    Those are generally very cheap Chinese made and my guess is that it is defective. Did you actually disable the standard controller in the firmware?

    I would pursue getting a new one.
     
  9. David Avila

    David Avila Member

    Joined:
    Mar 16, 2016
    Messages:
    69
    Likes Received:
    5
    I did disable the standard controller. Is it better to get the XXL controller? Screen Shot 2018-01-31 at 8.20.12 AM.png
     
  10. Geof

    Geof Volunteer Moderator
    Staff Member

    Joined:
    Nov 9, 2015
    Messages:
    6,757
    Likes Received:
    2,339
    Ditto. Both are fine. Whichever you prefer. Both equally as cheap. I have XXL on one machine and full graphics on the others.
     
  11. Kilrah

    Kilrah Well-Known Member

    Joined:
    Apr 18, 2017
    Messages:
    498
    Likes Received:
    332
    Looks like the "enter" button is stuck down.
     
  12. David Avila

    David Avila Member

    Joined:
    Mar 16, 2016
    Messages:
    69
    Likes Received:
    5
    I thought that so I pulled on it hard and still nothing, I'm retuning this one and ordered the smart LCD XXL
     
  13. David Avila

    David Avila Member

    Joined:
    Mar 16, 2016
    Messages:
    69
    Likes Received:
    5
    To add the Smart LCD Controller XXL do I just reinstall the original firmware with no changes?
     
  14. Geof

    Geof Volunteer Moderator
    Staff Member

    Joined:
    Nov 9, 2015
    Messages:
    6,757
    Likes Received:
    2,339
    yes no changes needed as far as the XXL is concerned.
     
  15. David Avila

    David Avila Member

    Joined:
    Mar 16, 2016
    Messages:
    69
    Likes Received:
    5
    Is there a newer firmware and if so any inks
     
  16. Geof

    Geof Volunteer Moderator
    Staff Member

    Joined:
    Nov 9, 2015
    Messages:
    6,757
    Likes Received:
    2,339
    @WheresWaldo was keeping up with current R1/+ config files for marlin but I dont believe he is supporting that project anymore. Check mods and upgrades and read through the firmware (marlin) thread to see if its something you want to do.
     

Share This Page