Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Settings loaded CRC message is broken #27625

Open
1 task done
rondlh opened this issue Jan 6, 2025 · 0 comments
Open
1 task done

[BUG] Settings loaded CRC message is broken #27625

rondlh opened this issue Jan 6, 2025 · 0 comments

Comments

@rondlh
Copy link
Contributor

rondlh commented Jan 6, 2025

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

Yes, and the problem still exists.

Bug Description

The message when load settings is broken:

echo:V90 stored settings retrieved (952 bytes; crc 6475841

The CRC is a bit long for a 16-bit CRC, that is because the 41 at the end is the character ')'.

In settings.cpp
DEBUG_ECHOLN(version_str, F(" stored settings retrieved ("), eeprom_total, F(" bytes; crc "), working_crc, ')');

That should probably be:
DEBUG_ECHOLN(version_str, F(" stored settings retrieved ("), eeprom_total, F(" bytes; crc "), working_crc, ")");

Bug Timeline

At least 3 months ago

Expected behavior

Correct CRC message.

Actual behavior

Wrong CRC message.

Steps to Reproduce

Just check the message when setting are loaded at restart, or run M501

Version of Marlin Firmware

Lastest bugfix

Printer model

Custom

Electronics

STM32H7xx based custom motherboard

LCD/Controller

BTT TFT35 V3.0

Other add-ons

CAN toolhead (EBB42 V1.2)

Bed Leveling

UBL Bilinear mesh

Your Slicer

Cura

Host Software

None

Don't forget to include

  • A ZIP file containing your Configuration.h and Configuration_adv.h.

Additional information & file uploads

Not relevant, but here are the configuration files.
Configuration.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant