Welcome! Log In Create A New Profile

Advanced

RH printer connect has hickups

Posted by justcurious 
RH printer connect has hickups
September 04, 2015 09:44AM
I have updated RH to ver 1.55 w7/64 version.
My fw is marlin 1.03.

When I connect printer with RH I get hickups in the negotiation with printer. This behaveour was not present in ver 1.06

Here is a copy of connection info with printer and it is very stable each time so what has changed?

15:33:24.670 : Printer reset detected - initalizing
15:33:24.670 : start
15:33:24.670 : echo: External Reset
15:33:24.670 : Marlin 1.0.3 dev
15:33:24.670 : echo: Last Updated: 2015-06-00 12:00 | Author: (xxxx, default config)
15:33:24.670 : Compiled: Sep 4 2015
15:33:24.670 : echo: Free Memory: 3816 PlannerBufferBytes: 1232
15:33:24.670 : echo:Hardcoded Default Settings Loaded
15:33:24.670 : echoconfused smileyteps per unit:
15:33:24.670 : echo: M92 X80.00 Y80.00 Z1281.00 E103.00
15:33:24.670 : echo:Maximum feedrates (mm/s):
15:33:24.670 : echo: M203 X250.00 Y250.00 Z4.00 E30.00
15:33:24.670 : echo:Maximum Acceleration (mm/s2):
15:33:24.670 : echo: M201 X3000 Y3000 Z100 E10000
15:33:24.670 : echo:Accelerations: P=printing, R=retract and T=travel
15:33:24.670 : echo: M204 P3000.00 R3000.00 T3000.00
15:33:24.670 : echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum XY jerk (mm/s), Z=maximum Z jerk (mm/s), E=maximum E jerk (mm/s)
15:33:24.670 : echo: M205 S0.00 T0.00 B20000 X20.00 Z1.00 E5.00
15:33:24.670 : echo:Home offset (mm):
15:33:24.670 : echo: M206 X0.00 Y0.00 Z0.00
15:33:24.670 : echo:Material heatup parameters:
15:33:24.670 : echo: M145 M0 H185 B60 F128
15:33:24.670 : echo: M145 M1 H230 B110 F0
15:33:24.670 : echotongue sticking out smileyID settings:
15:33:24.670 : echo: M301 P12.00 I0.80 D40.00 C1.00
15:33:24.670 : echo:Filament settings: Disabled
15:33:24.670 : echo: M200 D3.00
15:33:24.670 : echo: M200 D0
15:33:25.138 : N1 M110 *2
15:33:25.138 : N2 M115 *4
15:33:25.247 : N3 M105 *4
15:33:25.747 : CncPlugin: Change step size to 1 mm
15:33:25.762 : N4 M111 S6 *67
15:33:25.762 : N5 T0 *31
15:33:26.261 : FIRMWARE_NAME:Marlin 1.0.3 dev SOURCE_CODE_URL:http:// ... PROTOCOL_VERSION:1.0 MACHINE_TYPE:3D Printer EXTRUDER_COUNT:1 UUID:00000000-0000-0000-0000-000000000000
15:33:26.261 : N6 M107 *3
15:33:26.261 : N7 M80 *60
15:33:26.371 : Error:No Line Number with checksum, Last Line: 3
15:33:26.464 : Error:Line Number is not Last Line Number+1, Last Line: 3
15:33:26.464 : Resend: 4
15:33:26.480 : Resend: N4 M111 S6 *67
15:33:26.480 : Resend: N5 T0 *31
15:33:26.480 : Resend: N6 M107 *3
15:33:26.480 : Resend: N7 M80 *60
15:33:26.480 : N8 M220 S100 *73
15:33:26.480 : echo:Unknown command: ""

15:33:26.480 : N9 M221 S100 *73
15:33:26.776 : echo:Active Extruder: 0
15:33:26.776 : N10 M111 S6 *118
15:33:26.885 : N11 T0 *42
15:33:26.885 : N12 M105 *52
15:33:27.400 : echo:Active Extruder: 0
15:33:27.416 : N13 M105 *53
15:33:28.399 : CncPlugin: Change step size to 1 mm
15:33:28.399 : N1 M110 *2
15:33:28.399 : N2 M115 *4
15:33:28.399 : N3 M111 S6 *68
15:33:28.399 : N4 T0 *30
15:33:28.399 : N5 M107 *0
15:33:28.555 : FIRMWARE_NAME:Marlin 1.0.3 dev SOURCE_CODE_URL:http:// ... PROTOCOL_VERSION:1.0 MACHINE_TYPE:3D Printer EXTRUDER_COUNT:1 UUID:00000000-0000-0000-0000-000000000000
15:33:28.555 : N6 M80 *61
15:33:28.555 : N7 M105 *0
15:33:28.773 : echo:Active Extruder: 0
15:33:28.773 : N8 M220 S100 *73
15:33:28.867 : N9 M221 S100 *73
15:33:29.069 : N10 M111 S6 *118
15:33:29.179 : N11 T0 *42
15:33:29.491 : echo:Active Extruder: 0
15:33:29.600 : N12 M105 *52
15:33:30.692 : N13 M105 *53
15:33:31.784 : N14 M105 *50
15:33:32.876 : N15 M105 *51
15:33:33.968 : N16 M105 *48
15:33:35.060 : N17 M105 *49
15:33:36.152 : N18 M105 *62
15:33:37.244 : N19 M105 *63
15:33:38.336 : N20 M105 *53
15:33:39.428 : N21 M105 *52
15:33:40.520 : N22 M105 *55
15:33:41.612 : N23 M105 *54
15:33:42.704 : N24 M105 *49
15:33:43.796 : N25 M105 *48
15:33:44.888 : N26 M105 *51
15:33:45.980 : N27 M105 *50
.
Re: RH printer connect has hickups
September 04, 2015 10:58AM
I always got this problem on connect with most printers. For me this is nothing new. Only thing is I can not say why firmware has no problem with first 3 lines and has a communication error on 4th line. You could try reducing buffer size to 120byte and see if it gets better. You will get such errors if buffers available are exceeded. Since I only get this problem on connection and not during print I neglect it as connection problem.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: RH printer connect has hickups
September 04, 2015 11:17AM
Sounds strange to me.
I am quite sure it did not happen with ver 1.06 which I have used until now, actually I rejected current version some time ago due to this.
Host behaves a bit different if i select pingpong, only two commands are rejected as unknown commands at start up when this is activated.
Re: RH printer connect has hickups
September 04, 2015 11:23AM
Yes this is strange. The only printers not having the problem are the one having a FTDI driver instead of atmega 16U2. These also use a different windows driver. I never found out why this happens at startup and always thought it is a combination of .NET serial class and driver that makes some errors.

