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] stuck on boot with BD_SENSOR and DGUS_LCD_UI IA_CREALITY #27697

Open
1 task done
rmbq opened this issue Feb 20, 2025 · 2 comments
Open
1 task done

[BUG] stuck on boot with BD_SENSOR and DGUS_LCD_UI IA_CREALITY #27697

rmbq opened this issue Feb 20, 2025 · 2 comments

Comments

@rmbq
Copy link
Contributor

rmbq commented Feb 20, 2025

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

Yes, and the problem still exists.

Bug Description

My printer gets stuck on boot when both BD_SENSOR and DGUS_LCD_UI IA_CREALITY are enabled. The boot process does not complete, and the printer remains unresponsive.

Bug Timeline

No response

Expected behavior

The printer should complete the boot process successfully and become fully operational.

Actual behavior

The printer gets stuck on boot and does not proceed further. The display shows no further progress, and the printer does not respond to any commands.

Steps to Reproduce

  1. Ensure BD_SENSOR and DGUS_LCD_UI IA_CREALITY are enabled in the Configuration.h file.
  2. Build
  3. Power on the printer.
  4. Observe the boot process getting stuck.

Version of Marlin Firmware

lastest

Printer model

creality cr10 smart + bltouch support

Electronics

BOARD_CREALITY_V453

LCD/Controller

ai creality

Other add-ons

No response

Bed Leveling

ABL Bilinear mesh

Your Slicer

Prusa Slicer

Host Software

None

Don't forget to include

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

Additional information & file uploads

Configuration.h
Configuration_adv.h

The log i get on the serial port is this:

8:13:34.836 echo: Last Updated: 2025‑02‑04 | Author: rmbq
18:13:34.837 echo: Compiled: Feb 13 2025
18:13:34.839 echo: Free Memory: 28911 PlannerBufferBytes: 4352
18:13:36.988 //action:notification CR10Smart Ready.
18:13:37.016 echo:SD card ok
18:13:37.019 Warning:EEPROM datasize error.
18:13:37.019 echo:Index: 8 Size: 743
18:13:37.999 //action:notification Hardcoded Default Settings Loaded
18:13:37.999 echo:Hardcoded Default Settings Loaded

My source tree is here, branch rmbq-2.1.x:
https://github.com/rmbq/Marlin
and the modifications to support BD sensor are here:
rmbq@f263a99

I tried with and without PR #27243

Disabling AI_CREALITY and EXTENDED_UI the printer boots fine

@ellensp
Copy link
Contributor

ellensp commented Feb 20, 2025

Marlin calls
SETUP_RUN(bdl.init(I2C_BD_SDA_PIN, I2C_BD_SCL_PIN, I2C_BD_DELAY));

But I2C_BD_SDA_PIN, I2C_BD_SCL_PIN and I2C_BD_DELAY do not seem to be setup

Try adding something similar to this to Configuration.h (depending on how you have it plugged in)
#define I2C_BD_SDA_PIN Z_STOP_PIN
#define I2C_BD_SCL_PIN SERVO0_PIN
#define I2C_BD_DELAY 10

@rmbq
Copy link
Contributor Author

rmbq commented Feb 20, 2025

I already added those defines to my pins.h:
rmbq@f263a99#diff-79da9e5c16e6b282a04a5edaa0bda77838ced889c090383a202a7e71cfc72bd5

Disabling AI_CREALITY and EXTENDED_UI the printer boots fine

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

2 participants