Welcome! Log In Create A New Profile

Advanced

New RepRapFirmware 1.10-dc42

Posted by dc42 
New RepRapFirmware 1.10-dc42
March 24, 2016 06:52AM
Chrishamm and I agreed yesterday that it was time to move the version number of RRF on from 1.09. Accordingly, I am pleased to announce release 1.10 of my fork of RepRapFirmware, available at [github.com] (follow the link and press Raw to download it). The changes since my last official release (1.09x-dc42) are:

* Added support for firmware retraction (G10 with no parameters, G11, and M207). This is mainly to better support mixing extruders. To use it, configure "Firmware retraction" in slic3r, then set up your retraction parameters in config.g or in your slicer start gcode using the M207 command, see [reprap.org]. When using a mixing extruder, all extruders associated with the current tool will be retracted by the amount configured, regardless of the current mix ratio. Retraction speed and length are not affected by the M220 or M221 commands.

* Merged in chrishamm's 1.09z networking, webserver, print monitor and iap.bin changes (thanks chrishamm)

* Fixed a bug that sometimes caused auto-IP address allocation via DHCP to fail at startup (thanks chrishamm)

The recommended web interface is DuetWebControl 1.11, available in the SD-Image folder of my repo or direct from chrishamm's repo at [github.com] (download the zip and upload it on the Settings page of the web interface).

If you are already using a recent version of my or chrishamm's 1.09 series firmware, there is no need to change your config.g or homing files.

Edited 1 time(s). Last edit at 03/24/2016 06:53AM by dc42.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: New RepRapFirmware 1.10-dc42
March 24, 2016 06:43PM
Got the new version uploaded. Was glad to see that fix for the auto-IP fix as I believe that has been a problem I have been fighting with. I was testing out the network connections and tried connecting via Telnet. I get the prompt for the password, but always get an error, 'Invalid or too long request'. Anyone else seeing this problem?
Re: New RepRapFirmware 1.10-dc42
March 25, 2016 04:20AM
M122
Diagnostics
Used output buffers: 4 of 16 (4 max)
Platform Diagnostics:
Memory usage:
Program static ram used: 42100
Dynamic ram used: 39620
Recycled dynamic ram: 200
Current stack ram used: 2712
Maximum stack ram used: 4220
Never used ram: 12164
Last reset 00:00:37 ago, cause: watchdog
Last software reset code & available RAM: 0x0003, 11652
Spinning module during software reset: GCodes
Error status: 0
Bed probe heights: 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
Free file entries: 10
Longest block write time: 0.0ms
Slowest main loop (seconds): 0.002890; fastest: 0.000189
Move Diagnostics:
MaxReps: 0, StepErrors: 0
Heat Diagnostics:
GCodes Diagnostics:
Move available? no
Stack pointer: 0 of 5
Network Diagnostics:
Free connections: 15 of 16
Free transactions: 23 of 24
Webserver Diagnostics:
HTTP sessions: 1 of 8
FTP connections: 0, state 0
Telnet connections: 0


same problems as ch version...

Dario


Ormerod 187
Firmware Electronics: Duet 0.6
Firmware Version:1.18.1 (2017-04-07)
Web Interface Version:1.15a
Slic3r 1.2.9a and Simplify3D 4.0.0
[www.dropbox.com]
Re: New RepRapFirmware 1.10-dc42
March 25, 2016 08:11AM
ElmoC, that was my bad, I expected Telnet and FTP requests to be sent in one chunk rather than char-by-char. I noticed the same problem yesterday morning, but at that time dc42 had already checked in his final version. I guess if you use Pronterface or the stock Telnet client instead of PuTTY, you can work-around this problem until we release new firmware versions.

Dario, that's a watchdog reset and not a "normal" software reset. Could you tell us in detail how this problem can be reproduced?
Re: New RepRapFirmware 1.10-dc42
March 25, 2016 09:39AM
Quote
chrishamm
ElmoC, that was my bad, I expected Telnet and FTP requests to be sent in one chunk rather than char-by-char. I noticed the same problem yesterday morning, but at that time dc42 had already checked in his final version. I guess if you use Pronterface or the stock Telnet client instead of PuTTY, you can work-around this problem until we release new firmware versions.

Dario, that's a watchdog reset and not a "normal" software reset. Could you tell us in detail how this problem can be reproduced?

It is not a stable error condition... was doing "home all".... after a simply reconnect and "home all" again.. is now printing
ah... ok I'll refresh the JS folder asap

Thanks

Dario


Ormerod 187
Firmware Electronics: Duet 0.6
Firmware Version:1.18.1 (2017-04-07)
Web Interface Version:1.15a
Slic3r 1.2.9a and Simplify3D 4.0.0
[www.dropbox.com]
Re: New RepRapFirmware 1.10-dc42
March 25, 2016 01:02PM
I'm getting a couple of problems with the web interface; the majority of the time it sort of half loads and sits there forever trying to load. If I reboot the duet it will then sometimes load but when I upload some gcode I'm presented with an AJAX error seen here:

When that happens I get the following blurb over the serial connection:
                                 Network::ConnectionAccepted() - no free ConnectionStates!
          Network::ConnectionAccepted() - no free ConnectionStates!
Repeated many times
and
Network: Connection error, code -11
repeated a few times.

The gcode upload is working as I can print from the SDcard with the PanelDue.
Re: New RepRapFirmware 1.10-dc42
March 25, 2016 06:55PM
Quote
chrishamm
ElmoC, that was my bad, I expected Telnet and FTP requests to be sent in one chunk rather than char-by-char. I noticed the same problem yesterday morning, but at that time dc42 had already checked in his final version. I guess if you use Pronterface or the stock Telnet client instead of PuTTY, you can work-around this problem until we release new firmware versions.

When you say stock Telnet client, which one are your referring to? I just tried the Windows 7 one and got the same error. And the latest version of Pronterface I can find (03 Feb 2015 zip file with Printrun 2014-08-01), doesn't have a Telnet option that I can find.
Re: New RepRapFirmware 1.10-dc42
March 26, 2016 03:17AM
Thanks dc42 and chrishamm for the RRF and DWC
I see that you two have been merging each others' work/changes in the recent releases
What are the main differences between the 2 branches now?
Re: New RepRapFirmware 1.10-dc42
March 26, 2016 08:42AM
M122
Diagnostics
Used output buffers: 4 of 16 (4 max)
Platform Diagnostics:
Memory usage:
Program static ram used: 42100
Dynamic ram used: 39620
Recycled dynamic ram: 200
Current stack ram used: 2712
Maximum stack ram used: 4188
Never used ram: 12196
Last reset 00:29:25 ago, cause: watchdog
Last software reset code & available RAM: 0x0003, 11640
Spinning module during software reset: GCodes
Error status: 0
Bed probe heights: 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
Free file entries: 10
Longest block write time: 0.0ms
Slowest main loop (seconds): 0.004395; fastest: 0.000122
Move Diagnostics:
MaxReps: 0, StepErrors: 0
Heat Diagnostics:
GCodes Diagnostics:
Move available? no
Stack pointer: 0 of 5
Network Diagnostics:
Free connections: 15 of 16
Free transactions: 23 of 24
Webserver Diagnostics:
HTTP sessions: 1 of 8
FTP connections: 0, state 0
Telnet connections: 0


I can not print with this ....
now I have lost a print in the middleconfused smiley

Dario


Ormerod 187
Firmware Electronics: Duet 0.6
Firmware Version:1.18.1 (2017-04-07)
Web Interface Version:1.15a
Slic3r 1.2.9a and Simplify3D 4.0.0
[www.dropbox.com]
Re: New RepRapFirmware 1.10-dc42
March 26, 2016 11:15AM
Dario, I can do you a build with a higher watchdog timeout, to see if that helps. I see that chrishamm increased the watchdog timeout in his recent versions, I'm not sure why he did that - maybe his new networking code needed it. In the mean time, if you have the USB cable connected, try printing without it.

EDIT: I got that wrong - chrishamm and I both use a 1 second watchdog timeout. But chris is aware of this issue you are having, and is doing some more tests on the recent changes to the network code.

Edited 1 time(s). Last edit at 03/26/2016 12:29PM by dc42.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: New RepRapFirmware 1.10-dc42
March 26, 2016 11:52AM
Hi David,
I'm getting errors on both last versions and no USB cable connected (used only for firmware update until the new web gui).
Randomly reset....terrible.. back to 1.09x-ch the print is done.....
Fortunately we have a lot of stable versions....

Dario


Ormerod 187
Firmware Electronics: Duet 0.6
Firmware Version:1.18.1 (2017-04-07)
Web Interface Version:1.15a
Slic3r 1.2.9a and Simplify3D 4.0.0
[www.dropbox.com]
Re: New RepRapFirmware 1.10-dc42
March 26, 2016 01:38PM
Going back to RepRapFirmware-1.09x-dc42.bin fixed my problem.
Re: New RepRapFirmware 1.10-dc42
March 26, 2016 04:03PM
There is also 1.09z-rc1 available here [github.com]. This version predates the latest round of network code changes.

Edited 1 time(s). Last edit at 03/26/2016 04:04PM by dc42.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: New RepRapFirmware 1.10-dc42
March 27, 2016 05:34AM
[www.thingiverse.com]


jewel

my first test only... with 1.09z (2016-03-23)

Dario

Edited 1 time(s). Last edit at 03/27/2016 05:51AM by Ormerod187.


Ormerod 187
Firmware Electronics: Duet 0.6
Firmware Version:1.18.1 (2017-04-07)
Web Interface Version:1.15a
Slic3r 1.2.9a and Simplify3D 4.0.0
[www.dropbox.com]
Re: New RepRapFirmware 1.10-dc42
March 27, 2016 05:43AM
Quote
dc42
There is also 1.09z-rc1 available here [github.com]. This version predates the latest round of network code changes.
I should have mentioned I tried downgrading to that first before 1.09x, but I got the same errors as with 1.10.
pkm
Re: New RepRapFirmware 1.10-dc42
March 28, 2016 04:01AM
Quote
asbo
I'm getting a couple of problems with the web interface; the majority of the time it sort of half loads and sits there forever trying to load. If I reboot the duet it will then sometimes load but when I upload some gcode I'm presented with an AJAX error seen here:
Same problem here, unfortunately. Updated to 1.10 and DWC 1.11
It barely loads once after power-up but doesn't connect and doesn't respond any more. Something like ERR_EMPTY_RESPONSE

I have to roll back to 1.09x now... via bossac, I can't even get settings page to load

Edited 2 time(s). Last edit at 03/28/2016 04:15AM by pkm.
Re: New RepRapFirmware 1.10-dc42
March 28, 2016 06:55AM
Hmm, I'm sorry but I have not been able to reproduce this problem on my own setup. Could you do the following:

1) Download and install Wireshark
2) Attach a USB cable to your printer
3) Install dc42's 1.10 or my latest beta firmware on your Duet
4) Open Pronterface or Arduino IDE, and connect to the printer
5) Enable debugging for the network and webserver modules via "M111 P1 S1" and "M111 P2 S1"
6) Start a new Wireshark capture
7) Try to load the web interface
8) Send M122
9) Send me the entire USB log and the Wireshark dump

I hope that will give me a better idea why it's happening.

Edited 1 time(s). Last edit at 03/28/2016 12:23PM by chrishamm.
Re: New RepRapFirmware 1.10-dc42
March 28, 2016 07:26AM
i am trying to update through dwc to the 1.10 of dc42 from 1.09x but i am gettting a m997 error.


Delta Printer
Duet 0.8.5 firmware 1.19
Re: New RepRapFirmware 1.10-dc42
March 28, 2016 11:45AM
Have you uploaded iap.bin as well as the RepRapFirmware.bin file?

Edited 2 time(s). Last edit at 03/28/2016 11:48AM by dc42.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
pkm
Re: New RepRapFirmware 1.10-dc42
March 28, 2016 11:55AM
Quote
chrishamm
Hmm, I'm sorry but I have not been able to reproduce this problem on my own setup. Could you do the following:

