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

    G28 Error: Failed to enable endstops

    Scheduled Pinned Locked Moved
    General Discussion
    2
    8
    341
    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.
    • abindarraez1undefined
      abindarraez1
      last edited by

      Hi,
      Could someone please help me?
      I have a Duet Maestro and this error suddenly appeared.
      I am unsure what happened. I have a delta 3d printer. It was working as I was setting i up. But suddenly it started failing in its https connection. About a week later I went back to work on it and it seems that the disconnection problem is gone but has been replaced with this one.
      Thanks

      M122
      === Diagnostics ===
      RepRapFirmware for Duet 2 Maestro version 3.4.5 (2022-11-30 19:42:44) running on Duet Maestro 1.0
      Board ID: 08DAM-9F9DA-MWNS8-6J9F4-3SN6J-T50QX
      Used output buffers: 1 of 26 (14 max)
      === RTOS ===
      Static ram: 23620
      Dynamic ram: 65788 of which 44 recycled
      Never used RAM 25036, free system stack 216 words
      Tasks: NETWORK(ready,35.5%,272) HEAT(notifyWait,0.0%,388) Move(notifyWait,0.0%,404) TMC(notifyWait,1.3%,117) MAIN(running,61.6%,492) IDLE(ready,1.5%,31), total 100.0%
      Owned mutexes:
      === Platform ===
      Last reset 00:22:04 ago, cause: power up
      Last software reset at 2023-06-12 21:10, reason: User, GCodes spinning, available RAM 25036, slot 2
      Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
      Error status: 0x10
      Step timer max interval 1867
      MCU temperature: min 24.1, current 35.5, max 36.0
      Supply voltage: min 23.9, current 24.0, max 24.3, under voltage events: 0, over voltage events: 0, power good: yes
      Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
      Events: 0 queued, 0 completed
      Driver 0: standstill, read errors 0, write errors 0, ifcnt 6, reads 24070, writes 6, timeouts 0, DMA errors 0, CC errors 0
      Driver 1: standstill, read errors 0, write errors 0, ifcnt 6, reads 24070, writes 6, timeouts 0, DMA errors 0, CC errors 0
      Driver 2: standstill, read errors 0, write errors 0, ifcnt 6, reads 24070, writes 6, timeouts 0, DMA errors 0, CC errors 0
      Driver 3: standstill, read errors 0, write errors 0, ifcnt 6, reads 24070, writes 6, timeouts 0, DMA errors 0, CC errors 0
      Driver 4: standstill, read errors 0, write errors 0, ifcnt 6, reads 24070, writes 6, timeouts 0, DMA errors 0, CC errors 0
      Driver 5: not present
      Driver 6: not present
      Date/time: 2023-06-13 10:32:45
      Slowest loop: 440.31ms; fastest: 0.12ms
      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: 15.0MBytes/sec
      SD card longest read time 1.8ms, write time 202.2ms, max retries 0
      === Move ===
      DMs created 83, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000
      === MainDDARing ===
      Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
      === AuxDDARing ===
      Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
      === Heat ===
      Bed heaters 0 -1, chamber heaters -1 -1, ordering errs 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: 1094.16ms; fastest: 0.02ms
      Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
      HTTP sessions: 1 of 8
      Interface state active, link 100Mbps full duplex
      
      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @abindarraez1
        last edited by jay_s_uk

        @abindarraez1 sorry, just saw the title.
        please post your config.g and the output of M98 P"config.g"

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        abindarraez1undefined 1 Reply Last reply Reply Quote 0
        • abindarraez1undefined
          abindarraez1 @jay_s_uk
          last edited by

          @jay_s_uk
          This is the config file

          ; Configuration file for Duet Maestro (firmware version 3.3)
          ; executed by the firmware on start-up
          ;
          ; generated by RepRapFirmware Configuration Tool v3.3.16 on Tue Jun 13 2023 10:25:35 GMT-0600 (GMT-06:00)
          
          ; General preferences
          G90                                                 ; send absolute coordinates...
          M83                                                 ; ...but relative extruder moves
          M550 P"Cari"                                        ; set printer name
          M665 R185 L440.4 B182 H440                          ; Set delta radius, diagonal rod length, printable radius and homed height
          M666 X0 Y0 Z0                                       ; put your endstop adjustments here, or let auto calibration find them
          
          ; Network
          M552 P0.0.0.0 S1                                    ; enable network and acquire dynamic address via DHCP
          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 P3 S1                                          ; physical drive 3 goes forwards
          M584 X0 Y1 Z2 E3                                    ; set drive mapping
          M350 X16 Y16 Z16 E16 I1                             ; configure microstepping with interpolation
          M92 X80.00 Y80.00 Z80.00 E663.00                    ; set steps per mm
          M566 X1200.00 Y1200.00 Z1200.00 E1200.00            ; set maximum instantaneous speed changes (mm/min)
          M203 X18000.00 Y18000.00 Z18000.00 E1200.00         ; set maximum speeds (mm/min)
          M201 X1000.00 Y1000.00 Z1000.00 E1000.00            ; set accelerations (mm/s^2)
          M906 X800 Y800 Z800 E350 I30                        ; set motor currents (mA) and motor idle factor in per cent
          M84 S30                                             ; Set idle timeout
          
          ; Axis Limits
          M208 Z0 S1                                          ; set minimum Z
          
          ; Endstops
          M574 X2 S1 P"xstop"                                 ; configure switch-type (e.g. microswitch) endstop for high end on X via pin xstop
          M574 Y2 S1 P"ystop"                                 ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin ystop
          M574 Z2 S1 P"zstop"                                 ; configure switch-type (e.g. microswitch) endstop for high end on Z via pin zstop
          
          ; Z-Probe
          M558 P5 R0.4 C"zprobe.in+zprobe.mod" H5 F1200 T6000 ; set Z probe type to effector and the dive height + speeds
          G31 P500 X0 Y0 Z2.5                                 ; set Z probe trigger value, offset and trigger height
          M557 R85 S20                                        ; define mesh grid
          
          ; Heaters
          M308 S0 P"bedtemp" Y"thermistor" T100000 B3950      ; 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
          M307 H0 B0 S1.00                                    ; disable bang-bang mode for the bed heater and set PWM limit
          M140 H0                                             ; map heated bed to heater 0
          M143 H0 S100                                        ; set temperature limit for heater 0 to 100C
          M308 S1 P"e0temp" Y"thermistor" T100000 B4138       ; configure sensor 1 as thermistor on pin e0temp
          M950 H1 C"e0heat" T1                                ; create nozzle heater output on e0heat and map it to sensor 1
          M307 H1 B0 S1.00                                    ; disable bang-bang mode for heater  and set PWM limit
          M143 H1 S280                                        ; set temperature limit for heater 1 to 280C
          
          ; Fans
          
          ; 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
          
          
          
          abindarraez1undefined 1 Reply Last reply Reply Quote 0
          • abindarraez1undefined
            abindarraez1 @abindarraez1
            last edited by abindarraez1

            And this is the M98 P"config.g"
            HTTP is enabled on port 80
            FTP is disabled
            TELNET is disabled

            But really strange thing. The error has disappeared, and the motors homed.
            Now once more the connection problem has emerged.

            G28
            === Diagnostics ===
            RepRapFirmware for Duet 2 Maestro version 3.4.5 (2022-11-30 19:42:44) running on Duet Maestro 1.0
            Board ID: 08DAM-9F9DA-MWNS8-6J9F4-3SN6J-T50QX
            Used output buffers: 1 of 26 (14 max)
            === RTOS ===
            Static ram: 23620
            Dynamic ram: 66632 of which 204 recycled
            Never used RAM 23912, free system stack 168 words
            Tasks: NETWORK(ready,33.1%,256) HEAT(notifyWait,0.0%,345) Move(notifyWait,0.0%,326) TMC(notifyWait,1.4%,117) MAIN(running,65.5%,178) IDLE(ready,0.0%,31), total 100.0%
            Owned mutexes:
            === Platform ===
            Last reset 00:09:33 ago, cause: power up
            Last software reset at 2023-06-12 21:10, reason: User, GCodes spinning, available RAM 25036, slot 2
            Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
            Error status: 0x00
            Step timer max interval 939
            MCU temperature: min 34.0, current 36.8, max 37.2
            Supply voltage: min 23.9, current 24.1, max 24.3, under voltage events: 0, over voltage events: 0, power good: yes
            Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
            Events: 0 queued, 0 completed
            Driver 0: ok, read errors 0, write errors 0, ifcnt 12, reads 29934, writes 12, timeouts 0, DMA errors 0, CC errors 0
            Driver 1: ok, read errors 0, write errors 0, ifcnt 12, reads 29934, writes 12, timeouts 0, DMA errors 0, CC errors 0
            Driver 2: ok, read errors 0, write errors 0, ifcnt 12, reads 29934, writes 12, timeouts 0, DMA errors 0, CC errors 0
            Driver 3: standstill, read errors 0, write errors 0, ifcnt 8, reads 29938, writes 8, timeouts 0, DMA errors 0, CC errors 0
            Driver 4: standstill, read errors 0, write errors 0, ifcnt 6, reads 29940, writes 6, timeouts 0, DMA errors 0, CC errors 0
            Driver 5: not present
            Driver 6: not present
            Date/time: 2023-06-13 11:59:12
            Slowest loop: 26.99ms; fastest: 0.12ms
            I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
            === Storage ===
            Free file entries: 9
            SD card 0 detected, interface speed: 15.0MBytes/sec
            SD card longest read time 1.3ms, write time 0.0ms, max retries 0
            === Move ===
            DMs created 83, segments created 5, maxWait 365534ms, bed compensation in use: none, comp offset 0.000
            === MainDDARing ===
            Scheduled moves 111, completed 110, hiccups 6, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state 3
            === AuxDDARing ===
            Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
            === Heat ===
            Bed heaters 0 -1, chamber heaters -1 -1, ordering errs 0
            === GCodes ===
            Segments left: 0
            Movement lock held by HTTP
            HTTP is idle in state(s) 2 15, running macro
            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: 13.41ms; fastest: 0.02ms
            Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
            HTTP sessions: 1 of 8
            Interface state active, link 100Mbps full duple
            
            abindarraez1undefined 1 Reply Last reply Reply Quote 0
            • abindarraez1undefined
              abindarraez1 @abindarraez1
              last edited by abindarraez1

              @abindarraez1
              This is the newest version of the M122

              M122
              === Diagnostics ===
              RepRapFirmware for Duet 2 Maestro version 3.4.5 (2022-11-30 19:42:44) running on Duet Maestro 1.0
              Board ID: 08DAM-9F9DA-MWNS8-6J9F4-3SN6J-T50QX
              Used output buffers: 1 of 26 (14 max)
              === RTOS ===
              Static ram: 23620
              Dynamic ram: 66632 of which 204 recycled
              Never used RAM 23912, free system stack 168 words
              Tasks: NETWORK(ready,33.1%,256) HEAT(notifyWait,0.0%,345) Move(notifyWait,0.0%,326) TMC(notifyWait,1.4%,117) MAIN(running,65.5%,178) IDLE(ready,0.0%,31), total 100.0%
              Owned mutexes:
              === Platform ===
              Last reset 00:09:33 ago, cause: power up
              Last software reset at 2023-06-12 21:10, reason: User, GCodes spinning, available RAM 25036, slot 2
              Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
              Error status: 0x00
              Step timer max interval 939
              MCU temperature: min 34.0, current 36.8, max 37.2
              Supply voltage: min 23.9, current 24.1, max 24.3, under voltage events: 0, over voltage events: 0, power good: yes
              Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
              Events: 0 queued, 0 completed
              Driver 0: ok, read errors 0, write errors 0, ifcnt 12, reads 29934, writes 12, timeouts 0, DMA errors 0, CC errors 0
              Driver 1: ok, read errors 0, write errors 0, ifcnt 12, reads 29934, writes 12, timeouts 0, DMA errors 0, CC errors 0
              Driver 2: ok, read errors 0, write errors 0, ifcnt 12, reads 29934, writes 12, timeouts 0, DMA errors 0, CC errors 0
              Driver 3: standstill, read errors 0, write errors 0, ifcnt 8, reads 29938, writes 8, timeouts 0, DMA errors 0, CC errors 0
              Driver 4: standstill, read errors 0, write errors 0, ifcnt 6, reads 29940, writes 6, timeouts 0, DMA errors 0, CC errors 0
              Driver 5: not present
              Driver 6: not present
              Date/time: 2023-06-13 11:59:12
              Slowest loop: 26.99ms; fastest: 0.12ms
              I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
              === Storage ===
              Free file entries: 9
              SD card 0 detected, interface speed: 15.0MBytes/sec
              SD card longest read time 1.3ms, write time 0.0ms, max retries 0
              === Move ===
              DMs created 83, segments created 5, maxWait 365534ms, bed compensation in use: none, comp offset 0.000
              === MainDDARing ===
              Scheduled moves 111, completed 110, hiccups 6, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state 3
              === AuxDDARing ===
              Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
              === Heat ===
              Bed heaters 0 -1, chamber heaters -1 -1, ordering errs 0
              === GCodes ===
              Segments left: 0
              Movement lock held by HTTP
              HTTP is idle in state(s) 2 15, running macro
              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: 13.41ms; fastest: 0.02ms
              Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
              HTTP sessions: 1 of 8
              Interface state active, link 100Mbps full duplex
              
              jay_s_ukundefined 1 Reply Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk @abindarraez1
                last edited by

                @abindarraez1 M122 doesn't tell us anything. can you post your homedelta.g file and anything else that may be relevant

                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                abindarraez1undefined 1 Reply Last reply Reply Quote 0
                • abindarraez1undefined
                  abindarraez1 @jay_s_uk
                  last edited by

                  @jay_s_uk I just changed my SD card. I will do some trails and send an update in a couple of hours

                  abindarraez1undefined 1 Reply Last reply Reply Quote 0
                  • abindarraez1undefined
                    abindarraez1 @abindarraez1
                    last edited by

                    @abindarraez1 It seems to be working. I will upload a new ticket if there is a failure

                    1 Reply Last reply Reply Quote 1
                    • First post
                      Last post
                    Unless otherwise noted, all forum content is licensed under CC-BY-SA