얕고 넓게

[3DP] Ender 3 Dual Extruder 개조: Marlin @Creality Board 본문

IT/3D Printer, CNC

[3DP] Ender 3 Dual Extruder 개조: Marlin @Creality Board

블랙오닉스 2024. 5. 7. 10:17
0. Board는 V4.2.3 인데 cpu가 GD32F303 RET6 이다 :-(

1. 검색해서 Ender 3 Neo ( V2 Neo 아님) Firmware를 찾았다.

https://github.com/AmberHelios/Ender3NeoFirmware

 

GitHub - AmberHelios/Ender3NeoFirmware: Marlin Build For Ender 3 Neo

Marlin Build For Ender 3 Neo . Contribute to AmberHelios/Ender3NeoFirmware development by creating an account on GitHub.

github.com

2. STM32F101로 설정하고 컴파일하니 에러 발생

In file included from src\src\HAL\STM32\MarlinSPI.cpp:27:
src\src\HAL\STM32\MarlinSPI.h:99:3: error: 'spi_mode_e' does not name a type
   99 |   spi_mode_e _dataMode;

 

다시 고난의 연속이다

https://community.platformio.org/t/build-gd32-project-with-platformio/11944

 

Build GD32 project with Platformio

Hi, Due to flexibility and ease, I would like to build and flash my GD32F130C6T6 project with Platformio. I tryied using a genericSTM32F103C8 with Flash size and Ram size updated to match the one of GD32F130C6T6, but did not work. It did compile and flash,

community.platformio.org

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

 

[FR] (GD32F103 Processor Support) · Issue #21473 · MarlinFirmware/Marlin

Is your feature request related to a problem? Please describe. Some Chinese processor boards have switched to the GD32F103 which is an STM32 clone that is pin compatible and almost identical, but r...

github.com

 

https://www.reddit.com/r/Ender3Pro/comments/wlbxts/gd32f303_ret6_chips_and_latest_marlin_firmware/

 

From the Ender3Pro community on Reddit

Explore this post and more from the Ender3Pro community

www.reddit.com

I compiled with default_envs = STM32F103RE_creality_maple in platformio.ini

STM32F103RE (64k RAM. 512k Flash) — PlatformIO v6.1 documentation

 

STM32F103RE (64k RAM. 512k Flash) — PlatformIO v6.1 documentation

STM32Cube embedded software libraries, including: The HAL hardware abstraction layer, enabling portability between different STM32 devices via standardized API calls; The Low-Layer (LL) APIs, a light-weight, optimized, expert oriented set of APIs designed

docs.platformio.org

[env:genericSTM32F103RE]
platform = ststm32
board = genericSTM32F103RE

 

출처: https://blog.naver.com/chcbaram/222746552591

똑같은 에러

In file included from src\src\HAL\STM32\MarlinSPI.cpp:27:
src\src\HAL\STM32\MarlinSPI.h:99:3: error: 'spi_mode_e' does not name a type
   99 |   spi_mode_e _dataMode;

 

STM32F103RE_creality_maple로 하면

Resolving STM32F103RE_creality_maple dependencies...
UnknownBoard: Unknown board ID 'STM32F103RE_creality_maple'

2024.05.07

기존 marlin 프로젝트에서 보드만 바꿔서 해봐야겠다.

-> 기존 프로젝트에서 configuration.h의 board를 바꾸니 바로 autobuild가 인식한다.

 

| ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1766:6: error: #error "FAN_SOFT_PWM is required for your board. Enable it to continue." 1766 | #error "FAN_SOFT_PWM is required for your board. Enable it to continue." | ^~~~~ In file included from Marlin\src\HAL\STM32\../../inc/../HAL/HAL.h:30, from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:33, from Marlin\src\HAL\STM32\usb_host.cpp:27: Marlin\src\HAL\STM32\../../inc/../HAL/../HAL/STM32/HAL.h:61:4: error: #error "SERIAL_PORT must be from 1 to 9." 61 | #error "SERIAL_PORT must be from 1 to 9." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1766:6: error: #error "FAN_SOFT_PWM is required for your board. Enable it to continue." 1766 | #error "FAN_SOFT_PWM is required for your board. Enable it to continue." | ^~~~~ In file included from Marlin\src\HAL\shared\../../inc/../HAL/HAL.h:30, from Marlin\src\HAL\shared\../../inc/MarlinConfig.h:33, from Marlin\src\HAL\shared\HAL.cpp:27: Marlin\src\HAL\shared\../../inc/../HAL/../HAL/STM32/HAL.h:61:4: error: #error "SERIAL_PORT must be from 1 to 9."

configuration.h/_adv.h 를 example를 참고하여 수정했더니 아래처럼  _maple 이 나온다

에러

_maple로 빌드

configuration.h에 몇가지 잘못된 거 수정했더니 양쪽 모두 빌드 성공

SD Card로 firmware update 는 되었지만, 메뉴 선택 노브가 동작을 안한다.

-> 다시 원본으로 시도

https://www.creality.com/pages/download-ender-3-neo

 

creality

You can download Ender-3 Neo's product manual & firmware and slicing software on here.

www.creality.com

복구는 되었으나 메뉴 선택이 안된다 !!!

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

[3DP] Ender 3 Firmware 복원  (0) 2024.05.08
[3DP] Ender 3 Dual Extruder 개조: Marlin @Creality Board 2  (1) 2024.05.07
[3DP] Ender 3 Neo 디버깅  (0) 2024.05.05
[3DP] 핀터300 정보  (0) 2024.05.03
[3DP] Sovol 04 왼쪽 노즐 수리  (0) 2024.05.01