Hi everyone, I don't know how this started,

Hi everyone,

I don’t know how this started, but suddenly whenever I open the grbl serial port, the grbl re-sets continuously.

I can’t do anything, and all I see is the grbl welcome message in the console, and the GRBL Widget’s message:
GRBL has been reset - temporary work coordinate and tool offsets have been lost.

Serial Console shows this again and again:
{“Cmd”:“WipedQueue”,“QCnt”:0,“Port”:“COM5”}
{“P”:“COM5”,“D”:“Grbl 0.9j [’$’ for help]\n”}

When opening the serial port outside of chilipeppr/SPJS (using arduino’s serial monitor for example), grbl behaves nicely (i.e. starts and runs normally, responds well to all commands).

I tried a different arduino, same results. I tried a different computer, same results.

The environment is the standard grbl one.

I’m stumped. Any ideas?

It would have helped to have a screenshot.

There was nothing else on screen other than what I’ve described. Even the serial console log was exactly what I pasted (only again and again).

Eventually, I figured it out. For future reference - the problem was corrupt configuration of grbl, I’m not sure how that affected the second arduino, either coincidence, or we did something to both…

Here’s the issue: https://github.com/grbl/grbl/issues/847

The grbl re-set itself whenever ‘?’ was sent (which is why it didn’t happen when working through other consoles, they don’t auto-send ‘?’)

Do you guys think it is worth it to put some code into the grbl controller to detect this reboot-loop and gracefully alert the user that there might be an issue that requires a $RST=# to be set?