You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When updating marlin firmware and due to changes a CRC mismatch occurs, and you select ignore to load the default values, selecting restore a backup containing a mesh map will cause the printer to stop with and M112 Error.
If you run bed leveling or Bed visualizer before restoring, then printer will not stop with M112 error.
Plugin version
3.3.0
OctoPrint version
1.8.6
M503 Response
Send: M503
Recv: echo:; Linear Units:
Recv: echo: G21; (mm)
Recv: echo:; Temperature Units:
Recv: echo: M149 C ; Units in Celsius
Recv: echo:; Filament settings (Disabled):
Recv: echo: M200S0D1.75
Recv: echo:; Steps per unit:
Recv: echo: M92X80.00Y80.00 Z800.00 E691.50
Recv: echo:; Max feedrates (units/s):
Recv: echo: M203X500.00Y500.00 Z10.00 E50.00
Recv: echo:; Max Acceleration (units/s2):
Recv: echo: M201X500.00Y500.00 Z100.00 E5000.00
Recv: echo:; Acceleration (units/s2) (P<print-accel> R<retract-accel> T<travel-accel>):
Recv: echo: M204P500.00 R500.00T1000.00
Recv: echo:; Advanced (B<min_segment_time_us> S<min_feedrate> T<min_travel_feedrate> X<max_jerk> Y<max_jerk> Z<max_jerk> E<max_jerk>):
Recv: echo: M205B20000.00S0.00 T0.00X5.00Y5.00 Z0.30 E5.00
Recv: echo:; Home offset:
Recv: echo: M206X0.00Y0.00 Z0.00
Recv: echo:; Auto Bed Leveling:
Recv: echo: M420S1 Z10.00 ; Leveling ON
Recv: echo: G29 W I0J0 Z-0.08625
Recv: echo: G29 W I1J0 Z-0.03575
Recv: echo: G29 W I2J0 Z-0.00600
Recv: echo: G29 W I3J0 Z0.02025
Recv: echo: G29 W I4J0 Z0.02700
Recv: echo: G29 W I5J0 Z0.02875
Recv: echo: G29 W I6J0 Z-0.00225
Recv: echo: G29 W I7J0 Z-0.02600
Recv: echo: G29 W I8J0 Z-0.06225
Recv: echo: G29 W I0J1 Z-0.14425
Recv: echo: G29 W I1J1 Z-0.07100
Recv: echo: G29 W I2J1 Z-0.03375
Recv: echo: G29 W I3J1 Z-0.00600
Recv: echo: G29 W I4J1 Z0.00825
Recv: echo: G29 W I5J1 Z0.01025
Recv: echo: G29 W I6J1 Z-0.00775
Recv: echo: G29 W I7J1 Z-0.02700
Recv: echo: G29 W I8J1 Z-0.04775
Recv: echo: G29 W I0J2 Z-0.18075
Recv: echo: G29 W I1J2 Z-0.10825
Recv: echo: G29 W I2J2 Z-0.06950
Recv: echo: G29 W I3J2 Z-0.03200
Recv: echo: G29 W I4J2 Z-0.01450
Recv: echo: G29 W I5J2 Z-0.00325
Recv: echo: G29 W I6J2 Z-0.00750
Recv: echo: G29 W I7J2 Z-0.03200
Recv: echo: G29 W I8J2 Z-0.05625
Recv: echo: G29 W I0J3 Z-0.20675
Recv: echo: G29 W I1J3 Z-0.13050
Recv: echo: G29 W I2J3 Z-0.09225
Recv: echo: G29 W I3J3 Z-0.05050
Recv: echo: G29 W I4J3 Z-0.02675
Recv: echo: G29 W I5J3 Z-0.01575
Recv: echo: G29 W I6J3 Z-0.02575
Recv: echo: G29 W I7J3 Z-0.04200
Recv: echo: G29 W I8J3 Z-0.05325
Recv: echo: G29 W I0J4 Z-0.20475
Recv: echo: G29 W I1J4 Z-0.12975
Recv: echo: G29 W I2J4 Z-0.07975
Recv: echo: G29 W I3J4 Z-0.04025
Recv: echo: G29 W I4J4 Z-0.00825
Recv: echo: G29 W I5J4 Z0.00500
Recv: echo: G29 W I6J4 Z-0.00100
Recv: echo: G29 W I7J4 Z-0.01850
Recv: echo: G29 W I8J4 Z-0.03800
Recv: echo: G29 W I0J5 Z-0.23675
Recv: echo: G29 W I1J5 Z-0.15675
Recv: echo: G29 W I2J5 Z-0.10800
Recv: echo: G29 W I3J5 Z-0.06950
Recv: echo: G29 W I4J5 Z-0.04575
Recv: echo: G29 W I5J5 Z-0.03175
Recv: echo: G29 W I6J5 Z-0.03200
Recv: echo: G29 W I7J5 Z-0.05075
Recv: echo: G29 W I8J5 Z-0.07075
Recv: echo: G29 W I0J6 Z-0.21225
Recv: echo: G29 W I1J6 Z-0.13075
Recv: echo: G29 W I2J6 Z-0.08800
Recv: echo: G29 W I3J6 Z-0.05125
Recv: echo: G29 W I4J6 Z-0.02950
Recv: echo: G29 W I5J6 Z-0.01375
Recv: echo: G29 W I6J6 Z-0.02200
Recv: echo: G29 W I7J6 Z-0.04300
Recv: echo: G29 W I8J6 Z-0.07175
Recv: echo: G29 W I0J7 Z-0.17800
Recv: echo: G29 W I1J7 Z-0.09950
Recv: echo: G29 W I2J7 Z-0.05950
Recv: echo: G29 W I3J7 Z-0.02975
Recv: echo: G29 W I4J7 Z-0.00475
Recv: echo: G29 W I5J7 Z-0.00300
Recv: echo: G29 W I6J7 Z-0.01825
Recv: echo: G29 W I7J7 Z-0.03625
Recv: echo: G29 W I8J7 Z-0.06850
Recv: echo: G29 W I0J8 Z-0.08225
Recv: echo: G29 W I1J8 Z-0.03100
Recv: echo: G29 W I2J8 Z0.00300
Recv: echo: G29 W I3J8 Z0.03450
Recv: echo: G29 W I4J8 Z0.04625
Recv: echo: G29 W I5J8 Z0.04925
Recv: echo: G29 W I6J8 Z0.02925
Recv: echo: G29 W I7J8 Z0.01425
Recv: echo: G29 W I8J8 Z-0.03150
Recv: echo:; X-Twist Correction:
Recv: M423A0.00I110.00
Recv: M423X0 Z0.00
Recv: M423X1 Z0.00
Recv: M423X2 Z0.00
Recv: echo:; Material heatup parameters:
Recv: echo: M145S0H220.00B60.00F255
Recv: echo: M145S1H235.00B75.00F255
Recv: echo:; Hotend PID:
Recv: echo: M301P15.95 I1.30D48.96
Recv: echo:; Bed PID:
Recv: echo: M304P235.81 I45.98D806.24
Recv: echo:; User thermistors:
Recv: echo: M305P0R4700.0T94162.0B4160.0C0.000000000; HOTEND 0
Recv: echo:; Z-Probe Offset:
Recv: echo: M851X29.50Y-19.50 Z-2.10 ; (mm)
Recv: echo:; Stepper driver current:
Recv: echo: M906X860Y900 Z1000
Recv: echo: M906T0E550
Recv:
Recv: echo:; StallGuard threshold:
Recv: echo: M914X99Y99
Recv: echo:; Driver stepping mode:
Recv: echo: M569S1 X Y Z
Recv: echo:; Input Shaping:
Recv: echo: M593 X F40.00D0.15
Recv: echo: M593 Y F40.00D0.15
Recv: echo:; Linear Advance:
Recv: echo: M900K0.00
Recv: echo:; Filament load/unload:
Recv: echo: M603 L200.00 U100.00; (mm)
Apologies for somehow missing this issue, I have only just picked it up.
selecting restore a backup containing a mesh map
This plugin doesn't back up the saved mesh at the moment, it only backs up what you can configure in the UI. A plugin like UBL Mesh Edit can do that. If your backup has a mesh map in it, that is interesting - your log doesn't seem to show any commands like that being sent to the printer from the plugin to 'attempt' to restore the mesh either.
This is how I understand this issue:
EEPROM is reset to default values - this doesn't include anything for the saved mesh, which is empty
You restore the backup in the plugin, but this doesn't restore the mesh
You go to print, but it doesn't start because the printer can't load a mesh (mesh saved slot is empty)
If you do it after running bed levelling, there is the extra step:
EEPROM is reset to default values - this doesn't include anything for the saved mesh, which is empty
You run bed levelling, which saves a mesh in EEPROM
You restore the backup in the plugin, doesn't touch the mesh
You go to print, it now has a mesh to use so the printer is happy?
If I've understood it correctly, this is expected behaviour with how these things were designed to work. Let me know if that's not right.
skl111
changed the title
[Bug]: After Marlin Update, ignore crc mismatch, restoring a config with bed mesh causes M112 ERROR.
[Bug]: After Marlin Update, ignore crc mismatch, restoring a config M112 ERROR when no bed mesh is stored
Feb 26, 2023
Thanks for the reply, life is nuts.
I updated the title as no bed mesh is stored in the backup, that was my mistake.
So this is what happens.
EEPROM is reset to default values - this doesn't include anything for the saved mesh, which is empty
You restore the backup in the plugin, but this doesn't restore the mesh
Printer Halts M112
EEPROM is reset to default values - this doesn't include anything for the saved mesh, which is empty
You run bed levelling, which saves a mesh in EEPROM
You restore the backup in the plugin, doesn't touch the mesh
Printer is happy no halt.
After looking at the process, maybe a check to see if a mesh is stored before restoring the config could be added to the plugin warning users it will halt the printer.
Using this on a lot of printers and when the marlin config gets a crc mismatch due to marlin update on them, none of which is the plugins fault, and forgetting to run the bed level when one is in a hurry can drive you nuts.
Description of the bug
When updating marlin firmware and due to changes a CRC mismatch occurs, and you select ignore to load the default values, selecting restore a backup containing a mesh map will cause the printer to stop with and M112 Error.
If you run bed leveling or Bed visualizer before restoring, then printer will not stop with M112 error.
Plugin version
3.3.0
OctoPrint version
1.8.6
M503 Response
API Response
OctoPrint logs
octoprint (14).log
The text was updated successfully, but these errors were encountered: