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

Help with firmware changes

Discussion in 'Mods and Upgrades' started by Darlig Ulv, Sep 3, 2017.

Thread Status:
Not open for further replies.
  1. Darlig Ulv

    Darlig Ulv New Member

    Joined:
    Jun 30, 2017
    Messages:
    9
    Likes Received:
    0
    i have a Robo R1 Plus 3D printer and Simplify3d software. I upgraded my hot end to the e3d-v6 hot end and at the end of the installation instructions it says to make changes to the firmware under the file configuration.h but I can't find that file. I went over Simplify3d software and there's a firmware window but not finding the info I need. Can anyone help?
     
  2. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,719
    Likes Received:
    7,326
    http://guide.robo3d.com/Wiki/ROBO_3D_Firmware_Release_Notes

    Make certain you download the CORRECT version for your printer.
    The beta is different, the R1 is different and the R1+ is different.
    You say you have the R1+ so that is the one you want. Download and extract the ZIP file and you will find CONFIGURATION.H which you can do your editing in and then recompile and upload using the instructions on that page.

    You may need to follow that up with resetting the flash eprom from your printing/host program (use the GCode terminal)

    ==== EEPROM GCodes (for reference) ====

    M500 Store current settings in EEPROM for the next startup or M501.
    M501 Read all parameters from EEPROM. (Or, undo changes.)
    M502 Reset current settings to defaults, as set in Configurations.h. (Follow with M500 to reset the EEPROM too.)

    So after firmware is fixed you need the M502 and an M500 at some point for them to work.


    Good luck.
     
  3. Darlig Ulv

    Darlig Ulv New Member

    Joined:
    Jun 30, 2017
    Messages:
    9
    Likes Received:
    0
    I downloaded the files, located the configuration.h and made the edits but now I can't find how to update the firmware using Simplify3d. Tried using the MatterControl but I can't select the file
     
  4. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,719
    Likes Received:
    7,326
    Follow the instructions on the web page. You don't use a slicer for that -- you need to use the Arduino IDE. The steps are on that page. Look at the section: "Flashing the firmware"
     
  5. Darlig Ulv

    Darlig Ulv New Member

    Joined:
    Jun 30, 2017
    Messages:
    9
    Likes Received:
    0
    Alright, pretty much got everything done except the last portion. I downloaded the arduino files, extracted them to the sketchbook folder, made the changes to the one file. Did all the things in the arduino program but when I go to File and sketchbook, there's isn't a selection for the marlin auto level
     
  6. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,719
    Likes Received:
    7,326
    File/Open sketch and look in the folder where you have extracted the source code. What INO files does it show?
     
  7. Darlig Ulv

    Darlig Ulv New Member

    Joined:
    Jun 30, 2017
    Messages:
    9
    Likes Received:
    0
    there are no INO files, only H and CCP

    UPDATE: Wait, there is one INO file called Marlin.ino
     
    #7 Darlig Ulv, Sep 3, 2017
    Last edited: Sep 3, 2017
  8. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,719
    Likes Received:
    7,326
    All of the Zip files have INO files in there...
    I just downloaded the R1+ ZIP and sure enough : Marlin.ino, and ROBO3DR1PLUSV2.ino

    (you really should use the second one)

    ROBO3DR1PLUSV2.zip is what I downloaded and extracted...
     
  9. Darlig Ulv

    Darlig Ulv New Member

    Joined:
    Jun 30, 2017
    Messages:
    9
    Likes Received:
    0
    Getting errors when compiling

    Errors:
    Arduino: 1.8.4 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

    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:

    d:\program files (x86)\arduino\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.
     
  10. WheresWaldo

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

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    The original Robo firmware has an incorrect construct the only error that matters is the last thing posted, you need to do a search & replace in SdBaseFile.{h, cpp} and replace 'fpos_t' with 'FatPos_t' (without the quotes) then recompile and upload to your printer.
     
  11. Darlig Ulv

    Darlig Ulv New Member

    Joined:
    Jun 30, 2017
    Messages:
    9
    Likes Received:
    0
    Thank you VERY much!!! It has been uploaded and hopefully now i can start my 3d printing, yay!!
     
Thread Status:
Not open for further replies.

Share This Page