Jump to content
Ultimaker Community of 3D Printing Experts
tigertooth4

Settings in a customized firmware doesn't work no matter how I change it

Recommended Posts

Hi friends,

Please help! I cannot make my settings in the customized Marlin firmware work. Here's my story:

I'm using a UM2. I was going to change the

FILAMENT_FORWARD_LENGTH

parameter to make the fast forward length shorter, otherwise I found the filament was reaching the nozzle at a very high speed, which constantly causes heavy filament grindings.

So I download the source code from the official github: ultimaker2marlin, found the file UltiLCD2_menu_material.h and changed the

FILAMENT_FORWARD_LENGTH

in the file from

(FILAMENT_BOWDEN_LENGTH - 50)

to

(FILAMENT_BOWDEN_LENGTH - 100)

where FILAMENT_BOWDEN_LENGTH = 705.

Then I compiled the firmware by following the knowledge I've got so far: with Arduino, commenting out the

ISR(TWI_vect){...}

part in twi.c, compiled it and uploaded the .hex file by using Cura 15.04. I was sure for the successful firmware update because I saw the version changed to my customized one in the LCD menu.

But the forward length seemed not changed at all. Grinding happened as before. So I changed FILAMENT_FORWARD_LENGTH to (Bowden_length - 150). Again, no visible difference was shown. The fast filament feeding still went like nothing was changed.

To understand what was happening I used G-code G1 E-100 in printrun, and measured the outgoing filament. I found the outgoing length was almost 200mm, twice as it should be! I thought that might be the reason, perhaps every length was doubled, therefore even (Bowden_length - 150) were still longer than the actual length of bowden tube because of this doubling!

I thought the reason for doubling was the wrong setting in the configuration.h: I found the DEFAULT_AXIS_STEPS_PER_UNIT for extruder was 282, which I thought should be 125 or so since I had a φ8.1 feeder wheel (if I did the math right). Then I changed it to 125, expecting the 100mm feeding length instead of 200.

But after uploading my changes, nothing changed. The G-code feeding G1 E100 (or -100) is still 200mm filament in output.

So it turns out nothing have changed no matter how I was tweaking the settings in Marlin. So I'm totally confused! Did I did something silly? Does anyone use a customized firmware? Any clues will be appreciated ! Thanks!

Best,

XJ

Share this post


Link to post
Share on other sites

Thanks very much! That's exactly what I'm looking for!

 

So  - you changed the default settings and compiled it into your firmware. That's not wrong, but those settings are stored in eeprom and can be changed via gcode commands.

The new defaults will only be used after a "Factory reset"...

 

Share this post


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

    • Introducing Ultimaker Cura 3.6 | Beta
      Ultimaker Cura 3.6 | Beta is available. It comes with new features, bug fixes, and UX improvements. We would really like to have your feedback on it to make our stable release as good as it can be. As always, you can download the beta for free from our website, for Windows, MacOS, and Linux.
        • Like
      • 95 replies
    • Print Core CC | Red for Ruby
      Q: For some users, abrasive materials may be a new subject matter. Can you explain what it is that makes a material abrasive when you are not sure which print core to use?
      A: Materials which are hard in a solid piece (like metals, ceramics and carbon fibers) will generally also wear down the nozzle. In general one should assume...
        • Like
      • 30 replies
    • "Back To The Future" using Generative Design & Investment Casting
      Designing for light-weight parts is becoming more important, and I’m a firm believer in the need to produce lighter weight, less over-engineered parts for the future. This is for sustainability reasons because we need to be using less raw materials and, in things like transportation, it impacts the energy usage of the product during it’s service life.
        • Like
      • 12 replies
×

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!