<p>No, settings are stored in memory (or the equivalent storage location).</p>
<p>When a new firmware is uploaded, the values set in the newly configured firmware can be set by <code>Restore Defaults</code> from the Marlin printer LCD the user interface. Alternatively, you could print a G-code file containing <a href="https://marlinfw.org/docs/gcode/M502.html" rel="nofollow noreferrer"><code>M502</code></a> and <a href="https://marlinfw.org/docs/gcode/M500.html" rel="nofollow noreferrer"><code>M500</code></a>, or send them over using a <a href="https://3dprinting.stackexchange.com/questions/10573/what-is-a-printer-console-terminal">console</a>.</p>
<blockquote>
<p><code>M502</code><br>
Reset all configurable settings to their factory defaults.</p>
<p>To also reset settings in EEPROM, follow with M500.</p>
</blockquote>
<blockquote>
<p><code>M500</code><br>
Save all configurable settings to EEPROM</p>
</blockquote>
<p>See <a href="https://3dprinting.stackexchange.com/questions/11438/m502-will-reset-all-configurable-settings-to-their-factory-defaults-which-set">M502 will reset all configurable settings to their &quot;factory defaults&quot;, which settings are those?</a> for more information.</p>
<p><a href="https://3dprinting.stackexchange.com/a/11440">This answer</a> hints to a similar description:</p>
<blockquote>
<p>Installing firmware does not by itself alter the EEPROM, so these settings needed to be seeded into SRAM via <code>M502</code> and then saved into EEPROM via <code>M500</code>.</p>
</blockquote>
<p>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 <code>Configuration_adv.h</code> config file.</p>

CC BY-SA 4.0
2021-07-20T23:36:02.570Z
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?
agarza
CC BY-SA 4.0
2021-07-20T22:45:22.257Z
2021-07-21T20:52:21.267Z
2021-07-21T20:52:21.267Z
0scar
<p>A few months ago, I flashed my Ender 3 V2 with <a href="https://github.com/Jyers/Marlin" rel="nofollow noreferrer">JyersUI</a> 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.</p>
<p>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?</p>

<creality-ender-3><marlin>
Does updating the firmware on an Ender 3 V2 erase its previous settings?
agarza
# Does updating the firmware on an Ender 3 V2 erase its previous settings?

(Asked by: username_0 on 2021-07-19)

A few months ago, I flashed my Ender 3 V2 with [JyersUI](https://github.com/Jyers/Marlin) 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?

**Tags:** creality-ender-3, marlin


---

## 1 answers

### Answer by username_1 on 2021-07-20. Score: 1 | Accepted answer

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`](https://marlinfw.org/docs/gcode/M502.html) and [`M500`](https://marlinfw.org/docs/gcode/M500.html), or send them over using a [console](https://3dprinting.stackexchange.com/questions/10573/what-is-a-printer-console-terminal).

> `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?](https://3dprinting.stackexchange.com/questions/11438/m502-will-reset-all-configurable-settings-to-their-factory-defaults-which-set) for more information.

[This answer](https://3dprinting.stackexchange.com/a/11440) 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.

> **Comments:**
> **username_0**: 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?  

---

