lwmbecker
-
Posts
5 -
Joined
-
Last visited
Content Type
Forums
Events
3D Prints
Posts posted by lwmbecker
-
-
Hm, actually I just double checked in the source codes and in both cases those lines where already defined (#define ADVANCED_OK and #define SERIAL_OVERRUN_PROTECTION).
But could it maybe be something related to the buffer size? All test so far have been done via the build in SD card reader.
// @section gcode
// The number of linear moves that can be in the planner at once.
#if ALL(HAS_MEDIA, DIRECT_STEPPING)
#define BLOCK_BUFFER_SIZE 8
#elif HAS_MEDIA
#define BLOCK_BUFFER_SIZE 16
#else
#define BLOCK_BUFFER_SIZE 16
#endif// @section serial
// The ASCII buffer for serial input
#define MAX_CMD_SIZE 96
#define BUFSIZE 16 -
Hei, thanks for the reply!
That is a good idea and fits with the observations I made today. Inserted an M0 command between all lines where it stopped previously and it seemed to work fine when clicking through each command, so I got a bit further in the print. The next command after the last M0 led again to a reboot.
Will try your idea with SERIAL_OVERRUN_PROTECTION on Monday.
Tried this btw as well with the newest version of the bugfix 2.1.x branch, but the results were quite similar. Just that with this firmware I could not complete the manual bed levelling procedure. Measured all 9 points correctly, but then rebooted during homing. -
Actually, this behaviour is slightly different depending on if I choose the gcode flavor “marlin” or “marlin volumetric” in Cura.
I mixed the two in the post above, updated and correct below.
As you can see below the problem starts slightly earlier in the “marlin” flavor, and slightly later in the “marlin volumetric” flavor. In the “marlin” flavor it already reboots just after it extruded 10mm.. but doesn’t move to the actual starting position of the piece.
gcode snippet:
;FLAVOR:Marlin
;TIME:2945
;Filament used: 0.83648m
;Layer height: 0.15
;MINX:62.004
;MINY:85.927
;MINZ:0.27
;MAXX:133.287
;MAXY:140.301
;MAXZ:15.72
;Generated with Cura_SteamEngine main
M140 S60 ;set bed temp
M105 ;send temp report to host
M190 S60 ;wait for bed to reach temp
M104 S200 ;set hotend temp
M105 ;send temp report to host
M109 S200 ;wait for hotend to reach temp
M82 ;absolute extrusion mode
G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
M107 ;start with the fan off
G28 Z0 ;move Z to bottom endstops
G28 X0 Y0 ;move X/Y to endstops
G1 X15 Y0 F4000 ;move X/Y to front of printer
G1 Z15.0 F9000 ;move the platform to 15mm
G92 E0 ;zero the extruded length
G1 F200 E10 ;extrude 10 mm of feed stock
G92 E0 ;zero the extruded length again
G1 Y50 F9000M117 problems start…
;Put printing message on LCD screen
M117 Printing...
G92 E0
G92 E0
G1 F1500 E-6.5
;LAYER_COUNT:104
;LAYER:0
M107
G0 F4500 X69.088 Y98.143 Z0.27
G0 X64.233 Y102.949
;TYPE:SKIRT
G1 F1500 E0
G1 F1800 X64.646 Y102.417 E0.0114
G1 X65.539 Y101.364 E0.03478
G1 X66.004 Y100.863 E0.04635
G1 X66.992 Y99.886 E0.06987
G1 X67.494 Y99.431 E0.08134
G1 X68.56 Y98.546 E0.1048
G1 X69.088 Y98.143 E0.11604
G1 X70.221 Y97.355 E0.13941
G1 X70.892 Y96.938 E0.15278another snipped (volumetric):
;FLAVOR:Marlin(Volumetric)
;TIME:2860
;Filament used: 5336.23mm3
;Layer height: 0.15
;MINX:62.004
;MINY:85.927
;MINZ:0.27
;MAXX:133.287
;MAXY:140.301
;MAXZ:15.72
;Generated with Cura_SteamEngine main
M190 S60
M104 S200
M109 S200
M82 ;absolute extrusion mode
G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
M107 ;start with the fan off
G28 Z0 ;move Z to bottom endstops
G28 X0 Y0 ;move X/Y to endstops
G1 X15 Y0 F4000 ;move X/Y to front of printer
G1 Z15.0 F9000 ;move the platform to 15mm
G92 E0 ;zero the extruded length
G1 F200 E10 ;extrude 10 mm of feed stock
G92 E0 ;zero the extruded length again
G1 Y50 F9000
;Put printing message on LCD screen
M117 Printing...
G92 E0
G92 E0
G10
;LAYER_COUNT:104
;LAYER:0
M107
G0 F4500 X69.088 Y98.143 Z0.27
G0 X64.233 Y102.949
;TYPE:SKIRTM117 problems start…
G11
G1 F1800 X64.646 Y102.417 E0.07274
G1 X65.539 Y101.364 E0.22185
G1 X66.004 Y100.863 E0.29567
G1 X66.992 Y99.886 E0.44574
G1 X67.494 Y99.431 E0.51891
G1 X68.56 Y98.546 E0.66854
G1 X69.088 Y98.143 E0.74028
G1 X70.221 Y97.355 E0.88933 -
Hei,
The x-axis stepper driver burnt out (motor making weird noises on that stepper driver) on our UM2+, which is why I swapped the stepper to the E2 axis and swapped the pins accordingly in marlin. Previously we were using stock software.
Now I think I made the new firmware (marlin 2.1.2.1) work as far as homing and bed levelling and extrusion with e1. No unusual noises. Everything moves apparently in the correct directions.
The issue is now that when I start printing it starts up correctly (heats bed and nozzle, homing, move to front left, extrude some feed stock etc).. but then, just after it moves to the first coordinates of the actual print (in this case the skirt/base thing) marlin suddenly fails and reboots without any error message. I think it’s round about the line of of where I print “problems start…”
Any hints to where I could continue my bug search? I am guessing it’s still something that is set incorrectly in marlin.. but what? 🤷🏻♂️
Anyone? 🙂gcode snippet:
;FLAVOR:Marlin
;TIME:2945
;Filament used: 0.83648m
;Layer height: 0.15
;MINX:62.004
;MINY:85.927
;MINZ:0.27
;MAXX:133.287
;MAXY:140.301
;MAXZ:15.72
;Generated with Cura_SteamEngine main
M140 S60 ;set bed temp
M105 ;send temp report to host
M190 S60 ;wait for bed to reach temp
M104 S200 ;set hotend temp
M105 ;send temp report to host
M109 S200 ;wait for hotend to reach temp
M82 ;absolute extrusion mode
G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
M107 ;start with the fan off
G28 Z0 ;move Z to bottom endstops
G28 X0 Y0 ;move X/Y to endstops
G1 X15 Y0 F4000 ;move X/Y to front of printer
G1 Z15.0 F9000 ;move the platform to 15mm
G92 E0 ;zero the extruded length
G1 F200 E10 ;extrude 10 mm of feed stock
G92 E0 ;zero the extruded length again
G1 Y50 F9000
;Put printing message on LCD screen
M117 Printing...
G92 E0
G92 E0
G1 F1500 E-6.5
;LAYER_COUNT:104
;LAYER:0
M107
G0 F4500 X69.088 Y98.143 Z0.27
G0 X64.233 Y102.949
;TYPE:SKIRT
M117 problems start…
G1 F1500 E0
G1 F1800 X64.646 Y102.417 E0.0114
G1 X65.539 Y101.364 E0.03478
G1 X66.004 Y100.863 E0.04635
G1 X66.992 Y99.886 E0.06987
G1 X67.494 Y99.431 E0.08134
G1 X68.56 Y98.546 E0.1048
G1 X69.088 Y98.143 E0.11604
G1 X70.221 Y97.355 E0.13941
G1 X70.892 Y96.938 E0.15278
Marlin 2.1.2.1 on UM2+ stops and reboots when starting print
in Firmware
Posted
Awesome, thanks for the help!
Tried disabling everything or only some of them, but that showed no difference.
Nice, I tried 8 for BUFSIZE now as well, leaving all other mentioned parameters untouched and hurray! That did the trick.
Danke! 🤩