With pingpong you do only send one command at a time so there is no piled up command list that can cause multiple resends. That is no error it is just a result of the faster communication that we have to resend more.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: RH printer connect has hickups
September 04, 2015 12:10PM
Actually I have an azteeg x3 motherboard which do have ftdi drivers so this is not a valid experience :-(.
Has it any value verifying that ver 106 does not show this behaveour. I could easily install this again I presume?
Let me add that pingpong does not remove the problem it only gets a little better (2 resends instead of 4)

Edited 3 time(s). Last edit at 09/04/2015 12:13PM by justcurious.
Re: RH printer connect has hickups
September 04, 2015 12:58PM
2 Resends is one to much for ping pong. So maybe there is a counting wrong and we are still overfilling. I have to check that when I get some time. I guess it needs quite some internal debugging, also yes it would be interesting if 1.0.6 didn't have it. Haven't testen 1.5.5 with ftdi since all active printers do have the other solution.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: RH printer connect has hickups
September 05, 2015 04:23AM
Here is the same startup with RH 1.06 and no hickups., same FW and same reset procedure DTR toggling, tried various buffer settings with 1.55 but with only minor influence of the problem:
10:14:55.511 : start
10:14:55.511 : echo: External Reset
10:14:55.511 : Marlin 1.0.3 dev
10:14:55.511 : echo: Last Updated: 2015-06-00 12:00 | Author: (xxxxx, default config)
10:14:55.511 : Compiled: Sep 4 2015
10:14:55.511 : echo: Free Memory: 2460 PlannerBufferBytes: 2464
10:14:55.511 : echo:Hardcoded Default Settings Loaded
10:14:55.511 : echoconfused smileyteps per unit:
10:14:55.511 : echo: M92 X80.00 Y80.00 Z1281.00 E103.00
10:14:55.511 : echo:Maximum feedrates (mm/s):
10:14:55.511 : echo: M203 X250.00 Y250.00 Z4.00 E30.00
10:14:55.511 : echo:Maximum Acceleration (mm/s2):
10:14:55.511 : echo: M201 X3000 Y3000 Z100 E10000
10:14:55.511 : echo:Accelerations: P=printing, R=retract and T=travel
10:14:55.511 : echo: M204 P3000.00 R3000.00 T3000.00
10:14:55.511 : echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum XY jerk (mm/s), Z=maximum Z jerk (mm/s), E=maximum E jerk (mm/s)
10:14:55.511 : echo: M205 S0.00 T0.00 B20000 X20.00 Z1.00 E5.00
10:14:55.511 : echo:Home offset (mm):
10:14:55.511 : echo: M206 X0.00 Y0.00 Z0.00
10:14:55.511 : echo:Material heatup parameters:
10:14:55.511 : echo: M145 M0 H185 B60 F128
10:14:55.511 : echo: M145 M1 H230 B110 F0
10:14:55.511 : echotongue sticking out smileyID settings:
10:14:55.511 : echo: M301 P12.00 I0.80 D40.00 C1.00
10:14:55.511 : echo:Filament settings: Disabled
10:14:55.511 : echo: M200 D3.00
10:14:55.511 : echo: M200 D0
10:14:56.010 : N1 M110 *2
10:14:56.010 : N1 M110 *2
10:14:56.010 : N2 M115 *4
10:14:56.120 : N3 M105 *4
10:14:56.556 : N4 M111 S6 *67
10:14:56.556 : N5 T0 *31
10:14:56.556 : N6 M20 *55
10:14:56.556 : N7 M80 *60
10:14:56.978 : ok
10:14:57.087 : ok
10:14:57.196 : FIRMWARE_NAME:Marlin 1.0.3 dev SOURCE_CODE_URL:http:// ... PROTOCOL_VERSION:1.0 MACHINE_TYPE:3D Printer EXTRUDER_COUNT:1 UUID:00000000-0000-0000-0000-000000000000
10:14:57.196 : ok
10:14:57.196 : N8 M105 *15
10:14:57.196 : N9 M220 S100 *72
10:14:57.196 : N10 M221 S100 *113
10:14:57.414 : ok
10:14:57.414 : N11 M111 S6 *119
10:14:57.508 : echo:Active Extruder: 0
10:14:57.508 : ok
10:14:57.508 : N12 T0 *41
10:14:57.617 : Begin file list
10:14:57.617 : End file list
10:14:57.617 : ok
10:14:57.711 : ok
10:14:57.914 : ok
10:14:58.038 : ok
10:14:58.132 : ok
10:14:58.241 : echo:Active Extruder: 0
10:14:58.241 : ok
10:14:58.288 : N13 M105 *53
10:14:59.380 : N14 M105 *50
10:15:00.472 : N15 M105 *51
10:15:01.564 : N16 M105 *48
10:15:02.656 : N17 M105 *49
Re: RH printer connect has hickups
September 08, 2015 08:34AM
Please try the new 1.5.6 version. I think I have found a way that also Arduino Megas do not get resends. At least I didn't get one and I could remove the "Reset on connect" setting:-)


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: RH printer connect has hickups
September 08, 2015 11:53AM
Ok, interesting

I gave it a try and it looks like resends has disappeared, so that is positive.
However I still wonder why 2 external resets are detected according to log, but that may be a matter of understanding the procedure? :-)

