In one of my printers that I have with duet, sometimes it restarts when I connect to it, without doing anything else, neither warming up, nor starting up anything that was not already on.
It has never stopped during a print, but this does not happen to me in other duet printers, I have been like this for a long time but now it seems more frequent.
This is the result of M115:
13/9/2021 11:51:40: M115: FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.3 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2021-06-15 21:45:03
This is the result of M122:
13/9/2021 11:51:58: M122: === Diagnostics === RepRapFirmware for Duet 2 WiFi/Ethernet version 3.3 (2021-06-15 21:44:54) running on Duet WiFi 1.02 or later Board ID: 08DGM-917NK-F23T0-6JTDJ-3S46L-TDADD Used output buffers: 3 of 24 (20 max) === RTOS === Static ram: 23876 Dynamic ram: 75504 of which 0 recycled Never used RAM 12180, free system stack 184 words Tasks: NETWORK(notifyWait,14.5%,252) HEAT(delaying,0.0%,330) Move(notifyWait,0.1%,364) MAIN(running,85.0%,436) IDLE(ready,0.4%,29), total 100.0% Owned mutexes: WiFi(NETWORK) === Platform === Last reset 00:03:54 ago, cause: software Last software reset at 2021-09-13 11:47, reason: StuckInSpinLoop, GCodes spinning, available RAM 12180, slot 2 Software reset code 0x4083 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f80f BFAR 0xe000ed38 SP 0x20003454 Task NETW Freestk 507 ok Stack: 0042ae6f 004545d8 61070000 00000000 406f3191 4236f900 3edbc06f 3331bb4c 40000000 b5ddd98d 388ab355 bb360b61 3e2aaaab 3f800000 00000000 42334984 4354c416 7f7fffff 00000000 60000010 00000000 00000000 0042ae6f 00000001 0045dd48 00000000 200148f4 Error status: 0x00 Aux0 errors 0,0,0 Step timer max interval 0 MCU temperature: min 44.8, current 45.8, max 46.2 Supply voltage: min 24.1, current 24.2, max 24.4, under voltage events: 0, over voltage events: 0, power good: yes Heap OK, handles allocated/used 99/6, heap memory allocated/used/recyclable 2048/62/0, gc cycles 0 Driver 0: position 0, standstill, SG min/max not available Driver 1: position 0, standstill, SG min/max not available Driver 2: position 0, standstill, SG min/max not available Driver 3: position 0, standstill, SG min/max not available Driver 4: position 0, standstill, SG min/max not available Driver 5: position 0 Driver 6: position 0 Driver 7: position 0 Driver 8: position 0 Driver 9: position 0 Driver 10: position Driver 11: position 0 Date/time: 2021-09-13 11:51:59 Cache data hit count 4294967295 Slowest loop: 4.58ms; fastest: 0.17ms I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0 === Storage === Free file entries: 10 SD card 0 detected, interface speed: 20.0MBytes/sec SD card longest read time 36.3ms, write time 0.0ms, max retries 0 === Move === DMs created 83, maxWait 0ms, bed compensation in use: none, comp offset 0.000 === MainDDARing === Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === AuxDDARing === Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === Heat === Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 -1 -1 Heater 1 is on, I-accum = 0.0 === GCodes === Segments left: 0 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 USB is idle in state(s) 0 Aux is idle in state(s) 0 Trigger is idle in state(s) 0 Queue is idle in state(s) 0 LCD is idle in state(s) 0 Daemon is idle in state(s) 0 Autopause is idle in state(s) 0 Code queue is empty. === Network === Slowest loop: 37.91ms; fastest: 0.00ms Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions HTTP sessions: 2 of 8 - WiFi - Network state is active WiFi module is connected to access point Failed messages: pending 0, notready 0, noresp 0 WiFi firmware version 1.26 WiFi MAC address 84:0d:8e:b3:06:d4 WiFi Vcc 3.38, reset reason Turned on by main processor WiFi flash size 4194304, free heap 21320 WiFi IP address 192.168.1.230 WiFi signal strength -57dBm, mode 802.11n, reconnections 0, sleep mode modem Clock register 00002002 Socket states: 0 0 0 0 0 0 0 0
@aitor can you post your config.g and daemon.g if you are using it.
kb58 last edited by kb58
@aitor Does it happen often enough that testing different configurations could help, or its it so infrequent you're just curious what's going on?
You can start by carefully checking all the power connections. One of the best and easiest tests is the "wiggle test." With everything powered up and running, wiggle all the connections and see what happens, which should be nothing. Another test (hence the question above), is to unplug everything not necessary to have the machine in its idle condition (power, display, and/or Ethernet), and let it sit and see if it resets.
If nothing is found, maybe consider replacing the power supply.
Good morning @kb58,
I've done these tests several times, yesterday it stopped while printing, but I've noticed that it's every time I connect from a new device to the machine, that is, every time I try to access DWC from a different device.
Now I have the printer printing, but when I finish I will do more tests, to verify my suspicions, I will try to reinstall the wifi module (M997 S1) and I will load DWC again in case any file is corrupted.
Let's see if for whatever reason it is solved, anyway I would be surprised if it works, because this also happened to me in version 3.1.1 and 1.24 of the wifi module, I think I remember.
I'll tell you how my tests are going and if you think of something else to try, let me know.