Commit graph

511 commits

Author SHA1 Message Date
David Crocker
0d73438c67 Updated .gitignore 2014-07-15 15:19:32 +01:00
David Crocker
71037ee4cd Version 0.78c-dc42
Bug fix: using G10 to set oly the active temperature caused the standby
temperature to be set to an undefined value, and vice versa
G10 can now be used to retrieve the active and standby temperatures as
well as set them
Bug fix: I and D parameters were set to incorrect values when the M301
and M304 commands were used. They also reported the incorrect values.
New T parameter added to M301 and M304 commands, to allow the I term to
be preset to a suitable value when PID kicks in
Adjusted default PID parameters for lower overshoot and less oscillation
Bug fix: when axis or bed compensation was enabled a homing move to seek
for one endstop could be prematurely terminated by another endstop
M122 command only outputs LWIP stats if debug is enabled. Prevents a
hang if no UDB cable is connected when M122 is executed.
Bug fix: when resetting, the heaters used to power up for a short time
M0 and M1 commands now turn the heaters off instead of to standby
Web server status poll response now includes the selected tool number
2014-07-15 15:17:41 +01:00
David Crocker
133c84a5ed Updated the changes document 2014-07-06 23:53:34 +01:00
David Crocker
3053359b30 Post-merge fixes
Fixed M122 so that diagnostics are sent to the web interface as well as
USB
Fixed M220 command to respond to speed change requests faster
Count the number of active extruders and heaters, and only send their
values to the web interface, subject to a minimum of 2 heaters and 1
extruder
2014-07-06 23:06:49 +01:00
David Crocker
74a7616107 Removed a spurious folder 2014-07-06 19:59:19 +01:00
David Crocker
57704f033b Merge RRP's 0.78 version and my 0.65k version 2014-07-06 19:57:21 +01:00
David Crocker
0623a64590 Merge branch 'duet' 2014-07-05 16:03:56 +01:00
David Crocker
85eb922504 Fixed FTP bug and added binary (version 0.65k-dc42)
Fixed buffer overrun bug in FTP LIST command that caused a subsequent
FTP delete command to crash. Increased file list buffer to 2000 bytes.
Added binary RepRapFirmware-057k-dc42.bin.
2014-07-05 15:47:45 +01:00
Adrian Bowyer
2b96c2b6f6 Version 0.78
Release.
2014-07-03 13:10:36 +01:00
David Crocker
4eaeac108b Merged in zpl's changes for FTP and Telnet 0.65k)
Merged in zpl's changes. The FTP server is not yet reliable, in
particular trying to delete a file via FTP after copying another may
result in the Duet rebooting due to the webserver module getting stuck
in a spin loop. Also the copied file has on one occasion been observed
to be shorter than the original.
2014-06-28 18:21:01 +01:00
David Crocker
9e1ad597a4 Merge branch 'duet'
Conflicts:
	.gitignore
	Configuration.h
	GCodes.cpp
	GCodes.h
	Heat.cpp
	Heat.h
	Move.cpp
	Move.h
	Platform.cpp
	Platform.h
	RepRapFirmware.cpp
	RepRapFirmware.h
	Reprap.h
	SD-image/sys/config.g
	Webserver.cpp
	Webserver.h
	network/ethernet_sam.c
	network/ethernet_sam.h
	network/httpd.c
2014-06-28 17:58:03 +01:00
David Crocker
415932bc03 Updated changes document 2014-06-21 23:09:35 +01:00
David Crocker
8169d96d52 More bug fixes
Corrected returned values of speed factor and extrusion factor
When setting the machine name and password, stop at the first control
character, and remove trailing spaces
2014-06-21 22:53:27 +01:00
David Crocker
fe2b31a550 Version 0.65i
Improved speed of response to M220 command
Limit length of text returned in response to rr_name web command, stop
on first control character, and escape and quote or backslash characters
2014-06-21 14:01:23 +01:00
David Crocker
6ce679160c Bug fix (version 0.65h-dc42)
Fixed bug (inherited from RRP 0.65e source) whereby a M109 command would
crash the Duet if an invalid tool was selected
2014-06-18 18:20:24 +01:00
dc42
900013facd Update Changes in dc42 fork.txt 2014-06-17 08:33:45 +01:00
David Crocker
90b9272527 Bug fix to M190 command (0.65g)
M190 command no longer sets the standby temperature. Also removed old
binaries.
2014-06-15 00:32:26 +01:00
David Crocker
56508f9db8 Corrected a speling erorr 2014-06-11 12:31:04 +01:00
David Crocker
e94b299a88 Bug fixes
Got M221 command working again (broken by last merge)
Fix issue with printing Treito's file after a pause and reset
2014-06-09 18:23:56 +01:00
dc42
668a46ce18 Delete RepRapFirmware-065e-13-05-2014.bin
Delete RRP's version from my fork in case people think it is my version
2014-06-09 15:37:25 +01:00
dc42
f081b272b2 Delete RepRapFirmware-065d-08-05-2014.bin
Delete RRP's version from my fork in case people think it is my version
2014-06-09 15:36:34 +01:00
dc42
8e6466fcdf Merge pull request #4 from reprappro/master
RepRapPro changes in master
2014-06-07 09:36:36 +01:00
David Crocker
73724a4b9a Merged RepRapRro's 0.65e version in
Merged changes (mostly to handle multiple tools i.e. extruders) from
RRP's 0.65e version.
2014-06-04 17:39:36 +01:00
David Crocker
08f7d2e9b1 Support HTTP requests longer than TCP MSS
Changed webserver to support HTTP requests that span multiple TCP
messages. Changed upload code to to block file writes direct fro the
received message. Increased maximum upload message size. Changed
fileinfo command to report layer height and what program generated the
gcode file, if available.
2014-06-01 21:07:47 +01:00
David Crocker
9366ef8e84 Allow network requests to span multiple TCP pkts
Incoming network requests can now span multiple TCP messages. Max upload
buffer increased to 2048. Also return layerHeight and generatedBy values
when asking for fileinfo on a gcode file. This is an interim commit that
needs cleaning up before release.
2014-06-01 10:51:33 +01:00
David Crocker
8464b5bfac 059d-dc42 release
1. Reworked network layer to be more robust in the presence of network
errors (hopefully). In particular, don't release transmit buffers if
they might still be needed to retry sending data because the ACK got
lost.
2. Fixed bug whereby fileinfo command looked for the print height and
filament used if the extensio was .gcode or .gc or .gco but not if it
was .g.
3. When the M25 (pause print) command is received, pause the current
gcode so that commands such as M116 (wait for temperatures) can be
interrupted.
2014-05-29 23:14:55 +01:00
David Crocker
ce0a2a799a Faster and more reliable file uploading
Rewrote the web server command parsing as a state machine. Added support
for persistent connections, used for file uploading. Changed file upload
protocol to pass status information back. Added web message type for
deleting files.
2014-05-23 22:27:35 +01:00
David Crocker
156aa79c07 New file upload protocol
Introduced new file upload protocol that doesn't use gcodes and allows
upload errors to be reported back. Changed file system interface in
Platform to return success/fail status of Write and Close calls to
support this.
2014-05-22 16:30:55 +01:00
David Crocker
75829fcaad File upload + other improvements
Added new request code rr_data for file uploading, and made other
changes to improve file upload speed.
Implemented S parameter to M208 command, to allow the negative limits of
axes to be set. Also reports current limits of no X/Y/Z parameter.
Reduced max reported free buffer size to 950 bytes to avoid problems
with file upload from Windows 8.1.
2014-05-18 20:57:14 +01:00
David Crocker
5fe612dd79 Added binary 059a-dc42 2014-05-14 22:10:48 +01:00
David Crocker
a416c367d2 Various bug fixes and enhancements (version 0.59a)
Fixed bug whereby incoming gcodes were URI-decoded twice, which could
cause problems if a comment contain a % character
Fixed bug whereby M109 and M190 waited for all heaters to reach target
temperature instead of just the one involved
Fixed bug whereby files whose names contain an uppercase letter G could
not be uploaded or deleted
Increase buffer size for incoming gcodes
Removed parameter to set max PWM value in M106 command. Max PWM value is
now 255 as per recent RepRapPro change.
Changed the code that deals with dropping characters in unimportant
messages sent to USB such that we only drop characters at the end of a
line (adding ".\n" to whatever we send) or drop whole lines
2014-05-14 22:04:14 +01:00
Adrian Bowyer
fa64e8b5aa Version 0.65e.
Turn Z probe type 2 LED on even if an M558 P1 is sent.  This means that a Probe 2 will
emulate a Probe 1 if the user mistakenly sends M558 P1 to it.  Also both Probe 1
and Probe 2 will work properly if they are properly selected (as before).
2014-05-13 22:00:47 +01:00
Adrian Bowyer
e73f2e083d More trivial text cahnages... 2014-05-12 11:25:40 +01:00
Adrian Bowyer
7a78c5ecde More trivial text corrections... 2014-05-12 11:24:29 +01:00
Adrian Bowyer
2419b6825c More text corrections... 2014-05-12 11:23:12 +01:00
Adrian Bowyer
2079714096 Trivial punctuation corrections in English text... 2014-05-12 11:20:27 +01:00
Adrian Bowyer
8e1e9cda4e Merge branch 'master' of https://github.com/reprappro/RepRapFirmware 2014-05-10 10:42:29 +01:00
Adrian Bowyer
15c2b8e176 Correct version number in the .bin file. 2014-05-10 10:41:31 +01:00
Jean-Marc Giacalone
a4ab3d43be Sample gcode files updated to reflect new tool numbering. 2014-05-09 17:25:36 +01:00
David Crocker
b7701832bc Made MAC address depend on IP address
Made the last 4 bytes of the MAC address the same as the IP address so
that multiple Duets can be connected on the same network
2014-05-09 07:39:22 +01:00
Adrian Bowyer
e796a7466a Version 0.65d.
There were some bugs that surfaced if one tried to set variables (like accelerations) for extruders
if no tool had been selected.  Those should be fixed here so
that attempting such things now sets parameters for the first extruder drive if
no tool has been selected.
2014-05-08 22:33:29 +01:00
Adrian Bowyer
ea86fe1c5a Merge branch 'master' of https://github.com/reprappro/RepRapFirmware 2014-05-08 21:24:08 +01:00
Adrian Bowyer
dfeed15d53 Version 0.65c. The way that the Webserver class responds to a poll request
has been altered to send the X, Y, Z, and E coordinates first, followed by temperatures.
It was the other way round.  This led to compatibility problems between versions as
the experimental multiple tool versions (duet branch V0.70+) report many temperatures
and this was confusing the X Y Z stuff if the temps came first.  We can only realistically have one
live version of reprap.js (served from RepRapPro's Github to all running machines), so reprap.js
now expects coordinates first, and both this master version and all future master and experimental
versions will do that.
2014-05-08 21:17:14 +01:00
Jean-Marc Giacalone
23c5f47204 Move tool call in config.g to before M92 command. 2014-05-08 15:47:24 +01:00
Jean-Marc Giacalone
5204dfa834 config.g now selects tool head 1 and sets speeds and accelerations. 2014-05-08 11:19:39 +01:00
Adrian Bowyer
ad4a451bed Version 0.65b. This version fixes the incompatibility between the
code in the web interface and the firmware.  The web expects to select tool T1
when it changes temperatures.  The firmware now also uses T1.
2014-05-07 18:42:54 +01:00
Adrian Bowyer
4104ff461b Version 0.65a. This allows the MAC address for the Duet to be set in config.g (q.v.),
which allows multiple Duets to be on the same network.
2014-05-07 18:17:44 +01:00
David Crocker
ceae4df7a1 Fix jerky SD card printing when no network cable
Fixed problem whereby gcode files printed from SD card that used lots of
small fast moves in sequence would print jerkily if a network cable had
not been connected since reset.
Fixed problem whereby object height and filament needed were not
retrieved from the SD card file to be printed if the filename contained
spaces.
Added support for deprecated M190 command, because slic3r appears to
generate it sometimes
Added support for M564 command to allow movement without limits, copied
from RepRapPro dev branch
2014-05-05 18:47:22 +01:00
David Crocker
6c1aeb0277 Close file if necessary after network error
If a network error occurs when sending a file, we now close that file,
otherwise we would use up open file entries. Also added number of
available open file entries to M111 S2 command.
2014-05-02 20:37:57 +01:00
David Crocker
11bb293b10 Fixed file handling for pause/resume
Fixed bug in file handling that affected SD card pause/resume
operations. Merged changes from zombiepantslol to allow a height to be
set for a Z endstop switch. Reverted to blocking USB I/O but only for
debug and M503 output. Added return codes for file close and seek
operations. Increased the size of the tail of the file that we scan for
G1 Z commands from 32K to nearly 200K.
2014-05-01 01:49:37 +01:00