Pico Serial Transmit buffer fills up during hold mode #115
jattie-ire
started this conversation in
General
Replies: 1 comment 2 replies
-
My guess it is a bug - you are sending end of line character(s) (CR, LF or CRLF) following the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have read all I could find on GRBL senders and I am no wiser and need help please.
I am running GRBLHal 3Axis on a RPI Pico 2040 controller build with the Web builder and controlling a two axis sandtable. I have created a playlist sender using python and once a pattern was completed and my controller status is
idle
I send thehold
command to the controller and wait for the hardwarecycle start/resume
button to be pushed to play the next gcode file.When the controller status changes from
hold
toidle
I can see the sate change and exit my wait loop and this works well if I do not wait too long because eventually the buffer seems to fill up with "ok" that seems to be blocked from being read when in hold. As soon as I come out of hold I get all the ok's responses at one and all is fine as long as I do this in time before the buffer fills up. It still kind of works to come out of hold using the hardware buttons, but I lose all comms to the pico device over usb when the buffer fills up.In run mode when I send a check command using
?
I get this:['<Run|MPos:205.575,54.588,0.000|Bf:24,1023|F:1414>', 'ok']
In hold mode I do get info back, but only the status, no "ok"
And as you can see the second buffer value decreases from 1017 to 1014, by one every cycle until the buffer gets to 0 and all communications breaks down.
Is this behaviour by design or is it a bug? If by design how can I work around this then? I can clear the buffer sending stop, but that also clears hold.
Please point me in the right direction.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions