Commit graph

562 commits

Author SHA1 Message Date
David Crocker
6929a6ed02 Fixes for DuetNG 2016-04-17 22:44:33 +01:00
dc42
9207582e2b Update BuildInstructions.txt
Now using CoreNG instead of CoreDuet
2016-04-16 21:26:37 +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
7f6693bf64 Added M92 commands
Added M92 commands in those config.g files that didn't already have them
2016-03-30 16:48:09 +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
b55f0f28c3 Updated web files to DWC 1.11 2016-03-24 10:43:40 +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
a3f90f806d Updated build instructions 2016-03-14 17:17:10 +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
David Crocker
bac9eb516e Version 1.09s beta 4
Enhancements:
- Implemented M143 and M350
- Wait until movement finished when processing M906
- Allow for additional axes in M906 reporting code
- Added support for external drivers module
- Aux2 device support is now conditional
- Added separate error code for temperature above safety limit
Bug fixes:
- Fixed spurious error report when processing corrupt input line
- When there is a temperature error, return the correct error code
- Update the overheat ADC value when changing thermistor parameters
- Fixed occasional divide by zero problem in PrintMonitor that led to
AJAX errors
- Cold extrusion prevention only checks the active tool, to allow the
same extruder and heater to be configured in multiple tools
- If extrusion is prevented because of a temperature fault, display a
message instead of silently preventing extrusion
2016-03-09 14:34:01 +00:00
David Crocker
a5722accc7 Added sys-Fisher files 2016-02-12 18:18:17 +00:00
David Crocker
de14db8dc1 Updated web files to DWC 1.08 2016-01-16 23:33:24 +00:00
David Crocker
e8ed4e38d4 Renamed binary 2016-01-16 23:12:19 +00:00
David Crocker
f5c4bdc770 Version 1.09r
Added timeout to output buffers destined for USB
Fixed bugs in thermocouple code
Reallocated thermocouple pin numbers
Made Roland mill and inkjet support conditional and normally disabled
Fixed issue with thermocouple code messing up the timekeeping system,
which was suspected of causing the network to be unreliable
Added support for M577 (thanks chrishamm)
2016-01-16 23:10:36 +00:00
David Crocker
4a1072a8e7 Version 1.09q-alpha3
Merged in chrishamm's changes including OutputBuffer fix, changes to
Roland pin numbers, rr_configfile support in web server, and Roland and
inkjet pin numbers moved to Pins_duet.h
Merged in wrangellboy's http response changes for compatibility with
Edge browser
Other minor changes
2016-01-16 14:35:31 +00:00
David Crocker
0636efee40 Version 1.09p-alpha2
Fixed issue with rare missing steps at the end of delta moves
Fix minor delta calibration issue
Fix issue with ADC crosstalk on Duet 0.8.5
Refactored RepRap and OutputBuffer classes in preparation for fixing the
OutputBuffer bugs
2016-01-10 22:04:30 +00:00
David Crocker
4ae868f77c Withdrew version 1.09o binary
Withdrew version 1.09o binary, pending fixes to prevent network
disconnects
2016-01-07 19:45:19 +00:00
David Crocker
96e8d2010b Minor updates
Added chrishamm's FTP fix
Fix spurious extra command word in http parser
Minor improvements to Heat and PrintMonitor
2015-12-31 12:28:35 +00:00
David Crocker
aa7bac3cc0 Merged in Dan's thermocouple support
Merged in Dan's thermocouple support
Define serial port allocation in Pins_duet.h
Fixed some leaks of OutputBuffer objects under error conditions
The terminating newline character in a gcode response is now added in
HandleReply
2015-12-30 13:11:56 +00:00
David Crocker
abf398b896 Checked in missing 1.09o source files 2015-12-28 09:17:17 +00:00
David Crocker
f9d4dec31a Updated binaries 2015-12-27 21:09:19 +00:00
David Crocker
611620d689 Version 1.09o-dc42
Implemented F, H and R parameters to M106 command. The second fan output
on a Duet 0.8.5 now defaults to being a thermostatic fan at power up.
Improved speed of file upload to SD card
G32 is now allowed if the printer has not been homed, if there is a
bed.g file
G30 commands are no longer allowed on a delta that has not been homed
M572 parameter P (drive number) replaced by parameter D (extruder
number)
File info requests are now processed in stages to reduce impact on
printing (thanks chrishamm)
Use latest network stack and webserver modules from chrishamm (thanks
chrishamm)
Added Roland mill support (thanks RRP/chrishamm)
Added S parameter (idle timeout) to M18 ans M84 commands (thanks
chrishamm)
Moved I/O pin assignments to separate Pins.h file to more easily support
alternative hardware (thanks dnewman)
Bug fix: filament usage and % print complete figures were incorrect when
absolute extruder coordinates were used
Bug fix: file-based print estimate was occasionally returned as 'inf'
which caused the web interface to disconnect
Bug fix: M666 now flags all towers as not homed
Bug fixes to extruder pressure compensation (M572 command).
2015-12-27 21:04:02 +00:00
David Crocker
3a0e7b87de Fixed version message
Changed version message from 1.09m-beta3-dc42 to 1.09m-dc42
2015-12-08 20:28:18 +00:00
David Crocker
6525a46a52 Version 1.09m
New features
============
The PWM frequency for the heated bed and for any heater used as a
chamber heater is now 10Hz for bettercompatibility with DC-AC SSRs.

The PWM frequency for fans is now configurable using the F paramete ron
the M106 command. The default is 500Hz, which gives esonable control of
fans not designed for PWM. Increase it to 25000Hz when using 4-wire PWM
fans.

When a Duet 0.8.5 board is configured or detected, the fan control is
now automatically inverted. If you previously used M106 P0 I1 in
config.g to invert it, you will need to remove that.

M579 (scale Cartesian axes) is now implemented (thanks chrishamm).

M114, M119 and M573 commands can now be executed concurrently with other
commands.

When DDA debugging is enabled, the debug output now includes all active
extruders instead of just the first two.

M408 S0 now includes the fan speeds (for PanelDue).

M119 now reports the Z probe as well as the endstop switch states.

A tool can now be defined even if a tool with the same tool number
exists already. The existing tool will be shut down and deleted.

The bed heater can now be disabled using M140 S-1 (thanks chrishamm).

The chamber heater (if present) and the endstop switch states are now
reported to the web interface (thanks chrishamm).

Increased defauklt Z prove dive height to 5mm.

Increased default PID Ki to 0.2

Bug fixes
=========
On a CoreXY machine, XY speeds were too low by a factor of sqrt(2).

On a delta machine, after running auto calibration the Z=0 height could
be slightly inaccurate, depending on the difference between the X and Z
endstop corrections

When using a non-intelligent modulated Z probe on a Duet 0.8.5, the
modulation pin number was incorrect.

The M27 (Report SD card print status) response was inverted compared to
what it should be. When in Marlin mode it now includes the "byte n/m"
field that some versions of Pronterface expect.

Cold extrusion prevention did not work - an error message was generated,
but the extruder was driven anyway.

M999 PERASE is now more reliable (thanks chrishamm).

M23, M30 and M32 commands did not work when the filename parameter
passed included an absolute path.

//A T command inside a macro file did not execute the tool change macros
files.

A memory leak occurred when a tool was deleted.

All moves are now completed before switching to CoreXY mode.

Polling requests from PanelDue were not relied to when a macro was being
executed

