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

Need advices about marlin upgrade

Discussion in 'General Questions' started by tiagomaricate, Aug 23, 2020.

  1. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    22,638
    Likes Received:
    7,236
    if VNC is not installed on the pi then from your ssh session:

    sudo apt-get update
    sudo apt-get install tightvncserver
    &vncserver :1

    that will get it running and you can use vnc viewer from a PC to get to the Pi desktop

    if it is installed then just:

    &vncserver :1

    and you are good :)
     
    tiagomaricate likes this.
  2. tiagomaricate

    tiagomaricate Member

    Joined:
    Jul 5, 2020
    Messages:
    102
    Likes Received:
    19
    Perfect! The ssh is already installed. I will check following your instructions.

    If everything goes right I will upload here the img from micro sd and the firmware file.
     
    mark tomlinson likes this.
  3. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    22,638
    Likes Received:
    7,236
    Good luck. You can do almost everything from the console with an SSH session, but the desktop version might be easier or more intuitive.
     
  4. tiagomaricate

    tiagomaricate Member

    Joined:
    Jul 5, 2020
    Messages:
    102
    Likes Received:
    19
    So far all the updates for the raspberry last version and octprint we're made through the terminal.

    I had to enable ssh and vnc.
     
  5. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    22,638
    Likes Received:
    7,236
    I always forget that OctoPrint has an embedded terminal you can use :)
    It it a decent front-end. SSH and VNC will be native Pi access so you may want to go that route in case there is something else you need to do. It is fairly easy to install the new firmware using the Arduno IDE once you get that loaded on the Pi.
     
  6. tiagomaricate

    tiagomaricate Member

    Joined:
    Jul 5, 2020
    Messages:
    102
    Likes Received:
    19

    Flashing failed

    Timeout communicating with programmer


    [​IMG]


    Logs attached. Now raspberry cant connects with the board. I'm trying to update connecting arduino direct on USB and use the IDE.
     

    Attached Files:

    #26 tiagomaricate, Aug 29, 2020
    Last edited: Aug 29, 2020
  7. Geof

    Geof Volunteer Moderator
    Staff Member

    Joined:
    Nov 9, 2015
    Messages:
    6,713
    Likes Received:
    2,320
    Exactly the same as the C2 as far as I know.
     
    tiagomaricate likes this.
  8. tiagomaricate

    tiagomaricate Member

    Joined:
    Jul 5, 2020
    Messages:
    102
    Likes Received:
    19
    Updated using the USB with (or not) success.

    Few details... Octoprint can't connect and all the fans starts working with full power.
     
  9. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    22,638
    Likes Received:
    7,236
  10. tiagomaricate

    tiagomaricate Member

    Joined:
    Jul 5, 2020
    Messages:
    102
    Likes Received:
    19
    Indeed it was serial_port2... also, the example on the configuration.h was wrong. It was using something like serial_port2 -1 instead of serial_port2 1.

    Now its working.
    All the axis are working wrong if I use home command.
    The Z home is set on top, but there is no sensor to stop the bed. Not sure if the IR sensor works like a stopper sensor for home command.
    I'm doing some new tests to check what configs should be changed.

    Edit: actually, no sensor is working on Z.

    Edit 2:
    What should I use?

    * RAMPS_14_EFB (Hotend, Fan, Bed)
    * RAMPS_14_EEB (Hotend0, Hotend1, Bed)
    * RAMPS_14_EFF (Hotend, Fan0, Fan1)
    * RAMPS_14_EEF (Hotend0, Hotend1, Fan)
    * RAMPS_14_SF (Spindle, Controller Fan)
     
    #30 tiagomaricate, Aug 30, 2020
    Last edited: Aug 30, 2020
  11. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    22,638
    Likes Received:
    7,236
    Unless you are going with dual extrusion I'd try: RAMPS_14_EFB (Hotend, Fan, Bed)
     
  12. tiagomaricate

    tiagomaricate Member

    Joined:
    Jul 5, 2020
    Messages:
    102
    Likes Received:
    19
    Thank you!

    Now I'm adding some conditional to the board file to include the custom pins.
    I never asked but... does someone already compiled marlin 2.x for any Robo printer?
    I'm trying to do this because I can't find it anywhere.
     
  13. tkoco

    tkoco - -.- --- -.-. ---
    Staff Member

    Joined:
    May 7, 2018
    Messages:
    679
    Likes Received:
    258
    When I experimented with compiling the latest version of Marlin, I managed to lock out Octoprint. To fix it, I used a direct connection (via USB) between a laptop with the Arduino IDE and the main controller board to upload a known good firmware file.
     
  14. tiagomaricate

    tiagomaricate Member

    Joined:
    Jul 5, 2020
    Messages:
    102
    Likes Received:
    19
    Yep, I did the same. It was the only way.
    Also, do you have the hex file?
    I'm asking this because I started to try to compile after founding nothing about Robo and Merlin 2.x.
    If you have if, could you share it with me?
     
  15. tkoco

    tkoco - -.- --- -.-. ---
    Staff Member

    Joined:
    May 7, 2018
    Messages:
    679
    Likes Received:
    258
    My efforts failed miserably for now.
     
  16. tiagomaricate

    tiagomaricate Member

    Joined:
    Jul 5, 2020
    Messages:
    102
    Likes Received:
    19
    LOL..... why?
     
  17. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    22,638
    Likes Received:
    7,236
    I think @WheresWaldo may have done this, I can't recall if he just did a later version of Marlin 1.1.x (like 1.1.9) or if he used 2.0
     
    tiagomaricate likes this.
  18. tkoco

    tkoco - -.- --- -.-. ---
    Staff Member

    Joined:
    May 7, 2018
    Messages:
    679
    Likes Received:
    258
    Same reasons which you ran into.
     
  19. tkoco

    tkoco - -.- --- -.-. ---
    Staff Member

    Joined:
    May 7, 2018
    Messages:
    679
    Likes Received:
    258
    Nice. And these screen come from OctoPi rather than from Octoprint?
     
  20. tiagomaricate

    tiagomaricate Member

    Joined:
    Jul 5, 2020
    Messages:
    102
    Likes Received:
    19
    But is (almost) working perfectly.
    I'm creating a new custom board file to use PINs from the old version of @WheresWaldo .
    The problem is I'm completely noob. This is the first time I'm doing this. I bought 2 months ago this printer (R2) used from a company. It's my first FDM printer.
    I probably took 4 or 5 hours to learn how to do and with you guys helping me.
    Despite all sensors not working (lol), it was not so bad starting for who is compiling firmware for the first time.
    I imagine you guy could do this on1 o 2 hours.
    Also, soon I will upload a img from my mSD card with all the apps updated and the display working (with the last version from Octoprint and PasperryPI).
     
    mark tomlinson likes this.

Share This Page