bigtreetech / BIGTREETECH-SKR-mini-E3

BIGTREETECH SKR-mini-E3 motherboard is a ultra-quiet, low-power, high-quality 3D printing machine control board. It is launched by the 3D printing team of Shenzhen BIGTREE technology co., LTD. This board is specially tailored for Ender 3 printer, perfectly replacing the original Ender3 printer motherboard.
2k stars 1.98k forks source link

[BUG] SKR mini E3 V3.0 Dwin (ender 3 v2) #601

Open spacecabbie opened 2 years ago

spacecabbie commented 2 years ago

Description

Referring to: https://github.com/bigtreetech/BIGTREETECH-SKR-mini-E3/issues/424

Applying the same fix to the new board I get no display. Figured to check first before i continue trouble shooting.

Steps to reproduce

compiled firmware from https://github.com/bigtreetech/Marlin/ with: #define DWIN_MARLINUI_PORTRAIT //#error "DWIN_CREALITY_LCD requires a custom cable, see diagram above this line. Comment out this line to continue." Expected behavior Had hoped it would work out of the box.

Actual behavior compiles fine and firmware is applied (.bin is renamed to .cur) but red led keeps blinking also afther restart. Note: I cannot exclude that perhaps my display cable broke or something just want to make sure layout is the same.

Additional Information

my_config.zip

radek8 commented 2 years ago

If necessary, reconnect the cables to the display. Find inspiration here: https://github.com/bigtreetech/BIGTREETECH-SKR-E3-Turbo/issues/40

lanzaralx commented 2 years ago

does it finally work?

spacecabbie commented 2 years ago

does it finally work?

Wel yes and no. The display wil work but constantly gets garbled i am still tuning it.

tome9111991 commented 2 years ago

Hello. For a test you can try this Wiring diagram: https://github.com/MarlinFirmware/Configurations/issues/535#issuecomment-873010783

And add #define LCD_SERIAL_PORT 1 in your Configuration.h

Edit Not tested i dont have V3.0 or V2.0 board

But V3.0 Exp1 looks similar V2.0 Exp1

tome9111991 commented 2 years ago

Merge is done https://github.com/MarlinFirmware/Marlin/pull/23593

In latest Marlin-bugfix you dont need #define LCD_SERIAL_PORT 1 in your Configuration.h

Dids commented 2 years ago

does it finally work?

Wel yes and no. The display wil work but constantly gets garbled i am still tuning it.

What fixed it for you?

I'm on the latest bugfix branch, using the E3 V3.0 board config, set SERIAL_PORT to -1 (along with some other config tweaks) and I've triple checked my wiring, however all I see is the backlight coming on the DWIN display, yet no picture of any kind.

I'm still not sure if I'm doing something wrong on the firmware side of things, or if my wiring is either wrong or my cables are faulty.

UPDATE: Figured it out. Display was refusing to flash itself.

ingoknito0815 commented 2 years ago

does it finally work?

Wel yes and no. The display wil work but constantly gets garbled i am still tuning it.

What fixed it for you?

I'm on the latest bugfix branch, using the E3 V3.0 board config, set SERIAL_PORT to -1 (along with some other config tweaks) and I've triple checked my wiring, however all I see is the backlight coming on the DWIN display, yet no picture of any kind.

I'm still not sure if I'm doing something wrong on the firmware side of things, or if my wiring is either wrong or my cables are faulty.

UPDATE: Figured it out. Display was refusing to flash itself.

I bought the skr mini e3 v3 unknowingly of the display problem.

I tried but i just couldn't get the firmware to compile. Would you be so kind and tell me exactly what you changed to make it work?

Dids commented 2 years ago

@ingoknito0815

Here is a quick and rough guide on the steps I took specifically for Ender 3 V2 and BTT SKR Mini E3 V3.0.

Marlin

The latest Marlin bugfix branch has support for the SKR Mini E3 V3.0, however the stock DWIN display on Ender 3 V2 will require a custom cable, which I won't be detailing in this, as I'm still gathering my notes on the exact pin and wire color changes necessary, however I do have it working with the stock display firmware.

Configuration

Prepare your IDE (VSCode) and the Marlin source:

Make the following changes to Marlin/Configuration.h:

Make the following changes to Marlin/Configuration_adv.h:

Make the following changes to Marlin/src/pins/stm32g0/pins_BTT_SKR_MINI_E3_V3_0.h:

Now you're ready to compile your custom Marlin firmware.

NOTE: There are additional configuration options in both configuration files which only apply to specific hardware and feature requirements, such as bed leveling, probing etc. and I won't go through those here, as this is only meant to serve as an example of how to get the SKR Mini E3 V3.0 working.

