Marlin: [BUG] #15113 breaks CR10_STOCKDISPLAY support on SKR Mini E3

Created on 2 Sep 2019  路  35Comments  路  Source: MarlinFirmware/Marlin

Description

Today I wanted to flash the latest firmware of bugfix-2.0.x on my skr mini e3 but after flashing, only the backlight will turn on and no status screen will show up. After a bit of testing, I've found that the culprit is #15113.

Steps to Reproduce

  1. Flash #15113

Expected behavior: [What you expect to happen]

Normal status screen

Actual behavior: [What actually happens]

No status screen.

Additional Information

  • Include a ZIP file containing your Configuration.h and Configuration_adv.h files.
    config.zip
  • Provide pictures or links to videos that clearly demonstrate the issue.
    70246880_478172472966203_5709959024879861760_n
  • See How Can I Contribute for additional guidelines.

All 35 comments

had the same today,

  1. had to remove eeprom emulation https://github.com/MarlinFirmware/Marlin/pull/15126
  2. and the commit for https://github.com/MarlinFirmware/Marlin/issues/13550 (this one is before ur 15113, r u sure its that?)

both broke my skr mini e3

edit:
to 1., note u dont have eeprom settings enabled in ur config
to 2., tested again, it does not work with commit 23bb40d #13550

I just flashed my Ender-3 with CR10_STOCKDISPLAY and don't have this issue.

Have you tried cleaning your libraries (click the trash can icon in your IDE or manually delete the .pio folder)?

I just flashed my Ender-3 with CR10_STOCKDISPLAY and don't have this issue.

Have you tried cleaning your libraries (click the trash can icon in your IDE or manually delete the .pio folder)?

Do u have the SKR MINI E3 Board ???

PS: yes, i cleaned everything, in my user dir and in my marlin dir.

Do u have the SKR MINI E3 Board ???

No. I am using an SKR 1.3. I was going off the title assuming OP meant that CR10_STOCKDISPLAY was broken.

It looks like this just affects the SKR Mini E3 so far.

Do u have the SKR MINI E3 Board ???

No. I am using an SKR 1.3. I was going off the title assuming OP meant that CR10_STOCKDISPLAY was broken.

It looks like this just affects the SKR Mini E3 so far.

Sorry it is a bit misleading indeed. I've changed the title to be more specific.

had the same today,

  1. had to remove eeprom emulation #15126
  2. and the commit for #13550 (this one is before ur 15113, r u sure its that?)

both broke my skr mini e3

edit:
to 1., note u dont have eeprom settings enabled in ur config
to 2., tested again, it does not work with commit 23bb40d #13550

It is working for me on commit 23bb40d

I just tried CR10_STOCKDISPLAY and REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER on my SKR Mini 1.1 (non E3 or DIP version) and neither work with https://github.com/MarlinFirmware/Marlin/commit/12c595c61f4b3e0be2baa6a906718e155a797ea3.

Unsurprisingly, REPRAP_DISCOUNT_SMART_CONTROLLER works.

Got the same issue with REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER and BOARD_BIGTREE_SKR_V1_3, but it works with CR10_STOCKDISPLAY

Seems it's related to boards with STM mcu only ran into same issue then tried various other mcu's none showed the issue of no display

Seems it's related to boards with STM mcu only

BOARD_BIGTREE_SKR_V1_3 is LPC1768. So maybe it's 32-bit? I only have LPC1768 and STM32F1 to test with.

I've been playing around with a MKS GEN-L and various 12864-type LCDs the past few nights and Mega2560 is unaffected.

My Re-ARM works fine with the RRD Full Graphics Smart Controller and the latest bugfix-2.0.x sources, so it鈥檚 not a basic 32 bit problem.

swap out these files in /Marlin/src/lcd/dogm/ from an older tree
ultralcd_st7920_u8glib_rrd_AVR.cpp
ultralcd_st7920_u8glib_rrd_AVR.h
u8g_dev_st7920_128x64_HAL.cpp

that will get the display working again

swap out these files in /Marlin/src/lcd/dogm/ from an older tree
ultralcd_st7920_u8glib_rrd_AVR.cpp
ultralcd_st7920_u8glib_rrd_AVR.h
u8g_dev_st7920_128x64_HAL.cpp

that will get the display working again

Yes, that was part of 12c595c, but I don't understand the changes, so I don't know how to fix it 馃槃

well a workaround is to drop older files in before the change which will make the display work
looks like the display is not initialized and that happens only one some boards STM like mine for example