................

I hope that will give me a better idea why it's happening.

I'll probably do that tomorrow.
I haven't tried your firmware, but 1.09x corrected the problem, and then 1.10-dc42 broke it again.

I also noticed that the web interface works somewhat better in the same network, and worse when forwarded outside. Not sure if it's relevant.
Re: New RepRapFirmware 1.10-dc42
March 28, 2016 01:24PM
Quote
dc42
Have you uploaded iap.bin as well as the RepRapFirmware.bin file?

yeap i did . i uploaded the last file of urs and i found it renamed to what you have just told . anyway i ll do it the old fashion way.


Delta Printer
Duet 0.8.5 firmware 1.19
Re: New RepRapFirmware 1.10-dc42
March 29, 2016 06:32AM
Same problem here.
After upgrading to 1.10 / 1.11 I can connect via webinterface and upload files and start prints etc.
But once the browser was closed a reconnect is no longer possible while in a print.

Edited 3 time(s). Last edit at 03/29/2016 09:52AM by critical_limit.
pkm
Re: New RepRapFirmware 1.10-dc42
March 29, 2016 08:49AM
@chrishamm

From a PC in the same segment with the printer everything works OK. IE11 loads the web-interface really fast, but there's a few seconds delay in Chrome. I closed the browsers and opened them a few times... no problems.

From another PC where the printer IP is forwarded it gets weird. When I open the web-interface in IE11 and it loads, but doesn't connect, and after that it's completely dead.

I'll try Wireshark now...
pkm
Re: New RepRapFirmware 1.10-dc42
March 29, 2016 09:03AM
@chrishamm

Here's the Wireshark log. It ends when I press Stop in IE11, because the page doesn't load any more.
[www.dropbox.com]
I start Wireshark on a PC with 2 interfaces, 192.168.100.1 (sharing the internet from another interface) is connected to WAN port of a router (192.168.100.121), the printer is 192.168.0.121 on the router's LAN, and it's port 80 forwarded to the router (192.168.100.121). I understand that it can be a problem with my network, but 1.09 handles that pretty well...

About the USB log... no response to M122. The board seems to hang completely after that exercise.

Edited 3 time(s). Last edit at 03/29/2016 09:15AM by pkm.
pkm
Re: New RepRapFirmware 1.10-dc42
March 29, 2016 09:55AM
@chrishamm

Sorry there was some USB log in Pronterface window.
Probably not complete but it shows some errors
[www.dropbox.com]
Re: New RepRapFirmware 1.10-dc42
March 29, 2016 01:40PM
Thank you very much, pkm, those logs were quite useful. I have prepared another firmware binary here. Could you try it out and let me know if that improves your situation?

I found a problem in the firmware that could cause the connection closed handler to be called twice (because your PC always sends one RST packet every time while a connection is being closed), but I expect this version to fix the underlying problem. If it doesn't fix that, you'd have to repeat the exercise above.
pkm
Re: New RepRapFirmware 1.10-dc42
March 29, 2016 02:02PM
Great that I could help. I'll try the firmware tomorrow, thanks!

BTW, what is the difference between your version and David's?
pkm
Re: New RepRapFirmware 1.10-dc42
March 30, 2016 04:33AM
The firmware seems to work, thanks a lot!

Now IE11 loads DWC very fast on the troublesome PC too, and there's a delay in Chrome (on any PC). I can use Wireshark with Chrome, if you're willing to look at it.
Re: New RepRapFirmware 1.10-dc42
March 30, 2016 06:13AM
new firmware works fine also on my mac with Safari.

But can somebody tell me how to edit the config.g via the webinterface?
I can edit, but changes arnt saved. Is it due to Safari or did I missed somthing?
pkm
Re: New RepRapFirmware 1.10-dc42
March 30, 2016 06:21AM
Probably Safari. IE11 doesn't save changes and doesn't suggest to reset. But from Chrome it saves and resets.
Sorry, only registered users may post in this forum.

Click here to login