Commit Graph

72 Commits

Author SHA1 Message Date
Markus Hitter f249724efd Account for different Power Reduction Registers (PRR) on the
various chips.
2010-07-13 15:31:15 +02:00
Markus Hitter 6f0dced422 Achieve C89 compatibility, Arduino IDE's default. 2010-07-09 21:03:46 +02:00
Markus Hitter 8c56c080fe Make sources buildable with the Arduino IDE. 2010-07-09 21:03:23 +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 76834e6636 time to save, also changed makefile to atmega328 because I fried my 168 2010-03-04 21:19:18 +11:00
Michael Moon 8575ae3480 time to save, bugfixes in linear acceleration code, fixed point delta t instead of integer, etc 2010-02-22 12:10:35 +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 997ea730f4 use boot.h functions to read own fuses 2010-02-06 20:17:06 +11:00
Michael Moon 535dbfc901 Minor edit to firmware copy- still untested 2010-02-06 20:03:42 +11:00
Michael Moon 3fb2977ff0 First write-up of firmware copy routine- totally untested! 2010-02-06 19:50:08 +11:00
Michael Moon 1ae24e5378 altered serial subsystem to be capable of 115200 baud 2010-02-05 09:53:38 +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 5b1245e41d solved bug where speed would be seemingly random for moves beyond about 71mm, plus lots of tidying 2010-02-03 23:11:33 +11:00
Michael Moon 9b067d383b time to save, think I solved reducing F bug, movement is now lovely! 2010-02-03 19:56:51 +11:00
Michael Moon 6002e10dd7 time to save, acceleration seems to be temporarily broken, will have to debug later 2010-02-02 23:51:08 +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 980f39a2c3 time to save, motors working nicely, XON/XOFF flow control implemented for *simple* dumping of gcode 2010-02-01 18:13:26 +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 d9bb2f4db7 time to save, fixed a typo, maybe some F-related bugs 2010-01-31 15:12:58 +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 d302329eee time to save, made debug output (524 bytes) and global clock (50 bytes) optional 2010-01-27 09:11:46 +11:00
Michael Moon 098f277713 had some machine variables defined as floating point, returned all calculations to integer preserving as much precision as practical 2010-01-24 23:43:05 +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 bde8ab776d fixed a few bugs, such as two consecutive moves to a point and back to the start wouldnt be run at all 2010-01-24 10:26:10 +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 db94bf21e8 time to save again, added a system clock so we can check temperature every 250ms and run a PID loop 2010-01-17 19:50:34 +11:00
Michael Moon 4bf2d005c2 time to save again, reorganised the IO abstraction layer, started on some timer stuff 2010-01-17 18:24:32 +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 411ada4d82 this one actually compiles 2010-01-16 20:30:41 +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