Software reset code 0x4050 help
-
hello I have been having a problem where my printer stops mid print this is my M122 log
M122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 2.01(RTOS) running on Duet WiFi 1.02 or later
Board ID: 08DGM-95BLL-N6PSS-6J1F6-3SN6J-KJURJ
Used output buffers: 1 of 20 (8 max)
=== RTOS ===
Static ram: 28476
Dynamic ram: 96212 of which 0 recycled
Exception stack ram used: 284
Never used ram: 6100
Tasks: NETWORK(ready,328) HEAT(blocked,1248) MAIN(running,3484)
Owned mutexes:
=== Platform ===
Last reset 00:07:12 ago, cause: software
Last software reset at 2020-12-25 23:19, reason: Watchdog timeout, spinning module Platform, available RAM 5544 bytes (slot 3)
Software reset code 0x4050 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x1441f014 BFAR 0xe000ed38 SP 0x2001ff24 Task 0x5754454e
Stack: 6e8d6a6e 0041735a 21000027 6e97f15d 2000dccc 6e8fe298 00000004 2000bf18 00000001 6e8faea7 2000a4d0 a5a5a5a5 a5a5a5a5 a5a5a5a5 00437567 00000105 2001abe8 00000001 ffffffe1 00000001 20006458 10000000 00000105
Error status: 0
Free file entries: 10
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest block write time: 0.0ms, max retries 0
MCU temperature: min 42.5, current 42.6, max 45.1
Supply voltage: min 24.2, current 24.3, max 24.6, under voltage events: 0, over voltage events: 0
Driver 0: standstill, SG min/max not available
Driver 1: standstill, SG min/max not available
Driver 2: standstill, SG min/max not available
Driver 3: standstill, SG min/max not available
Driver 4: standstill, SG min/max not available
Date/time: 2020-12-25 23:26:57
Slowest loop: 3.31ms; fastest: 0.07ms
=== Move ===
Hiccups: 0, StepErrors: 0, LaErrors: 0, FreeDm: 240, MinFreeDm: 240, MaxWait: 0ms, Underruns: 0, 0
Scheduled moves: 0, completed moves: 0
Bed compensation in use: none
Bed probe heights: 0.000 0.000 0.000 0.000 0.000
=== Heat ===
Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
=== GCodes ===
Segments left: 0
Stack records: 1 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 ===
Slowest loop: 15.12ms; fastest: 0.01ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
HTTP sessions: 1 of 8- WiFi -
Network state is running
WiFi module is connected to access point
Failed messages: pending 0, notready 0, noresp 0
WiFi firmware version 1.21
WiFi MAC address 2c:3a:e8:0a:f3:e3
WiFi Vcc 3.40, reset reason Turned on by main processor
WiFi flash size 4194304, free heap 15912
WiFi IP address 192.168.1.23
WiFi signal strength -44dBm, reconnections 0, sleep mode modem
Socket states: 0 0 0 0 0 0 0 0
=== Expansion ===
- WiFi -
-
Please upgrade your firmware to 2.05.1.
-
Thank you I upgraded firmware and that amplified the problem. I hade to lower some motor and speed values
-
post your config.g
-
started again here is my config file.
-
and the error now
M122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 2.05.1 running on Duet WiFi 1.02 or later
Board ID: 08DGM-95BLL-N6PSS-6J1F6-3SN6J-KJURJ
Used output buffers: 1 of 24 (7 max)
=== RTOS ===
Static ram: 25712
Dynamic ram: 93176 of which 0 recycled
Exception stack ram used: 432
Never used ram: 11752
Tasks: NETWORK(ready,676) HEAT(blocked,1232) MAIN(running,3800) IDLE(ready,160)
Owned mutexes:
=== Platform ===
Last reset 00:24:44 ago, cause: software
Last software reset at 2020-12-26 18:52, reason: Heat task stuck, spinning module FilamentSensors, available RAM 11524 bytes (slot 3)
Software reset code 0x40ad HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f80f BFAR 0xe000ed38 SP 0x20004aa4 Task 0x4e49414d
Stack: 0044d941 00445546 6100f000 00000000 4047f333 00000000 00000000 46c906f7 41800000 3e178897 3e1cd04f 3ce0de39 3e3a332b 3e638e2f 3e924928 3a4585a5 3984bb2c c0a00000 00000000 60000010 00000001 20002b88 0044d941
Error status: 0
Free file entries: 9
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest block write time: 9.3ms, max retries 0
MCU temperature: min 41.8, current 43.8, max 44.3
Supply voltage: min 24.0, current 24.2, max 24.7, under voltage events: 0, over voltage events: 0, power good: yes
Driver 0: standstill, SG min/max not available
Driver 1: standstill, SG min/max not available
Driver 2: standstill, SG min/max not available
Driver 3: standstill, SG min/max 0/270
Driver 4: standstill, SG min/max not available
Date/time: 2020-12-26 19:17:30
Cache data hit count 4294967295
Slowest loop: 104.65ms; fastest: 0.06ms
I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
=== Move ===
Hiccups: 6742410, FreeDm: 85, MinFreeDm: 85, MaxWait: 96745ms
Bed compensation in use: mesh, comp offset 0.000
=== DDARing ===
Scheduled moves: 5148, completed moves: 5108, StepErrors: 0, LaErrors: 0, Underruns: 0, 3
=== Heat ===
Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
Heater 0 is on, I-accum = 0.0
Heater 1 is on, I-accum = 0.5
=== GCodes ===
Segments left: 1
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 doing "G1 X468.353 Y379.929 E81.05218" 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 ===
Slowest loop: 243.53ms; fastest: 0.00ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
HTTP sessions: 1 of 8- WiFi -
Network state is running
WiFi module is connected to access point
Failed messages: pending 0, notready 0, noresp 0
WiFi firmware version 1.23
WiFi MAC address 2c:3a:e8:0a:f3:e3
WiFi Vcc 3.40, reset reason Turned on by main processor
WiFi flash size 4194304, free heap 24904
WiFi IP address 192.168.1.23
WiFi signal strength -41dBm, reconnections 0, sleep mode modem
Socket states: 0 0 0 0 0 0 0 0
- WiFi -
-
if you configure external drivers, you need to define the timing.
-
it there im slopy with code
; Drives
M569 P3 S1 ; Drive 3 goes forwards
M569 P5 S1
M569 P6 S1
M569 P7 S0
M569 P8 S0
M569 P5 T3
M569 P6 T3
M569 P7 T5
M569 P8 T5
not sure how to get them in one linemaybe its M569 P6 T3 S1 ?
-
made some changed updated every thing I could find still same problem this just happened been printing fine then all of a sudden this
-
@codfish124 said in Software reset code 0x4050 help:
M569 P6 T3 S1 ?
you have to look up the t parameters in your stepper driver documentation
the t parameter takes 4 arguments.
-
This is the problem:
M350 X256 Y256 Z128 I0 ; Configure microstepping without interpolation
You have set microstepping very high, which has led to an extremely high interrupt rate and a correspondingly large number of move hiccups:.
@codfish124 said in Software reset code 0x4050 help:
=== Move ===
Hiccups: 6742410, FreeDm: 85, MinFreeDm: 85, MaxWait: 96745msThere is rarely any reason to set microstepping higher than x16 with interpolation enabled, except for some types of extruder with low steps/mm.
-
@dc42 said in Software reset code 0x4050 help:
You have set microstepping very high, which has led to an extremely high interrupt rate and a correspondingly large number of move hiccups:.
isnt the microstepping being ignored for external drivers?
-
@Veti said in Software reset code 0x4050 help:
@dc42 said in Software reset code 0x4050 help:
You have set microstepping very high, which has led to an extremely high interrupt rate and a correspondingly large number of move hiccups:.
isnt the microstepping being ignored for external drivers?
Good point! However, the problem is still excessive microstepping, although in the external driver configuration rather than the M350 command. This is evident by the very high number of hiccups, and the very high Y steps/mm in the M92 command. I suggest reducing both X and Y microstepping to bring the X and Y steps/mm down to about 100 to 200.
-
tried to get my Steppes per mm down this is a ball screw drivin unit so I'm down to 16 micro stepping and under 500
-
seem to be working now thanks for the help