Commit graph

98 commits

Author SHA1 Message Date
David Crocker
619e5c489f Version 1.16rc2
Fixed several bugs in file time stamping
Fixed M280 and M42 commands using unused heaster channels on Duet 0.6
and 0.8.5
Reduced the amount of I2C traffic, by using DueX5 interrupt line to tell
if new data is available and by only sending fan PWM values when they
change
Display TMC2660 driver status and DueX2/X5 stall status in M122 response
Removed E parameter from M574 command (use M558 I parameter instead)
Fixed response to M307 with H parameter only
2016-11-05 20:01:02 +00:00
David Crocker
fcbf543a18 Version 1.16rc1
Merged in chrishamm's changes to support tmie stamping of uploaded files
(thanks chrishamm)
Added fan mapping in M563 command
2016-11-03 16:52:11 +00:00
David Crocker
4d6a7f49f5 Version 1.16 beta 10
Added DueX2/DueX5 support
Report expansion board type in electronics string
Added Z probe type 6 (switch on E1 stop)
Support heater 6 on Duet 0.8.5 (untested, probably incomplete)
Changed M42 pin numbering, see duet3d.com wiki
Added M280 servo support
Allow separate firmware un-retract speed to be configured in M207
Allow negative extra un-retraction in M207
Allow dans ot be disabled yusing M106 P# I-1. They can then be used as
general-purpose pins (m42) or servos (M280).
Removed support for Duet WiFi prototype 1 board
Support expanson pin PB6 and use it for cooling fan tacho
2016-10-28 19:56:24 +01:00
David Crocker
906d1b0630 Version 1.16 beta 4
Count the number of extruders properly
Added M558 I1 option
Generate an error message if a plain G30 probe fails
2016-10-23 20:14:21 +01:00
David Crocker
fe7f857b78 Version 1.16beta3
Added stub for DueX5 support
Fixed bugs with homing and position reporting of U,V,W axes
2016-10-21 11:33:55 +01:00
David Crocker
ef4f962afa Version 1.16 beta 2
Implemented X axis set and report mapping in M563 command and in web and
M408 status responses (but mapping doesn;t do anything yet)
Report number of axes to DWC
M307 H# A-1 C-1 D-1 disables the pid controller for that heater to free
up the pin
Debug print of matrixes during delta calibration is now to 4dp
Implemented fan blip
2016-10-19 15:30:41 +01:00
David Crocker
d89ec70dfc Version 1.16 beta 1 (more like an alpha)
Support up to 6 axes in many commands
Allow creation of additional axes in M584
Display delta paremners to 3dp instead of 2dp
Removed M126/M127 error messages
Delta calibration now supports bed tilt parameters
On Duet WiFi, delta calibration is now done in double precision maths
Added support for G4 S parameter
Bed compensation or delta calibration is now aborted if the probe was
triggered at the start or was not triggered by the end of the probing
move
Bug fix: JSON file list returned by M20 S2 is now terminated by \n
Bug fix: stupidly high temperatures were returned immediately after
power up in response to status requests
Bug fix: when using an analog Z probe, probing movements were sometimes
aborted  before the full depth had been probed but the firmware thought
that probing had terminated at the full depth
Bug fix: generic messages were sent to PanelDue in plain text format
2016-10-16 22:07:10 +01:00
David Crocker
bc8c679e46 Version 1.15e
Max temperature excursion and fault trigger time are now configurable
via M570
If a heater fault occurs then any SD card print in progress is abandoned
Improved M122 diagnostics headings
Bug fix: some values of pressure advance caused too many extruder steps
to be schedules, resulting in extruder step errors, and another bug in
the error handling then caused layer shifts
2016-10-02 11:13:27 +01:00
David Crocker
6639d21e51 Release 1.15d
Changes to reduce incidence of false heating fault alarms, in particular
"temperature rising much more slowly than the expected 0.0C"
Stepper drivers beyond the first 5 are assumes to be non-TMC2660 drivers
2016-09-25 11:15:54 +01:00
David Crocker
caed54112c Version 1.15c
Increased max number of probe points to 64 on Duet WiFi and 32 on Duet
0.6/0.8.5
Corrected M37 reporting of simulation time
Added move debug facility
Added recording of more types of move underrun
Use fabsf instead of fabs
M21 doesn't re-mounjt a drive that is aloready mounted and has open
files on it
Added "volumes" variable in extended status report
Report card details after M21 is called
Bug fix: M220 speed changes were nott being implemented as soon as they
should be
Bug fix: lookahead was sometimes failing to join sequences of short
decelerating moves together
Bug fix: at startup the thermistor readings were sometimes very high,
which triggered a bug in strtod() called in PanelDue firmware 1.14 and
earlier
2016-09-06 22:17:38 +01:00
David Crocker
a79a91721b Version 1.15b
Fixed problem that sometimes caused temperatures to creep up when using
legacy PID parameters
2016-08-25 20:54:30 +01:00
David Crocker
658cfc8923 Version 1.15 release
Relocated heater 7 to correrct pin on Duet WiFi
Fixed thermistor reading startup issues
Added over/under voltage count on Duet WiFi
2016-08-23 21:28:28 +01:00
David Crocker
c64bf3f783 Version 1.15tc4
Fixed some issues with new PID control
Generate a warning message if the gain from auto tuning or in a M207
command is dangerously high
Don't escape forward slash in json responses because PanelFue doesn't
like it
2016-08-21 22:18:21 +01:00
David Crocker
8d47fe8791 Version 1.15rc3
Improved PID tuning
2016-08-20 21:13:44 +01:00
David Crocker
84a274f748 One the way to 1.15rc3
Fixedbug with PrintMonitor code to find object height
Qualify some omre #include filenames with paths, to reduce the number of
include file paths needed in the compiler options
2016-08-20 18:07:07 +01:00
David Crocker
ed40658c45 Version 1.15rc2
Fixed doubling of M301 I parameter and halving of M301 P parameter
Implemented M303 auto tune and M307 heater process model
Improved temperature monitoring to detect heater cartridges or
thermistor falling out
Implemented M38 (thanks chrishamm)
Retructured course code tree
2016-08-20 12:14:28 +01:00
David Crocker
4bca2a787b Version 1.15 beta 6
Add support for second SD card on SPI bus for Duet WiFi including
implementation of M21 and M22
New temperature monitoring
Increased PWM resolution
When uploading files to wifi module, skip empty blocks
Revised TMC driver in preparation for standstill current reduction
Fixed PrintMonitor bug when the slicer comment includes a '\' character
2016-08-10 15:24:14 +01:00
David Crocker
58a7aa11d8 Release 1.15 beta 3
Further optimisation of step generation ISR
Don't allow more than half the capacity of the DDA queue to be frozen
Duet WiFi: print additional info from WiFi module
2016-07-16 08:21:19 +01:00
David Crocker
1ac43b3bf2 Version 1.14
- Fix for uncommanded stepper motor movement on some systems following a
software reset
- When multiple motors are due to step, generate all the step pulses
simultaneously
- Added support for multiple drivers for a single axis (M584)
- Added support for extended step pulse width when using external
drivers (T parameter on M569 command)
- Removed XYZE params from M569 (use M584 instead)
- Added M913 command (set motor % of normal current)
- Added Z probe type 5, which is a normally-closed switch or active-high
probe connected to the Z probe connector
- Duet WiFi default Z probe threshold is now 500
- Duet WiFi defaults to using a low end homing switch on the X axis
2016-07-02 17:21:16 +01:00
David Crocker
f7cff3a054 Version 1.14 very early beta
Changes to use new pin modes in CoreNG
Initialise TMC2660 step/dir/CS pins as early as possible
Allow emergency stop in simulation mode
Disable drives and heaters when doing a software reset
Support 10th drive and 8th heater on Duet WiFi
TMC2660 driver support is now only in Duet WiFi firmware build
2016-06-28 21:50:13 +01:00
David Crocker
cddcf711cd Version 1.13b
Bug fix: PanelDue showed fan at 1% instead of 100%
Added supply voltage monitoring (Duet WiFi)
Rr-initialise TMC2660 drivers whenever Vin supply is lost and comes back
up again
2016-06-24 16:20:25 +01:00
David Crocker
ac4794daf1 Version 1.13a
Fixed thermostatic fan bug introduced in version 1.13
Added MCU temperature monitoring
Duet WiFi only: added voltage monitoring, and disable TMC2660 drivers if
the voltage is too low or too high. Not tested as at time of this
checkin,
2016-06-19 23:39:25 +01:00
David Crocker
b12a131e28 Version 1.13
Temporary fix for RTD temperature spikes causing failed prints
Added 'only if printing a file' condition in M581 command
Fixed M117 for PanelDue
Don't print extruder positions in M114 because they are always zero
Process M0 and M1 when in simulation mode
Allow setting of fan PWM from 50% upwards when a fan is in thermostatic
mode
Reduced default extruder heater PWM frequency
Axes are no longer homes when microstepping is changed
SD card interface speed is included in M122 output
2016-06-15 21:47:15 +01:00
David Crocker
eb5445770b Version 1.13 beta 1
Added support for M581 and M582 commands
M25 pause command can now be used inside a macro file to pause a file
being printed from SD card
Firmware update messages are now sent to USB and PanelDue (but the
existing PanelDue firmware doesn't display them)
Added gcode queue underrun counter, displayed in M122 Move diagnostic
info
M122 responses are now sent only to the comms channel that requested
them
Added support for additional firmware modules to be updated for Duet NG
Corrected a possible problem with multiple incompatible gcodes being
executed concurrently
Support H parameter on M0 and M1 commands
When executing M0/M1 commands and no print is paused, execute
stop.g/sleep.g if they exist
Treat M25 within the file being printed the same as M226
Added additional simulation modes to help identify bottlenecks
Don't disable all interrupts when starting a new move, to reduce
interrupt latency so that we can still receive data from PanelDue
Moved some utility maths functions to CoreNG
2016-05-27 20:59:44 +01:00
David Crocker
1b2be24ead Version 1.12a
1. Changed thermocouple/RTD support to use new (fixed) version of
SharedSpi in CoreNG
2. PrintMonitor fixes:
- Speed up getting file info, because it was slow enough to cause Ajax
timeouts on some systems
- Reduce the number and volume of messages printed when debugging was
enabled, and send them only to the USB interface, because it was
overloading the message buffer system and causing Ajax errors
- Added separate time stats for file seeks
2016-05-10 12:52:19 +01:00
David Crocker
0d47bd9546 Correct case of Pins_Duet.h 2016-05-08 19:06:45 +01:00
David Crocker
c1f5d919c2 Temporarily rename Pins_Duet.h to correct case 2016-05-08 19:05:51 +01:00
David Crocker
7c864d13e3 Version 1.12
Enhancements
=========
Added support for RTD temperature sensors
When cancelling a print, if cancel.g exists then run it instead of
turning heaters off
Improved file upload speed over the web interface
Chamber heater is now exempted from timeout
Pressure advance now reduces maximum extruder jerk setting by a smaller
amount when the extruder steps/mm is high
The Duet no longer reports itself as an Arduino Due and has its own
Windows driver
Added experimental "maximum average printing acceleration" feature
Try to improve speed of getting file information in Print Monitor

Bug fixes
======
Simulation mode was not working properly
External driver support code sometimes failed to enable the associated
drives
Fixed potential overflow if a user attempted to use non-existent driver
9 on a Duet 0.6
M408 status requests were not handled when in simulation mode
Removed hard coded PATH in project
2016-05-07 21:55:19 +01:00
David Crocker
1a0ce16128 Added support for PT100 and other RTDs
Added support for RTDs using the MAX31865 interface chip
2016-04-24 11:44:32 +01:00
David Crocker
3236714418 Version 1.11a
Fixed thermocouple support (needs latest CoreNG)
2016-04-21 09:36:53 +01:00
David Crocker
6929a6ed02 Fixes for DuetNG 2016-04-17 22:44:33 +01:00
David Crocker
1b16fc780c Changes for DuetNG 2016-04-15 21:47:13 +01:00
David Crocker
71db3278ec Fixed IAP firmware update for SAM4E build
Changed the firmware update code to take account of peculiarities in the
SAM4E EFC
2016-04-14 20:44:20 +01:00
David Crocker
79828f9cd9 Version 1.11 release
Use updated CoreNG to fix incorrect extruder 1 motor current
Improved accuracy of setting extruder 1 motor current
2016-04-14 12:21:24 +01:00
David Crocker
f3a1b62c0a Version 1.11-beta1
Changed to CoreNG
Implemented chrishamm's latest Network and Webserver changes, including
Telnet streaming
Added S parameter to M997 command for DuetNG
Increased file read block size to 2K when getting file info
2016-04-10 21:50:16 +01:00
David Crocker
0c2dc85853 Tidied up Platform.cpp 2016-04-08 08:49:54 +01:00
David Crocker
ee4f8fd3e5 Changes to use new core
Changed to use new core
Added build options for next generation Duet
When changing microstepping, update steps/mm automatically
2016-04-08 08:41:04 +01:00
David Crocker
818e14f984 Version 1.10+4
Updated with chrishamm's latest Network, Webserver and PrintMonitor
module changes
2016-03-30 13:29:13 +01:00
David Crocker
1356abd707 Refactoring to support CoreNG 2016-03-30 09:54:21 +01:00
David Crocker
a6e1258641 Interim build 1.10+1
Fixed incorrect parameters for un-retraction moves when z-hop,
orthogonal axis compensation and pressure advance are all enabled
Further refactoring of SD_HSMCI library in preparation for moving hsmci,
dmac and rtc modules into CoreDuet
2016-03-25 21:25:08 +00:00
David Crocker
4250e2dc54 Version 1.10
Added chrishamm's DHCP fixes
2016-03-24 10:33:15 +00:00
David Crocker
68068e97ba Version 1.09z-rc1
Merged in chrishamm's latest changes
Implemented firmware retraction
2016-03-23 14:53:50 +00:00
David Crocker
4fb3bcb254 Version 1.09x release
Eliminated module SamNonDuePin because its functions are now provided in
CoreDuet
Use updated emac module in CoreDuet
2016-03-13 12:58:56 +00:00
David Crocker
8d99d640b8 Version 1.09x-beta3
Merged in chrishamm's changes to Network, PrintMonitor, and his support
for firmware updates from SD card
Fixed print monitor issue that threw out the layer count and time
estimates when there was an initial extruder priming move in the start
gcode
2016-03-11 18:03:41 +00:00
David Crocker
206f85c690 Version 1.09t beta 2
Got rid of most of module SamNonDuePin because CoreDuet now provides the
required functionality
No need to define function watchdogSetup any more because the core no
longer calls it
2016-03-10 14:10:48 +00:00
David Crocker
a0efdc76a8 Version 1.09t beta 1
Enabled watchdog again
Added build instructions
2016-03-10 08:14:51 +00:00
David Crocker
13ad2ba6e4 Switched to new build system
Switched to the new build system that doesn't need the Eclipse Arduino
plugin and uses the CoreDuet project instead of Arduino to provide
hardware support
2016-03-09 16:38:18 +00:00
David Crocker
14b71f9a2e Moves source files to /src subdirectory 2016-03-09 16:05:13 +00:00