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

    • Taking Advantage of DfAM
      This is a statement that’s often made about AM/3DP. I'll focus on the way DfAM can take advantage of some of the unique capabilities that AM and 3DP have to offer. I personally think that the use of AM/3DP for light-weighting is one of it’s most exciting possibilities and one that could play a key part in the sustainability of design and manufacturing in the future.
        • Like
      • 3 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!