Closed Valexxia closed 2 years ago
You may be able to enable pins-debugging and then use M43 to figure out which pins are associated with the BLTouch.
oh ok, how would i go about enabling pin debugging ?
Marlin/Configuration_adv.h
// M43 - display pin status, toggle pins, watch pins, watch endstops & toggle LED, test servo probe
//
#define PINS_DEBUGGING
sorry to be a pain, the firmware file is a .bin file, how would i go about opening that to be able to edit it ?
you don't edit bin files. You edit Configuration files and recompile
ok great to know, but how do i get the configuration files to begin with ?
You ask Creality nicely for them, and when they refuse, you remind them they are in violation of the licensing and ask again. When they refuse that you set the lawyers on them. (Which is also futile, unless your a Chinese company)
Then you open up the machine and trace all the wires and document what is plugged into where.
so if thats the case would tham mean that i could use the configuration files from the ender 6 as its the same board used between both machines or would that complicate things too much ?
The Config files describes way more than just the motherboard. Egs build size, direction to move the steppers, homing direction. LCD.Screen settings Although it will boot up if it is the same motherboard and talk over serial/usb it is unlikely to do anything positive for your machine and could damage things
ok, well i messaged Creality two days ago so if i hear back from them ill post it up here
Hi @Valexxia, any updates? I wrote to Creality today for my CR-200B to claim Marlin source code.
No updates yet, I have sent them multiple messages and emails. They just don’t reply
Sent from my iPhone
On 12 Aug 2021, at 5:21 am, Mauro Cecchi @.***> wrote:
Hi @Valexxiahttps://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FValexxia&data=04%7C01%7C%7Cb7b82a1942ed492c192a08d95cfd40f3%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637643065053438137%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=98y9IsT7UywFHsSoNbrQQfSUQEyIpQ9WfAJlKdJ17Xg%3D&reserved=0, any updates? I wrote to Creality today for my CR-200B to claim Marlin source code.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMarlinFirmware%2FConfigurations%2Fissues%2F542%23issuecomment-897088078&data=04%7C01%7C%7Cb7b82a1942ed492c192a08d95cfd40f3%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637643065053448082%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=P4rK%2BfHsgK7%2BbjdAOXRqiC22jNJ5T9PdnwOgnEsz3S8%3D&reserved=0, or unsubscribehttps://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAU33JIUNZWPQ34DD62JLHCTT4LEUPANCNFSM5APYLTVA&data=04%7C01%7C%7Cb7b82a1942ed492c192a08d95cfd40f3%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637643065053448082%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=KDxhoNJxQjRToGDcT7vRdrhsGgfJMVB%2FOzXVwUCJmjY%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7C%7Cb7b82a1942ed492c192a08d95cfd40f3%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637643065053458041%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=NuGQXeaFl8KKA6e%2F8n1qsomQERmLom7gpz2zFT1WhfE%3D&reserved=0 or Androidhttps://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26utm_campaign%3Dnotification-email&data=04%7C01%7C%7Cb7b82a1942ed492c192a08d95cfd40f3%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637643065053458041%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=43pX5e07AeX31Ym5LQwbLr0sVmXChO%2F1QnLfylRtXvY%3D&reserved=0.
Someone managed to get source out of Creality! Well done them. Here it is. Sermoon-D1.zip You can get the LCD DWIN_SET from the binary firmware release Sermoon-D1 latest firmware ---V1.1.10.zip
So enabling Bltouch should be easy now, and in time can be added to current Marlin
The provided source takes some tricks to compile as its so old and has not locked down the versions of things it needs. Also has case sensitivity bugs! (wont compile on linux without changes)
In platfomio.ini
Change the [env:STM32F1_base] section to
#
# STM32F1 base
#
[env:STM32F1_base]
platform = ststm32@~9
board_build.core = maple
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
${common.build_flags} -std=gnu++14
build_unflags = -std=gnu++11
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
lib_ignore = Adafruit NeoPixel, SPI, Adafruit MAX31865 library
monitor_speed = 250000
Change [common] section to
[common]
default_src_filter = +<src/*> -<src/config> -<src/HAL> +<src/HAL/shared>
extra_scripts = pre:buildroot/share/PlatformIO/scripts/common-cxxflags.py
build_flags = -fmax-errors=5 -g -D__MARLIN_FIRMWARE__ -fmerge-all-constants
lib_deps =
U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/bugfix.zip
LiquidCrystal@1.3.4
TMCStepper@=0.5.2
Adafruit NeoPixel@1.2.5
Adafruit_MAX31865=https://github.com/adafruit/Adafruit_MAX31865/archive/master.zip
LiquidTWI2=https://github.com/lincomatic/LiquidTWI2/archive/master.zip
Arduino-L6470=https://github.com/ameyer/Arduino-L6470/archive/dev.zip
SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip
SailfishRGB_LED=https://github.com/mikeshub/SailfishRGB_LED/archive/master.zip
SlowSoftI2CMaster=https://github.com/mikeshub/SlowSoftI2CMaster/archive/master.zip
Then fix the case sensitivity bugs
In Marlin/src/lcd/dwin/LCD_RTS.h
Change #include
In Marlin/src/lcd/dwin/LCD_RTS.cpp
Change #include
@ellensp Have you managed to compile BL touch enabled in firmware using breakout board on Sermoon? If so do you mind sharing?
or if you prefer a DIFF
diff --git a/Marlin/src/lcd/dwin/LCD_RTS.cpp b/Marlin/src/lcd/dwin/LCD_RTS.cpp
index f863173..14e92c5 100644
--- a/Marlin/src/lcd/dwin/LCD_RTS.cpp
+++ b/Marlin/src/lcd/dwin/LCD_RTS.cpp
@@ -1,5 +1,5 @@
#include "LCD_RTS.h"
-#include <wstring.h>
+#include <WString.h>
#include <stdio.h>
#include <string.h>
#include <Arduino.h>
diff --git a/Marlin/src/lcd/dwin/LCD_RTS.h b/Marlin/src/lcd/dwin/LCD_RTS.h
index 1f8d73f..47ed1da 100644
--- a/Marlin/src/lcd/dwin/LCD_RTS.h
+++ b/Marlin/src/lcd/dwin/LCD_RTS.h
@@ -2,7 +2,7 @@
#define RTS_H
#include "string.h"
-#include <arduino.h>
+#include <Arduino.h>
#include "i2c_eeprom.h"
diff --git a/platformio.ini b/platformio.ini
index 1bae5b0..f41520f 100644
--- a/platformio.ini
+++ b/platformio.ini
@@ -27,7 +27,7 @@ build_flags = -fmax-errors=5 -g -D__MARLIN_FIRMWARE__ -fmerge-all-constants
lib_deps =
U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/bugfix.zip
LiquidCrystal@1.3.4
- TMCStepper@>=0.5.2,<1.0.0
+ TMCStepper@=0.5.2
Adafruit NeoPixel@1.2.5
Adafruit_MAX31865=https://github.com/adafruit/Adafruit_MAX31865/archive/master.zip
LiquidTWI2=https://github.com/lincomatic/LiquidTWI2/archive/master.zip
@@ -197,12 +197,13 @@ board = nxp_lpc1769
# STM32F1 base
#
[env:STM32F1_base]
-platform = ststm32
+platform = ststm32@~9
+board_build.core = maple
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
${common.build_flags} -std=gnu++14
build_unflags = -std=gnu++11
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
-lib_ignore = Adafruit NeoPixel, SPI
+lib_ignore = Adafruit NeoPixel, SPI, Adafruit MAX31865 library
monitor_speed = 250000
#
@Randy1727 with the patches above if you enbale #define BLTOUCH, it still compiles I dont have any of this hardware, I cant test it beyond compiling
I've got a current code base synced as of Friday that has the board and touchscreen working, but I don't have a Sermoon to physically test on. I'll be cleaning things up over the next day or two and can drop it over if you want to test.
@InsanityAutomation I was able to compile it last night but the touchscreen wont work still. Yes if you want to send over to me to test that would be awsome.
https://github.com/InsanityAutomation/Marlin/tree/CrealityDwin2.0_Bleeding
Code is here, Dwin files in the Creality Combined archive, as my understanding is its the same part number LCD from the 10S Pro / CRX / E6 etc
Should be able to just use the PIO environment for it without touching the config files
Thanks, Ill give it a try this week!
@InsanityAutomation Being im a total noob when it comes to changing confg files and compiling firmware please excuse my ignorance. The only things I enabled are #define MachineSermoonD1 #define HotendStock #define DirectDrive #define BedDC #define ABL_BLTOUCH #define GraphicLCD #define MeshFine, Is there anything else that needs to activated for the Sermoon, Also In the zip there are 3 DWIN folders, I take it the Sermoon will use the Combinedscreens one?
Thank you for your help, Im still learning/.
@InsanityAutomation These are the errors im getting
the controller is not a LPC1769 based Change the default_envs line in platfomio.ini to default_envs = STM32F103RET6_creality
Got it working, compiled and screen is working. Im a idiot and didnt see the zip of precompiled firmware.
Ok, Installed the firmware and dwin from combined screens v5.7 and some buttons such as move, motor control dont work, Level and info do come up but unable to back out.
Are you able to get a serial log when browsing the screen? Almost sounds like serial communication isn't stable for some reason. If it boots, it has communication, so it's odd movement isn't working. Will it move from Gcode on the terminal?
@InsanityAutomation Language and printer info work and let you back out, Move, motor, refuel, print and temp dont work at all, Leveling lets you enter but not back out. Also had someone else check with Creality screen firmware still installed just to try and no button works at all Movement commands from octoprint do work, I sent you a msg on discord,
did this work? can i get in on the testing?
Machine function works but the touchscreen itself did not come up, I did find that the screen model on this is identical to what is on the Ender 7 that I do have on hand and was able to reproduce the results on that machine. I only received this machine a couple days ago so I just started digging into it. It will take the same work to have both of these working, so I'll update again here when I've got something ready to test again.
I am waiting for this firmware
Good news is I have the majority of it working... A few screens arnt behaving completely correctly bringing my 10s pro project files over to the newer dwinos but it isn't far off Bad news is it'll be a few days till I can sit down to it again.
I think creality posted a BL Touch firmware im acessories session. https://www.creality.com/download
I think creality posted a BL Touch firmware im acessories session. https://www.creality.com/download
Indeed.
STRING_DISTRIBUTION_DATE "2020-08-24"
:
Ive got a build working for it, granted a bit rough with a few bits to tweak on the screen (overlapping text etc). If you hop on the discord, ill send over the current setup for testing.
Ive got a build working for it, granted a bit rough with a few bits to tweak on the screen (overlapping text etc). If you hop on the discord, ill send over the current setup for testing.
Cool, send the project for testing
heyo, im also kind of a noob, but my D1 sermoon is coming tomorrow in the mail. Ive been reading up, glad to see creality released the source. I grabbed it and changed to the older platformio configs above and got it to compile. But I see the lcd isn't loving you guys. Can I ask how the progression goes ? I downloaded the latest hex files from insanity but im reluctant to flash tomorrow if my screen won't work right and id be stuck trying to use octprint solely. thanks again for your awesome work !
Still a few more things to work out, so I'd hold off for a little while. Unfortunately day job has me working all weekend again so it'll be a little bit until I can wrap it up.
No rush man. I’m excited that you’ll get it working soon. Glad I got the printer once the source code was actually released. Crazy that these high end creality printers don’t come with an ABL sensor in the box. Or official downloadable factory firmware to add one. Creality should pay you!
I designed a mount for the CR-Touch on the sermoon. The regular mounts didn't work. https://www.thingiverse.com/thing:5050263 I've had my sermoon for 2 weeks and now I think the main board is dead. It worked perfectly up until the weekend, but now any print longer than an hour seems to crash.
Anyone have any hints on how to get help from Creality support? They don't seem to answer emails.
I already downloaded the mount a few hours ago ;) I’m reading that this 4.3.1 board isn’t so great. Only has silent steppers on x and y? I’ll refrain from what I think about that. Think it’s worth it to swap it for a 4.2.7? Would there be any problems with firmware .. besides swapping board declaration?
There are many people on this board who are imminently more qualified to answer that question, I'm just a newbie in this area. Although if I were to buy a new board I'm not sure I would get the creality.
I did find the power supply was drastically undersized on the Ender 7 causing occasional shutdowns when the driver pulled the voltage down too low... First I would check cooling on the main board and then the power supply before assuming the board is dead.
Any idea what the power capacity was on the undersized supply? I just checked and the one in the D1 is 24V 14.6A. I'll hook up my meters and measure input and output current during a print tomorrow.
While the bed and hot end were heating, I measured 12.5A. While printing, current stayed around 6A most of the time, but peaked a couple of times to 13. Maybe it's not in the danger zone, but a little undersized for my comfort. I don't like seeing sustained current over 80% of the capacity.
@mikeroxy2019, even without the silent stepper on the X, the printer is still very quiet. I don't think it's a big deal.
@thinkyhead Will the Sermoon D1 be added to Configuration soon? Or is there still a lot of work to do on the Screen Part?
@ETE-Design its up here https://github.com/InsanityAutomation/Marlin/tree/CrealityDwin_2.0
Still a few more things to work out, so I'd hold off for a little while. Unfortunately day job has me working all weekend again so it'll be a little bit until I can wrap it up.
Any luck on getting this working I would love to add the touch to it and have u any idea how to do the e steps o can we really not do it on this machine
@rmurilo see the link in the comment above, code is up and working. I'll be adding the cr5 and cr10 smart shortly as well hopefully.
Description
Uses the same board as the ender 6 however it seems that creality simply has no support for the sermoon D1, It does have a extension board with a bltouch port on it however there is no firmware from the standard 1.1.1 that comes preloaded on the machine.
Configuration Details
apoligies for the lack of information, i am happy to try and find anything that is needed. just not sure what to look for
Additional Information