Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Duet Wifi Hangs up after booting about 1 out of 5 times

    Scheduled Pinned Locked Moved
    General Discussion
    8
    42
    2.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • gta18undefined
      gta18
      last edited by

      Is this a hardware or firmware issue? I bought the board about a year ago and only now setting it up.

      I first flashed it to v3 and I got lucky if it boots up 1 out of 10 times I reboot it. I downgraded it to v 2.04 or 05 I think and I get 1 out of 5 success on boot.

      I have a paneldue 4.3" hooked up to it.

      When it runs it runs beautifully for hours and hours though. My issue only happens on reboot. I'm thinking its part of the external comms that stops working because when its homing for example, It continues its tasks even when the PanelDue commands are not being accepted and due is not getting info back from Duet.

      Network data is gone too on the Chrome explorer when this happens.

      1 Reply Last reply Reply Quote 0
      • chrishammundefined
        chrishamm administrators
        last edited by

        I suspect there is something in your config file that sometimes makes your board hang up. As your first line in config.g you may want to add "M111 P3 S1", hook up a computer to your board, and check what messages you get in a serial console (or rather what codes are processed line by line).

        Duet software engineer

        1 Reply Last reply Reply Quote 0
        • gta18undefined
          gta18
          last edited by

          Cool thanks. I was wondering the same. Because when I had the stock config on v2 before adding the Bltouch to it was ok on bootup,

          droftartsundefined 1 Reply Last reply Reply Quote 0
          • droftartsundefined
            droftarts administrators @gta18
            last edited by

            @gta18 Of course, burning out the driver might have affected something else! https://forum.duet3d.com/topic/14109/burnt-driver-3-on-duet-wifi
            Try booting without the SD card. If that works reliably, post your config.g so we can check it over. Reformatting the SD card and putting a fresh copy of your files on may help too.

            Ian

            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

            gta18undefined 1 Reply Last reply Reply Quote 0
            • gta18undefined
              gta18 @droftarts
              last edited by

              @droftarts config.g

              Lol... It hanged up before I burnt it. 🙂

              gta18undefined 1 Reply Last reply Reply Quote 0
              • gta18undefined
                gta18 @gta18
                last edited by

                @gta18 said in Duet Wifi Hangs up after booting about 1 out of 5 times:

                @droftarts config.g

                Lol... It hanged up before I burnt it. 🙂

                I attached my config.g

                1 Reply Last reply Reply Quote 0
                • gta18undefined
                  gta18
                  last edited by

                  Im noticing that after it connects to wifi that's the time it hangs. I have put the M111 P3 s1 and here's the result before it looses comms. Could it be I have incompatible wifi firmware flashed?

                  Danalundefined 1 Reply Last reply Reply Quote 0
                  • Danalundefined
                    Danal @gta18
                    last edited by Danal

                    @gta18 said in Duet Wifi Hangs up after booting about 1 out of 5 times:

                    Could it be I have incompatible wifi firmware flashed?

                    I don't know of a way to read the WiFi module firmware release... so the only path is to upgrade it to match your regular firmware.

                    You can enter M115 at the console to find your main firmware release. You can then decide to research the matching WiFi, or just upgrade everything.

                    On a Duet WiFi, I'd recommend going to 2.05 and the matching WiFi and DWC.

                    Delta / Kossel printer fanatic

                    Phaedruxundefined Dougal1957undefined 2 Replies Last reply Reply Quote 1
                    • Phaedruxundefined
                      Phaedrux Moderator @Danal
                      last edited by

                      @Danal said in Duet Wifi Hangs up after booting about 1 out of 5 times:

                      You can enter M155 at the console to find your main firmware release

                      M115

                      Z-Bot CoreXY Build | Thingiverse Profile

                      Danalundefined 1 Reply Last reply Reply Quote 0
                      • Danalundefined
                        Danal @Phaedrux
                        last edited by Danal

                        @Phaedrux said in Duet Wifi Hangs up after booting about 1 out of 5 times:

                        M115

                        Good catch. Edited.

                        Delta / Kossel printer fanatic

                        1 Reply Last reply Reply Quote 0
                        • droftartsundefined
                          droftarts administrators
                          last edited by

                          Sending M122 will produce the Diagnostic report. In that there will be the RepRapFirmware version:

                          m122
                          SENDING:M122
                          === Diagnostics ===
                          RepRapFirmware for Duet 2 WiFi/Ethernet version 2.04RC1 running on Duet WiFi 1.0 or 1.01
                          

                          and in the last section under '- WiFi -' will be the WiFi firmware version:

                          WiFi firmware version 1.23
                          

                          Ian

                          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                          1 Reply Last reply Reply Quote 0
                          • dc42undefined
                            dc42 administrators
                            last edited by

                            Please post a full M122 report.

                            Duet WiFi hardware designer and firmware engineer
                            Please do not ask me for Duet support via PM or email, use the forum
                            http://www.escher3d.com, https://miscsolutions.wordpress.com

                            1 Reply Last reply Reply Quote 0
                            • Dougal1957undefined
                              Dougal1957 @Danal
                              last edited by

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • gta18undefined
                                gta18
                                last edited by

                                Sorry for the late reply. But here's the m122 report screenshot.

                                thanks

                                https://www.amazon.com/photos/shared/lXQNAkoJSMO044FHVWApOw.PGAgU00Nab0LtoQoQrNJba

                                alt text

                                1 Reply Last reply Reply Quote 0
                                • A Former User?
                                  A Former User
                                  last edited by A Former User

                                  You'll need to use a usb cable and a terminal to capture the full output.

                                  1 Reply Last reply Reply Quote 0
                                  • gta18undefined
                                    gta18
                                    last edited by gta18

                                    I thought I was missing something just seeing it so short. Thanks for the advise. Here's the report on v3

                                    Attempting connection at \\.\COM5...
                                      Testing plaintext communication protocol...
                                    READ: ok
                                      Connected to machine!
                                    SENT: T0
                                    READ: ok
                                    SENT: M105
                                    READ: ok T:2000.0 /120.0 T0:2000.0 /120.0 B:25.5 /0.0
                                    READ: Error: Temperature reading fault on heater 1: unknown sensor
                                    SENT: m122
                                    READ: === Diagnostics ===
                                    READ: RepRapFirmware for Duet 2 WiFi/Ethernet version 3.0 running on Duet WiFi 1.02 or later
                                    READ: Board ID: 08DJM-9178L-L2MSD-6J9DL-3SD6T-KVDYP
                                    READ: Used output buffers: 1 of 24 (6 max)
                                    READ: === RTOS ===
                                    READ: Static ram: 30516
                                    READ: Dynamic ram: 91592 of which 28 recycled
                                    READ: Exception stack ram used: 256
                                    READ: Never used ram: 8680
                                    READ: Tasks: NETWORK(ready,1676) HEAT(blocked,920) MAIN(running,4124) IDLE(ready,156)
                                    READ: Owned mutexes:
                                    READ: === Platform ===
                                    READ: Last reset 00:00:13 ago, cause: power up
                                    READ: Last software reset at 2020-02-07 17:53, reason: User, spinning module GCodes, available RAM 8180 bytes (slot 2)
                                    READ: Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
                                    READ: Error status: 0
                                    READ: Free file entries: 10
                                    READ: SD card 0 detected, interface speed: 20.0MBytes/sec
                                    READ: SD card longest block write time: 0.0ms, max retries 0
                                    READ: MCU temperature: min 30.7, current 34.0, max 34.1
                                    READ: Supply voltage: min 1.2, current 1.6, max 1.6, under voltage events: 0, over voltage events: 0, power good: no
                                    READ: Driver 0: ok, SG min/max not available
                                    READ: Driver 1: ok, SG min/max not available
                                    READ: Driver 2: ok, SG min/max not available
                                    READ: Driver 3: ok, SG min/max not available
                                    READ: Driver 4: ok, SG min/max not available
                                    READ: Date/time: 1970-01-01 00:00:00
                                    READ: Cache data hit count 17245507
                                    READ: Slowest loop: 1.67ms; fastest: 0.07ms
                                    READ: I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
                                    READ: === Move ===
                                    READ: Hiccups: 0(0), FreeDm: 169, MinFreeDm: 169, MaxWait: 0ms
                                    READ: Bed compensation in use: none, comp offset 0.000
                                    READ: === MainDDARing ===
                                    READ: Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
                                    READ: === AuxDDARing ===
                                    READ: Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
                                    READ: === Heat ===
                                    READ: Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
                                    READ: === GCodes ===
                                    READ: Segments left: 0
                                    READ: Stack records: 1 allocated, 0 in use
                                    READ: Movement lock held by null
                                    READ: http is idle in state(s) 0
                                    READ: telnet is idle in state(s) 0
                                    READ: file is idle in state(s) 0
                                    READ: serial is ready with "m122" in state(s) 0
                                    READ: aux is idle in state(s) 0
                                    READ: daemon is idle in state(s) 0
                                    READ: queue is idle in state(s) 0
                                    READ: autopause is idle in state(s) 0
                                    READ: Code queue is empty.
                                    READ: === Network ===
                                    READ: Slowest loop: 1.26ms; fastest: 0.00ms
                                    READ: Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
                                    READ: HTTP sessions: 0 of 8
                                    READ: - WiFi -
                                    READ: Network state is changing mode
                                    READ: WiFi module is trying to connect
                                    READ: Failed messages: pending 0, notready 0, noresp 0
                                    READ: WiFi firmware version 1.23
                                    READ: WiFi MAC address bc:dd:c2:57:ad:41
                                    READ: WiFi Vcc 3.47, reset reason Turned on by main processor
                                    READ: WiFi flash size 4194304, free heap 28104
                                    READ: Socket states: 0 0 0 0 0 0 0 0
                                    READ: ok
                                    SENT: M105
                                    READ: ok T:2000.0 /0.0 T0:2000.0 /0.0 B:25.5 /0.0
                                    SENT: M105
                                    READ: ok T:2000.0 /0.0 T0:2000.0 /0.0 B:25.5 /0.0
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • gta18undefined
                                      gta18
                                      last edited by

                                      Flashed it to v2.05 with the same issues. Here's the report when on v2.05.

                                      
                                      READ: === Diagnostics ===
                                      READ: RepRapFirmware for Duet 2 WiFi/Ethernet version 2.05 running on Duet WiFi 1.02 or later
                                      READ: Board ID: 08DJM-9178L-L2MSD-6J9DL-3SD6T-KVDYP
                                      READ: Used output buffers: 1 of 24 (3 max)
                                      READ: === RTOS ===
                                      READ: Static ram: 25712
                                      READ: Dynamic ram: 93116 of which 0 recycled
                                      READ: Exception stack ram used: 264
                                      READ: Never used ram: 11980
                                      READ: Tasks: NETWORK(ready,1664) HEAT(blocked,1324) MAIN(running,3824) IDLE(ready,160)
                                      READ: Owned mutexes:
                                      READ: === Platform ===
                                      READ: Last reset 00:00:14 ago, cause: power up
                                      READ: Last software reset at 2020-02-07 18:14, reason: User, spinning module GCodes, available RAM 11716 bytes (slot 3)
                                      READ: Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
                                      READ: Error status: 0
                                      READ: Free file entries: 10
                                      READ: SD card 0 detected, interface speed: 20.0MBytes/sec
                                      READ: SD card longest block write time: 0.0ms, max retries 0
                                      READ: MCU temperature: min 33.5, current 34.2, max 34.2
                                      READ: Supply voltage: min 1.2, current 1.2, max 1.6, under voltage events: 0, over voltage events: 0, power good: no
                                      READ: Driver 0: ok, SG min/max not available
                                      READ: Driver 1: ok, SG min/max not available
                                      READ: Driver 2: ok, SG min/max not available
                                      READ: Driver 3: ok, SG min/max not available
                                      READ: Driver 4: ok, SG min/max not available
                                      READ: Date/time: 1970-01-01 00:00:00
                                      READ: Cache data hit count 55012547
                                      READ: Slowest loop: 3.77ms; fastest: 0.05ms
                                      READ: I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
                                      READ: === Move ===
                                      READ: Hiccups: 0, FreeDm: 160, MinFreeDm: 160, MaxWait: 0ms
                                      READ: Bed compensation in use: none, comp offset 0.000
                                      READ: === DDARing ===
                                      READ: Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
                                      READ: === Heat ===
                                      READ: Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
                                      READ: Heater 1 is on, I-accum = 0.0
                                      READ: === GCodes ===
                                      READ: Segments left: 0
                                      READ: Stack records: 1 allocated, 0 in use
                                      READ: Movement lock held by null
                                      READ: http is idle in state(s) 0
                                      READ: telnet is idle in state(s) 0
                                      READ: file is idle in state(s) 0
                                      READ: serial is ready with "m122" in state(s) 0
                                      READ: aux is idle in state(s) 0
                                      READ: daemon is idle in state(s) 0
                                      READ: queue is idle in state(s) 0
                                      READ: autopause is idle in state(s) 0
                                      READ: Code queue is empty.
                                      READ: === Network ===
                                      READ: Slowest loop: 1.26ms; fastest: 0.00ms
                                      READ: Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
                                      READ: HTTP sessions: 0 of 8
                                      READ: - WiFi -
                                      READ: Network state is changing mode
                                      READ: WiFi module is trying to connect
                                      READ: Failed messages: pending 0, notready 0, noresp 0
                                      READ: WiFi firmware version 1.23
                                      READ: WiFi MAC address bc:dd:c2:57:ad:41
                                      READ: WiFi Vcc 3.47, reset reason Turned on by main processor
                                      READ: WiFi flash size 4194304, free heap 28176
                                      READ: Socket states: 0 0 0 0 0 0 0 0
                                      READ: ok
                                      READ: aux: M408 S0 R4
                                      SENT: M105
                                      READ: serial: M105
                                      READ: ok T:33.0 /0.0 T0:33.0 /0.0 B:27.1 /0.0
                                      READ: aux: M408 S0 R4
                                      READ: aux: M408 S0 R4
                                      SENT: M105
                                      READ: serial: M105
                                      READ: ok T:32.9 /0.0 T0:32.9 /0.0 B:27.1 /0.0
                                      READ: aux: M408 S0 R4
                                      READ: aux: M408 S0 R4
                                      SENT: M105
                                      READ: serial: M105
                                      READ: ok T:32.9 /0.0 T0:32.9 /0.0 B:27.0 /0.0
                                      READ: aux: M408 S0 R4
                                      READ: WiFi module is connected to access point BBB1, IP address 192.168.2.135
                                      READ: aux: M408 S1
                                      SENT: M105
                                      READ: serial: M105
                                      READ: ok T:32.8 /0.0 T0:32.8 /0.0 B:27.0 /0.0
                                      Disconnected.
                                      
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • gta18undefined
                                        gta18
                                        last edited by gta18

                                        My config.g on v3, e0temp pin stopped working. Temperature reads 2000. I flashed v2.05 back and e0temp works.

                                        ; Configuration file for Duet WiFi (firmware version 3)
                                        ; executed by the firmware on start-up
                                        ;
                                        ; generated by RepRapFirmware Configuration Tool v2.1.8 on Fri Feb 07 2020 13:37:35 GMT-0800 (Pacific Standard Time)
                                        
                                        ; General preferences
                                        G90                                                ; send absolute coordinates...
                                        M83                                                ; ...but relative extruder moves
                                        M550 P"NogMM3"                                     ; set printer name
                                        
                                        ; Network
                                        M552 S1                                            ; enable network
                                        M586 P0 S1                                         ; enable HTTP
                                        M586 P1 S1                                         ; enable FTP
                                        M586 P2 S0                                         ; disable Telnet
                                        
                                        ; Drives
                                        M569 P0 S1                                         ; physical drive 0 goes forwards
                                        M569 P1 S1                                         ; physical drive 1 goes forwards
                                        M569 P2 S1                                         ; physical drive 2 goes forwards
                                        M569 P3 S0                                         ; physical drive 3 goes backwards
                                        M584 X0 Y1 Z2 E3                                   ; set drive mapping
                                        M350 X256 Y256 Z256 E256 I0                        ; configure microstepping without interpolation
                                        M92 X1280.00 Y1280.00 Z6800.00 E420.00             ; set steps per mm
                                        M566 X900.00 Y900.00 Z12.00 E120.00                ; set maximum instantaneous speed changes (mm/min)
                                        M203 X6000.00 Y6000.00 Z180.00 E1200.00            ; set maximum speeds (mm/min)
                                        M201 X500.00 Y500.00 Z20.00 E250.00                ; set accelerations (mm/s^2)
                                        M906 X800 Y800 Z800 E800 I30                       ; set motor currents (mA) and motor idle factor in per cent
                                        M84 S30                                            ; Set idle timeout
                                        
                                        ; Axis Limits
                                        M208 X0 Y0 Z0 S1                                   ; set axis minima
                                        M208 X230 Y260 Z200 S0                             ; set axis maxima
                                        
                                        ; Endstops
                                        M574 X1 S1 P"xstop"                                ; configure active-high endstop for low end on X via pin xstop
                                        M574 Y2 S1 P"ystop"                                ; configure active-high endstop for high end on Y via pin ystop
                                        M574 Z1 S2                                         ; configure Z-probe endstop for low end on Z
                                        
                                        ; Z-Probe
                                        M950 S0 C"exp.heater3"                             ; create servo pin 0 for BLTouch
                                        M558 P9 C"zprobe.in+zprobe.mod" H5 F120 T6000      ; set Z probe type to bltouch and the dive height + speeds
                                        M558 H30                                           ;*** Remove this line after delta calibration has been done and new delta parameters have been saved
                                        G31 P500 X-32 Y-26 Z3.3                            ; set Z probe trigger value, offset and trigger height
                                        M557 X15:230 Y15:260 S15                           ; define mesh grid
                                        
                                        ; Heaters
                                        M308 S0 P"bedtemp" Y"thermistor" T100000 B4092     ; configure sensor 0 as thermistor on pin bedtemp
                                        M950 H0 C"bedheat" T0                              ; create bed heater output on bedheat and map it to sensor 0
                                        M143 H0 S120                                       ; set temperature limit for heater 0 to 120C
                                        M307 H0 B1 S1.00                                   ; enable bang-bang mode for the bed heater and set PWM limit
                                        M140 H0                                            ; map heated bed to heater 0
                                        M308 S1 P"e0temp" Y"pt1000" R4700                  ; configure sensor 1 as PT1000 on pin e0temp
                                        M950 H1 C"e0heat" T1                               ; create nozzle heater output on e0heat and map it to sensor 1
                                        M143 H1 S325                                       ; set temperature limit for heater 1 to 325C
                                        M307 H1 B0 S1.00                                   ; disable bang-bang mode for heater  and set PWM limit
                                        
                                        ; Fans
                                        M950 F0 C"fan0" Q500                               ; create fan 0 on pin fan0 and set its frequency
                                        M106 P0 S0 H-1                                     ; set fan 0 value. Thermostatic control is turned off
                                        M950 F1 C"fan1" Q500                               ; create fan 1 on pin fan1 and set its frequency
                                        M106 P1 S1 H1 T45                                  ; set fan 1 value. Thermostatic control is turned on
                                        
                                        ; Tools
                                        M563 P0 D0 H1 F0                                   ; define tool 0
                                        G10 P0 X0 Y0 Z0                                    ; set tool 0 axis offsets
                                        G10 P0 R0 S0                                       ; set initial tool 0 active and standby temperatures to 0C
                                        
                                        ; Custom settings are not defined
                                        
                                        ; Miscellaneous
                                        M501                                               ; load saved parameters from non-volatile memory
                                        M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
                                        
                                        
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • gta18undefined
                                          gta18
                                          last edited by gta18

                                          my Config.g on v2.05 where e0temp works for my extruder. Hopefully some simple fix to get v3 working.

                                          ; Configuration file for Duet WiFi (firmware version 2.00)
                                          ; executed by the firmware on start-up
                                          ;
                                          ; generated by RepRapFirmware Configuration Tool v2.1.8 on Sun Jan 26 2020 07:53:26 GMT-0800 (Pacific Standard Time)
                                          
                                          ; General preferences
                                          G90                                      ; send absolute coordinates...
                                          M83                                      ; ...but relative extruder moves
                                          M550 P"MendelMax3Nog"                    ; set printer name
                                          m111 p3 s1
                                          
                                          ; Network
                                          M552 S1                                  ; enable network
                                          M586 P0 S1                               ; enable HTTP
                                          M586 P1 S0                               ; disable FTP
                                          M586 P2 S0                               ; disable Telnet
                                          
                                          ; Drives
                                          M569 P0 S1                               ; physical drive 0 goes forwards
                                          M569 P1 S1                               ; physical drive 1 goes forwards
                                          M569 P2 S1                               ; physical drive 2 goes forwards
                                          M569 P4 S1                               ; physical drive 4 goes forwards
                                          M584 X0 Y1 Z2 E4                         ; set drive mapping
                                          M350 X64 Y64 Z64 E64 I0                  ; configure microstepping without interpolation
                                          M92 X320.00 Y320.00 Z1600.00 E1636     ; set steps per mm
                                          M566 X900.00 Y900.00 Z12.00 E120.00      ; set maximum instantaneous speed changes (mm/min)
                                          M203 X6000.00 Y6000.00 Z180.00 E1200.00  ; set maximum speeds (mm/min)
                                          M201 X500.00 Y500.00 Z20.00 E250.00      ; set accelerations (mm/s^2)
                                          M906 X800 Y800 Z800 E800 I30             ; set motor currents (mA) and motor idle factor in per cent
                                          M84 S30                                  ; Set idle timeout
                                          
                                          ; Axis Limits
                                          M208 X0 Y0 Z0 S1                         ; set axis minima
                                          M208 X230 Y260 Z220 S0                   ; set axis maxima
                                          
                                          ; Endstops
                                          M574 X1 Y2 S1                            ; set active high endstops
                                          M574 Z1 S2                               ; set endstops controlled by probe
                                          
                                          ; Z-Probe
                                          M307 H3 A-1 C-1 D-1                      ; disable heater on PWM channel for BLTouch
                                          M558 P9 H5 F120 T6000                    ; set Z probe type to bltouch and the dive height + speeds
                                          G31 P500 X-33 Y-26 Z3.4              ; set Z probe trigger value, offset and trigger height
                                          M557 X15:270 Y15:260 S15                 ; defin0 mesh grid
                                          
                                          ; Heaters
                                          M305 P0 T100000 B4800 R4700              ; set thermistor + ADC parameters for heater 0
                                          M143 H0 S120                             ; set temperature limit for heater 0 to 120C
                                          M305 P1 T100000 B4725 C7.060000e-8 R4700 ; set thermistor + ADC parameters for heater 1
                                          M143 H1 S325                             ; set temperature limit for heater 1 to 325C
                                          
                                          ; Fans
                                          M106 P0 S0 I0 F500 H-1                   ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
                                          M106 P1 S1 I0 F500 H1 T45                ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
                                          
                                          ; Tools
                                          M563 P0 S"Volcano 0.8" D0 H1 F0          ; define tool 0
                                          G10 P0 X0 Y0 Z0                          ; set tool 0 axis offsets
                                          G10 P0 R0 S0                             ; set initial tool 0 active and standby temperatures to 0C
                                          
                                          ; Custom settings are not defined
                                          
                                          
                                          dc42undefined 1 Reply Last reply Reply Quote 0
                                          • gta18undefined
                                            gta18
                                            last edited by

                                            here's another m122 on v3

                                            M122
                                            === Diagnostics ===
                                            RepRapFirmware for Duet 2 WiFi/Ethernet version 3.0 running on Duet WiFi 1.02 or later
                                            Board ID: 08DJM-9178L-L2MSD-6J9DL-3SD6T-KVDYP
                                            Used output buffers: 3 of 24 (9 max)
                                            === RTOS ===
                                            Static ram: 30516
                                            Dynamic ram: 91832 of which 0 recycled
                                            Exception stack ram used: 496
                                            Never used ram: 8228
                                            Tasks: NETWORK(ready,640) HEAT(blocked,816) MAIN(running,4100) IDLE(ready,156)
                                            Owned mutexes:
                                            === Platform ===
                                            Last reset 00:03:34 ago, cause: power up
                                            Last software reset time unknown, reason: User, spinning module GCodes, available RAM 8512 bytes (slot 0)
                                            Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
                                            Error status: 0
                                            Free file entries: 10
                                            SD card 0 detected, interface speed: 20.0MBytes/sec
                                            SD card longest block write time: 20.7ms, max retries 0
                                            MCU temperature: min 31.9, current 33.5, max 33.9
                                            Supply voltage: min 23.3, current 24.8, max 25.2, under voltage events: 0, over voltage events: 0, power good: yes
                                            Driver 0: standstill, SG min/max 58/138
                                            Driver 1: standstill, SG min/max 0/237
                                            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-02-08 12:48:53
                                            Cache data hit count 567632536
                                            Slowest loop: 37.47ms; fastest: 0.09ms
                                            I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
                                            === Move ===
                                            Hiccups: 274(0), FreeDm: 169, MinFreeDm: 163, MaxWait: 10023ms
                                            Bed compensation in use: mesh, comp offset 0.020
                                            === MainDDARing ===
                                            Scheduled moves: 25, completed moves: 25, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
                                            === AuxDDARing ===
                                            Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
                                            === Heat ===
                                            Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
                                            Heater 0 is on, I-accum = 0.1
                                            Heater 1 is on, I-accum = 0.5
                                            === 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 ===
                                            Slowest loop: 73.70ms; fastest: 0.00ms
                                            Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(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 bc:dd:c2:57:ad:41
                                            WiFi Vcc 3.47, reset reason Turned on by main processor
                                            WiFi flash size 4194304, free heap 21656
                                            WiFi IP address 192.168.2.135
                                            WiFi signal strength -57dBm, reconnections 0, sleep mode modem
                                            Socket states: 0 0 0 0 0 0 0 0
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA