Printer freezes/hangs a few seconds during printing

Hi, 

using armbian on an orange pi win. I see a strange behavirour: after starting the print, randomly (as it seems) the printer stops up until 5 - 15 seconds, then goes on. 

However the print quality is bad 'cause of this. 

I'm using an geeetech rostock delta g2s pro, marlin firmeware. It runs fine with Repetier Host. 

So what can be the reason. It freezes... then moves again.

Thanks!
Joerg


Comments

  • My guess would be communication errors causing a timeout as it misses a "ok" from firmware and only after timeout print continues. See in console during print there you should see all the messages. Enable ok with line numbers and wait in marlins advanced config to reduce the time. In most cases it will be no pause at all any more. No idea why they do not make this default.
  • edited August 2018
    Thanks. Can you point me to the exact location where I have to change this „ok with line numbers“? Quite new to marlin... 

    btw. I bought the pro version – so I‘m a paying customer... ;) 

    thanks!
  • edited August 2018
    This one?

    //#define ADVANCED_OK
  • Sadly this does not help - still long pauses / freezes.

    8:21:48.584: Error:checksum mismatch, Last Line: 3509
    8:21:48.584: Resend: 3510
    8:21:49.390: Error:checksum mismatch, Last Line: 3515
    8:21:49.390: Resend: 3516
    8:21:51.493: Error:checksum mismatch, Last Line: 3520
    8:21:51.493: Resend: 3521
    8:21:52.570: Error:checksum mismatch, Last Line: 3527
    8:21:52.570: Resend: 3528
    8:21:53.568: Error:checksum mismatch, Last Line: 3530
    8:21:53.568: Resend: 3531
    8:21:54.852: Error:checksum mismatch, Last Line: 3533
    8:21:54.852: Resend: 3534
    8:21:56.408: Error:checksum mismatch, Last Line: 3536
    8:21:56.408: Resend: 3537
    8:21:56.442: Error:checksum mismatch, Last Line: 3537
    8:21:56.442: Resend: 3538
    8:21:57.743: Error:No Checksum with line number, Last Line: 3540
    8:21:57.743: Resend: 3541
    8:21:58.692: Error:checksum mismatch, Last Line: 3543
    8:21:58.692: Resend: 3544
    8:21:59.594: Error:No Checksum with line number, Last Line: 3547
    8:21:59.594: Resend: 3548
    8:21:59.896: Warning: Missed line detected - correcting buffer usage.
    8:22:03.213: Error:checksum mismatch, Last Line: 3558
    8:22:03.213: Resend: 3559
    8:22:06.206: Error:Line Number is not Last Line Number+1, Last Line: 3564
    8:22:06.206: Resend: 3565
    8:22:07.651: Error:No Checksum with line number, Last Line: 3568
    8:22:07.651: Resend: 3569
    8:22:09.222: Error:No Checksum with line number, Last Line: 3570
    8:22:09.222: Resend: 3571
    8:22:10.714: Error:checksum mismatch, Last Line: 3573
    8:22:10.715: Resend: 3574
    8:22:12.269: Error:No Checksum with line number, Last Line: 3575
    8:22:12.269: Resend: 3576
    8:22:12.304: Error:checksum mismatch, Last Line: 3576
    8:22:12.304: Resend: 3577
    8:22:15.360: Error:checksum mismatch, Last Line: 3589
    8:22:15.360: Resend: 3590
    8:22:16.357: Error:checksum mismatch, Last Line: 3593
    8:22:16.358: Resend: 3594
    8:22:17.482: Error:checksum mismatch, Last Line: 3596
    8:22:17.482: Resend: 3597
    8:22:22.036: Error:checksum mismatch, Last Line: 3605
    8:22:22.036: Resend: 3606
    8:22:23.126: Error:checksum mismatch, Last Line: 3607
    8:22:23.126: Resend: 3608
    8:22:23.906: Error:checksum mismatch, Last Line: 3611
    8:22:23.907: Resend: 3612
    8:22:24.528: Warning: Missed line detected - correcting buffer usage.
    8:22:24.553: Error:checksum mismatch, Last Line: 3616
    8:22:24.553: Resend: 3617
    8:22:26.380: Error:checksum mismatch, Last Line: 3622
    8:22:26.380: Resend: 3623
    8:22:27.920: Error:checksum mismatch, Last Line: 3624
    8:22:27.921: Resend: 3625
    8:22:29.349: Error:checksum mismatch, Last Line: 3627
    8:22:29.349: Resend: 3628
    8:22:30.889: Error:checksum mismatch, Last Line: 3629
    8:22:30.889: Resend: 3630
    8:22:30.946: Error:checksum mismatch, Last Line: 3632
    8:22:30.946: Resend: 3633
    8:22:33.923: Error:checksum mismatch, Last Line: 3635
    8:22:33.923: Resend: 3636
    8:23:16.397: Warning: Communication timeout - resetting communication buffer.
    8:23:16.398: Connection status: Buffered:39, Manual Commands: 2, Job Commands: 481
    8:23:16.398: Buffer used:39 Enforced free byte:39 lines stored:1
    8:23:16.417: Error:checksum mismatch, Last Line: 3639
    8:23:16.418: Resend: 3640
    8:23:17.927: Error:checksum mismatch, Last Line: 3641
    8:23:17.928: Resend: 3642
    8:23:19.443: Error:checksum mismatch, Last Line: 3649
    8:23:19.443: Resend: 3650
    8:23:20.871: Error:checksum mismatch, Last Line: 3652
    8:23:20.871: Resend: 3653
    8:23:21.470: Error:checksum mismatch, Last Line: 3658
    8:23:21.470: Resend: 3659
    8:23:22.959: Error:checksum mismatch, Last Line: 3661
    8:23:22.959: Resend: 3662
    8:23:24.228: Error:checksum mismatch, Last Line: 3665
    8:23:24.228: Resend: 3666
    8:23:24.459: Error:checksum mismatch, Last Line: 3667
    8:23:24.459: Resend: 3668
    8:23:25.791: Error:checksum mismatch, Last Line: 3669
    8:23:25.791: Resend: 3670
    8:23:27.124: Error:checksum mismatch, Last Line: 3672
    8:23:27.124: Resend: 3673
    8:23:28.073: Error:checksum mismatch, Last Line: 3675
    8:23:28.073: Resend: 3676
    8:23:29.275: Warning: Missed line detected - correcting buffer usage.
    8:23:31.044: Error:checksum mismatch, Last Line: 3689
    8:23:31.044: Resend: 3690
    8:23:32.585: Error:checksum mismatch, Last Line: 3691
    8:23:32.585: Resend: 3692
    8:23:34.008: Error:No Checksum with line number, Last Line: 3693
    8:23:34.008: Resend: 3694
    8:23:35.557: Error:checksum mismatch, Last Line: 3696
    8:23:35.557: Resend: 3697
    8:23:35.614: Error:No Checksum with line number, Last Line: 3699
    8:23:35.614: Resend: 3700
    8:23:37.026: Error:checksum mismatch, Last Line: 3701
    8:23:37.026: Resend: 3702
    8:23:38.614: Error:checksum mismatch, Last Line: 3703
    8:23:38.614: Resend: 3704
    8:23:41.676: Error:checksum mismatch, Last Line: 3708
    8:23:41.676: Resend: 3709
    8:23:41.728: Error:checksum mismatch, Last Line: 3711
    8:23:41.728: Resend: 3712
    8:23:44.747: Error:No Checksum with line number, Last Line: 3722
    8:23:44.747: Resend: 3723
    8:23:45.745: Error:checksum mismatch, Last Line: 3726
    8:23:45.745: Resend: 3727
    8:23:46.870: Error:No Checksum with line number, Last Line: 3729
    8:23:46.870: Resend: 3730
    8:23:48.121: Error:checksum mismatch, Last Line: 3731
    8:23:48.121: Resend: 3732
    8:23:49.884: Error:checksum mismatch, Last Line: 3734
    8:23:49.884: Resend: 3735
    8:23:49.918: Error:checksum mismatch, Last Line: 3735
    8:23:49.918: Resend: 3736
    8:24:32.389: Warning: Communication timeout - resetting communication buffer.
    8:24:32.389: Connection status: Buffered:39, Manual Commands: 2, Job Commands: 418
    8:24:32.389: Buffer used:39 Enforced free byte:39 lines stored:1
    8:24:32.408: Error:No Checksum with line number, Last Line: 3738
    8:24:32.408: Resend: 3739
    8:24:32.578: Error:No Checksum with line number, Last Line: 3740
    8:24:32.578: Resend: 3741
    8:24:32.611: Error:checksum mismatch, Last Line: 3741
    8:24:32.611: Resend: 3742
    8:24:33.461: Error:checksum mismatch, Last Line: 3742
    8:24:33.461: Resend: 3743
    8:24:34.474: Error:checksum mismatch, Last Line: 3747
    8:24:34.474: Resend: 3748
    8:24:34.825: Warning: Missed line detected - correcting buffer usage. (2)
    8:24:35.823: Error:checksum mismatch, Last Line: 3757
    8:24:35.823: Resend: 3758
    8:24:37.475: Error:checksum mismatch, Last Line: 3764
    8:24:37.475: Resend: 3765
    8:24:39.674: Error:checksum mismatch, Last Line: 3770
    8:24:39.674: Resend: 3771
    8:24:41.103: Error:checksum mismatch, Last Line: 3775
    8:24:41.103: Resend: 3776
    8:24:41.813: Error:checksum mismatch, Last Line: 3777
    8:24:41.813: Resend: 3778
    8:24:42.539: Error:checksum mismatch, Last Line: 3779
    8:24:42.539: Resend: 3780
    8:24:43.520: Error:checksum mismatch, Last Line: 3795
    8:24:43.520: Resend: 3796
    8:24:44.629: Error:checksum mismatch, Last Line: 3804
    8:24:44.629: Resend: 3805
    8:25:27.721: Warning: Communication timeout - resetting communication buffer.
    8:25:27.721: Connection status: Buffered:39, Manual Commands: 2, Job Commands: 356
    8:25:27.721: Buffer used:39 Enforced free byte:39 lines stored:1
    8:25:27.740: Error:No Checksum with line number, Last Line: 3816
    8:25:27.740: Resend: 3817
    8:25:27.814: Error:checksum mismatch, Last Line: 3818
    8:25:27.815: Resend: 3819
    8:25:27.848: Error:checksum mismatch, Last Line: 3819
    8:25:27.848: Resend: 3820
    8:25:28.910: Error:checksum mismatch, Last Line: 3823
    8:25:28.910: Resend: 3824
    8:25:30.099: Error:checksum mismatch, Last Line: 3828
    8:25:30.099: Resend: 3829
    8:25:30.777: Error:checksum mismatch, Last Line: 3832
    8:25:30.777: Resend: 3833
    8:25:32.125: Error:checksum mismatch, Last Line: 3836
    8:25:32.125: Resend: 3837
    8:25:32.880: Error:checksum mismatch, Last Line: 3838
    8:25:32.880: Resend: 3839
    8:25:34.467: Error:checksum mismatch, Last Line: 3844
    8:25:34.467: Resend: 3845
    8:25:35.305: Error:checksum mismatch, Last Line: 3847
    8:25:35.305: Resend: 3848
    8:25:36.175: Error:No Checksum with line number, Last Line: 3850
    8:25:36.175: Resend: 3851
    8:25:37.076: Error:checksum mismatch, Last Line: 3853
    8:25:37.076: Resend: 3854
    8:25:37.945: Error:checksum mismatch, Last Line: 3856
    8:25:37.945: Resend: 3857
    8:25:38.815: Error:checksum mismatch, Last Line: 3860
    8:25:38.815: Resend: 3861
    8:25:40.355: Error:checksum mismatch, Last Line: 3864
    8:25:40.355: Resend: 3865
    8:25:41.096: Error:checksum mismatch, Last Line: 3867
    8:25:41.096: Resend: 3868
    8:25:41.807: Error:No Checksum with line number, Last Line: 3870
    8:25:41.807: Resend: 3871
  • I installed Octoprint on the same hardware - print not done, but looks ok. No stops / no freezing.

    As I have paid for the software, I would like to use it ;-) Any idea? 
  • Yes, that is the switch to enable it. If you enable ACK you should see Nlinenumber after ok.

    With this frequency of errors you are exceeding the input buffer size. When that happens every x lines you get an error just like this. Octoprint only sends one command at a time (same as when you enable ping pong mode in repetier-server). But this is slower so better to reduce buffer size to 60 instead and try if it gets better. As a last resort you can use ping-pong but then you also should find the wait switch for marlin or at every missed "ok" you will get a timeout hang.
  • Thanks - will try that
Sign In or Register to comment.