A second reset is detected 10 secs after last command sent in first init:
17:59:26.207 : N1 M110 *2
17:59:26.207 : N2 M115 *4
17:59:26.207 : N3 M105 *4
17:59:26.207 : N4 M114 *3
17:59:35.255 : Printer reset detected - initalizing

Edited 1 time(s). Last edit at 09/08/2015 12:05PM by justcurious.
Re: RH printer connect has hickups
September 08, 2015 01:01PM
It looks like further testing with different FW versions verify the above experience .
Some dely in FW after ini commands .....M114 probably cause RH to timeout and issue a new reset, or what else could explain that?

Edited 1 time(s). Last edit at 09/08/2015 01:13PM by justcurious.
Re: RH printer connect has hickups
September 10, 2015 12:24PM
Well, did some futher research and as far as I can see it looks like dual reset to printer during connect only happens if this switch is set in printer config setup:
"Send ETA to printer display"

Weird..
Re: RH printer connect has hickups
September 10, 2015 01:05PM
Are you talking about the new 1.5.6 release? In the old there was the initalization started twice while host was resetting firmware. So depending on timing and luck you could get a resend error or not. After the fix I couldn't reproduce it any more.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: RH printer connect has hickups
September 10, 2015 01:11PM
1.5.6....

19:06:25.189 : start
19:06:25.189 : echo: External Reset
19:06:25.189 : Marlin 1.1.0 dev
19:06:25.189 : echo: Last Updated: 2015-08-00 12:00 | Author: (xxxxx, default config)
19:06:25.189 : Compiled: Sep 10 2015
19:06:25.189 : echo: Free Memory: 4974 PlannerBufferBytes: 1232
19:06:25.189 : echo:Hardcoded Default Settings Loaded
19:06:25.189 : echoconfused smileyteps per unit:
19:06:25.189 : echo: M92 X80.00 Y80.00 Z1281.00 E103.00
19:06:25.189 : echo:Maximum feedrates (mm/s):
19:06:25.189 : echo: M203 X250.00 Y250.00 Z4.00 E30.00
19:06:25.189 : echo:Maximum Acceleration (mm/s2):
19:06:25.189 : echo: M201 X3000 Y3000 Z3000 E3000
19:06:25.189 : echo:Accelerations: P=printing, R=retract and T=travel
19:06:25.189 : echo: M204 P3000.00 R3000.00 T3000.00
19:06:25.189 : echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum XY jerk (mm/s), Z=maximum Z jerk (mm/s), E=maximum E jerk (mm/s)
19:06:25.189 : echo: M205 S0.00 T0.00 B20000 X20.00 Z1.00 E5.00
19:06:25.189 : echo:Home offset (mm):
19:06:25.189 : echo: M206 X0.00 Y0.00 Z0.00
19:06:25.189 : echo:Material heatup parameters:
19:06:25.189 : echo: M145 M0 H180 B60 F128
19:06:25.189 : echo: M145 M1 H230 B110 F128
19:06:25.189 : echotongue sticking out smileyID settings:
19:06:25.189 : echo: M301 P12.00 I0.80 D40.00 C1.00
19:06:25.189 : echo: M304 P159.00 I26.00 D242.00
19:06:25.189 : echo:Filament settings: Disabled
19:06:25.189 : echo: M200 D3.00
19:06:25.189 : echo: M200 D0
19:06:25.392 : N1 M110 *2
19:06:25.392 : N2 M115 *4
19:06:25.392 : N3 M105 *4
19:06:25.392 : N4 M114 *3
19:06:34.443 : start
19:06:34.443 : echo: External Reset
19:06:34.443 : Marlin 1.1.0 dev
19:06:34.443 : echo: Last Updated: 2015-08-00 12:00 | Author: (xxxxx, default config)
19:06:34.443 : N1 M111 S6 *70
19:06:34.443 : Compiled: Sep 10 2015
19:06:34.443 : echo: Free Memory: 4974 PlannerBufferBytes: 1232
19:06:34.443 : N2 T0 *24
19:06:34.443 : echo:Hardcoded Default Settings Loaded
19:06:34.443 : N3 M80 *56
19:06:34.443 : N4 M105 *3
19:06:34.443 : echoconfused smileyteps per unit:
19:06:34.443 : echo: M92 X80.00 Y80.00 Z1281.00 E103.00
19:06:34.443 : echo:Maximum feedrates (mm/s):
19:06:34.443 : echo: M203 X250.00 Y250.00 Z4.00 E30.00
19:06:34.443 : echo:Maximum Acceleration (mm/s2):
19:06:34.443 : echo: M201 X3000 Y3000 Z3000 E3000
19:06:34.443 : echo:Accelerations: P=printing, R=retract and T=travel
19:06:34.443 : echo: M204 P3000.00 R3000.00 T3000.00
19:06:34.443 : echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum XY jerk (mm/s), Z=maximum Z jerk (mm/s), E=maximum E jerk (mm/s)
19:06:34.459 : echo: M205 S0.00 T0.00 B20000 X20.00 Z1.00 E5.00
19:06:34.459 : echo:Home offset (mm):
19:06:34.459 : echo: M206 X0.00 Y0.00 Z0.00
19:06:34.459 : echo:Material heatup parameters:
19:06:34.459 : echo: M145 M0 H180 B60 F128
19:06:34.459 : echo: M145 M1 H230 B110 F128
19:06:34.459 : echotongue sticking out smileyID settings:
19:06:34.459 : echo: M301 P12.00 I0.80 D40.00 C1.00
19:06:34.459 : echo: M304 P159.00 I26.00 D242.00
19:06:34.459 : echo:Filament settings: Disabled
19:06:34.459 : echo: M200 D3.00
19:06:34.459 : echo: M200 D0
19:06:34.646 : N1 M110 *2
19:06:40.621 : N2 M115 *4
19:06:40.714 : echo:Active Extruder: 0
19:06:40.714 : N3 M105 *4
19:06:40.714 : N4 M114 *3
19:06:40.761 : N5 M111 S6 *66
19:06:40.761 : N6 T0 *28
19:06:40.761 : N7 M80 *60
19:06:40.761 : N8 M220 S100 *73
19:06:40.777 : N9 M221 S100 *73
19:06:40.777 : echo:Active Extruder: 0
19:06:40.777 : N10 M111 S6 *118
19:06:40.777 : N11 T0 *42
19:06:40.792 : echo:Active Extruder: 0
19:06:41.728 : N12 M105 *52
19:06:42.820 : N13 M105 *53
19:06:43.912 : N14 M105 *50
19:06:45.004 : N15 M105 *51
19:06:46.096 : N16 M105 *48
19:06:47.188 : N17 M105 *49

