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

Marlin Firmware Upgrade 1.1.0 RC8 & RCBugFix (For R1 & R1+PLUS)

Discussion in 'Mods and Upgrades' started by WheresWaldo, Jun 11, 2015.

Thread Status:
Not open for further replies.
  1. WheresWaldo

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

    Joined:
    Feb 18, 2015
    Messages:
    5,811
    Likes Received:
    3,536
    Interesting, printing works fine for me. The pins that need to change are here:
    pins_RAMPS_13.h
    Code:
        #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
          #define BEEPER_PIN 37
    
          #define BTN_EN1 33    //--ROBO-BH Swapped
          #define BTN_EN2 31    //--ROBO-BH Swapped
          #define BTN_ENC 35
    Just reverse the BTN_EN1 and BTN_EN2 that will put it back to default. Located at lines 143 and 144.

    I need more info than just saying "printing went away." It would be much more helpful to state exactly what you did and what you tried as well as the results. Printing works, is about all I can say when I have no other information to go on.
     
  2. Sonny's Robo3D

    Joined:
    Jun 22, 2015
    Messages:
    111
    Likes Received:
    23
    Sorry I should have been more descriptive (falling asleep at that point) I tried it again this morning.

    Put the files from the zip in the Marlin folder and uploaded. I see the modification on the LCD right away.

    But no option to print from SD card now like before. Not sure what I could have missed.
     

    Attached Files:

  3. WheresWaldo

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

    Joined:
    Feb 18, 2015
    Messages:
    5,811
    Likes Received:
    3,536
    The developers must have changed something that I missed in the Configuration.h. I don't print from SD card as I use a Raspberry Pi running OctoPrint. I will look at it this morning.

    Found it!

    Seems SD Support in Marlin now defaults to not enabled. There is one line that needs the comments removed in Configuration.h. I will also upload a corrected version.

    Actually what they did was remove the automatic SD Card enabling when you select Full Graphics Smart Controller, so now you must explicitly enable support.

    Line 652 in Configuration.h
    Code:
    #define SDSUPPORT // Enable SD Card Support in Hardware Console //--ROBO-BH
    I actually think this needs to be on by default, or else the regular SD Card on the Robo wouldn't work either.
     
    #83 WheresWaldo, Sep 22, 2015
    Last edited: Sep 22, 2015
  4. Sonny's Robo3D

    Joined:
    Jun 22, 2015
    Messages:
    111
    Likes Received:
    23
    Actually I found it!!

    Reading through the Marlin docs I found that they are giving you the option of using SD or not

    You must enable SDSUPPORT in Configuration.h (under "LCD and SD Support")

    #define SDSUPPORT // Enable SD Card Support in Hardware Console

    I see the choice to print from SD now.
     
  5. WheresWaldo

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

    Joined:
    Feb 18, 2015
    Messages:
    5,811
    Likes Received:
    3,536
    @Sonny's Robo3D Thanks for the heads up. Let me know how it works for you. Like I said, I have had no issues with 1.1.0 using it as a daily driver. I haven't used Robo's firmware in so long, I always have to load the Arduino files just to answer questions. This one just works, and auto levelling works too.

    Once you get your head around using M851 (officially supported in Marlin) rather than M565 (not supported in Marlin) and using a positive number rather than a negative for the Robo specifics, it becomes a no brainer to use this instead of Robo's bastardized implementation of 1.0.0.

    Don't forget to do the PID tuning of your Hotend heater and change the number appropriately.
     
  6. Sonny's Robo3D

    Joined:
    Jun 22, 2015
    Messages:
    111
    Likes Received:
    23
    Thanks Waldo. Looks like we were looking at the same thing at the same time.

    I did the PID tuning and recalibrated my extruder (was over-extruding at 800 - lowered to 777.82) and my printer is printing perfectly.
    I also made a few other modifications to the Marlin firmware.

    1. Added Ziggy's Percentage Complete Mod in "dogm_lcd_implementation.h" file (line 284) I adjusted the position a little since now things have been moved around (New stuff is in Bold)

    // SD Card Progress bar and clock
    lcd_setFont(FONT_STATUSMENU);
    if (IS_SD_PRINTING) {
    // Progress bar solid part
    u8g.drawBox(55, 50, (unsigned int)(71.f * card.percentDone() / 100.f), 2 - TALL_FONT_CORRECTION);
    // Percent complete
    u8g.setPrintPos(52,48);
    u8g.print(itostr3(card.percentDone()));
    u8g.print("%");

    }
    u8g.setPrintPos(82, 48);

    2. Added my unique welcome screen (see picture attached)

    In the Marlin docs there is a link to online bitmap creator
    http://www.digole.com/tools/PicturetoC_Hex_converter.php
    (it converts .gif/.jpg/.jpeg/.png file to Hex values)

    Once you have the hex value for your image - you go to the "dogm_bitmaps.h" file

    1. Uncomment: (Line 4)
    #define START_BMPHIGH
    (this is so you can use an image 112x38 pixels)

    2. Paste your hex values after (line 13):
    const unsigned char start_bmp[START_BMPBYTES] PROGMEM = {

    Example of what it should look like:
    const unsigned char start_bmp[START_BMPBYTES] PROGMEM = {
    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
    ,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
    ,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
    ,0x00,0x0f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xf0,0x00
    ,0x00,0x3f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfc,0x00
    ,0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00
    ,0x01,0xf0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0f,0x80
    ,0x01,0xe0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x80
    ,0x03,0xc0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xc0
    ,0x03,0x80,0x00,0x7e,0x03,0xf8,0x38,0x18,0xe0,0x67,0x87,0x80,0x01,0xc0
    ,0x07,0x00,0x00,0xe7,0x0f,0x1e,0x3c,0x18,0xf0,0x63,0xcf,0x00,0x00,0xe0
    ,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xe0
    ,0x07,0x00,0x00,0xfe,0x0e,0x0e,0x3f,0x18,0xfc,0x60,0xfc,0x00,0x00,0xe0
    ,0x07,0x00,0x00,0x0f,0x8e,0x0e,0x31,0xf8,0xc7,0xe0,0x78,0x00,0x00,0xe0
    ,0x07,0x00,0x00,0x03,0x8e,0x0e,0x30,0xf8,0xc3,0xe0,0x38,0x00,0x00,0xe0
    ,0x07,0x00,0x01,0xe7,0x8f,0x1e,0x30,0x78,0xc1,0xe0,0x38,0x00,0x00,0xe0
    ,0x07,0x00,0x00,0x7e,0x03,0xf8,0x30,0x38,0xc0,0xe0,0x38,0x00,0x00,0xe0
    ,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xe0
    ,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xe0
    ,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xe0
    ,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xe0
    ,0x07,0x00,0xff,0x03,0xf8,0x3f,0xe0,0x3f,0x00,0x0f,0xc3,0xfc,0x00,0xe0
    ,0x07,0x00,0xe7,0xc7,0x1e,0x3c,0xf0,0xf3,0xc0,0x1c,0xe3,0xdf,0x00,0xe0
    ,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xe0
    ,0x07,0x00,0xff,0x8e,0x07,0x3f,0xe1,0xc0,0xe0,0x03,0xc3,0x83,0x80,0xe0
    ,0x07,0x00,0xef,0x0e,0x07,0x3c,0xf1,0xc0,0xe0,0x00,0xe3,0x83,0x80,0xe0
    ,0x07,0x00,0xe7,0x8e,0x0e,0x38,0x79,0xe1,0xe0,0x00,0x73,0x87,0x00,0xe0
    ,0x07,0x00,0xe3,0xc7,0x1e,0x3c,0xf0,0xf3,0xc0,0x1c,0xe3,0xcf,0x00,0xe0
    ,0x03,0x80,0xe1,0xc3,0xf8,0x3f,0xe0,0x3f,0x00,0x0f,0xc3,0xf8,0x01,0xc0
    ,0x03,0xc0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xc0
    ,0x01,0xe0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x80
    ,0x01,0xf0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0f,0x80
    ,0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00
    ,0x00,0x3f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfc,0x00
    ,0x00,0x0f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xf0,0x00
    ,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
    ,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
    ,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 };

    3. Made the welcome screen last a little longer, so you can actually see it. In dogm_lcd_implementation.h (line 241)

    if (show_bootscreen) {
    delay(3000);
    show_bootscreen = false;
    }

    I will probably be making more updates as time allows - will post here for anyone to use
     

    Attached Files:

    #86 Sonny's Robo3D, Sep 23, 2015
    Last edited: Sep 23, 2015
    WheresWaldo and mark tomlinson like this.
  7. WheresWaldo

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

    Joined:
    Feb 18, 2015
    Messages:
    5,811
    Likes Received:
    3,536
    Does the percent complete replace the progress bar or lay over the top or next to it?
     
  8. Sonny's Robo3D

    Joined:
    Jun 22, 2015
    Messages:
    111
    Likes Received:
    23
    yeah over the top - like Ziggy had it, just shifted a little over. I'm considering moving it a little more to the left
     

    Attached Files:

  9. WheresWaldo

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

    Joined:
    Feb 18, 2015
    Messages:
    5,811
    Likes Received:
    3,536
    Yes, you definitely need more separation between the Percentage and Time. I never really looked at that since I use OctoPrint, I have only printed from the LCD' SD Card a couple of times.

    BTW, Babysteps are also enabled, used Ziggy's code for that mod. And I can't seem to get LCD Contrast to work on my panel, but it is like that in 1.0.0 also.
     
  10. Sonny's Robo3D

    Joined:
    Jun 22, 2015
    Messages:
    111
    Likes Received:
    23
    Yeah moved it over 3 pixels - edited the code above with the new values
     

    Attached Files:

  11. WheresWaldo

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

    Joined:
    Feb 18, 2015
    Messages:
    5,811
    Likes Received:
    3,536
    Hello everyone. The developers of Marlin have hit milestone Release Candidate 1 (RC1)! There has been a significant amount of work done to streamline the code. It has additional safety checks as well as a better working Auto-Levelling. Here is a specific Robo flavor of of this newest firmware.

    What's enabled:
    • Babystepping (based on Ziggy's code)
    • Full Graphics LCD Smart Controller (If you have the standard LCD or XXL LCD modify Configuration.h appropriately)
    • % Complete display when using LCD (based on Ziggy's code)
    • EEPROM saving
    • Hexagon Thermistor (modify this in Configuration.h if you are using an E3D thermistor)
    • Better calibrated E-Steps (You should still do your own calibration of your particular extruder)
    • Better calibrated heaters (You should still PID tune your own heaters http://reprap.org/wiki/PID_Tuning)
    • Auto Bed Leveling grid centered over build area and movements sped up between points.
    Just unzip to a Marlin directory and upgrade your firmware as you normally would.

    Note: There is no longer M565 defined in this firmware. Marlin never intended to implement this particular code and it is not in the reprap.wiki as supported. Instead you must use the Marlin supported M851. It is set in a similar way to M565 but the number is positive rather than negative. Example: If your Z offset is currently -0.8 then in this firmware you would use the command M851 Z0.8 to set it correctly. This can be placed in startup gcode or set from the command line. If your setting doesn't change much (and technically is shouldn't) Issuing an M500 command after the M851 will save that setting in EEPROM.

    Note 2: If you want to try this on the +PLUS please make certain you modify Configuration.h as required. It should work with minimal editing.
     
  12. Mike Kelly

    Mike Kelly Volunteer

    Joined:
    Mar 11, 2013
    Messages:
    6,967
    Likes Received:
    2,275
    Firmware Guru's:

    How do I enable movement controls for my second extruder? Currently I can only move one extruder even though I can set the temperature to both.

    Also is it possible to have it say "ABS Extruder 1" "ABS Both" etc heatups?
     
  13. WheresWaldo

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

    Joined:
    Feb 18, 2015
    Messages:
    5,811
    Likes Received:
    3,536
    I don't have dual extruders, but I think (with a cursory look at ultralcd.cpp) if you have more than one tool enabled, you should have temp and movement. Temp is based on Nozzles (up to 3) and Movement on Extruder (up to 3). I don't see where "Preheat ..." has any options for selecting extruder. But as I mentioned I can't be sure, since that is not my setup.
     
  14. Mike Kelly

    Mike Kelly Volunteer

    Joined:
    Mar 11, 2013
    Messages:
    6,967
    Likes Received:
    2,275
    Well I have it set to Motherboard 34, but where would I enable a second tool?

    e: I have extruders set to 2
     
    #94 Mike Kelly, Sep 24, 2015
    Last edited: Sep 24, 2015
  15. WheresWaldo

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

    Joined:
    Feb 18, 2015
    Messages:
    5,811
    Likes Received:
    3,536
    Oh, you are using 1.0.0, I will need to dig that out and look at the code there. Haven't used it in so long, I forgot everything that was there.

    @Mike Kelly, you will need to look at the wiki, but generally you would either select the tool by adding either the P or T parameter to the gcode you are using. If you wanted to move the 2nd Extruder to a specific location You would need to issue a T command first then your G1 command.
     
    #95 WheresWaldo, Sep 24, 2015
    Last edited: Sep 24, 2015
  16. daniel871

    daniel871 Well-Known Member

    Joined:
    Apr 18, 2015
    Messages:
    1,322
    Likes Received:
    510
    I'm pretty sure Motherboard 34 isn't the correct name to use any more. You have to look under boards.h and find the name you need to use.

    Motherboard 34 in the old marlin is now "BOARD_RAMPS_13_EEB", I had to use the one for the Rambo.

    You have to uncomment lines 91 & 92 and make sure your offsets are in Configuration.h for the dual extrusion offset if you aren't using a cyclops.
     
  17. WheresWaldo

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

    Joined:
    Feb 18, 2015
    Messages:
    5,811
    Likes Received:
    3,536
    @daniel871, I believe @Mike Kelly is using 1.0.0 so it is still Motherboard nn, the new version of Marlin names the boards.
     
  18. WheresWaldo

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

    Joined:
    Feb 18, 2015
    Messages:
    5,811
    Likes Received:
    3,536
    RELEASE CANDIDATE 2

    Marlin developers are speeding along and here is RC2 for the Robo3D R1. Same proviso as in comment #91, except percent complete was not added back into this version.

    If you have a Robo3D R1+PLUS and want to try this firmware out, download both attachments, replace the Configuration.h that is in the archive with the single file. Upload and enjoy.

    Of course with any firmware upgrade, use at your own risk. I am currently running this firmware on my R1.
     
    #98 WheresWaldo, Oct 1, 2015
    Last edited: Oct 1, 2015
    Blaine and mark tomlinson like this.
  19. jbigler1986

    jbigler1986 Active Member

    Joined:
    Feb 13, 2015
    Messages:
    534
    Likes Received:
    128
    Any real reason to try this firmware? Not sure if it would benefit me or not since I have made a bunch of changes anyways.
     
  20. Sonny's Robo3D

    Joined:
    Jun 22, 2015
    Messages:
    111
    Likes Received:
    23
    What is the difference between RC1 and RC2? I'm also curious with my updates if this is worth it
     
Thread Status:
Not open for further replies.

Share This Page