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

      • Startups, apply for the Forward AM Innovation Award!
        Are you a startup using 3D printing? Perhaps you should continue reading... 
         
        Together with BASF we are launching the Forward AM Innovation Award - the very first global contest for startups developing new applications with 3D printing!
         
        Why apply?
        The winning startup will receive €100,000 in goods and services*, along with coaching and marketing exposure from top-notch leaders in the industry.
         

         
        Who can apply?
        Your startup creates products using Additive Manufacturing, is less than 5 years old, and has less than 50 employees. We are looking for 3D printing applications with a strong focus on innovation, sustainability and scalability.
         
        Dental aligners, shoes, tools, automotive parts, music instruments, industrial tooling and molding, medical implants, sports equipment, toys, architecture, fashion, construction... all are welcome to join!
         
        Do you have an innovative, sustainable and scalable idea that leverages the unique possibilities of 3D printing? Then it is time to apply!
        More information can be found here.
         
        Applications close on March 28th, 2021
        * What does "in goods and services" mean?
        The winner will be able to pick any item from the overall product and service portfolio of the sponsors, e.g. printers, materials, consulting, software... Choose whatever you need to accelerate your startup.
         
        • 0 replies
      • New here? Register your Ultimaker for free 3D printer onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
        • 0 replies
    ×
    ×
    • Create New...