Edited 1 time(s). Last edit at 09/10/2015 01:13PM by justcurious.
Attachments:
open | download - Version.JPG (13.5 KB)
Re: RH printer connect has hickups
September 10, 2015 01:42PM
Very strange. Here is how it looks for me with Marlin 1.0.2 on RAMPS+LCD

19:37:01.488 : Printer reset detected - initalizing
19:37:01.488 : start
19:37:01.488 : echo: External Reset
19:37:01.488 : Marlin1.0.2
19:37:01.504 : echo: Last Updated: Sep 10 2015 15:22:53 | Author: (none, default config)
19:37:01.504 : Compiled: Sep 10 2015
19:37:01.504 : echo: Free Memory: 3762  PlannerBufferBytes: 1232
19:37:01.504 : echo:Hardcoded Default Settings Loaded
19:37:01.504 : echoconfused smileyteps per unit:
19:37:01.519 : echo:  M92 X100.00 Y100.00 Z100.00 E140.00
19:37:01.519 : echo:Maximum feedrates (mm/s):
19:37:01.519 : echo:  M203 X200.00 Y200.00 Z50.00 E25.00
19:37:01.535 : echo:Maximum Acceleration (mm/s2):
19:37:01.535 : echo:  M201 X3000 Y3000 Z100 E10000
19:37:01.535 : echo:Acceleration: S=acceleration, T=retract acceleration
19:37:01.535 : echo:  M204 S3000.00 T3000.00
19:37:01.551 : echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum XY jerk (mm/s),  Z=maximum Z jerk (mm/s),  E=maximum E jerk (mm/s)
19:37:01.551 : echo:  M205 S0.00 T0.00 B20000 X20.00 Z0.40 E5.00
19:37:01.551 : echo:Home offset (mm):
19:37:01.566 : echo:  M206 X0.00 Y0.00 Z0.00
19:37:01.566 : echotongue sticking out smileyID settings:
19:37:01.566 : echo:   M301 P22.20 I1.08 D114.00
19:37:01.675 : N1 M110 *2
19:37:01.675 : N2 M115 *4
19:37:01.675 : N3 M105 *4
19:37:01.675 : N4 M114 *3
19:37:01.675 : N5 M111 S6 *66
19:37:01.675 : N6 T0 *28
19:37:01.675 : N7 M20 *54
19:37:01.675 : N8 M80 *51
19:37:03.001 : N9 M20 *56
19:37:03.001 : echoconfused smileyD card ok
19:37:03.001 : ok
19:37:03.033 : FIRMWARE_NAME:Marlin V1.0.2; Sprinter/grbl mashup for gen6 FIRMWARE_URL:[github.com] PROTOCOL_VERSION:1.0 MACHINE_TYPE:Mendel EXTRUDER_COUNT:1 UUID:00000000-0000-0000-0000-000000000000
19:37:03.033 : N10 M220 S100 *112
19:37:03.033 : ok
19:37:03.048 : ok T:44.4 /0.0 B:26.4 /0.0 T0:44.4 /0.0 @:0 B@:0
19:37:03.048 : N11 M221 S100 *112
19:37:03.048 : X:0.00 Y:0.00 Z:0.00 E:0.00 Count X: 0.00 Y:0.00 Z:0.00
19:37:03.048 : ok
19:37:03.048 : ok
19:37:03.048 : N12 M111 S6 *116
19:37:03.048 : N13 T0 *40
19:37:03.048 : echo:Active Extruder: 0
19:37:03.048 : ok
19:37:03.048 : Begin file list
19:37:03.048 : End file list
19:37:03.048 : ok
19:37:03.048 : ok
19:37:03.048 : Begin file list
19:37:03.048 : End file list
19:37:03.064 : ok
19:37:03.064 : ok
19:37:03.064 : ok
19:37:03.064 : ok
19:37:03.064 : echo:Active Extruder: 0
19:37:03.064 : ok
19:37:04.733 : N14 M105 *50
19:37:04.733 : ok T:44.2 /0.0 B:26.2 /0.0 T0:44.2 /0.0 @:0 B@:0
19:37:07.791 : N15 M105 *51
19:37:07.791 : ok T:44.1 /0.0 B:26.4 /0.0 T0:44.1 /0.0 @:0 B@:0
19:37:10.848 : N16 M105 *48
19:37:10.942 : ok T:44.1 /0.0 B:26.1 /0.0 T0:44.1 /0.0 @:0 B@:0
19:37:13.906 : N17 M105 *49
19:37:13.937 : ok T:43.8 /0.0 B:26.3 /0.0 T0:43.8 /0.0 @:0 B@:0
19:37:16.963 : N18 M105 *62
19:37:16.963 : ok T:43.8 /0.0 B:26.4 /0.0 T0:43.8 /0.0 @:0 B@:0
19:37:20.021 : N19 M105 *63
19:37:20.021 : ok T:43.5 /0.0 B:26.4 /0.0 T0:43.5 /0.0 @:0 B@:0
19:37:23.079 : N20 M105 *53
19:37:23.266 : ok T:43.5 /0.0 B:26.3 /0.0 T0:43.5 /0.0 @:0 B@:0
19:37:26.136 : N21 M105 *52
19:37:26.136 : ok T:43.3 /0.0 B:26.4 /0.0 T0:43.3 /0.0 @:0 B@:0
19:37:29.194 : N22 M105 *55
19:37:29.287 : ok T:43.2 /0.0 B:26.2 /0.0 T0:43.2 /0.0 @:0 B@:0
19:37:32.251 : N23 M105 *54
19:37:32.454 : ok T:43.0 /0.0 B:26.3 /0.0 T0:43.0 /0.0 @:0 B@:0

