TinyG Firmware Walk-through...?

From the original Synthetos forum (2011–2025)

Started by meloG on in TinyG Support. 1 reply, last activity Nov 30, 2016.

#

Hello All,

I am trying to understand the full scope of the tinyg firmware for a school project, from parsing a g-code file to creating actual motor movements. I am wondering if there is any existing document (other than the firmware) that has a good walk-through of how everything works, from start to finish. For example, I would like to see the full process of sending a gcode file, to how the tinyg is actually creating the trajectory, and delivering the pulses to the stepper motors. I have been trying to work through all of the code, but am very slow and often need to re-read things multiple times for them to sink in, haha.

To be clear, I am looking for a fairly detailed explanation of how, say, G1X0 G1X10, is processed by the tinyg in the planners, buffers, trajectory generation, etc. parts of the firmware to produce the actual move.

Any links/documents/helpful info would be much appreciated!! Thank you all so much for your help.

Staff #

That sort of detail(depth) is beyond the scope of what goes on here in this forum.
You might want to snoop around here, where the developers hang out and folks ask deep questions

https://github.com/synthetos/TinyG/issues

It will not address you specific question, but many of the items have pointers to how-its-done

This topic is from the original forum (November 2016). Your reply starts a new discussion linked to it.

Reply

Different problem? Ask a new question

Back to TinyG Support or latest activity.