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 Robin Nano v3 Freezes with 2.0.8 #21764

Closed
Dtcreation opened this issue May 1, 2021 · 32 comments · Fixed by #21775 or #21776
Closed

[BUG] MKS Robin Nano v3 Freezes with 2.0.8 #21764

Dtcreation opened this issue May 1, 2021 · 32 comments · Fixed by #21775 or #21776

Comments

@Dtcreation
Copy link

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

No, but I will test it now!

Bug Description

No more serial port :
No usb connexion
No tft serial port active

Bug Timeline

No response

Expected behavior

Connexion with PC or Octoprint
Connexion with MKS TFT 28

Actual behavior

No connexion with PC or Octoprint and no connexion with the screen

Steps to Reproduce

No response

Version of Marlin Firmware

2.0.8

Printer model

Artillery Genius

Electronics

MKS Robin Nano V3

Add-ons

No response

Your Slicer

No response

Host Software

OctoPrint

Additional information & file uploads

No response

@Dtcreation Dtcreation changed the title [No more Serial port with MKS Bobin Nano v3] [BUG](No more Serial port with MKS Bobin Nano v3) May 1, 2021
@Dtcreation Dtcreation changed the title [BUG](No more Serial port with MKS Bobin Nano v3) [BUG] No more Serial port with MKS Bobin Nano v3 May 1, 2021
@rhapsodyv
Copy link
Sponsor Member

It seems a configuration issue. You should attach your configs as requested in the template.

@rhapsodyv rhapsodyv added the Needs: More Data We need more data in order to proceed label May 1, 2021
@Dtcreation
Copy link
Author

Dtcreation commented May 1, 2021

Archive.zip
Not a configuration issue, same configuration than MKS Marlin

@McDAK33
Copy link

McDAK33 commented May 1, 2021

I join. I have the same problem. USB works if you set default_envs = mks_robin_nano_v3 in the platformio.ini file and comment out #define USB_FLASH_DRIVE_SUPPORT in the file
Configuration_adv.h. But the connection is unstable and hangs up after a few minutes.
If you set default_envs = mks_robin_nano_v3_usb_flash_drive_msc and #define USB_FLASH_DRIVE_SUPPORT, then the board freezes when connected.

@rhapsodyv
Copy link
Sponsor Member

Can you test disabling watchdog? In Configuration_adv.h comment out: // #define USE_WATCHDOG

@McDAK33
Copy link

McDAK33 commented May 1, 2021

I tested it. When connected, the board did not hang, a COM port appeared on the PC. There is still no connection:
Connecting... [ERROR] Can't write to printer (disconnected?) (SerialException): Write timeout

@rhapsodyv
Copy link
Sponsor Member

I tested it. When connected, the board did not hang, a COM port appeared on the PC. There is still no connection:
Connecting... [ERROR] Can't write to printer (disconnected?) (SerialException): Write timeout

Unplug and plug the cable.

@McDAK33
Copy link

McDAK33 commented May 1, 2021

Tried it - doesn't work.

@rhapsodyv rhapsodyv added Bug: Confirmed ! and removed Needs: More Data We need more data in order to proceed labels May 1, 2021
@rhapsodyv
Copy link
Sponsor Member

Did you try disable all serial ports? (Just to give us hint to locate the issue)

@MiHeK
Copy link

MiHeK commented May 2, 2021

Compare Configuration.h with older one. There should be #define SERIAL_PORT 1 . Instead of 0 in new version. May be this is the reason?

@McDAK33
Copy link

McDAK33 commented May 2, 2021

I will do everything in my power to help.
I faced this problem for a long time #21603
MKS recommended #define SERIAL_PORT -1 and it always worked.

@McDAK33
Copy link

McDAK33 commented May 2, 2021

Not quite sure how to disable all serial ports?

@Dtcreation
Copy link
Author

I tryed with all serial desactivated. Same problem. Not a configuration.h problem. Either a platform.io or stm32 problem

@ellensp
Copy link
Contributor

ellensp commented May 2, 2021

well how about attaching your platformio.ini file then?

@Dtcreation
Copy link
Author

Not the file but the buildroot/share/platformiO, i have the Marlin original but it seems to have a bug

@Dtcreation Dtcreation changed the title [BUG] No more Serial port with MKS Bobin Nano v3 [BUG] No more Serial port with MKS Robin Nano v3 May 2, 2021
@rhapsodyv
Copy link
Sponsor Member

Can you test this #21775?

@willngton
Copy link

willngton commented May 2, 2021

Can you test this #21775?

I've tested with below PR and no longer facing the issue

  • Tested with LVGL - OK
  • Tested with ColorUI - OK
  • Connected via miniterm with no issues
  • Did not test multi-volume