It even has send ETA enabled, which is of no importance since it only gets send while printing.

Could you post again with commands and ACK enabled in log.It looks like you connect see data and before getting any answer if resets after 9 second without having returned any ok at all. If that is correct the question is what does the firmware do there and is it then the watchdog making the reset. Not sure if you can see a watchdog reset in marlin.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: RH printer connect has hickups
September 10, 2015 02:43PM
I am currently running Marlin dev version (1.03) (new challenges) but I will try to go back to 1.02 release and see if there is a difference.
Re: RH printer connect has hickups
September 10, 2015 03:22PM
I have now loaded Marlin v1.02 rel.
It does look different for some reason and does not have the hickup on start and only one reset. (ignore delay 21:15:03 probablycaused by SD not connected ) which cannot be disabled in sw).

In both cases watchdog has not been enabled (to my knowledge)

21:14:59.521 : Printer reset detected - initalizing
21:14:59.521 : start
21:14:59.521 : echo: External Reset
21:14:59.521 : Marlin1.0.2
21:14:59.521 : echo: Last Updated: Sep 10 2015 21:13:44 | Author: (xxxxx, default config)
21:14:59.521 : Compiled: Sep 10 2015
21:14:59.521 : echo: Free Memory: 3663 PlannerBufferBytes: 1232
21:14:59.521 : echo:Hardcoded Default Settings Loaded
21:14:59.521 : echoconfused smileyteps per unit:
21:14:59.521 : echo: M92 X80.00 Y80.00 Z1281.00 E103.00
21:14:59.521 : echo:Maximum feedrates (mm/s):
21:14:59.521 : echo: M203 X250.00 Y250.00 Z4.00 E30.00
21:14:59.521 : echo:Maximum Acceleration (mm/s2):
21:14:59.521 : echo: M201 X3000 Y3000 Z3000 E3000
21:14:59.521 : echo:Acceleration: S=acceleration, T=retract acceleration
21:14:59.521 : echo: M204 S3000.00 T3000.00
21:14:59.521 : echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum XY jerk (mm/s), Z=maximum Z jerk (mm/s), E=maximum E jerk (mm/s)
21:14:59.521 : echo: M205 S0.00 T0.00 B20000 X20.00 Z1.00 E5.00
21:14:59.521 : echo:Home offset (mm):
21:14:59.521 : echo: M206 X0.00 Y0.00 Z0.00
21:14:59.521 : echotongue sticking out smileyID settings:
21:14:59.521 : echo: M301 P12.00 I0.80 D40.00
21:14:59.677 : N1 M110 *2
21:14:59.677 : N2 M115 *4
21:14:59.677 : N3 M105 *4
21:14:59.677 : N4 M114 *3
21:15:03.109 : echoconfused smileyD init fail
21:15:03.109 : ok
21:15:03.109 : N5 M111 S6 *66
21:15:03.109 : N6 T0 *28
21:15:03.421 : FIRMWARE_NAME:Marlin V1.0.2; Sprinter/grbl mashup for gen6 FIRMWARE_URL:[github.com] PROTOCOL_VERSION:1.0 MACHINE_TYPE:Mendel EXTRUDER_COUNT:2 UUID:00000000-0000-0000-0000-000000000000
21:15:03.421 : ok
21:15:03.421 : ok T:14.1 /0.0 B:0.0 /0.0 T0:14.1 /0.0 T1:14.3 /0.0 @:0 B@:0
21:15:03.421 : N7 M80 *60
21:15:03.421 : X:0.00 Y:0.00 Z:0.00 E:0.00 Count X: 0.00 Y:0.00 Z:0.00
21:15:03.421 : ok
21:15:03.421 : N8 M105 *15
21:15:03.421 : ok
21:15:03.421 : echo:Active Extruder: 0
21:15:03.421 : ok
21:15:03.421 : N9 M220 S100 *72
21:15:03.421 : N10 M221 S100 *113
21:15:03.436 : ok
21:15:03.436 : ok T:14.1 /0.0 B:0.0 /0.0 T0:14.1 /0.0 T1:14.3 /0.0 @:0 B@:0
21:15:03.436 : ok
21:15:03.436 : ok
21:15:03.436 : N11 M111 S6 *119
21:15:03.436 : N12 T0 *41
21:15:03.452 : ok
21:15:03.452 : echo:Active Extruder: 0
21:15:03.452 : ok
21:15:04.045 : N13 M105 *53
21:15:04.045 : ok T:14.6 /0.0 B:0.0 /0.0 T0:14.6 /0.0 T1:14.1 /0.0 @:0 B@:0
21:15:05.137 : N14 M105 *50
21:15:05.137 : ok T:14.4 /0.0 B:0.0 /0.0 T0:14.4 /0.0 T1:14.7 /0.0 @:0 B@:0
21:15:06.228 : N15 M105 *51

