Marlin: [BUG] Connecting Octoprint crashes Ender-3 board (bugfix-2.0.x)

Created on 9 Jul 2019  路  6Comments  路  Source: MarlinFirmware/Marlin

Description

Marlin 2.0.x-bugfix from Jul 5 crashes on Ender 3 Pro when connecting with Octoprint

Steps to Reproduce

  1. Boot printer normally
  2. Press Connect in Octoprint interface
  3. Ender/Marlin splash screen appears on LCD

Expected behavior: [What you expect to happen]
No reboots from connecting a USB device

Actual behavior: [What actually happens]

Additional Information

I upgraded from the stock firmware to try to install a BLtouch clone. I couldn't get 1.1.x-bugfix to work with my sensor, so I tried 2.0.x-bugfix via git. After spending some time trying to get 1.1.x to work, I do like what you're doing with 2.0.x.

At any rate, I'll be glad to get any logs or whatever you may need, I'll just need to know how to get them. I did have to disable the sdcard so the bltouch would fit. Diff of config is attached. Thanks!

Marlin20x.zip

Most helpful comment

this is how ATMega chips work/sync.

All 6 comments

this is how ATMega chips work/sync.

@sshockley : Please close this issue, if your printer can execute prints after the reset. As relox13 mentioned above, this is not a bug. The Atmega is expected to reset once during establishment of the connection.

Okay, I didn't realize that. I don't believe the stock firmware did.

I don't believe the stock firmware did.

It's actually a bootloader thing. Marlin has no control over stuff that happens before Marlin starts.

Thanks for the reply. This is from the bootloader? I think I'm missing something here, or I described the behavior badly. I boot the printer normally; when I press Connect in Octoprint, the printer board reboots. It also reboots if I press Disconnect in Octoprint.

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

W8KDB picture W8KDB  路  4Comments

Ciev picture Ciev  路  3Comments

StefanBruens picture StefanBruens  路  4Comments

jerryerry picture jerryerry  路  4Comments

Anion-anion picture Anion-anion  路  3Comments