its from PR #15113 we badly supposed the AVR.cpp file was specific to AVR platform, but both compile on STM32 (F4 at least, maybe F1 too for this RRD)

skr mini too not sure what mcu that uses

mini is STM32F103R (64pins)

Same problem here with E3 DIP, researching a bit I've reached 12c595c and reviewed the code, but too much u8g for me...

Maybe @GMagician can help

The only changes done that may affect other boards than samd51 are the ones in:
Marlin/src/lcd/dogm/u8g_dev_st7920_128x64_HAL.cpp,
arlin/src/lcd/dogm/ultralcd_st7920_u8glib_rrd_AVR.h and Marlin/src/lcd/dogm/ultralcd_st7920_u8glib_rrd_AVR.cpp that changed lines 26-27, 30 and 154-157
I can't see nothing else in 12c595c.
Reverting as stated by @zombu2 should fix. The reported fix in that PR where a deviation from my original post that involved only samd51.

just need to change the top ifdef in the 2 cpp files

Thanks to confirm if its resolved...

updated yesterday and it works if TMC_DEBUG is disabled.

Wont boot with TMC_DEBUG enabled.

updated yesterday and it works if TMC_DEBUG is disabled.

Wont boot with TMC_DEBUG enabled.

What board are you using?

Works well for me with TMC_DEBUG enabled on SKR E3 DIP.

skr mini e3

did not try it on a mini but no issues on skr 1.3 or skr pro
not sure how tmc debug could be related to display o.0

note: TMC_DEBUG worked before adding the EEPROM emulation

Thanks to confirm if its resolved...

I'm still getting a blank screen with CR10_STOCKDISPLAY on an SKR Mini 1.1 using the latest commit (841c8ce). Link to the test branch I'm using.

REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER (native & emulated) work.

No issues with any of those LCDs on an SKR 1.3.

Edit: ~There's no CR10_STOCKDISPLAY pins support for the SKR Mini 1.1. Dope~.

66338ed5 brings CR10_STOCKDISPLAY Support to the SKR Mini 1.1 and it works great.

I have had a similar issue to this but did some digging and found that my board was not booting due to having TMC_DEBUG enabled. It was this thread and the statement by reloxx13 that I thought I would try remarking it out to see if it fixed the problem. I think that there maybe a clash with EEPROM emulation as well as #15180 which allows the SD card to be seen via USB. I have opened up issue #15226 with my findings.

I'm a bit lost with this issue, on SKR E3 DIP the other day all was working great with https://github.com/MarlinFirmware/Marlin/pull/15172 (TMC_DEBUG, EEPROM EMULATION, and all the stuff), today I pulled all new changes to my repo and with same configuration I've got blank screen, so I decided to revert to https://github.com/MarlinFirmware/Marlin/pull/15172 with the same config, and now I'm getting blank screen all time.

Disabling TMC_DEBUG makes it work 馃槕

I just rebased onto commit 7fc4f7b815949eb9ec4b8e7c5399d154d0f28c94 (from yesterday), and it seems to be working fine.

I'm on an SKR-mini-E3. Display comes up, and I'm able to query TMC_DEBUG info as well.

I'm on an SKR-mini-E3. Display comes up, and I'm able to query TMC_DEBUG info as well.

With emulated EEPROM enabled?

I've just setup Marlin firmware in my Ender 3 with SKR E3 DIP and the CR10 Stock display is working too.

I'm at commit 7fc4f7b815949eb9ec4b8e7c5399d154d0f28c94 from today (september 21st)

I have TMC_DEBUG, EEPROM_SETTINGS and EEPROM_AUTO_INIT enabled.

With emulated EEPROM enabled?

I have EEPROM_SETTINGS enabled, and the pins file defines FLASH_EEPROM_EMULATION. I confirmed I can save settings and they persist across reboots without an SD card installed.

@vincentbaeten does it work for you with latest 2.0.x ?

Lack of Activity
This issue is being closed due to lack of activity. If you have solved the
issue, please let us know how you solved it. If you haven't, please tell us
what else you've tried in the meantime, and possibly this issue will be
reopened.

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ShadowOfTheDamn picture ShadowOfTheDamn  路  3Comments

Matts-Hub picture Matts-Hub  路  3Comments

esenapaj picture esenapaj  路  3Comments

ahsnuet09 picture ahsnuet09  路  3Comments

W8KDB picture W8KDB  路  4Comments