Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] MKS E3 V1.1 does not boot since HAL change #22800

Closed
jesterhead82 opened this issue Sep 18, 2021 · 17 comments
Closed

[BUG] MKS E3 V1.1 does not boot since HAL change #22800

jesterhead82 opened this issue Sep 18, 2021 · 17 comments
Labels
A: STM32 stale-closing-soon T: HAL & APIs Topic related to the HAL and internal APIs.

Comments

@jesterhead82
Copy link
Contributor

Did you test the latest bugfix-2.0.x code?

Yes, and the problem still exists.

Bug Description

Marlin versions since the HAL merge ( #21927 ) are not bootable on my E3 v1.1.

Tried with many versions till on of theis week of Bugfix branch. Falling back using maple allows booting.

Nothing spectacular, as you can see in my attached configs, same config works flawless basically in 2.0xx bugfix till HAL marrge, and works with all releases since Hal merge when using maple.

Marlin.zip

Bug Timeline

Failing since #21927

Expected behavior

Boot

Actual behavior

Stops booting before Marlins Bootscreen

Steps to Reproduce

No response

Version of Marlin Firmware

2.0.xx

Printer model

MKS E3 v1.1

Electronics

MKS E3 v1.1

Add-ons

No response

Bed Leveling

No response

Your Slicer

No response

Host Software

No response

Additional information & file uploads

No response

@ellensp
Copy link
Contributor

ellensp commented Sep 19, 2021

Something doesn't add up here....
MOTHERBOARD is set to BOARD_MKS_ROBIN_E3D_V1_1
By default the only env that is valid for that motherboard is env:mks_robin_e3, it doesn't have a maple option.
Sure it can be added, but you made no mention of this.

@ellensp
Copy link
Contributor

ellensp commented Sep 19, 2021

Please confirm exactly what board you have with a photo of the controller

@jesterhead82
Copy link
Contributor Author

Hello,

attached is a pciture of the board.

I am using mks_robin_e3 env till merge of #21927 together with board BOARD_MKS_ROBIN_E3D_V1_1, and mks_robin_e3_maple together with BOARD_MKS_ROBIN_E3 since merge of #21927.

So mks_robin_e3 and BOARD_MKS_ROBIN_E3D_V1_1 does not boot for me since the merge of #21927 with the attached boards.


![20210919_120221](https://use
20210919_120244
r-images.githubusercontent.com/11690785/133939051-c128e8f7-a4d0-4b52-8665-d84a1e163e52.jpg)

@jesterhead82
Copy link
Contributor Author

20210919_120221

Sorry, front picture was missing in upload.

@ellensp
Copy link
Contributor

ellensp commented Sep 21, 2021

Was just looking at circuit diagram.
Seems like the SPI port should be 2 not 3.

Can you try

#
# MKS Robin E3/E3D (STM32F103RCT6) with TMC2209
#
[env:mks_robin_e3]
platform                    = ${common_stm32.platform}
extends                     = common_STM32F103RC_variant
board_build.encrypt         = Robin_e3.bin
board_build.offset          = 0x5000
board_upload.offset_address = 0x08005000
build_flags                 = ${common_STM32F103RC_variant.build_flags}
                              -DTIMER_SERVO=TIM5 -DDEFAULT_SPI=2
build_unflags               = ${common_STM32F103RC_variant.build_unflags}
                              -DUSBCON -DUSBD_USE_CDC
monitor_speed               = 115200
debug_tool                  = stlink

@jesterhead82
Copy link
Contributor Author

Hi,
tried SPI Pin 2, still not booting
Configuration.zip

@thisiskeithb thisiskeithb added A: STM32 T: HAL & APIs Topic related to the HAL and internal APIs. labels Sep 21, 2021
@mks-viva
Copy link
Contributor

@jesterhead82 What you use LCD?
MKS Robin E3D show booting only on LCD12864 or MKSMINI12864

@jesterhead82
Copy link
Contributor Author

Hello,
I`m using a MKS12864B, was working till merge of #21927.

@mks-viva
Copy link
Contributor

Your platformio.ini file env set is what?

@jesterhead82
Copy link
Contributor Author

Hello,

i used mks_robin_e3

@mks-viva
Copy link
Contributor

Maybe you only using an old version of the firmware temporarily

@jesterhead82
Copy link
Contributor Author

Hello,
yes, currently only versions <Jun2021 are working with mks_robin_e3

Or mks_robin_e3_maple together with BOARD_MKS_ROBIN_E3 if somebody needs to use a newer version

@ellensp
Copy link
Contributor

ellensp commented Sep 22, 2021

Please confirm the terminology.
Lcd not working is not the same as not booting.
Does it still communicate over usb?
Does it give any error messages over usb?

Working on getting this board but eta is months away.

@jesterhead82
Copy link
Contributor Author

Hello,

if I use mks_robin_e3

  • LCD shows "Boot" screen, but does not go ahead
  • Connection via USB does not work

With mks_robin_e3_maple

    • LCD shows "Boot" screen, then boots into marlin
  • USB connection is working

@github-actions
Copy link

This issue has had no activity in the last 60 days. Please add a reply if you want to keep this issue active, otherwise it will be automatically closed within 10 days.

@jesterhead82
Copy link
Contributor Author

Tried today Bugfix Branch, seems to boot again with mks_robin_e3.

@github-actions
Copy link

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.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A: STM32 stale-closing-soon T: HAL & APIs Topic related to the HAL and internal APIs.
Projects
None yet
Development

No branches or pull requests

4 participants