Compilation

Compiling can be done in multiple ways, but using VScode and the PlatformIO extension is the easiest way, as it's only a few clicks away.

Follow these steps to compile your custom Marlin firmware:

Compilation should now be done and you're ready to flash the SKR Mini E3 V3.0 mainboard.

Flashing

Flashing the board is simple, however there are some issues I ran into, which I've outlined here as part of the flashing process.

Follow these steps to flash your custom Marlin firmware:

Flashing is now done and you can move on to the DWIN display, which is the final step in getting all of this to work properly.

Display (DWIN)

All you need to do for the display is to update the firmware, as it will need updated graphics etc. to function correctly with the latest Marlin firmware.

Follow these steps to flash the DWIN display with new firmware:

The DWIN display is now ready and as long as you have a correctly wired custom display cable, it should function properly.

NOTE: If the flashing fails or does not start, this usually means that the SD card is not properly prepare or there is something wrong with the firmware files. You can easily detect this by looking for the blue screen, which should stay visible for a few seconds. If the blue screen is not visible, the display has not been flashed, successfully or otherwise.

neilvangeffen commented 2 years ago

Thanks, this solved my issues! Wiring and serial_port -1 was what i needed. Massive head ache for the last 4 hours!

Dids commented 2 years ago

Let me know if you're seeing artifacting with your DWIN display, especially after longer prints, as I've been trying to debug it for a while now, however it might just be a bug in latest Marlin (bugfix-2.0.x).

neilvangeffen commented 2 years ago

those settings just got it to compile... dont actually have the screen running. Figuring out why its not homing properly first, then im onto why the screen doesnt work :(

Dids commented 2 years ago

If the configuration is correct and the display has been flashed with the newer firmware, it has to be the custom cable that's not wired correctly, unfortunately.

Dplayer82 commented 2 years ago

Description

Referring to: #424

Applying the same fix to the new board I get no display. Figured to check first before i continue trouble shooting.

Steps to reproduce

compiled firmware from https://github.com/bigtreetech/Marlin/ with: #define DWIN_MARLINUI_PORTRAIT //#error "DWIN_CREALITY_LCD requires a custom cable, see diagram above this line. Comment out this line to continue." Expected behavior Had hoped it would work out of the box.

Actual behavior compiles fine and firmware is applied (.bin is renamed to .cur) but red led keeps blinking also afther restart. Note: I cannot exclude that perhaps my display cable broke or something just want to make sure layout is the same.

Additional Information

my_config.zip

Can u send for me firmware? I have same problem (the screen only dark...), but i can't modify marlin... mrtcsati@gmail.com

grilparto commented 2 years ago

Description

Referring to: #424 Applying the same fix to the new board I get no display. Figured to check first before i continue trouble shooting.

Steps to reproduce

compiled firmware from https://github.com/bigtreetech/Marlin/ with: #define DWIN_MARLINUI_PORTRAIT //#error "DWIN_CREALITY_LCD requires a custom cable, see diagram above this line. Comment out this line to continue." Expected behavior Had hoped it would work out of the box. Actual behavior compiles fine and firmware is applied (.bin is renamed to .cur) but red led keeps blinking also afther restart. Note: I cannot exclude that perhaps my display cable broke or something just want to make sure layout is the same.

Additional Information

my_config.zip

Can u send for me firmware? I have same problem (the screen only dark...), but i can't modify marlin... mrtcsati@gmail.com

I know it's been awhile but did you figure out that you need to rewire the LCD cable to make it work? The pinout for the LCD on the SKR mini is (frustratingly) not the same as the Ender 3 V2. https://www.smith3d.com/2022/02/28/skr-mini-e3-v2-v3-on-ender-3-v2-ender-3-s1-lcd-dwin-knob-screen/

nitrospaz commented 2 years ago

For anyone else that's new to this coming here from google looking how to solve the LCD beep of death problem, before doing any of this for the LCD identify what LCD screen you have first. There are apparently 3 different types of this same display for the Ender 3 V2 that all look identical on the outside. One of the displays can be flashed, another can be flashed but still has errors and the third one apparently has locked down firmware that can't be flashed. Take a guess as to which one I have and how much time I wasted trying to figure this all out... You need to take off the back cover of the screen to identify which one you have. I found this writeup explaining how to identify the screen with pictures here: https://support.th3dstudio.com/helpcenter/creality-printers-color-lcds/

kamisamacash commented 1 year ago

Do you have the firmware for ender3 v2 with a skr mini e3 v3? could you share it