Enable or Disable EEPROM Commands in Marlin

0
Please wait...

In order to be able to use commands like M500, M501 and M503 in Marlin you have to modify configuration.h file and enable EEPROM settings.

  1. Open Configuration.h file

  2. Find this section

    //
    // EEPROM
    //
    // The microcontroller can store settings in the EEPROM, e.g. max velocity...
    // M500 - stores parameters in EEPROM
    // M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
    // M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
    //
    //#define EEPROM_SETTINGS // Enable for M500 and M501 commands
    //#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
    #define EEPROM_CHITCHAT // Give feedback on EEPROM commands. Disable to save PROGMEM.
    

  3. Uncomment #define EEPROM_SETTING and #define DISABLE_M503 if you want to use M503 command

    After changes:

    //
    // EEPROM
    //
    // The microcontroller can store settings in the EEPROM, e.g. max velocity...
    // M500 - stores parameters in EEPROM
    // M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
    // M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
    //
    #define EEPROM_SETTINGS   // Enable for M500 and M501 commands
    #define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
    #define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
    

  4. Recompile and upload changes into printer's memory

Leave A Reply

Your email address will not be published.