Jyers / 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
2.14k stars 386 forks source link

Connection time out using Meatpack Plug-in in octoprint #73

Closed legaspikyle closed 3 years ago

legaspikyle commented 3 years ago

Bug Description

There is a printer connection time out when enabling Meatpack Plug-in in octoprint. It still connects fine without enabling it in octoprint tho. So I'm not sure if it's a bug with the octoprint plug-in or the compiled firmware with meatpack enabled and added feature. I tried with auto and manually set connection (ttyUSB0) and baudrate. I tried installing the bug serial connection fix as well for the octoprint plug-in and didn't work

Configuration Files

In Configuration_adv.h I added:

define MEATPACK

and made sure that the feature file is there as well.

Steps to Reproduce

  1. enable meatpack in firmware
  2. enable meatpack plug-in in octoprint
  3. connect printer

Expected behavior:

printer connected successfully

Actual behavior:

When using auto baudrate, it fails to detect a connection. when using 115200, it goes to timeout and remains offline.

"Changing monitoring state from "Offline" to "Opening serial connection" Changing monitoring state from "Opening serial connection" to "Connecting" Connected to: PackingSerial(port='/dev/ttyUSB0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor Send: N0 M110 N0125 Send: N0 M110 N0125 No answer from the printer within the connection timeout, trying another hello Send: N0 M110 N0*125 There was a timeout while trying to connect to the printer Changing monitoring state from "Connecting" to "Offline" Connection closed, closing down monitor"

Additional Information

However, the printer only connects when meatpack plug-in in octoprint is disabled.

t3chguy commented 3 years ago

The meat pack repo says marlin upstream support is broken and you must use the dev's code.

https://github.com/scottmudge/Marlin/commit/01483c9541e3150f809f66c65ae107571797dc6f

This isn't an issue with the Jyers dwin rewrite

legaspikyle commented 3 years ago

thank you!

On Sat, Feb 20, 2021 at 11:14 AM Jyers notifications@github.com wrote:

Closed #73 https://github.com/Jyers/Marlin/issues/73.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Jyers/Marlin/issues/73#event-4354810485, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQZUFX2OTUW3AJSLGLCXYZLS74SKPANCNFSM4XZV7ULQ .