MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.18k stars 19.21k forks source link

[BUG] Various issues with MKS Robin Nano V3 + MKS-H43 #21603

Closed McDAK33 closed 3 years ago

McDAK33 commented 3 years ago

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

Yes, and the problem still exists.

Bug Description

Faced several problems:

  1. Compilation error;
  2. Incorrect display of temperature on the display (see photo);
  3. I can not access the USB disk from the computer (writes: insert the disk).

I solved the compilation error by changing the line in the file ...\src\lcd\extui\lib\dgus\mks\DGUSScreenHandler.cpp -1274 set_e_relative(true); // M83 +1274 set_e_relative(); // M83

I doubt this is the right decision.

The problem with connecting the USB disk is solved by sending GCODE: M575 B250. After that I access the disk and it works until the printer is rebooted.

My config files: Configuration.zip

20210412_190553_HDR 20210412_190603_HDR

Bug Timeline

No response

Expected behavior

No response

Actual behavior

No response

Steps to Reproduce

No response

Version of Marlin Firmware

bugfix-2.0.x (2021-04-12)

Printer model

No response

Electronics

MKS Robin Nano v3 + TMC2209 + MKS-H43

Add-ons

No response

Your Slicer

No response

Host Software

No response

McDAK33 commented 3 years ago

Hello. After flashing the current update, the printer completely lost control: the PC connection port does not work (the USB device is not connected correctly), the H43 screen does not start (stops at the boot screen), does not respond to the shutdown button. If you uncomment the #define MULTI_VOLUME line in the Configuration_adv.h file, and try to compile, you get a lot of errors. After roughly eliminating them (not quite understanding the principle of operation), it is possible to compile the assembly. after the firmware the printer comes to life, but the correct operation of the port can be achieved only by entering the M575 command.

McDAK33 commented 3 years ago

P.S. The temperature on the screen is still not displayed correctly.

thinkyhead commented 3 years ago

I recently compiled and installed Marlin onto a Nano V3 with an H43 connected, and it all seemed to go well. Unfortunately the H43 I received is damaged so I was unable to test any further.

There have been a number of patches in the last day, some related to temperature, so please check to see if today's bugfix branch has resolved the issue. If it has not, then we can go hunting for some cause.

McDAK33 commented 3 years ago

Have a nice day. I downloaded the latest update, applied my settings (attached below). The compilation was successful. After flashing, the printer shows no signs of life. Windows reports a device connection error. The H43 screen displays the logo. Can not do anything. I suspect that the new "MULTI_VOLUME" function is to blame for this. Config.zip

McDAK33 commented 3 years ago

Determined the reason for the freeze of my printer. The printer freezes as soon as I connect it to the computer via the USB cable. Since the printer was constantly connected, I could not figure out the reason. I returned to the bugfix version from 2021-04-12, with this version the connection via USB does not cause problems.

rhapsodyv commented 3 years ago

The freeze is fixed by #21775

The serial hang could be related as a bad resend handling from the TFT. We need to look further. I will talk about it with MKS.

McDAK33 commented 3 years ago

I am sorry if I did something wrong. I understand that this is not a primary problem. I hope you remember her. Thank you.

solawc commented 3 years ago

I understand this problem. Since the type of temperature display has changed after the update, the screen also needs to be updated synchronously.We made a special version to follow marlin, please go to the link below to download the corresponding FW update https://github.com/makerbase-mks/MKS-H43/tree/main/DWIN_SET_For_H43 @McDAK33

McDAK33 commented 3 years ago

Я понимаю эту проблему. Поскольку после обновления тип отображения температуры изменился, экран также необходимо обновлять синхронно.Мы сделали специальную версию, чтобы следить за марлином, перейдите по ссылке ниже, чтобы загрузить соответствующее обновление прошивки https://github.com/ makerbase-mks / MKS-H43 / tree / main / DWIN_SET_For_H43 @ McDAK33

I downloaded the firmware for the H43 from the "H43_Firmware_for_Malin" folder. Updated the firmware. Unfortunately, nothing has changed.

https://user-images.githubusercontent.com/80269041/117156947-d8f50c00-adc6-11eb-8cee-44a39d487117.mp4

spilz87 commented 3 years ago

Hello I have the same issue with Marlin V2 bugfix and H43 V1.31

After reading codes, it looks like:

So I modify the code of H43 to display a float, but still have the issue :(

So I suppose the float format in H43 is different than the one send by Marlin

I don't have the solution, but if that can help to find it ...

Edit 1

After sniffing serial port between Marlin and H43, it looks like Marlin is sending 2 bytes for temperature but H43 is expecting a 4bytes float, isn't it ?

github-actions[bot] commented 3 years ago

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.

github-actions[bot] commented 3 years ago

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.