Edited 1 time(s). Last edit at 09/10/2015 03:24PM by justcurious.
Re: RH printer connect has hickups
September 10, 2015 03:29PM
Well never rely on a single test.
The post below was a second printer connect with 1.02 rel version.
To me it looks like the first connect after fw update has a different looking init than the following second attempt:

21:25:44.287 : Printer reset detected - initalizing
21:25:44.287 : start
21:25:44.287 : echo: External Reset
21:25:44.287 : Marlin1.0.2
21:25:44.287 : echo: Last Updated: Sep 10 2015 21:13:44 | Author: (xxxxx, default config)
21:25:44.287 : Compiled: Sep 10 2015
21:25:44.287 : echo: Free Memory: 3663 PlannerBufferBytes: 1232
21:25:44.287 : echo:Hardcoded Default Settings Loaded
21:25:44.287 : echoconfused smileyteps per unit:
21:25:44.287 : echo: M92 X80.00 Y80.00 Z1281.00 E103.00
21:25:44.287 : echo:Maximum feedrates (mm/s):
21:25:44.287 : echo: M203 X250.00 Y250.00 Z4.00 E30.00
21:25:44.287 : echo:Maximum Acceleration (mm/s2):
21:25:44.287 : echo: M201 X3000 Y3000 Z3000 E3000
21:25:44.287 : echo:Acceleration: S=acceleration, T=retract acceleration
21:25:44.287 : echo: M204 S3000.00 T3000.00
21:25:44.302 : echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum XY jerk (mm/s), Z=maximum Z jerk (mm/s), E=maximum E jerk (mm/s)
21:25:44.302 : echo: M205 S0.00 T0.00 B20000 X20.00 Z1.00 E5.00
21:25:44.302 : echo:Home offset (mm):
21:25:44.302 : echo: M206 X0.00 Y0.00 Z0.00
21:25:44.302 : echotongue sticking out smileyID settings:
21:25:44.302 : echo: M301 P12.00 I0.80 D40.00
21:25:44.443 : N1 M110 *2
21:25:44.443 : N2 M115 *4
21:25:44.443 : N3 M105 *4
21:25:44.443 : N4 M114 *3
21:25:53.479 : Printer reset detected - initalizing
21:25:53.479 : start
21:25:53.479 : N1 M111 S6 *70
21:25:53.479 : echo: External Reset
21:25:53.479 : Marlin1.0.2
21:25:53.479 : N2 T0 *24
21:25:53.479 : N3 M80 *56
21:25:53.479 : N4 M105 *3
21:25:53.479 : echo: Last Updated: Sep 10 2015 21:13:44 | Author: (xxxxx, default config)
21:25:53.495 : Compiled: Sep 10 2015
21:25:53.495 : echo: Free Memory: 3663 PlannerBufferBytes: 1232
21:25:53.495 : echo:Hardcoded Default Settings Loaded
21:25:53.495 : echoconfused smileyteps per unit:
21:25:53.495 : echo: M92 X80.00 Y80.00 Z1281.00 E103.00
21:25:53.495 : echo:Maximum feedrates (mm/s):
21:25:53.495 : echo: M203 X250.00 Y250.00 Z4.00 E30.00
21:25:53.495 : echo:Maximum Acceleration (mm/s2):
21:25:53.495 : echo: M201 X3000 Y3000 Z3000 E3000
21:25:53.495 : echo:Acceleration: S=acceleration, T=retract acceleration
21:25:53.495 : echo: M204 S3000.00 T3000.00
21:25:53.495 : echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum XY jerk (mm/s), Z=maximum Z jerk (mm/s), E=maximum E jerk (mm/s)
21:25:53.495 : echo: M205 S0.00 T0.00 B20000 X20.00 Z1.00 E5.00
21:25:53.495 : echo:Home offset (mm):
21:25:53.495 : echo: M206 X0.00 Y0.00 Z0.00
21:25:53.495 : echotongue sticking out smileyID settings:
21:25:53.495 : echo: M301 P12.00 I0.80 D40.00
21:25:53.651 : N1 M110 *2
21:25:57.074 : echoconfused smileyD init fail
21:25:57.074 : ok
21:25:57.074 : N2 M115 *4
21:25:57.355 : echo:Active Extruder: 0
21:25:57.355 : ok
21:25:57.355 : N3 M105 *4
21:25:57.386 : ok
21:25:57.386 : N4 M114 *3
21:25:57.386 : ok T:14.1 /0.0 B:0.0 /0.0 T0:14.1 /0.0 T1:14.6 /0.0 @:0 B@:0
21:25:57.386 : ok
21:25:57.386 : N5 M111 S6 *66
21:25:57.386 : N6 T0 *28
21:25:57.386 : FIRMWARE_NAME:Marlin V1.0.2; Sprinter/grbl mashup for gen6 FIRMWARE_URL:[github.com] PROTOCOL_VERSION:1.0 MACHINE_TYPE:Mendel EXTRUDER_COUNT:2 UUID:00000000-0000-0000-0000-000000000000
21:25:57.386 : ok
21:25:57.386 : ok T:14.1 /0.0 B:0.0 /0.0 T0:14.1 /0.0 T1:14.6 /0.0 @:0 B@:0
21:25:57.386 : N7 M80 *60
21:25:57.402 : X:0.00 Y:0.00 Z:0.00 E:0.00 Count X: 0.00 Y:0.00 Z:0.00
21:25:57.402 : ok
21:25:57.402 : ok
21:25:57.402 : N8 M220 S100 *73
21:25:57.402 : N9 M221 S100 *73
21:25:57.402 : echo:Active Extruder: 0
21:25:57.402 : ok
21:25:57.402 : ok
21:25:57.402 : N10 M111 S6 *118
21:25:57.417 : ok
21:25:57.417 : ok
21:25:57.417 : ok
21:25:57.417 : N11 T0 *42
21:25:57.433 : echo:Active Extruder: 0
21:25:57.433 : ok
21:25:57.589 : N12 M105 *52
21:25:57.589 : ok T:13.9 /0.0 B:0.0 /0.0 T0:13.9 /0.0 T1:14.5 /0.0 @:0 B@:0
21:25:58.676 : N13 M105 *53
21:25:58.691 : ok T:14.5 /0.0 B:0.0 /0.0 T0:14.5 /0.0 T1:15.2 /0.0 @:0 B@:0
Re: RH printer connect has hickups
September 11, 2015 03:06AM
I guess we need to dig deeper. It is in deed a reset before any send command was handled. The reset sequence takes < 2 seconds on connection start. That is where the first start comes from. So what makes it take 8 seconds and reset then.

