3
$\begingroup$

A few months ago, I flashed my Ender 3 V2 with JyersUI fork of the Marlin firmware and I like the options and settings that are available with this firmware. The author has put out another update (v1.3.4) and was curious if all my settings will be erased.

Does flashing the firmware erase all settings on the Ender 3 V2? If so, what settings should I record to update the new firmware once installed?

$\endgroup$
0

1 Answer 1

1
$\begingroup$

No, settings are stored in memory (or the equivalent storage location).

When a new firmware is uploaded, the values set in the newly configured firmware can be set by Restore Defaults from the Marlin printer LCD the user interface. Alternatively, you could print a G-code file containing M502 and M500, or send them over using a console.

M502
Reset all configurable settings to their factory defaults.

To also reset settings in EEPROM, follow with M500.

M500
Save all configurable settings to EEPROM

See M502 will reset all configurable settings to their "factory defaults", which settings are those? for more information.

This answer hints to a similar description:

Installing firmware does not by itself alter the EEPROM, so these settings needed to be seeded into SRAM via M502 and then saved into EEPROM via M500.

Please note that the EEPROM on 32-bit boards are emulated. There are several ways to emulate EEPROM storage via flash storage in the ARM processor or using an SD card. There is a solution for an actual EEPROM, but that requires buying an EEPROM chip and breakout board on the I2C connector if it has such an output port. Selection of which is done in the Configuration_adv.h config file.

$\endgroup$
1
  • $\begingroup$ For verification of any changes, could I send an M503 to the printer before flashing the new firmware, save that to a .txt file, then flash the firmware, send another M503, save to another .txt file, and compare the two files for changes? $\endgroup$
    – agarza
    Jul 20, 2021 at 23:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .