Commit Graph

33 Commits

Author SHA1 Message Date
Markus Hitter ff25c6847b If line numbers aren't required, don't bother about their
actual value either. Failing case was RepRap host software,
sending
N0 T8 *18
N0 G21 *58
on each build start.

Also saves a whopping 124 bytes of memory on ignoring line
numbers. next_target.N_expected is never used and it's handling
should be optimized out.
2010-07-13 16:24:19 +02:00
Markus Hitter 2004f04d4a An M-code stuck when receiving G commands and vice-versa.
Testcase:
M105
G1 F100
--> Temperatures would be sent the second time as well.
2010-07-13 16:14:36 +02:00
Markus Hitter c591d3330d RepRap host software expects a lowercase "ok" for confirmation. 2010-07-13 15:35:26 +02:00
Michael Moon 505a744d54 time to save 2010-03-29 13:53:57 +11:00
Michael Moon bce08901d8 time to save, added a tiny printf implementation which actually gives less code than printing everything out manually, waiting for temperature is now queueable so subsequent moves can be buffered ahead of time, and a debug flags system for dynamic enable/disable of debug. btw, atmega168 doesn't have enough space for debug so turn it off if you have one. 2010-03-17 04:11:33 +11:00
Michael Moon 06cdfaa251 a ton of work on the heater PID loop, it's working great now 2010-03-15 18:27:14 +11:00
Michael Moon 2182d7b77a time to save, updated M253 read memory to accept a length, updated utility functions 2010-03-14 09:54:55 +11:00
Michael Moon ee4e71da1a preliminary support for line numbers and checksums, also some handy host-side functions 2010-03-05 21:24:10 +11:00
Michael Moon 33ba692f37 time to save 2010-02-17 00:09:31 +11:00
Michael Moon 3c7784cc3b trying out some constant acceleration code, expect breakage 2010-02-12 18:10:03 +11:00
Michael Moon 7b79d2ea32 tons of small fixes, improvements etc. Clocked DDA at 25000mm/min (over 400mm/s!) 2010-02-11 15:34:06 +11:00
Michael Moon 54a793b3a1 dwell now waits for queue flush, M101/M103 no longer accelerate and alter feedrate, homing no longer accelerates 2010-02-10 23:40:22 +11:00
Michael Moon 7326e17560 misc tidying, added watchdog stuff, moved things around a bit 2010-02-10 12:56:26 +11:00
Michael Moon 65c237cff6 Moved ringbuffer stuff into serial routine for some significant space and speed savings 2010-02-08 22:20:07 +11:00
Michael Moon d5c2e0534d time to save, more very minor tweaks during testing runs 2010-02-08 16:30:14 +11:00
Michael Moon f8eee368c4 Lots of minor tweaks during some test runs, most notable is that tail of dda_step routing is now interruptible 2010-02-08 15:53:05 +11:00
Michael Moon fe9938bcef Accept CR as end of line, by popular request 2010-02-08 09:57:47 +11:00
Michael Moon 91c86beaf0 MAX6675 temperature code working, still playing with heater output, other fixes 2010-02-08 09:51:58 +11:00
Michael Moon 4c47901b66 tons of commenting and tidying, fixes to heater PID loop 2010-02-04 23:22:16 +11:00
Michael Moon 8cc6fa6937 split up dda and its queue, moved clock tick functions from main loop so I can call them from M101 while waiting for heater to reach target temperature, added thermal hysteresis setting 2010-02-04 00:30:04 +11:00
Michael Moon 5e0f5a6c87 axes are moving nicely, relative mode works, fixed a ton of bugs, still playing with XON/XOFF 2010-02-01 19:55:06 +11:00
Michael Moon 1bde999e0e seems to be working nicely, although the speeds don't seem quite right... 2010-01-31 17:30:31 +11:00
Michael Moon 4fc004c6c2 It's alive! (cue evil cackle). still has some bugs, eg small movements with large delta F cause weirdness, queueing lots of moves end-to-end causes some to not execute but appear as complete in the queue 2010-01-31 14:52:32 +11:00
Michael Moon aa9b59996e time to save 2010-01-24 15:11:06 +11:00
Michael Moon 6fb725a813 time to save again, DDA doesn't like negative moves at the moment 2010-01-24 11:32:11 +11:00
Michael Moon b6b2951db7 time to save, looks like the DDA is working! NOTE: endstops disabled in dda.c lines 291-296 in this revision 2010-01-24 10:08:02 +11:00
Michael Moon fbeafe3ba7 moved target struct to dda.h 2010-01-20 17:36:22 +11:00
Michael Moon f27e79aaf2 time to save again, added delay_ms, implemented cooling fan, tons of updates in gcode interpreter 2010-01-20 12:06:06 +11:00
Michael Moon ef09d62c00 time to save again, tightened up gcode interpreter, added preliminary extruder pullback code 2010-01-20 10:48:40 +11:00
Michael Moon 780ec03947 time to save again, eliminated floats and dropped over 2k of codesize 2010-01-18 09:04:00 +11:00
Michael Moon 496d58f357 time to save again, preliminary PID/PWM support for extruder barrel heater 2010-01-17 17:46:43 +11:00
Michael Moon 90ea2910aa time to save again, looking good so far 2010-01-16 20:20:15 +11:00
Michael Moon 1e6c74096e tons of changes, implementing 4D dda 2010-01-16 15:21:04 +11:00