Firmware wont retain steps/mm setting

Ask the MakerGear community for assistance...
Post Reply
User avatar
Farr0wn3d
Posts: 319
Joined: Tue Mar 31, 2015 4:16 am
Location: Calgary, Alberta, Canada

Firmware wont retain steps/mm setting

Post by Farr0wn3d » Sat Jun 04, 2016 1:34 am

I installed a titan last night and have it printing well. I did the PID autotune, changed the steps/mm in the firmware and reflashed it, reset the z height and for whatever reason when I check the steps per mm on the LCD it reverts back to the original value after every print. I could just adjust the multiplier in S3D but I want to do it right.

Anyone have any suggestions?

User avatar
Matt_Sharkey
Posts: 347
Joined: Mon Oct 20, 2014 3:10 pm

Re: Firmware wont retain steps/mm setting

Post by Matt_Sharkey » Sat Jun 04, 2016 3:52 pm

you are using M500 to save to the firmware correct? or are you editing your firmware manually?

User avatar
Farr0wn3d
Posts: 319
Joined: Tue Mar 31, 2015 4:16 am
Location: Calgary, Alberta, Canada

Re: Firmware wont retain steps/mm setting

Post by Farr0wn3d » Sat Jun 04, 2016 8:46 pm

I was editing the firmware in the arduino runtime and then uploading it to the printer but for the first time ever in my experience it didnt wanna hold the parameters unless I issued an M500 command. Issuing the M500 made the difference though. Thanks for the reply.

User avatar
ednisley
Posts: 1188
Joined: Fri Apr 11, 2014 5:34 pm
Location: Halfway up the Hudson
Contact:

Re: Firmware wont retain steps/mm setting

Post by ednisley » Sun Jun 05, 2016 5:42 pm

Farr0wn3d wrote:for the first time ever in my experience it didnt wanna hold the parameters unless I issued an M500 command
I think that's the new normal.

IIRC, the firmware now verifies that the firmware version stored in the EEPROM matches the current version (which means the EEPROM data layout will be appropriate) and the data has a valid checksum. If that comes up roses, then it reads & uses the EEPROM data. Otherwise, the baked-in firmware settings prevail.

That's what you want to happen during normal operation: valid EEPROM data overrules the firmware values, presumably because you previously stored the settings you want in EEPROM.

At least some earlier firmware versions would read & use whatever garbage it found in the EEPROM without any checking, often leading to heartache & confusion. This is a definite improvement, even if it's surprising the first time around...

User avatar
Farr0wn3d
Posts: 319
Joined: Tue Mar 31, 2015 4:16 am
Location: Calgary, Alberta, Canada

Re: Firmware wont retain steps/mm setting

Post by Farr0wn3d » Sun Jun 05, 2016 10:51 pm

Thanks Ed, thats good to know. I'll get in the habit of throwing an M500 command by default when making changes in any case

Post Reply