it seams to have an issue with the hardware, board wont "post" with an USB stick inserted ( after power removed) unless re-seat button is pressed.

Selection_328

@rhapsodyv
Copy link
Sponsor Member

I didn't understand your last issue.

@willngton
Copy link

I didn't understand your last issue.

Upload a video sample for my Robin Nano V3.0

With usb stick connected wont come up till re-seat button is pressed

NanoV3_Boot_USB.mp4
NanoV3_Boot_NoUSB.mp4

@McDAK33
Copy link

McDAK33 commented May 2, 2021

Tested with MKS H43. Results:

  • COM port is present
  • USB disk present
  • The connection is established, but when you try to print a test cube, the connection is disconnected at the sixth minute of printing. After using M575 B250, I managed to print the cube to the end.
  • The temperature on the H43 display is not correct (as a reminder).

I conclude that the connection has appeared, but it is unstable.
Some problems with the connection speed.

@Dtcreation
Copy link
Author

HI,

With the PR everything seems good to me, but i have to test a long print to confirm

Thanks

@rhapsodyv
Copy link
Sponsor Member

Tested with MKS H43. Results:

  • COM port is present
  • USB disk present
  • The connection is established, but when you try to print a test cube, the connection is disconnected at the sixth minute of printing. After using M575 B250, I managed to print the cube to the end.
  • The temperature on the H43 display is not correct (as a reminder).

I conclude that the connection has appeared, but it is unstable.
Some problems with the connection speed.

It’s seems an issue with H43, not the nano v3.

@McDAK33
Copy link

McDAK33 commented May 2, 2021

Tested with MKS H43. Results:

  • COM port is present
  • USB disk present
  • The connection is established, but when you try to print a test cube, the connection is disconnected at the sixth minute of printing. After using M575 B250, I managed to print the cube to the end.
  • The temperature on the H43 display is not correct (as a reminder).

I conclude that the connection has appeared, but it is unstable.
Some problems with the connection speed.

It’s seems an issue with H43, not the nano v3.

H43 has no effect on problems with Robin Nano V3. I also have MKS TS35 V2.0. For a long time there was a problem with the USB connection, and this screen was tested.
I did not notice any difference in the behavior of the Nano V3.

@rhapsodyv
Copy link
Sponsor Member

@McDAK33 All M575 does is the same that is done at boot time: start serial with BAUDRATE from the Configuration.h. Maybe what is "fixing" your issue is that it restart the serial. But none of this code is exclusive to Nano V3.

Where do you connect the H43 in the nano v3 board?

@rhapsodyv
Copy link
Sponsor Member

With usb stick connected wont come up till re-seat button is pressed

NanoV3_Boot_USB.mp4

NanoV3_Boot_NoUSB.mp4

I tested and I don't have this issue. Can you attach your configs?

@rhapsodyv rhapsodyv changed the title [BUG] No more Serial port with MKS Robin Nano v3 [BUG] MKS Robin Nano v3 Freezes with 2.0.8 May 2, 2021
This was linked to pull requests May 2, 2021
@McDAK33
Copy link

McDAK33 commented May 2, 2021

@rhapsodyv I understand that perfectly. Configuration.h is always set to #define BAUDRATE 250000. But the fact remains. After switching on, the connection is interrupted, and after M575, the print goes to the end. Why is this happening and I would like to find out.

@rhapsodyv
Copy link
Sponsor Member

@rhapsodyv I understand that perfectly. Configuration.h is always set to #define BAUDRATE 250000. But the fact remains. After switching on, the connection is interrupted, and after M575, the print goes to the end. Why is this happening and I would like to find out.

Sure, for some reason the serial is freezing, and when you send M575 it's restarting it. Where do you connect the H43 in the nano v3?

@McDAK33
Copy link

McDAK33 commented May 2, 2021

H43_ROBIN_NANO_V3

@willngton
Copy link

I tested and I don't have this issue. Can you attach your configs?

Configuration_w.h.txt
Configuration_adv_w.h.txt

@rhapsodyv
Copy link
Sponsor Member

I tested and I don't have this issue. Can you attach your configs?

Configuration_w.h.txt
Configuration_adv_w.h.txt

Are you using external power in your tests? Or usb power?

@willngton
Copy link

willngton commented May 2, 2021

I tested and I don't have this issue. Can you attach your configs?

Configuration_w.h.txt
Configuration_adv_w.h.txt

Are you using external power in your tests? Or usb power?

I found the issue, its oddly but is my USB stick, tested with another one and is working fine.

Thanks for having a look

@rhapsodyv
Copy link
Sponsor Member

So, this can be closed?

The H43 issue is being handle in #21603, right?

@github-actions
Copy link

github-actions bot commented Jul 3, 2021

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 Jul 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants