@CaiJonas @dc42 has replied with the following regarding hiccups and late steps:
Re hiccups, in 3.5 and earlier the number displayed is the number of delays introduced by the board that is reporting during its generation of step interrupts. A hiccup is inserted when the ISR has been looping for more than a particular amount of time because additional step keep becoming due.
In 3.6 the main board M122 report shows two values. The first is hiccups introduced while preparing moves for execution. These should be rare. The second is hiccups generated in the step ISR as before.
In 3.6 two figures are also shown for total hiccup duration in milliseconds. The first is for hiccups introduced by the reporting board; the other is for hiccups introduced by other boards.
Regarding the "max steps late" figure, when RRF calculates when the next motor step is due, it checks that the calculated time is no later than the time at which the current move segment is supposed to be complete. Due to floating point rounding error, it sometimes happens that the calculated time is slightly later than the intended segment completed time. RRF generates any such steps at the intended segment completed time, and records how many steps it needed to generate to complete the segment. It's normally only the vary last step of the segment that is "late" in this way, so maxStepsLate is typically 1, although it may be 0 if there has not been much movement.
So it's the hiccup figure we need to keep an eye on, and 'max steps late 1' is generally okay.
@CaiJonas said in Bug on 3.6.0? Layershifts & stuttering on arc travel moves:
Is there any option to manipulate the segmentation of duet3d firmware? As I understood the firmware itself generates short segmets out of g2/g3 code?
Yes, with M669 S and T parameter (see https://docs.duet3d.com/User_manual/Reference/Gcodes#m669-set-kinematics-type-and-kinematics-parameters). However, it can't make longer moves out of short segments, it can only split up long moves into shorter segments. Yes, the firmware generates short, straight segments from G2 and G3 arcs. The minimum arc segment length was reduced in RRF3.5.1 from 0.1mm to 0.02mm. I think it also scales with the radius of the arc.
Ian