MarlinFirmware / 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.
https://marlinfw.org
GNU General Public License v3.0
16.24k stars 19.22k forks source link

[BUG] Rebooting during print (Sidewinder with MKS GEN-L) #25592

Closed TolTolich closed 4 months ago

TolTolich commented 1 year ago

Did you test the latest bugfix-2.1.x code?

Yes, and the problem still exists.

Bug Description

During printing, the printer may stop at any time, the error "V87 stored settings retrieved (613 bytes; crc 53739)" appears on the screen, the numbers in brackets may be different depending on one or another firmware. I tried to install different firmware created by other participants, and compiled it myself. In addition, after flashing, the M502 command returns "Hardcoded Default Settings Loaded", M500 returns "Settings Stored (613 bytes; crc 53739)". The problem appeared after the transition to the Marlin 2.0 version. The motherboard was replaced with a similar one to rule out a hardware problem. Drivers for ТМC 2209 have been replaced on the board. Corresponding changes have been made to the firmware.

Bug Timeline

The problem appeared about six months ago, when I decided to transfer the printer to custom firmware using Linear Advance

Expected behavior

The error will disappear

Actual behavior

The error is not gone

Steps to Reproduce

  1. Download the compiled firmware.
  2. Through the terminal, enter M502 M500 M501
  3. M501 shows message V87
  4. You can reset the error, start printing, but after any time the printer may stop with error "V87 stored settings retrieved (613 bytes; crc 53739)"

Version of Marlin Firmware

Marlin bugfix-2.1.x (Mar 29 2023 13:24:07)

Printer model

Artillery Saidwinder X1

Electronics

MKS GEN L V0.1

Add-ons

drivers TMC2209

Bed Leveling

None

Your Slicer

None

Host Software

None

Don't forget to include

Additional information & file uploads

Configuration.zip M501.txt

ellensp commented 1 year ago

this error message is not an error This is the expected output om a M501 this also happens on reboot/power on

So its clearly rebooting.

TolTolich commented 1 year ago

это сообщение об ошибке не является ошибкой. Это ожидаемый вывод M501, это также происходит при перезагрузке/включении питания.

Так что это явно перезагрузка.

this error message is not an error This is the expected output om a M501 this also happens on reboot/power on

So its clearly rebooting.

Are you saying that the message ...V87 stored settings retrieved (613 bytes; crc 53739)... is not an error?

ellensp commented 1 year ago

This message is normal and a symptom of the controller rebooting

TolTolich commented 1 year ago

My printer stops printing when this message appears on the screen

ellensp commented 1 year ago

yes, its cleary rebooted. The message is just a symptom, not a cause

TolTolich commented 1 year ago

I don't know how I can fix this.

TolTolich commented 1 year ago

Again the printer stopped in the process of printing with a message on the screen. I don't know what not to do to solve the problem. Please help!!!IMG-65860fd8cc51ad3a4d56663e6707867a-V.jpg

IMG-a03e5a66be5e793866b4e28adfeb5c0d-V.jpg

thinkyhead commented 1 year ago

Try disabling all optional features and doing more testing to try to narrow down the cause. Rebooting is often an indication that there is not enough free memory.

TolTolich commented 1 year ago

Thanks for the answer. I'm not well versed in the details of the firmware, so I ask you to tell me which functions can be painlessly removed. Preferably by line numbers in configuration files. I am very tired of dealing with this problem.

Johnny846 commented 1 year ago

I don't know much about marlin either, but I guess simple things you can try disabling are bed leveling (which from your config seems already disabled), by commenting ( //) the following lines below in configuration.h //#define AUTO_BED_LEVELING_3POINT //#define AUTO_BED_LEVELING_LINEAR //#define AUTO_BED_LEVELING_BILINEAR //#define AUTO_BED_LEVELING_UBL //#define MESH_BED_LEVELING

You can also for example disable //#define S_CURVE_ACCELERATION in configuration.h and disable //#define LIN_ADVANCE in configuration_adv.h

Perhaps you could also disable the display (somewhere in the configuration) and control the printer only by USB cable to check if it still keeps on rebooting.

I must say that I myself, after uploading Marlin 2.0.9.5 LTS (I tried first 2.1.x, but it had too many other bugs), noticed that my printer rebooted a couple of times unexpectedly. However, I still didn't print anything after this firmware upload and haven't been using my printer much, so I don't know if this issue is also affecting me or if it was just a coincidence that it rebooted unexpectedly.

thisiskeithb commented 1 year ago

The ribbon cables & connectors on these machines are also known to short, which would also cause reboots (among other things).

Disconnect each ribbon cable and carefully inspect each cable end and connector, checking for discolored pins/burn marks/melted plastic.

github-actions[bot] commented 4 months ago

Greetings from the Marlin AutoBot! This issue has had no activity for the last 90 days. Do you still see this issue with the latest bugfix-2.1.x code? Please add a reply within 14 days or this issue will be automatically closed. To keep a confirmed issue open we can also add a "Bug: Confirmed" tag.

Disclaimer: This is an open community project with lots of activity and limited resources. The main project contributors will do a bug sweep ahead of the next release, but any skilled member of the community may jump in at any time to fix this issue. That can take a while depending on our busy lives so please be patient, and take advantage of other resources such as the MarlinFirmware Discord to help solve the issue.

github-actions[bot] commented 2 months ago

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.