얕고 넓게

[3DP] Creality DWIN LCD 사용 @Marlin, MKS Base 본문

IT/3D Printer, CNC

[3DP] Creality DWIN LCD 사용 @Marlin, MKS Base

블랙오닉스 2025. 12. 11. 19:39

2025.12.11

Ender3 V3에 LCD가 Smart LCD인줄 알았으나, TFT UART로만 연결하면 동작을 안한다.

포기 했다가 Marlin configuration.h를 보니 DWIN_CREALITY_LCD가 있다.

관련 설정을 바꾸고 컴파일하는데 Serial 포트 에러가 계속 발생.

우선은 Serial Port 2를 설정 안하면 LCD용 Serial이 3번을 사용해서 D14/15 핀 충돌 에러 난다.

#define SERIAL_PORT 2
#define SERIAL_PORT_2 -1

 

이렇게도 해보고

반대로 해봐도 multi serial... 에러 발생

#define SERIAL_PORT 0
#define SERIAL_PORT_2 2
Marlin\src\HAL\shared\../../inc/../core/serial.h: In function 'void SERIAL_CHAR(char)':
Marlin\src\HAL\shared\../../inc/../core/serial.h:135:47: error: request for member 'write' in 'multiSerial', which is of non-class type 'SerialOutputT {aka int}'
 inline void SERIAL_CHAR(char a) { SERIAL_IMPL.write(a); }
                                               ^~~~~

 

 

 

https://github.com/MarlinFirmware/Marlin/issues/22299

 

[BUG] DWIN_CREALITY_LCD breaks MultiSerial · Issue #22299 · MarlinFirmware/Marlin

Did you test the latest bugfix-2.0.x code? Yes, and the problem still exists. Bug Description Compilation with multiple serial ports while having DWIN_CREALITY_LCD enabled results in a cascade of e...

github.com

위에 것을 보고 코드 수정

SERIAL_CATCHALL 0을 2로 해봤는데 똑같음

// Aliases for LCD features
#if ANY(DWIN_CREALITY_LCD, DWIN_LCD_PROUI)
  #define HAS_DWIN_E3V2_BASIC 1
#endif
#if ANY(HAS_DWIN_E3V2_BASIC, DWIN_CREALITY_LCD_JYERSUI)
  #define HAS_DWIN_E3V2 1
#endif

// E3V2 extras
#if HAS_DWIN_E3V2 || IS_DWIN_MARLINUI
  #define SERIAL_CATCHALL 2 //0 @Blackonyx
  #define HAS_LCD_BRIGHTNESS 1
  #define LCD_BRIGHTNESS_MAX 250
#endif

BTT 보드에서도 에러 발생

 #define SERIAL_PORT_3 2

 

 

In file included from Marlin\src\HAL\LPC1768\../../inc/MarlinConfigPre.h:37,
                 from Marlin\src\HAL\LPC1768\../../inc/MarlinConfig.h:28,
                 from Marlin\src\HAL\LPC1768\fast_pwm.cpp:24:
Marlin\src\HAL\LPC1768\../../inc/../core/serial.h:59:26: error: 'MYSERIAL' was not declared in this scope; did you mean 'MSERIAL'?
   59 |   #define _SERIAL_LEAF_1 MYSERIAL

BTT
BTT

 

BTT보드에서는 EXP1에 Serial 핀이 할당 되어 있지 않다.

 

MKS

MKS는 있는데?

 

Creality 보드는 전용 LCD 포트

 

'IT > 3D Printer, CNC' 카테고리의 다른 글

[3DP] A1 hotend 고장 및 수리  (0) 2025.12.27
[3DP] BB 베어링  (0) 2025.12.14
[3DP] Anycubic i3 Mega 정리  (0) 2025.12.04
[3DP] Anycubic i3 Mega Display  (0) 2025.12.04
[3DP] XY Plotter 진짜 최종본?  (0) 2025.11.24