Looking in more dtail I see when it works you get aufter 3.5 seconds a sd init fail. When it resets again you do not get that message. So maybe sd initalization resets instead of failing. Just a guess.
Does it also happen if you have sd card inserted? Or sd disabled completely?

BTW: What board/LCD are you using?


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: RH printer connect has hickups
September 11, 2015 03:53AM
I have a Azteeg x3 mega 2560 cpu and a Panucatt Viki LCD display with integrated SD card but I do not use SD so it is not wired which causes these init errors with SD.
With the first tests I used latest dev FW (1.03) and SD was disabled (SDSUPPORT) but still 2 resets during Connect.
It is a bit more complicated to disble SDSUPPORT with 1.02 release as it is a lot of spaghetti code but I have ignored SD init as the symptoms was still present if SD was disabled in 1.03.
Watcdog is neither enabled but who knows :-(...
Also remember that these sypmtoms does not show with RH1.06
Re: RH printer connect has hickups
September 11, 2015 05:34AM
This string is sent to log but not found in marlin code so RH have decided that printer must be reset?
11:30:46.593 : Printer reset detected - initalizing
11:30:46.593 : start
11:30:46.593 : N1 M111 S6 *70
Re: RH printer connect has hickups
September 11, 2015 05:59AM
Yes, "Printer reset detected - initalizing" comes in response to "start" from firmware. This is only on restart of printer that it sends start so it must be reset (which is what host initally tried). SO that is correct only the message is new in 1.5


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: RH printer connect has hickups
September 11, 2015 07:50AM
I assume which of course could be wrong, that Marlin only is issuing "start" if it has been reset physically by Host, is there any other way of resetting printer?
Re: RH printer connect has hickups
September 11, 2015 08:02AM
No, "Start" comes after every reset. Just hit reset key on the board and you will see it happen again. You can also do a software reset or trigger watchdog to get the same. There is nothing the firmware can do against this (beside self inflliced resets).


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: RH printer connect has hickups
September 11, 2015 09:46AM
Yes but different resets has different messages coded in FW.
This message is unuque to physical reset: "echo: External Reset"
Re: RH printer connect has hickups
September 11, 2015 01:51PM
I did some further measures.
I can verify that RH issues several DTR resets during power up, but it is not consistent how many and always only one after fw download..
I can see that my display/board has different bootup times. Sometimes it needs 10 secs to boot and sometimes one or a few seconds.
RH may sometimes issue an extra reset after 1 sec after line 4 or more after 10 secs. i do not know your timing or conditions for timeout, but it is troublesome to not get consistent measures.
It would be fine to have startup conditions descrbed for both RH and Marlin to optimize connection.

Could it be that your reset pulse is a bit short?
If I press reset on my manually resetbutton at motherboard, boot time is very consistent and always app 1 sec.
May I suggest that your pulse is streched a bit for a test scenario?
Current DTR resetpulse is 1ms and my capacitor for reset is 0.1uF

With further measures I would doubt that a larger pulsewidth would change anything. with 0.1uF reset level barely reach 0.9V which is limit for AVR reset as far as I know.
With manual reset or reset by Pronterface booting is app 1 sec each. Why pronterface is different I wonder as the pulse is the same.
But it is a fact that reset is not good with RH DTR pulse or other sw influence.

Edited 3 time(s). Last edit at 09/11/2015 02:50PM by justcurious.
Re: RH printer connect has hickups
September 12, 2015 02:32AM
Host starts with drt/rts low and had a 1s delay before turning them high. In a second firmware can achieve already some stuff. So reduced it to 10ms in this version:

[dl.dropboxusercontent.com]

For me it still works creating a reset. I also tested sd influence. With sd card I have 1.5s delay and without I get the same 3s delay you get, so that delay is sd related or at least 1.5s. In the same period also firmware gets initialized.

Hope this faster reset works for you. There was before a reset on connect type that had a 200ms delay, which I guess must be the one you had selected. All others had a 1s delay.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: RH printer connect has hickups
September 12, 2015 03:09AM
Hurraaaaeeehhh....that made a difference.
I made a logon to printer with RH 10+ times and succeded every time with a short reset time and no hickups.
i am impressed that you used your saturday morning on this, but it looks like it was worth the effort.

Thankyou, I hope this will be the official version, even that I not fully understand why this one is different.

09:01:41.944 : Printer reset detected - initalizing
09:01:41.944 : start
09:01:41.944 : echo: External Reset
09:01:41.944 : Marlin 1.1.0 dev
09:01:41.944 : echo: Last Updated: 2015-08-00 12:00 | Author: (xxxxx, default config)
09:01:41.944 : Compiled: Sep 11 2015
09:01:41.944 : echo: Free Memory: 5012 PlannerBufferBytes: 1232
09:01:41.944 : echo:Hardcoded Default Settings Loaded
09:01:41.944 : echoconfused smileyteps per unit:
09:01:41.944 : echo: M92 X80.00 Y80.00 Z1281.00 E103.00
09:01:41.944 : echo:Maximum feedrates (mm/s):
09:01:41.944 : echo: M203 X250.00 Y250.00 Z4.00 E30.00
09:01:41.944 : echo:Maximum Acceleration (mm/s2):
09:01:41.944 : echo: M201 X3000 Y3000 Z3000 E3000
09:01:41.944 : echo:Accelerations: P=printing, R=retract and T=travel
09:01:41.944 : echo: M204 P3000.00 R3000.00 T3000.00
09:01:41.944 : echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum XY jerk (mm/s), Z=maximum Z jerk (mm/s), E=maximum E jerk (mm/s)
09:01:41.944 : echo: M205 S0.00 T0.00 B20000 X20.00 Z1.00 E5.00
09:01:41.944 : echo:Home offset (mm):
09:01:41.944 : echo: M206 X0.00 Y0.00 Z0.00
09:01:41.944 : echo:Material heatup parameters:
09:01:41.944 : echo: M145 M0 H180 B60 F128
09:01:41.944 : echo: M145 M1 H230 B110 F128
09:01:41.944 : echotongue sticking out smileyID settings:
09:01:41.944 : echo: M301 P12.00 I0.80 D40.00 C1.00
09:01:41.944 : echo: M304 P159.00 I26.00 D242.00
09:01:41.944 : echo:Filament settings: Disabled
09:01:41.944 : echo: M200 D3.00
09:01:41.944 : echo: M200 D0
09:01:42.162 : N1 M110 *2
09:01:42.162 : N2 M115 *4
09:01:42.162 : N3 M105 *4
09:01:42.162 : N4 M114 *3
09:01:42.396 : ok
09:01:42.396 : N5 M111 S6 *66
09:01:42.396 : N6 T0 *28
09:01:42.521 : FIRMWARE_NAME:Marlin 1.1.0 Development From Archive SOURCE_CODE_URL:http:// ... PROTOCOL_VERSION:1.0 MACHINE_TYPE:3D Printer EXTRUDER_COUNT:1 UUID:00000000-0000-0000-0000-000000000000
09:01:42.521 : ok
09:01:42.521 : ok T:12.0 /0.0 B:12.8 /0.0 T0:12.0 /0.0 @:0 B@:0
09:01:42.521 : N7 M80 *60
09:01:42.521 : X:0.00 Y:0.00 Z:0.00 E:0.00 Count X: 0.00 Y:0.00 Z:0.00
09:01:42.521 : ok
09:01:42.521 : ok
09:01:42.521 : echo:Active Extruder: 0
09:01:42.521 : ok
09:01:42.521 : N8 M220 S100 *73
09:01:42.521 : N9 M221 S100 *73
09:01:42.536 : ok
09:01:42.536 : ok
09:01:42.536 : N10 M111 S6 *118
Re: RH printer connect has hickups
September 13, 2015 04:28AM
I see no disadvantages for this new version. It is rather faster then slower so I made it the new 1.5.6.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Sorry, only registered users may post in this forum.

Click here to login