Jump to content
Ultimaker Community of 3D Printing Experts

HOW-TO: Build your own Marlin


Recommended Posts

Posted · HOW-TO: Build your own Marlin

Since there has been a lot of folks lately wanting to build their own Marlin hex files, given the demise of Daid's builder, I went and wrote up some details on how to do it.

I set up brand new Mac OS Mountain Lion and Windows 7 virtual machines to test the steps on, so with a bit of luck the basics should work right, but I welcome feedback or improvements.

http://www.extrudable.me/2013/05/03/building-marlin-from-scratch/

 

  • Like 1
Link to post
Share on other sites
Posted · HOW-TO: Build your own Marlin

Awesome work once again Simon. Thanks very much. I'm fairly OK with using the Arduino software etc. but if I run into trouble I'm sure your blog will help me out.

One question though does the version of Marlin with Cura have the fix you submitted for retraction?

 

  • Link to post
    Share on other sites
    Posted · HOW-TO: Build your own Marlin

    Thanks, Owen.

    No, the '13.03' version of Marlin, which is what currently ships with Cura (inc Cura 13.04) predates all of my fixes to Marlin, so it doesn't have the retraction fix, nor the proper PID value editing, and handling of acceleration rates in Ulticontroller.

    Those fixes are in both the Ultimaker and the ErikZalm Ultimaker_v1 current versions of the firmware, so you can get them (if you want them) by building your own Marlin from either of those.

     

    One question though does the version of Marlin with Cura have the fix you submitted for retraction?

     

  • Link to post
    Share on other sites
    Posted · HOW-TO: Build your own Marlin

    Thank you so much! I have really been wanting to give this a try. I am just using the Marlin 13.03 from Cura and haven't had too many issues but I really wanted to experiment. This is a great help!

     

  • Link to post
    Share on other sites
    Posted · HOW-TO: Build your own Marlin

    Very nice. I didn't do it command line mode myself but this is nice (I used the IDE).

    Maybe you could talk a little more about "uploading the hex file". Cura can do this so you could just explain that part or you could mention pronterface or the arduino IDE can do it with a single click after you click the Make button.

     

  • Link to post
    Share on other sites
    Posted · HOW-TO: Build your own Marlin

    Yes. Thank you very much.

    I have made my firmware and direct uploaded a few days ago in Windows 7.

    But where can i find the hex-file, like gr5 wrote?

     

    Maybe you could talk a little more about "uploading the hex file".

     

  • Link to post
    Share on other sites
    Posted · HOW-TO: Build your own Marlin

    ThomsS ,to find your hex file:

    1) In the Arduino IDE, menu File/Preferences check "show verbose output during compilation"

    2) Build the firmware by clicking on the Verify icon

    3) the last line of the console window will show you where is located the Marlin.cpp.hex file, which is what you are looking for)

    Regards,

    JPG (who had to recreate an account... because i forgot my pwd, and changed my email adress in between...)

     

  • Link to post
    Share on other sites
    Posted · HOW-TO: Build your own Marlin

    I have found it. :)

    Thank you very much.

    Regards

    Thomas

     

    ThomsS ,to find your hex file:

    1) In the Arduino IDE, menu File/Preferences check "show verbose output during compilation"

    2) Build the firmware by clicking on the Verify icon

    3) the last line of the console window will show you where is located the Marlin.cpp.hex file, which is what you are looking for)

    Regards,

    JPG (who had to recreate an account... because i forgot my pwd, and changed my email adress in between...)

     

  • Link to post
    Share on other sites
    Posted · HOW-TO: Build your own Marlin

    Those fixes are in both the Ultimaker and the ErikZalm Ultimaker_v1 current versions of the firmware, so you can get them (if you want them) by building your own Marlin from either of those.

     

    Thanks mate, I'll do that.

     

  • Link to post
    Share on other sites
    Posted · HOW-TO: Build your own Marlin

    Just to keep this thread up-to-date as a reference... I also added a second related post, on how to set up Eclipse to understand the Marlin source code. I find some of the static analysis features nice - not least the fact that it reads through all the headers and figures out which bits of code with get excluded due to the #define/#ifdef logic, and grays out the parts that don't apply. Makes it much easier to understand what is going on with all the optional features and implementations that are layered on top of one another.

     

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • Talking additive | The 3D printing podcast
        Why should we be the only ones asking questions? Join us and ask Jabil all your questions on September 22nd 5pm CET
          • Like
        • 3 replies
      • Ultimaker masterclass: Optimizing your Ultimaker Cura workflow
        Save your seat for either broadcast on September 23.
        What will you learn?
        · Best practices for iterative print preparation and every lesson you should learn from each print
        · The right way to use per-object settings and when they are most useful
        · Easy-to-use resources for anyone who wants to develop their own printer definitions, plugins, or print profiles
        · How to optimize print profile settings and whether to “keep” or “discard” changes
        · When is the right time to export your drawing from CAD? (Based on Ultimaker Cura’s surprising power as 3D control software)
        · And a whole lot more tips and tricks!
         
        How can I join?
        This free masterclass will take place twice:
        1. 11am CEST (5pm SGT, 5am EDT)
        2. 5pm CEST (11am EDT, 8am PDT, 11pm SGT)
          • Like
        • 0 replies
      • Do you use 3D printing at work? Let us know
        It doesn't matter if you are using 1 Ultimaker or 10, there is inspiration in everything. We're looking for ...
        • 1 reply
    ×
    ×
    • Create New...