Communication timeout problem since marlin firmware update

What is the problem?

Since i upgrade my firmware to marlin 2.1.1, my printer stop regularly and this message appear: Communication timeout during an active resend, resending same line again to trigger response from printer. Configure long running commands or increase communication timeout if that happens regularly on specific commands or long moves. If i print direct from printer, everything is perfect!!!!

What did you already try to solve it?

i change my cable like i see on some post. i try 3 cables, nothing change

Have you tried running in safe mode?

no, cause i dont know why, but i dont have safe mode icon

octoprint-systeminfo-20230908151210.zip (100.2 KB)

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)

WRITE HERE

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

Server on asus laptop, firmware marlin 2.1.1.

Changing monitoring state from "Offline" to "Detecting serial connection"
Performing autodetection with 7 port/baudrate candidates: COM4@115200, COM4@250000, COM4@230400, COM4@57600, COM4@38400, COM4@19200, COM4@9600
Trying port COM4, baudrate 115200
Connecting to port COM4, baudrate 115200
Handshake attempt #1 with timeout 5.0s
Connected to: Serial<id=0x16869adef80, open=True>(port='COM4', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=5.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Send: N0 M110 N0125
Handshake attempt #2 with timeout 5.0s
Send: N0 M110 N0
125
Handshake attempt #3 with timeout 5.0s
Send: N0 M110 N0125
Trying port COM4, baudrate 250000
Handshake attempt #1 with timeout 5.0s
Send: N0 M110 N0
125
Recv: ½\x0f\x94)ÖÖù\x0b\x84)ÖÖ˹\x0b\x84)ÖÖ˽\x0b\x849ÖÖ˽\x0f\x849ÖÖÛ¹\x0f\x84)ÖÖý\x0f\x94)ÖÖÛ½\x0f\x94)ÖÖÛ¹\x0b\x84)ÖÖ˹\x0f\x84)ÖÖ˹\x0f\x84)ÖÖù\x0f\x84)ÖÖ˹\x0f\x84)ÖÖË­\x0f\x84)ÖÖí\x0f\x94)ÖÖý\x0f\x94)ÖÖÃecho:Unknown command: "\x18"
Recv: ok
Changing monitoring state from "Detecting serial connection" to "Operational"
Send: N0 M110 N0125
Recv: ok
Send: N1 M115
39
Recv: ok
Send: N2 M21*18
Recv: FIRMWARE_NAME:Marlin 2.1.1 (Dec 27 2022 00:03:34) SOURCE_CODE_URL:github.com/MarlinFirmware/Marlin PROTOCOL_VERSION:1.0 MACHINE_TYPE:KP3s_Pro EXTRUDER_COUNT:1 UUID:cede2a2f-41a2-4748-9b12-c55c62f367ff
Recv: Cap:SERIAL_XON_XOFF:0
Recv: Cap:BINARY_FILE_TRANSFER:0
Recv: Cap:EEPROM:1
Recv: Cap:VOLUMETRIC:1
Recv: Cap:AUTOREPORT_POS:0
Recv: Cap:AUTOREPORT_TEMP:1
Recv: Cap:PROGRESS:0
Recv: Cap:PRINT_JOB:1
Recv: Cap:AUTOLEVEL:0
Recv: Cap:RUNOUT:1
Recv: Cap:Z_PROBE:0
Recv: Cap:LEVELING_DATA:1
Recv: Cap:BUILD_PERCENT:1
Recv: Cap:SOFTWARE_POWER:0
Recv: Cap:TOGGLE_LIGHTS:0
Recv: Cap:CASE_LIGHT_BRIGHTNESS:0
Recv: Cap:EMERGENCY_PARSER:0
Recv: Cap:HOST_ACTION_COMMANDS:0


Your printer's firmware supports host action commands, but they are
disabled. The firmware will not inform OctoPrint about job pause &
cancellations, filament runouts, and similar firmware-side events. If you
want this functionality, you need to change your firmware's configuration.

Learn more at OctoPrint tells me my firmware lacks support for "host action commands", what does this mean? - FAQ - OctoPrint Community Forum

Recv: Cap:PROMPT_SUPPORT:0
Recv: Cap:SDCARD:1
Recv: Cap:MULTI_VOLUME:0
Recv: Cap:REPEAT:0
Recv: Cap:SD_WRITE:1
Recv: Cap:AUTOREPORT_SD_STATUS:1
Recv: Cap:LONG_FILENAME:1
Recv: Cap:LFN_WRITE:0
Recv: Cap:CUSTOM_FIRMWARE_UPLOAD:0
Recv: Cap:EXTENDED_M20:1
Recv: Cap:THERMAL_PROTECTION:1
Recv: Cap:MOTION_MODES:0
Recv: Cap:ARCS:1
Recv: Cap:BABYSTEPPING:1
Recv: Cap:CHAMBER_TEMPERATURE:0
Recv: Cap:COOLER_TEMPERATURE:0
Recv: Cap:MEATPACK:0
Recv: Cap:CONFIG_EXPORT:0
Recv: ok
Recv: echo:No SD card

which baudrate did the printer use before the update?
Now it's 250000 which might be too high for a stable connection.

115200, does i can lower the baudrate

did you compile the firmware yourself?

no, take it from github. everything works perfectly direct on the printer!

well if there is just a problem with the usb communication, everything but the usb communication works perfectly :person_shrugging:

where did you get it from? if the sources are included I can build you a version with a slower baudrate and also enable host action commands while I'm at it

KP3S Pro S1 - Marlin v2.1.1.zip (148.3 KB)

thats from the guy on kingroon group. works perfectly......if didnt use octoprint!!!

unfortunately no sources in there - without sources I can't do anything.
Well I could use an example config, but since I don't own the same printer I'm not going to do that.
Modifying the baudrate in a known working config is something different.

Yeah I get it - you don't need to repeat yourself. A car with a broken reverse gear also works fine as long as you drive forward.
But I neither get your point nor your attitude.
It worked before you used a unofficial firmware and I'm just trying to help you.
If your printer can't maintain a stable connection with 250000 baud that's hardly OctoPrint's fault, is it?

thanks, i must trust you buddy, im noob in fimware and octoprint. if this can help, the original firmware of the k3ps is marlin 1.0. im just mad about my printer, really love octoprint,

k that came across differently

just ask them for the source
it's no big deal - they most likely just edited one or two config files.

I can't guarantee that the baudrate is the problem, but since the baudrate has doubled in this version and other cables don't work, this could be the problem.

These configs may be useful...

2 Likes

you were right, that was the 250000 baud speed problem. my buddy remake firmware at 115200 and .... marvelous! octoprint again. thanks a lot

1 Like

You're welcome

Happy printing :tentacle:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.