M122 Module Reset Reason
-
Also in the M122 Network diagnostics check the WiFi Module Reset Reason. It should be "turned on by main processor". If it is anything else (e.g. "exception"), report the problem on the forum.
=== Diagnostics ===<LF>RepRapFirmware for Duet 2 WiFi/Ethernet version 2.02(RTOS) running on Duet WiFi 1.02 or later<LF>Board ID: 08DGM-917DA-G4MSD-6J1FA-3SJ6N-T8T39<LF>Used output buffers: 1 of 20 (1 max)<LF>=== RTOS ===<LF>Static ram: 25524<LF>Dynamic ram: 98472 of which 0 recycled<LF>Exception stack ram used: 320<LF>Never used ram: 6756<LF>Tasks: NETWORK(ready,1240) HEAT(blocked,1208) MAIN(running,3844) IDLE(ready,200)<LF>Owned mutexes:<LF>=== Platform ===<LF>Last reset 00:25:17 ago, cause: power up<LF>Last software reset at 2019-09-05 13:09, reason: User, spinning module GCodes, available RAM 6688 bytes (slot 3)<LF>Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d<LF>Error status: 0<LF>Free file entries: 10<LF>SD card 0 detected, interface speed: 20.0MBytes/sec<LF>SD card longest block write time: 0.0ms, max retries 0<LF>MCU temperature: min 32.6, current 40.3, max 40.5<LF>Supply voltage: min 24.3, current 24.5, max 24.7, under voltage events: 0, over voltage events: 0, <Warning: Maximal number of bytes per line exceeded! Check the end-of-line settings or increase the limit in the advanced terminal settings.>
-
@CarlBosson said in M122 Module Reset Reason:
<Warning: Maximal number of bytes per line exceeded! Check the end-of-line settings or increase the limit in the advanced terminal settings.>
ref https://duet3d.dozuki.com/Guide/1.)+Getting+Connected+to+your+Duet/7
-
@CarlBosson said in M122 Module Reset Reason:
<Warning: Maximal number of bytes per line exceeded! Check the end-of-line settings or increase the limit in the advanced terminal settings.>
Please set YAT to <LF> endings:
Terminal->Settings->Text Settings-> EOL sequence <LF> -
T3P3 Thanks, This is done. Now, What did I do ?
-
Run
M122
again and post the complete output. (if you could put ``` on the line over and under when you post it'll be easier to read) -
Bearer,
Here it is.'''=== Diagnostics ===<LF>RepRapFirmware for Duet 2 WiFi/Ethernet version 2.02(RTOS) running on Duet WiFi 1.02 or later<LF>Board ID: 08DGM-917DA-G4MSD-6J1FA-3SJ6N-T8T39<LF>Used output buffers: 1 of 20 (1 max)<LF>=== RTOS ===<LF>Static ram: 25524<LF>Dynamic ram: 98472 of which 0 recycled<LF>Exception stack ram used: 312<LF>Never used ram: 6764<LF>Tasks: NETWORK(ready,1412) HEAT(blocked,1208) MAIN(running,3844) IDLE(ready,200)<LF>Owned mutexes:<LF>=== Platform ===<LF>Last reset 00:06:34 ago, cause: power up<LF>Last software reset at 2019-09-05 13:09, reason: User, spinning module GCodes, available RAM 6688 bytes (slot 3)<LF>Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d<LF>Error status: 0<LF>Free file entries: 10<LF>SD card 0 detected, interface speed: 20.0MBytes/sec<LF>SD card longest block write time: 0.0ms, max retries 0<LF>MCU temperature: min 31.6, current 39.5, max 39.6<LF>Supply voltage: min 24.4, current 24.5, max 24.7, under voltage events: 0, over voltage events: 0, <Warning: Maximal number of bytes per line exceeded! Check the end-of-line settings or increase the limit in the advanced terminal settings.>'''
-
You need to do as Tony suggested before running M122 (maybe you have to do it again if you close the terminal software, not famliar with it myself) as the terminal is still truncating the output.
T3P3Tony said in M122 Module Reset Reason:
Please set YAT to <LF> endings:
Terminal->Settings->Text Settings-> EOL sequence <LF>then run
M122
again and post the output, should be several lines and not one super long one. -
Bearer,
Lets try this again. I did not know I had to do that step each time, sorry.'''=== RTOS ===
Static ram: 25524
Dynamic ram: 98516 of which 0 recycled
Exception stack ram used: 440
Never used ram: 6592
Tasks: NETWORK(ready,648) HEAT(blocked,1176) MAIN(running,3788) IDLE(ready,200)
Owned mutexes:
=== Platform ===
Last reset 00:21:25 ago, cause: power up
Last software reset at 2019-09-05 13:09, reason: User, spinning module GCodes, available RAM 6688 bytes (slot 3)
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
Error status: 0
Free file entries: 9
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest block write time: 0.0ms, max retries 0
MCU temperature: min 39.1, current 42.7, max 42.8
Supply voltage: min 24.3, current 24.5, max 24.7, under voltage events: 0, over voltage events: 0, power good: yes
Driver 0: ok, SG min/max 0/364
Driver 1: ok, SG min/max 37/234
Driver 2: standstill, SG min/max not available
Driver 3: ok, SG min/max 0/1023
Driver 4: standstill, SG min/max not available
Date/time: 2019-09-12 08:42:51
Cache data hit count 4294967295
Slowest loop: 103.27ms; fastest: 0.08ms
I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0
=== Move ===
Hiccups: 0, StepErrors: 0, LaErrors: 0, FreeDm: 153, MinFreeDm: 151, MaxWait: 596942ms, Underruns: 0, 0
Scheduled moves: 3831, completed moves: 3801
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
Heater 0 is on, I-accum = 0.0
Heater 1 is on, I-accum = 0.2
=== GCodes ===
Segments left: 1
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 doing "G1 X177.900 Y260.515 E0.9780" in state(s) 0
serial is ready with "M122" 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: 165.15ms; fastest: 0.08ms
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 cc:50:e3:0d:29:ce
WiFi Vcc 3.40, reset reason Turned on by main processor
WiFi flash size 4194304, free heap 17184
WiFi IP address 192.168.1.21
WiFi signal strength -68dBm, reconnections 0, sleep mode modem
Socket states: 0 0 0 0 0 0 0 0
ok'''
- WiFi -
-
@CarlBosson said in M122 Module Reset Reason:
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 cc:50:e3:0d:29:ce
WiFi Vcc 3.40, reset reason Turned on by main processor
WiFi flash size 4194304, free heap 17184
WiFi IP address 192.168.1.21
WiFi signal strength -68dBm, reconnections 0, sleep mode modem
Socket states: 0 0 0 0 0 0 0 0
ok'''so that looks ok... not the best signal strength. whats not working?
-
At this point everything is running as it should.