alexqzd / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. | Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
http://marlinfw.org
GNU General Public License v3.0
197 stars 71 forks source link

Running G29 S0 causes printer reboot #34

Open beercity opened 2 years ago

beercity commented 2 years ago

I recently upgraded my Volelab Aquila (G32 board) to the 1.3.5 firmware, using the ManualMesh-3x3 version. I completed the leveling procedure for the 9 points, and then attempted to view the mesh report in the Octoprint GCODE Terminal. When running G29 S0 the printer unexpectedly reboots. When running a M420 V, I receive the mesh report as expected. While I realize that M420 V does result in a return of the expected data, this error should be investigated regardless as other users may struggle with getting these commands to work. Or possibly there is some deprecation of G29 S0 that I am not aware of?

I also tested using the ManualMesh-5x5 firmware and had the same results. I am able to view a leveling report on the LCD screen without issue.

I am including an output from the terminal to show what happens with these two commands.

Steps to reproduce:

  1. Load a ManualMesh-3x3 or 5x5 firmware onto a G29 board Aqulia
  2. Execute a leveling procedure using the LCD screen
  3. Home all axis
  4. Run a M420 V command in GCODE terminal, observe mesh report
  5. Run a G29 S0 command in GCODE terminal, observe a printer reboot

Expected Behavior: G29 S0 should return the bed leveling mesh stored in EEPROM

Actual Behavior: Printer unexpectedly reboots

I do not have any config files to use, I am using the .bin files from the 1.3.5 release.

Send: M420 V Recv: Bilinear Leveling Grid: Recv: 0 1 2 3 4 Recv: 0 +0.200 +0.060 +0.050 +0.070 +0.080 Recv: 1 +0.050 +0.060 +0.040 +0.050 +0.040 Recv: 2 +0.040 +0.030 +0.010 -0.010 -0.020 Recv: 3 +0.020 +0.030 +0.030 +0.070 +0.090 Recv: 4 +0.010 +0.040 +0.050 +0.090 +0.150 Recv: Recv: echo:Bed Leveling OFF Recv: echo:Fade Height 10.00 Recv: ok [...] Send: G29 S0 [...] Recv: echo:busy: processing [...] Recv: ok [...] Send: G29 S0 Recv: echo:Home XYZ First Recv: //action:notification Home XYZ First Recv: ok [...] Send: G91 Recv: ok Send: G28 X0 Y0 [...] Recv: echo:busy: processing [...] Recv: echo:busy: processing Recv: X:0.00 Y:0.00 Z:4.00 E:1542.20 Count X:0 Y:0 Z:1600 Recv: ok Send: G90 Recv: ok [...] Send: G91 Recv: ok Send: G28 Z0 [...] Recv: echo:busy: processing [...] Recv: echo:busy: processing Recv: X:0.00 Y:0.00 Z:0.00 E:1542.20 Count X:0 Y:0 Z:0 Recv: ok Send: G90 Recv: ok [...] Send: G29 S0 [...] Recv: Recv:


Recv: Recv: *****bootloader* Recv: Recv:


Recv: start Printer sent 'start' while already operational. External reset? Resetting line numbers to be on the safe side Send: N0 M110 N0125 Recv: PowerUp Recv: Marlin Marlin-JyersUI Recv: Recv: echo: Last Updated: 2021-07-20 | Author: Alejandro Quezada Recv: echo:Compiled: Aug 9 2021 Recv: echo: Free Memory: 32695 PlannerBufferBytes: 1600 Recv: Recv: DWIN handshake error. Recv: Recv: DWIN handshake //action:notification Aquila Ready. Recv: Recv: DWIN handshake echo:V83 stored settings retrieved (758 bytes; crc 30652) Recv: //action:prompt_end Recv: BL24CXX Check succeeded! Recv: ok Recv: ok Send: N0 M110 N0125 Recv: ok Send: M155 S2 Recv: ok Send: M113 S2 Recv: ok

G29-crash.txt

beercity commented 2 years ago

I tested this on 1.3.5.1 with same results

Send: M420 V Recv: Bilinear Leveling Grid: Recv: 0 1 2 Recv: 0 +0.200 +0.200 +0.200 Recv: 1 +0.200 +0.200 +0.200 Recv: 2 +0.200 +0.200 +0.200 Recv: Recv: echo:Bed Leveling ON Recv: echo:Fade Height 10.00 Recv: ok [...] Send: G29 S0 [...] Recv: Recv:


Recv: Recv: *****bootloader* Recv: Recv:


Recv: start Printer sent 'start' while already operational. External reset? Resetting line numbers to be on the safe side Send: N0 M110 N0125 Recv: PowerUp Recv: Marlin Marlin-JyersUI Recv: Recv: echo: Last Updated: 2021-07-20 | Author: Alejandro Quezada Recv: echo:Compiled: Oct 31 2021 Recv: echo: Free Memory: 32695 PlannerBufferBytes: 1600 Recv: Recv: DWIN handshake error. Recv: Recv: DWIN handshake //action:notification Aquila Ready. Recv: Recv: DWIN handshake echo:V83 stored settings retrieved (694 bytes; crc 43077) Recv: //action:prompt_end Recv: BL24CXX Check succeeded! Recv: ok Recv: ok Send: N0 M110 N0125 Recv: ok Send: M155 S2 Recv: ok