Hello, I am writing my own software to send .gcode files to an openbuilds black box via comport. I have it working with simpler/smaller programs. When the .gcode commands exceed a certain (small) length, the robot just stops midway through the actions. The size that it stops at seems to be only around 200 bytes of data... Is there a max buffer size I should be breaking my file into or something? I have uploaded the .gcode file for reference. Thanks!
Read the Grbl Wiki for a full explanation of buffer strategies. You need to implement flow control by either character counting, or pingpong. See gnea/grbl