Firmware 1.19RC1 released - please help us with testing!
-
Im getting random resets of the duet, running 1.19 RC1, wifiserver beta 10, its happening when I home all (to mech endstops, it crashes after it homes z).
EDIT - it seems to be doing it when I run this macro after homing.
I tried running the individual commands, it crashes after initiating the first G1 command.
; Z Zeroing sequence using piezo probe ;slow down movement to delineate bed touch from travel moves ;M201 X250 Y250 Z250 ; Accelerations (mm/s^2) ;M566 X100 Y100 Z100 ; Maximum instant speed changes mm/minute G1 X130 Y97.5 Z10 F1000 ;move to be centre slowly. G30 ; probe for z=0 G1 Z10 F1000 ; raise nozzle G30 S-1 ;check z gap G1 Z10 F1000 ; raise nozzle ;restore speed settings to normal printing speeds ;M201 X2000 Y2000 Z200 E1000 ; Accelerations (mm/s^2) ;M566 X600 Y600 Z30 E20 ; Maximum jerk speeds mm/minute
m122:
M122 === Diagnostics === Used output buffers: 3 of 32 (8 max) === Platform === RepRapFirmware for Duet WiFi version 1.19RC1 running on Duet WiFi 1.0 Board ID: 08DDM-9FAM2-LW4SD-6J9FL-3S46P-K0X3W Static ram used: 21144 Dynamic ram used: 96336 Recycled dynamic ram: 1304 Stack ram used: 1304 current, 4832 maximum Never used ram: 7456 Last reset 00:00:12 ago, cause: software Last software reset reason: User, spinning module Move, available RAM 7456 bytes (slot 0) Software reset code 0x5004, HFSR 0x00000000, CFSR 0x00000000, ICSR 0x0440f80f, BFAR 0xe000ed38, SP 0x2001fdac Stack: 0043460b 00000003 ffffffe9 200076b8 00000002 200076c0 00000003 000007ff 00407c29 004268ce 81000000 00000000 00000000 0000000c 00000009 41a00000 41400000 00000000 Error status: 0 Free file entries: 10 SD card 0 detected, interface speed: 20.0MBytes/sec SD card longest block write time: 0.0ms MCU temperature: min -269.8, current 29.6, max 29.6 Supply voltage: min 12.2, current 12.3, max 12.4, under voltage events: 0, over voltage events: 0 Driver 0: stalled standstill Driver 1: stalled standstill Driver 2: stalled standstill Driver 3: standstill Driver 4: standstill Date/time: 2017-08-04 14:43:15 Slowest main loop (seconds): 0.004312; fastest: 0.000033 === Move === MaxReps: 0, StepErrors: 0, FreeDm: 240, MinFreeDm 240, MaxWait: 0ms, Underruns: 0, 0 Scheduled moves: 0, completed moves: 0 Bed compensation in use: mesh Bed probe heights: 0.000 0.000 0.000 0.000 0.000 === Heat === Bed heater = 0, chamber heater = -1 Heater 1 is on, I-accum = 0.0 === GCodes === Segments left: 0 Stack records: 2 allocated, 0 in use Movement lock held by null http is idle in state(s) 0 telnet is idle in state(s) 0 file is idle in state(s) 0 serial is idle in state(s) 0 aux is idle in state(s) 0 daemon is idle in state(s) 0 queue is idle in state(s) 0 autopause is idle in state(s) 0 Code queue is empty. Network state is running WiFi module is connected to access point WiFi firmware version 1.19beta10 WiFi MAC address 5c:cf:7f:ee:63:48 WiFi Vcc 3.10, reset reason Turned on by main processor WiFi flash size 4194304, free heap 39664 WiFi IP address 192.168.0.127 WiFi signal strength -38dBm HTTP sessions: 1 of 8 Socket states: 2 0 0 0 0 0 0 0 Responder states: HTTP(1) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
I reverted back to 1.19beta11 and the error does not occur with the same sequence.
-
DJDemonD, thanks for your report. The diagnostic info that indicates that the Move module was trying to print some debug info to USB but you didn't have a USB connection to a PC. The Move module only prints debug into when you send a M111 S1 command to enable debugging. Is it possible that you did that?
If you don't think you did, please connect a USB cable and attach to the Duet using pronterface or similar, and see what it is trying to print.
-
Looks like CoreXYU is broken in RC1, I installed RC1 and tried to home all. Second carriage started to move jerkely in the wrong direction like steppers were moving the wrong way out of synch. Reinstalled beta 11 and everything worked again.
-
I turned on "Relative E distances" in Slicer Prusa Edition, resliced, and reprinted. Tool (filament) changes appear to work correctly now and without issue. The g-code error messages I was getting before have stopped as well. The Slicer setting was the only thing I changed.
Thanks for your help!
John -
DJDemonD, thanks for your report. The diagnostic info that indicates that the Move module was trying to print some debug info to USB but you didn't have a USB connection to a PC. The Move module only prints debug into when you send a M111 S1 command to enable debugging. Is it possible that you did that?
If you don't think you did, please connect a USB cable and attach to the Duet using pronterface or similar, and see what it is trying to print.
It produced this output just after a homeall
ERROR] Traceback (most recent call last): File "printrun\printcore.pyc", line 241, in _readline File "printrun\pronterface.pyc", line 1713, in recvcb File "printrun\pronterface.pyc", line 1669, in update_pos ValueError: could not convert string to float:
But didn't crash this time, (i just reflashed rc1 and reset prior to doing this) this is the m122:
=== Diagnostics === Used output buffers: 3 of 32 (12 max) === Platform === RepRapFirmware for Duet WiFi version 1.19RC1 running on Duet WiFi 1.0 Board ID: 08DDM-9FAM2-LW4SD-6J9FL-3S46P-K0X3W Static ram used: 21144 Dynamic ram used: 96336 Recycled dynamic ram: 1304 Stack ram used: 1304 current, 5148 maximum Never used ram: 7140 Last reset 00:04:55 ago, cause: software Last software reset reason: User, spinning module GCodes, available RAM 7440 bytes (slot 1) Software reset code 0x0003, HFSR 0x00000000, CFSR 0x00000000, ICSR 0x00400000, BFAR 0xe000ed38, SP 0xffffffff Error status: 0 Free file entries: 10 SD card 0 detected, interface speed: 20.0MBytes/sec SD card longest block write time: 0.0ms MCU temperature: min -269.8, current 29.9, max 30.3 Supply voltage: min 11.8, current 12.2, max 12.4, under voltage events: 0, over voltage events: 0 Driver 0: stalled standstill Driver 1: stalled standstill Driver 2: stalled standstill Driver 3: standstill Driver 4: standstill Date/time: 2017-08-04 18:54:12 Slowest main loop (seconds): 0.004898; fastest: 0.000033 === Move === MaxReps: 3, StepErrors: 0, FreeDm: 240, MinFreeDm 228, MaxWait: 82567ms, Underruns: 0, 0 Scheduled moves: 56, completed moves: 56 Bed compensation in use: none Bed probe heights: 0.000 0.000 0.000 0.000 0.000 === Heat === Bed heater = 0, chamber heater = -1 Heater 1 is on, I-accum = 0.0 === GCodes === Segments left: 0 Stack records: 2 allocated, 0 in use Movement lock held by null http is idle in state(s) 0 telnet is idle in state(s) 0 file is idle in state(s) 0 serial is idle in state(s) 0 aux is idle in state(s) 0 daemon is idle in state(s) 0 queue is idle in state(s) 0 autopause is idle in state(s) 0 Code queue is empty. Network state is running WiFi module is connected to access point WiFi firmware version 1.19beta10 WiFi MAC address 5c:cf:7f:ee:63:48 WiFi Vcc 3.10, reset reason Turned on by main processor WiFi flash size 4194304, free heap 39760 WiFi IP address 192.168.0.127 WiFi signal strength -42dBm HTTP sessions: 1 of 8 Socket states: 2 0 0 0 0 0 0 0 Responder states: HTTP(1) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
-
Also and it may be entirely unrelated to RC1 my grid compensation setup is:
M557 X0:260 Y0:190 S50 ;define mesh
M376 H10 ;taper off after 10mm
But it only moves 20mm between probing points (same on beta11) are 20x20 the largest grid squares it will probe? -
20mm is the default, but it can use more, and I have just tested it. I suspect that your M557 command isn't working for some reason, e.g. because you have subsequently used G29 S1 to load a previous height map that used 20mm spacing.
You can run M557 with no parameters to see what the current grid is.
-
Thanks David, I'll try not loading the grid in config.g but load it in start gcode instead.
-
I've just released 1.19RC2:
- Changed the way we handle tool offsets during a tool change to (I hope) better meet the needs of both IDEX and conventional dual-nozzle printers
- Fixed spurious error message when G92 E0 is processed (this affected users who used absolute extrusion coordinates when slicing)
- Fixed Duet3D filament sensor data receive code
-
CoreXYU still broken in RC2. This time I tried first X than U with no problem. Then changed to second tool and did a X-1 in the interface. This crashed the second tool into the rail at max X/U…
Edit: I did not dare try a home all
-
Hi Lars, thanks for trying RC2. However, as I have neither an IDEX machine nor a CoreXY machine to test on, I need more data:
1. When you changed to a second tool, where on the X/U axis were the two carriages?
2. Please publish your homing files so that I can simulate them as best I can.
3. Please run some more tests. You can help protect the mechanics of your machine by reducing motors currents, as well as having a hand on the power switch.
Try homing X, Y, U and Z individually. When you have found one that doesn't work, run the commands in that homing file individually, then you can tell me which command is giving the problem.
Thanks - David
-
Lars, I think it might be something peculiar with CoreXYU and tools on RC2 as well. I have tested tool changing on a Cartesian IDEX and it appears to work correctly. Can you also publish your tool change macros pls.
-
Hi Lars, I think I just found the problem with homing Core kinematics, so no need for those tests now.
-
IDEX still dont work.
The z offset is still not used on the printheads, while it is still displayed correctly in the interface. - in the video, the purple toolhead should have been printing 10mm over the bed.
Worse, the heads craches on second toolchange.Config files:
www.kulitorum.com/download.zipVideo:
https://www.youtube.com/watch?v=7ePx8PGa_MgKulitorum
-
Thanks Kulitorum, that's helpful. Which tool is printing which colour? I'm guessing that T0 is black and T1 is purple so that the second tool change is T1->T0, but maybe you have it the other way round?
-
Hmm, I just realized that after the second toolchange, as the heads craches, it is actually printing at z10….
But the z offset of 10mm is defined for tool 1 (left tool) and is used for tool 0 (right tool) but only on the second usage of that tool.
-
You are right - tool 0 is the right tool, black filament, tool 1 is the left tool, purple filament.
-
And here's the gcode for the print - for reference:
-
Thanks. I think the Z offset is working correctly. You have specified a Z offset of +10mm for tool 1, which means that tool 1 nozzle is 10mm higher than the reference point. So it should be trying to print 10mm below the bed surface; but you probably have a limit set at 0mm. If you want the tool to print 10mm above the bed, you need to specify a tool Z offset of -10mm in your G10 command.
Using your configuration, I have replicated the problem of the U axis moving when you re-select tool 0 and move the head in X, and I am investigating it.
-
Ok, cool. If this is correct, then why is tool 0 printing at z10 for the last 5 secs if my video?