M667 with no parameters returned an incorrect string
2015-12-06 22:12:31 +00:00
David Crocker
950c407828 Corrected config.g for Mini Kossel
Motor idle current is 60 not 0.6
2015-11-11 13:03:44 +00:00
David Crocker
e1bf0f5ece Increased motor idle current to 60% for Mini Kossel 2015-11-03 21:08:40 +00:00
David Crocker
810146597c Fixed Ormerod 2 homez.g
Added missing F parameter to G1 command in Ormerod 2 homez.g
2015-09-24 16:20:39 +01:00
David Crocker
efe13ef2f1 Version 1.09k
Added F (probing speed) and T (travel speed) parameters to M558 command
Removed M210 command because home feed rates are defined in the homing
files
Increased UART interrupt priority to avoid dropping characters sent by
PanelDue
Bug fix: M558 P3 did not leave the Z probe control pin high
Bug fix: in version 1.09j only, the move following a G92 E0 command was
sometimes executed from an incorrect start point
Fixed bugs with reads/writes from/to the SD card that spanned one or
more whole sectors
Updated to latest Atmel HSMCI driver
2015-09-20 15:14:00 +01:00
David Crocker
b4b82c6546 Version 1.09j
Bug fix: Pause function sometimes used to hang while running pause macro
file
Don't wait for all moved to complete when executing a G92 command that
just resets extruder positions
M574 endstop configuration now overrides M558 when determining whether
or not to use the Z probe instead of a homing switch
Added XYZ parameters to M667 command to support CoreXZ etc. machines
with paired axis ratios that are not 1:1
Minor change to step ISR to improve timings and service drives in
round-robin order
2015-09-06 14:10:42 +01:00
David Crocker
a996c7ec4f Version 1.09i
Added support for Duet 0.8.5 with auto detection between 0.6 and 0.85
board types
Added P parameter to M115 command to set board type
Changed M115 output to report the board type that was configured or
auto-detected
Improved ISR and step pulse generation efficiency to allow higher
movement speeds, especially wheh using 0.9deg/step motors
Added XYZE parameters to M569 command to allow driver remapping
Added R parameter to M569 command to allow enable signal to be reversed
when using external drivers (thanks dnewman)
Removed M558 R parameter because boare type 0.7 can now be set via M115
instead
Moved Fan0 RPM sense pin to PA14 to avoid conflict with Duet 0.8.5 FAN1
pin
M408 poll command can now be handled concurrently with other commands
2015-09-02 19:33:28 +01:00
David Crocker
13c1fc77fb Version 1.09h
Improved step ISR and related functions to improve maximum delta
movement speed and prepare the ground for new pressure advance
algorithms
2015-08-25 21:28:43 +01:00
David Crocker
ea9921fe92 Version 1.09grc1
Fixed race condition introduced in version 1.09f
If debug output isn't consumed by a USB host, discard it instead of
blocking( which eventually caused the software watchdog to time out).
2015-08-23 08:47:30 +01:00
David Crocker
87980e2966 Version 1.09f
Fixed print quality problems that mostly affected delta printers e.g. on
spiral vase cylinder
When reconnecting a browser, cancel any file upload from the same IP
address
M111 now prints the number of each module with debugging enabled or
disabled
In special moves on delta printers, the F parameter is now interpreted
as the speed of the tower that moves the most
M114 now reports stepper positions as well as head position
Default to output in Marlin mode
M104 command defaults to the only tool if there is only one tool and it
is not selected
Trying different code for M999PERASE command to see if we can get it to
unlock flash and reset more reliably
When step errors are logged, report them immediately if Move debugging
is enabled. Also reports the total number of step errors in M122.
Changed interrupt priority to make tick interrupt higher priority than
step interrupt, because we rely on the tick interrupt to check for over
temperature conditions and kick the watchdog
2015-08-22 11:01:28 +01:00
dc42
9d6603c678 Update README 2015-08-13 10:46:40 +01:00
dc42
c954cbc443 Update README
Updated broken link
2015-08-13 10:45:13 +01:00
David Crocker
d971c6c000 Version 1.09e
Fixed CoreXY homing bug
Support simultaneous XY homing on CoreXY printers
Updated sample homeall.g file for CoreXY printers to do simultaneous XY
homing
Added H (height correction) parameter to G30 command
G30 S-1 now reports trigger height without changing ZS origin
Added M665 Z parameter to better support square delta printers
Changed interrupt priorities to make step pulse timing interrupt higher
priority than Ethernet (thanks zpl)
2015-08-10 19:31:25 +01:00
David Crocker
68cd21c99c Release 1.09d
Enabled gcc compiler warnings. Fixed over 100 warnings including at
least one actual and several potential bugs.
Simplified delta calibration code and added X and Y parameters to M665
command
Implemented chamber temperature commands (thanks chrishamm)
2015-07-31 12:31:05 +01:00