[2.0.x] Mesh export in Bilinear + UBL M503#9810
[2.0.x] Mesh export in Bilinear + UBL M503#9810thinkyhead merged 2 commits intoMarlinFirmware:bugfix-2.0.xfrom
Conversation
035f6ea to
78956ad
Compare
|
If we agree this should be included... We need to move it to the bugfix 1.1.x also. |
|
Oh! OK! That's a better place to fix it. |
The only case I can make is that when I added the |
No... I meant the safe_delay(75) I edited into the Pull Request. If we agree that should be done I was saying we also need to move it to the other branch because I only added it to one Pull Request. But in the response I saw the lower level SERIAL_ECHO() functions had been modified to have safe_delay()'s in them... |
0f2c1b5 to
542ee4d
Compare
|
Oh, haha! Well a
If we know the temperature report will be 50 characters, or ~500 bits, then we know it will take 2ms to clock it out at 250000, so that's a reasonable formula. We can't use If we know the approximate length of the output we can also tailor the delay for that and get a pretty exacting value. Of course |
As it turns out... I think that is not true. The problem is PronterFace connects across a psuedo serial port that is implemented as USB. I'm pretty sure setting the Baud rate won't fix the problem. The host program gets over run with data and can't keep up. |
I'm only proposing a longer delay when the |
542ee4d to
7550a78
Compare
|
So you're pointing out that Printrun has a bug and this is a workaround for that host's serial buffer implementation, eh? Is this a bug in specific versions of that software, because I've never run into the issue and I've flooded that host with serial output without any delays. |
75ms might be excessive... But I know people are seeing problems with PronterFace as the client...
7550a78 to
306f441
Compare
|
I think it is more complicated than that. I think the RS-232 emulation over USB is not complete. It doesn't really bring through the !RTS and !CTS signals that are on the 25 pin D connector. I think any thing that uses USB-'serial' can get over run very easily. I know I saw this problem on Cura 9 or 12 months ago. |
|
Weird. Is it only because of the laptop I use that I don't get these issues? |
|
I know different AVR boards are better and worse too... The serial implementation (with external chips) varies between them. It depends on a lot of stuff. |
|
Most likely I see it less because I avoid using tethered printing unless I'm testing stuff, and then it's usually pretty small G-code. |
Have we ever tried to correlate the serial problems to the used USB-chip? |
|
No... I don't remember anybody getting that level of detail. |

While reviewing
M503to answer a question from @dosono on #9724 I discovered thatM503was incomplete. The mesh data is included for MBL but not ABL or UBL.This PR adds the current mesh to the
M503output so that it can be saved and restored later. To facilitate this, UBL code pertaining to both this andG29 S-1was moved to thereport_current_meshmethod.