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

Duet3 + Pi DWC freezing

Scheduled Pinned Locked Moved Solved
Duet Web Control
6
48
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.
  • undefined
    Carlo
    last edited by Carlo 5 Jul 2020, 15:57 7 May 2020, 15:55

    Hi,

    Duet3 +Pi DWC latest unstable FW 12, 2.2.0 2.17 freezing after delta calibration having to reload page to return to normal ..oddly still able to move axis but can not control heaters.
    on freezing the home buttons change to all axis having homing buttons but temp, timeline, height etc do not update also this is both on web browser and Pi screen need to be reloaded individually also emergency stop does not reset it.

    Cheers
    C

    1 Reply Last reply Reply Quote 0
    • undefined
      Carlo @chrishamm
      last edited by 16 Sept 2020, 14:18

      @chrishamm

      Hi Chris,

      Just thought I would let you know the latest update fixed the issue.

      Cheers
      C

      undefined 1 Reply Last reply 16 Sept 2020, 15:00 Reply Quote 1
      • undefined
        chrishamm administrators
        last edited by 7 May 2020, 19:24

        I'm sorry to hear you're having problems. Can you please share your config.g and bed.g files? If you can, connect to your Pi via SSH (hostname duet3), run

        sudo systemctl stop duetcontrolserver
        sudo /opt/dsf/bin/DuetControlServer -l debug -r
        

        and post the output here after attempting to running delta auto calibration. Use pi as the user and raspberry as the password. The output of M122 from the G-code console may help, too.

        Duet software engineer

        undefined 1 Reply Last reply 8 May 2020, 16:10 Reply Quote 0
        • undefined
          Carlo @chrishamm
          last edited by 8 May 2020, 16:10

          @chrishamm said in Duet3 + Pi DWC freezing:

          Hi Chris,

          Not an issue at all I only posted in case it was of help I have a stand alone setup also so...swap out SD drop back to 3.0 couple of minutes and sorted and I'm just playin around (bored!) Also to confirm the Pi is not frozen and fully operational at the point of freezing in DWC reload of page and back to normal until loading g code or calibration

          Output below, followed by M122 and Config.g and bed.

          sudo /opt/dsf/bin/DuetControlServer -l debug -r (After running could not reconnect so had to reboot Pi DCS was not running message may well be as expected but thought I would mention it )

          Last login: Fri May 8 16:41:19 2020 from 192.168.0.2
          pi@duet3:~ $ sudo systemctl stop duetcontrolserver
          pi@duet3:~ $ sudo /opt/dsf/bin/DuetControlServer -l debug -r
          Duet Control Server v2.2.0
          Written by Christian Hammacher for Duet3D
          Licensed under the terms of the GNU Public License Version 3

          [info] Settings loaded
          [info] Environment initialized
          [info] Connection to Duet established
          [info] IPC socket created at /var/run/dsf/dcs.sock
          [debug] IPC#2: Got new UNIX connection, checking mode...
          [debug] IPC#2: Subscription processor registered in Patch mode
          [debug] IPC#3: Got new UNIX connection, checking mode...
          [debug] IPC#3: Command processor added
          [debug] IPC#3: Received command ResolvePath
          [debug] Requesting update of key boards, seq 0 -> 0
          [debug] Requesting update of key directories, seq 0 -> 0
          [debug] Requesting update of key fans, seq 0 -> 6
          [debug] Requesting update of key heat, seq 0 -> 7
          [debug] Requesting update of key inputs, seq 0 -> 0
          [debug] Requesting update of key job, seq 0 -> 2
          [debug] Requesting update of key move, seq 0 -> 35
          [debug] Requesting update of key network, seq 0 -> 8
          [debug] Requesting update of key sensors, seq 0 -> 2
          [debug] Requesting update of key spindles, seq 0 -> 0
          [debug] Requesting update of key state, seq 0 -> 0
          [debug] Requesting update of key tools, seq 0 -> 5
          [debug] Requesting update of key volumes, seq 0 -> 0
          [debug] Updated key limits
          [debug] Updated key boards
          [debug] Updated key directories
          [debug] Updated key fans
          [debug] Updated key heat
          [debug] Updated key inputs
          [debug] Updated key job
          [debug] Updated key move
          [debug] Updated key network
          [debug] Updated key sensors
          [debug] Updated key spindles
          [debug] Updated key state
          [debug] Updated key tools
          [debug] Updated key volumes
          pi@duet3:~ $ sudo /opt/dsf/bin/DuetControlServer -l debug -r
          Duet Control Server v2.2.0
          Written by Christian Hammacher for Duet3D
          Licensed under the terms of the GNU Public License Version 3

          [info] Settings loaded
          [info] Environment initialized
          [info] Connection to Duet established
          [info] IPC socket created at /var/run/dsf/dcs.sock
          [debug] IPC#2: Got new UNIX connection, checking mode...
          [debug] IPC#2: Subscription processor registered in Patch mode
          [debug] IPC#3: Got new UNIX connection, checking mode...
          [debug] IPC#3: Command processor added
          [debug] IPC#3: Received command ResolvePath
          [debug] Requesting update of key boards, seq 0 -> 0
          [debug] Requesting update of key directories, seq 0 -> 0
          [debug] Requesting update of key fans, seq 0 -> 6
          [debug] Requesting update of key heat, seq 0 -> 7
          [debug] Requesting update of key inputs, seq 0 -> 0
          [debug] Requesting update of key job, seq 0 -> 2
          [debug] Requesting update of key move, seq 0 -> 35
          [debug] Requesting update of key network, seq 0 -> 8
          [debug] Requesting update of key sensors, seq 0 -> 2
          [debug] Requesting update of key spindles, seq 0 -> 0
          [debug] Requesting update of key state, seq 0 -> 0
          [debug] Requesting update of key tools, seq 0 -> 5
          [debug] Requesting update of key volumes, seq 0 -> 0
          [debug] Updated key limits
          [debug] Updated key boards
          [debug] Updated key directories
          [debug] Updated key fans
          [debug] Updated key heat
          [debug] Updated key inputs
          [debug] Updated key job
          [debug] Updated key move
          [debug] Updated key network
          [debug] Updated key sensors
          [debug] Updated key spindles
          [debug] Updated key state
          [debug] Updated key tools
          [debug] Updated key volumes
          ^C[warn] Received SIGINT, shutting down...
          [debug] SPI task terminated
          [debug] IPC#2: Subscriber connection requested to terminate
          [debug] Update task terminated
          [debug] IPC#3: Connection closed
          [debug] Job task terminated
          [debug] IPC#2: Subscription processor unregistered
          [debug] IPC#2: Connection closed
          [debug] IPC task terminated
          [debug] Periodic updater task terminated
          [info] Application has shut down

          undefined 1 Reply Last reply 8 May 2020, 16:10 Reply Quote 0
          • undefined
            Carlo @Carlo
            last edited by 8 May 2020, 16:10

            @Carlo
            M122,

            5/8/2020, 5:03:01 PM M122
            === Diagnostics ===
            RepRapFirmware for Duet 3 MB6HC version 3.01-RC12 running on Duet 3 MB6HC v0.6 or 1.0
            Board ID: 08DJM-956L2-G43S8-6J9DL-3SD6M-1S3UF
            Used output buffers: 1 of 40 (11 max)
            === RTOS ===
            Static ram: 154588
            Dynamic ram: 161988 of which 44 recycled
            Exception stack ram used: 528
            Never used ram: 76068
            Tasks: ETHERNET(blocked,728) NETWORK(ready,1656) HEAT(blocked,1184) CanReceiv(suspended,3824) CanSender(suspended,1416) CanClock(blocked,1420) TMC(blocked,72) MAIN(running,1100) IDLE(ready,80)
            Owned mutexes:
            === Platform ===
            Last reset 00:15:31 ago, cause: software
            Last software reset at 2020-05-07 20:37, reason: User, spinning module GCodes, available RAM 91164 bytes (slot 3)
            Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0444a000 BFAR 0x00000000 SP 0xffffffff Task MAIN
            Error status: 0
            MCU temperature: min 28.8, current 30.7, max 30.8
            Supply voltage: min 24.0, current 24.0, max 24.1, under voltage events: 0, over voltage events: 0, power good: yes
            12V rail voltage: min 12.1, current 12.2, max 12.2, under voltage events: 0
            Driver 0: standstill, reads 6063, writes 25 timeouts 0, SG min/max 0/343
            Driver 1: standstill, reads 6063, writes 25 timeouts 0, SG min/max 0/232
            Driver 2: standstill, reads 6064, writes 25 timeouts 0, SG min/max 0/212
            Driver 3: standstill, reads 6075, writes 14 timeouts 0, SG min/max 0/0
            Driver 4: standstill, reads 6078, writes 11 timeouts 0, SG min/max 0/0
            Driver 5: standstill, reads 6079, writes 11 timeouts 0, SG min/max 0/0
            Date/time: 2020-05-08 17:03:02
            Slowest loop: 7.04ms; fastest: 0.14ms
            === Storage ===
            Free file entries: 10
            SD card 0 not detected, interface speed: 37.5MBytes/sec
            SD card longest read time 0.0ms, write time 0.0ms, max retries 0
            === Move ===
            Hiccups: 0(0), FreeDm: 375, MinFreeDm: 369, MaxWait: 754435ms
            Bed compensation in use: none, comp offset 0.000
            === MainDDARing ===
            Scheduled moves: 69, completed moves: 69, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1
            === AuxDDARing ===
            Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1
            === Heat ===
            Bed heaters = 0 -1 -1 -1 -1 -1 -1 -1 -1 -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 ready with "M122" 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
            SBC is idle in state(s) 0
            Daemon* is idle in state(s) 0
            Aux2 is idle in state(s) 0
            Autopause is idle in state(s) 0
            Code queue is empty.
            === Network ===
            Slowest loop: 1.30ms; fastest: 0.01ms
            Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
            HTTP sessions: 0 of 8

            • Ethernet -
              State: active
              Error counts: 0 0 0 0 0
              Socket states: 2 2 2 2 2 0 0 0
              === CAN ===
              Messages sent 3711, longest wait 0ms for type 0
              === Linux interface ===
              State: 0, failed transfers: 1
              Last transfer: 20ms ago
              RX/TX seq numbers: 1949/17277
              SPI underruns 0, overruns 0
              Number of disconnects: 3
              Buffer RX/TX: 0/0-0
              === Duet Control Server ===
              Duet Control Server v2.2.0.0
              Code buffer space: 4096
              Configured SPI speed: 8000000 Hz
              Full transfers per second: 26.15

            Config.g
            ; Configuration file for Duet 3 (firmware version 3)
            ; executed by the firmware on start-up
            ;
            ; generated by RepRapFirmware Configuration Tool v2.1.8 on Tue Apr 14 2020 19:31:51 GMT+0100 (British Summer Time)

            ; General preferences
            G90 ; send absolute coordinates...
            M83 ; ...but relative extruder moves
            M550 P"Duet 3" ; set printer name
            M665 R231.712 L440.470 B185 H419.851 ; Set delta radius, diagonal rod length, printable radius and homed height
            M666 X0.00 Y0.05 Z-0.05 ; put your endstop adjustments here, or let auto calibration find them

            ; Network
            M552 P192.168.0.25 S1 ; enable network and set IP address
            M553 P255.255.255.0 ; set netmask
            M554 P192.168.0.254 ; set gateway
            M586 P0 S1 ; enable HTTP
            M586 P1 S0 ; disable FTP
            M586 P2 S0 ; disable Telnet

            ; Drives
            M569 P0.0 S0 ; physical drive 0.0 goes backwards
            M569 P0.1 S0 ; physical drive 0.1 goes backwards
            M569 P0.2 S0 ; physical drive 0.2 goes backwards
            M569 P0.3 S0 ; physical drive 0.3 goes backwards
            ;M584 X0.0 Y0.1 Z0.2 E0.3 ; set drive mapping
            M350 X16 Y16 Z16 I1 ; configure microstepping with interpolation
            M350 E16 I0 ; configure extruder microstepping with no interpolation
            M92 X160.00 Y160.00 Z160.00 E1837.00 ; set steps per mm
            M203 X12000 Y12000 Z12000 E400 ; Set maximum speeds (mm/min)
            M201 X6000 Y6000 Z6000 E120 ; Set accelerations (mm/s^2)
            M566 X1200 Y1200 Z1200 E40 ; Set maximum instantaneous speed changes (mm/min)
            M906 X1700 Y1700 Z1700 E400 I45 ; Set motor currents (mA) and motor idle factor in per cent
            M84 S30 ; Set idle timeout

            ; Axis Limits
            M208 Z-0.2 S1 ; set minimum Z

            ; Endstops
            M574 X2 S1 P"io0.in" ; configure active-low endstop for high end on X via pin io0.in
            M574 Y2 S1 P"io1.in" ; configure active-low endstop for high end on Y via pin io1.in
            M574 Z2 S1 P"io2.in" ; configure active-low endstop for high end on Z via pin io2.in

            ; Z-Probe
            M558 P8 R0.4 C"io3.in+io3.out" H5 F1200 T6000 ; set Z probe type to effector and the dive height + speeds
            G31 P100 X0 Y0 Z-0.1 ; set Z probe trigger value, offset and trigger height
            M557 R105 S20 ; define mesh grid

            ; Heaters
            M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0 ; configure sensor 0 as thermistor on pin temp0
            M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
            M143 H0 S120 ; set temperature limit for heater 0 to 120C
            M307 H0 A90.0 C700.0 D10.0 S1.00 V0.0 B0 ; disable bang-bang mode for the bed heater and set PWM limit
            M140 H0
            M308 S1 P"temp1" Y"pt1000" R2200 ; configure sensor 1 as PT1000 on pin temp1
            M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
            M143 H1 S450 ; set temperature limit for heater 1 to 450C
            M307 H1 A369.9 C146.1 D6.8 S1.00 V24.1 B0 ; disable bang-bang mode for heater and set PWM limit

            ; Fans
            M950 F1 C"out7" Q500 ; create fan 1 on pin out8 and set its frequency
            M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
            M950 F0 C"out8" Q500 I0 ; create berd pump on pin out7 and set its frequency
            M106 P0 S0 H-1 C"Part Cooler" ; set fan 0 value. Thermostatic control is turned off
            M950 F2 C"out9" I0 ; create fan output 0 on pin out9 part cooling fan
            M106 P2 S0 H-1 C"Berd Air" F20000 L0.35 B2.5 ; set fan 2 value. Thermostatic control is turned off

            ; Retraction
            M404 N1.75 ; Define filament diameter for print monitor
            M207 S1 F30 Z0.32 ; Firmware retraction

            ; Tools
            M563 P0 D0 H1 ; 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

            ;Additional Settings

            ;Cpu temp
            M912 P0 S-10.1

            ; Miscellaneous
            G29 S1 ; Load bed mesh
            T0 ; Select first tool (Extruder 0)

            Bed.g

            ; bed.g
            ; Called to perform automatic delta calibration via G32
            M561 ; Clear any existing bed transform
            M290 R0 S0 ; Clear any babystepping

            ;Home all towers
            G91 ; Use relative positioning
            ;G1 X750 Y750 Z750 F3000 H1 ; Move all towers to the high end stopping at the endstops (first pass)
            ;G1 X-5 Y-5 Z-5 F500 H2 ; Go down a few mm
            ;G1 X10 Y10 Z10 F500 H1 ; Move all towers up once more (second pass)
            G90 ; Switch back to absolute positioning
            G29 S2
            ; Probe the bed at 10 peripheral and 6 halfway points, and perform 6-factor auto compensation
            G30 P0 X0.00 Y185.00 Z-99999 H0
            G30 P1 X92.50 Y160.21 Z-99999 H0
            G30 P2 X160.21 Y92.50 Z-99999 H0
            G30 P3 X185.00 Y0.00 Z-99999 H0
            G30 P4 X160.21 Y-92.50 Z-99999 H0
            G30 P5 X92.50 Y-160.21 Z-99999 H0
            G30 P6 X0.00 Y-185.00 Z-99999 H0
            G30 P7 X-92.50 Y-160.21 Z-99999 H0
            G30 P8 X-160.21 Y-92.50 Z-99999 H0
            G30 P9 X-185.00 Y-0.00 Z-99999 H0
            G30 P10 X-160.21 Y92.50 Z-99999 H0
            G30 P11 X-92.50 Y160.21 Z-99999 H0
            G30 P12 X0.00 Y92.50 Z-99999 H0
            G30 P13 X80.11 Y-46.25 Z-99999 H0
            G30 P14 X-80.11 Y-46.25 Z-99999 H0
            G30 P15 X0 Y0 Z-99999 S6

            G1 X0 Y0 Z150 F4000 ; Raise the effector up from the bed

            1 Reply Last reply Reply Quote 0
            • mwwhitedundefined
              mwwhited
              last edited by 11 May 2020, 16:06

              I am seeing this issue as well after updating to RC12. Here is my config.g I wasn't printing or anything at the time that my RPi froze. It was just idle for the entire day. I will leave it running with the console logging and see if I can catch any errors if it freezes again today.

              ; Configuration file for Duet 3 (firmware version 3)
              ; executed by the firmware on start-up
              ;
              ; Originally generated by RepRapFirmware Configuration Tool v2.1.8 on Mon Apr 13 2020 22:32:46 GMT-0400 (Eastern Daylight Time)
              ; update by Matthew Whited
              
              echo "Loading Configuration"
              
              ; Settings from old RAMPS based (3drag controler) board.
              ;M92 X79.83 Y78.65 Z397.23 E600.00
              ;M203 X400.00 Y400.00 Z50.00 E100.00
              ;M201 X5000 Y9000 Z100 E1000
              ;M205 S0.00 B20000 X10.00 Z0.40 E5.00
              ;M206 X0.00 Y0.00 Z0.00
              ;M301 P63.00 I2.25 D440.00
              
              ; General preferences
              G90                                                     ; send absolute coordinates...
              M83                                                     ; ...but relative extruder moves
              M550 P"Duet 3"                                          ; set printer name
              
              ; Drives
              M569 P0.2 S1                                            ; physical drive 0.2 goes forwards
              M569 P0.1 S1                                            ; physical drive 0.1 goes forwards
              M569 P0.0 S1                                            ; physical drive 0.0 goes forwards
              M569 P0.3 S0                                            ; physical drive 0.3 goes backwards
              M569 P0.4 S0                                            ; physical drive 0.4 goes backwards
              M569 P0.5 S0                                            ; physical drive 0.5 goes backwards
              M584 X0.2 Y0.1 Z0.0 E0.3:0.4:0.5			; set drive mapping
              M350 X16 Y16 Z16 E16 I1					; configure microstepping with interpolation
              M92 X79.83 Y78.65 Z397.23 E600.00			; set steps per mm
              M566 X900.00 Y900.00 Z12.00 E120.00			; set maximum instantaneous speed changes (mm/min)
              M203 X24000 Y24000 Z3000 E6000				; set maximum speeds (mm/min)
              M201 X5000.00 Y5000.00 Z100.00 E1000.00			; set accelerations (mm/s^2)
              M906 X2000 Y2000 Z2000 E2000 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 X216 Y200 Z219 S0					; set axis maxima
              
              ; Endstops
              M574 X1 S1 P"^io4.in+^io5.in"				; configure active-high endstop for low end on X via pin ^io4.in
              M574 Y1 S1 P"^io2.in+^io3.in"				; configure active-high endstop for low end on Y via pin ^io2.in
              M574 Z1 S1 P"^io0.in+^io1.in"				; configure active-high endstop for low end on Z via pin ^io0.in
              
              ;M574 X2 S1 P"^io5.in"					; configure active-high endstop for high end on X via pin ^io5.in
              ;M574 Y2 S1 P"^io3.in"					; configure active-high endstop for high end on Y via pin ^io3.in
              ;M574 Z2 S1 P"^io1.in"					; configure active-high endstop for high end on Z via pin ^io1.in
              
              ; https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_M950_Create_heater_fan_or_GPIO_servo_pin
              ; https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_M581_Configure_external_trigger
              ;M950 J1 C"^io5.in"	; X high end endstop
              ;M950 J2 C"^io3.in"	; Y high end endstop
              ;M950 J3 C"^io1.in"	; Z high end endstop
              ;M581 P1 T4 S1 C0
              ;M581 P2 T2 S1 C0
              ;M581 P3 T3 S1 C0
              
              ; Z-Probe
              M558 P0 H5 F120 T6000					; disable Z probe but set dive height, probe speed and travel speed
              M557 X15:195 Y15:195 S20				; define mesh grid
              
              ; Heaters
              ;M308 S0 P"temp0" Y"thermistor" T100000 B4138 A"Bed"     ; configure sensor 0 as thermistor on pin temp0
              M308 S0 P"temp0" Y"thermistor" T100000 B3950 A"Bed"     ; configure sensor 0 as thermistor on pin temp0
              M950 H0 C"out0" T0                                      ; create bed heater output on out0 and map it to sensor 0
              M143 H0 S120                                            ; set temperature limit for heater 0 to 120C
              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
              
              ;HTF1
              M308 S1 P"temp1" Y"thermistor" T100000 B4138 A"HTF1"	; configure sensor 1 as thermistor on pin temp1
              M950 H1 C"out1" T1                                      ; create nozzle heater output on out1 and map it to sensor 1
              M143 H1 S280                                            ; set temperature limit for heater 1 to 280C
              M307 H1 B0 S1.00                                        ; disable bang-bang mode for heater  and set PWM limit
              M950 F0 C"out7" Q500                                    ; create fan 0 on pin out7 and set its frequency
              M106 P0 S0 H-1 C"HTF1"					; set fan 0 value. Thermostatic control is turned off
              
              ;HTF2
              M308 S2 P"temp2" Y"thermistor" T100000 B4138 A"HTF2"	; configure sensor 2 as thermistor on pin temp2
              M950 H2 C"out2" T2                                      ; create nozzle heater output on out2 and map it to sensor 2
              M143 H2 S280                                            ; set temperature limit for heater 2 to 280C
              M307 H2 B0 S1.00                                        ; disable bang-bang mode for heater  and set PWM limit
              M950 F1 C"out8" Q500					; create fan 1 on pin out8 and set its frequency
              M106 P1 S0 H-1 C"HTF2"					; set fan 1 value. Thermostatic control is turned on
              
              ; Fan 3
              M950 F2 C"out4" Q50					; create fan 2 on pin out4 and set its frequency
              M106 P2 S0 H1-1 C"Fan 3"				; set fan 2 value. Thermostatic control is turned on
              
              ;Power Supply
              M308 S3 P"temp3" Y"thermistor" T100000 B4138 A"PS"	; configure sensor 3 as thermistor on pin temp3 for Power supply
              M950 F3 C"out9" Q500                                    ; create fan 3 on pin out9 and set its frequency
              M106 C"Power Supply" P3 H-1 S0.0			; Power supply fan (3) linked to pwoer supply temp (3) Turn on at 35C
              
              ; Tools
              M563 P0 S"Direct Drive" D1 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
              
              ;M563 P1 S"3mm Bowden" D0 H1 F0                          ; define tool 1
              ;G10 P1 X0 Y0 Z0                                         ; set tool 1 axis offsets
              ;G10 P1 R0 S0                                            ; set initial tool 1 active and standby temperatures to 0C
              
              ;M563 P2 S"Dual 1.75 Bowden" D0:1 H1:2 F0                ; define tool 2
              ;G10 P2 X0 Y0 Z0                                         ; set tool 2 axis offsets
              ;G10 P2 R0 S0                                            ; set initial tool 2 active and standby temperatures to 0C
              ;M568 P2 S1                                              ; enable mixing for tool 2
              ;M567 P2 E0.5:0.5                                        ; set mixing ratios for tool 2
              
              ;M563 P3 S"3 Color" D0:1:2 H1 F0                         ; define tool 3
              ;G10 P3 X0 Y0 Z0                                         ; set tool 3 axis offsets
              ;G10 P3 R0 S0                                            ; set initial tool 3 active and standby temperatures to 0C
              ;M568 P3 S1                                              ; enable mixing for tool 3
              ;M567 P3 E0.33:0.33:0.34                                 ; set mixing ratios for tool 3
              
              ;bank 1
              M563 P10 S"Extruder 0" D0 H1 F0                          ; define tool 4
              G10 P10 X0 Y0 Z0                                         ; set tool 4 axis offsets
              G10 P10 R0 S0                                            ; set initial tool 4 active and standby temperatures to 0C
              M563 P11 S"Extruder 1" D1 H1 F0                          ; define tool 4
              G10 P11 X0 Y0 Z0                                         ; set tool 4 axis offsets
              G10 P11 R0 S0                                            ; set initial tool 4 active and standby temperatures to 0C
              M563 P12 S"Extruder 2" D2 H1 F0                          ; define tool 4
              G10 P12 X0 Y0 Z0                                         ; set tool 4 axis offsets
              G10 P12 R0 S0                                            ; set initial tool 4 active and standby temperatures to 0C
              ;bank 2
              M563 P13 S"Extruder 3" D0 H1 F0                          ; define tool 4
              G10 P13 X0 Y0 Z0                                         ; set tool 4 axis offsets
              G10 P13 R0 S0                                            ; set initial tool 4 active and standby temperatures to 0C
              M563 P14 S"Extruder 4" D1 H1 F0                          ; define tool 4
              G10 P14 X0 Y0 Z0                                         ; set tool 4 axis offsets
              G10 P14 R0 S0                                            ; set initial tool 4 active and standby temperatures to 0C
              M563 P15 S"Extruder 5" D2 H1 F0                          ; define tool 4
              G10 P15 X0 Y0 Z0                                         ; set tool 4 axis offsets
              G10 P15 R0 S0                                            ; set initial tool 4 active and standby temperatures to 0C
              
              
              
              
              
              ; Custom settings are not defined
              
              ; Configure outpus for Relay Controller
              M950 P0 C"io6.out"
              M950 P1 C"io7.out"
              M950 P2 C"io8.out"
              
              ;  Default all relays to off
              M42 P0 S0
              M42 P1 S0
              M42 P2 S0
              
              M501										 ; Execute config-override.g
              
              1 Reply Last reply Reply Quote 0
              • undefined
                chrishamm administrators
                last edited by 11 May 2020, 16:13

                I think I have found the issue but I am still testing the fix. I am now printing layer 55 of Carlo's test file and no freeze so far.

                Duet software engineer

                1 Reply Last reply Reply Quote 0
                • jay_s_ukundefined
                  jay_s_uk
                  last edited by 11 May 2020, 17:44

                  @chrishamm was this linked to my issue by any chance?

                  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

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    chrishamm administrators
                    last edited by 11 May 2020, 21:18

                    @jay_s_uk Yes, I think so. We'll provide a fix shortly.

                    Duet software engineer

                    1 Reply Last reply Reply Quote 0
                    • mwwhitedundefined
                      mwwhited
                      last edited by 12 May 2020, 02:31

                      The website is still responding and the SBC/RPi seems that's it's still running but I did get this message

                      [info] Starting macro file 0:/macros/Special Scripts/Check Relays on channel Daemon
                      [debug] Evaluating If block
                      [debug] Evaluating state.currentTool = -1 on channel Daemon
                      [debug] Evaluation result: state.currentTool = -1 = true
                      [debug] Evaluating If block
                      [debug] Evaluating 0 on channel Daemon
                      [debug] Evaluating 1 on channel Daemon
                      [debug] Evaluating 2 on channel Daemon
                      [debug] Evaluating state.gpOut[0].pwm > 0 || state.gpOut[1].pwm > 0 || state.gpOut[2].pwm > 0 on channel Daemon
                      [debug] Evaluation result: state.gpOut[0].pwm > 0 || state.gpOut[1].pwm > 0 || state.gpOut[2].pwm > 0 = false
                      [debug] End of If block
                      [debug] End of If block
                      [debug] Finished codes from macro file 0:/macros/Special Scripts/Check Relays
                      [info] Finished macro file 0:/macros/Special Scripts/Check Relays
                      [warn] Daemon: System macro daemon.g is requested but the stack is not empty. Discarding request.
                      [debug] Requesting update of key job, seq 1 -> 2
                      [debug] Daemon: ==> Finished starting code: M98 P"0:/macros/Special Scripts/Check Relays"
                      [debug] Completed M98 P"0:/macros/Special Scripts/Check Relays"
                      [debug] Daemon: Sent G4 S10 ; wait 10 seconds, remaining space 1504, needed 32
                      [debug] Daemon: -> Resumed suspended code
                      [debug] Updated key job
                      [warn] Daemon: System macro daemon.g is requested but the stack is not empty. Discarding request.

                      1 Reply Last reply Reply Quote 0
                      • mwwhitedundefined
                        mwwhited
                        last edited by 12 May 2020, 02:36

                        After the above message the daemon.g did not running. I was able to recover it by hitting emergency stop. I didn't get the total lockup like I did yesterday where the UI stopped responding as well as I was not able to SSH into the RPi... but this time is different as I cam logging the messages to the console as you suggested above. I'm going to allow it to continue running overnight to see if it freezes entirely.

                        jay_s_ukundefined 1 Reply Last reply 12 May 2020, 05:34 Reply Quote 0
                        • jay_s_ukundefined
                          jay_s_uk @mwwhited
                          last edited by 12 May 2020, 05:34

                          @mwwhited

                          Thats the same message I was seeing. https://forum.duet3d.com/topic/16240/print-frozen-rrf3-01-rc12-and-dsf-2-2-0/12
                          When I got that, the system would lock up, the GUI would become unresponsive but I was still able to SSH into the pi.
                          Just to let you know that you're not alone.

                          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

                          undefined 1 Reply Last reply 12 May 2020, 13:10 Reply Quote 0
                          • undefined
                            Carlo @jay_s_uk
                            last edited by Carlo 5 Dec 2020, 13:11 12 May 2020, 13:10

                            @jay_s_uk

                            Were you able to reload the screen to get control back ?

                            1 Reply Last reply Reply Quote 0
                            • jay_s_ukundefined
                              jay_s_uk
                              last edited by 12 May 2020, 13:13

                              @Carlo

                              I could reload it but none of the buttons did anything.
                              Seems to be something locking the daemon file up and killing the pi side of things.

                              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

                              undefined 1 Reply Last reply 12 May 2020, 13:15 Reply Quote 1
                              • undefined
                                Carlo @jay_s_uk
                                last edited by 12 May 2020, 13:15

                                @jay_s_uk
                                Yeah if I reloaded it worked as normal until cal or uploading gcode and the circle continued.

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  Carlo
                                  last edited by 16 May 2020, 14:24

                                  Hi,
                                  Connected to pi via desktop Chrome browser/and Pi screen
                                  Still having this issue after update to 3.1.0 via apt-get
                                  Also now get this error and constant network drops?
                                  5/16/2020, 3:10:10 PM Failed to get file list (don't get this error on the Pi only over network)
                                  Target drive is unmounted

                                  No files show in system via web browser but are there on Pi screen
                                  And still freezes after G32 or uploading gcode files may be more this is as far as I have gone on both Pi and web browser.

                                  Cheers
                                  C

                                  undefined 1 Reply Last reply 16 May 2020, 15:18 Reply Quote 0
                                  • undefined
                                    chrishamm administrators @Carlo
                                    last edited by 16 May 2020, 15:18

                                    @Carlo Can you confirm that you are on RRF 3.1.0? I haven't been able to reproduce it since that version. If it happens again, please run M122 from a serial monitor connected to the Duet 3, M122 "DSF" via the web interface, and post the outputs here.

                                    The outputs of sudo ls -lR /opt/dsf/sd and sudo journalctl -u duetcontrolserver -e may be interesting, too (executed from a Linux terminal).

                                    Duet software engineer

                                    undefined 1 Reply Last reply 16 May 2020, 15:22 Reply Quote 0
                                    • undefined
                                      Carlo @chrishamm
                                      last edited by 16 May 2020, 15:22

                                      @chrishamm

                                      Hi Chris,

                                      I have just installed a new image of duetpi and its the same issue file name 2020-05-15-DuetPi.img.

                                      5/16/2020, 4:21:26 PM M122 "DSF"
                                      === Duet Control Server ===
                                      Duet Control Server v3.1.0
                                      Code buffer space: 4096
                                      Configured SPI speed: 8000000 Hz
                                      Full transfers per second: 31.0

                                      duetcontrol to follow

                                      cheers

                                      undefined 1 Reply Last reply 16 May 2020, 15:23 Reply Quote 0
                                      • undefined
                                        Carlo @Carlo
                                        last edited by 16 May 2020, 15:23

                                        @Carlo

                                        pi@duet3:~ $ sudo ls -lR /opt/dsf/sd
                                        /opt/dsf/sd:
                                        total 20
                                        drwxr-xr-x 2 pi pi 4096 May 15 16:09 filaments
                                        drwxr-xr-x 2 pi pi 4096 May 15 16:09 firmware
                                        drwxr-xr-x 2 pi pi 4096 May 15 16:09 gcodes
                                        drwxr-xr-x 2 pi pi 4096 May 15 16:09 macros
                                        drwxr-xr-x 2 pi pi 4096 May 16 16:17 sys
                                        lrwxrwxrwx 1 pi pi 7 May 15 16:25 www -> ../dwc2

                                        /opt/dsf/sd/filaments:
                                        total 0

                                        /opt/dsf/sd/firmware:
                                        total 0

                                        /opt/dsf/sd/gcodes:
                                        total 0

                                        /opt/dsf/sd/macros:
                                        total 0

                                        /opt/dsf/sd/sys:
                                        total 1004
                                        -rw-r--r-- 1 root root 500 May 16 16:01 bed.g
                                        -rw-r--r-- 1 root root 4758 May 16 16:17 config.g
                                        -rw-r--r-- 1 root root 4758 May 16 16:01 config.g.bak
                                        -rw-r--r-- 1 root root 4177 May 16 16:01 config.json
                                        -rw-r--r-- 1 root root 595 May 16 16:16 config-override.g
                                        -rwxr-xr-x 1 root root 10308 May 15 16:47 Duet3Bootloader_EXP.bin
                                        -rwxr-xr-x 1 root root 9192 May 15 16:47 Duet3Bootloader_TOOL.bin
                                        -rwxr-xr-x 1 root root 161956 May 15 16:47 Duet3Firmware_EXP3HC.bin
                                        -rwxr-xr-x 1 root root 570184 May 15 16:47 Duet3Firmware_MB6HC.bin
                                        -rwxr-xr-x 1 root root 163468 May 15 16:47 Duet3Firmware_TOOL1LC.bin
                                        -rwxr-xr-x 1 root root 33804 May 15 16:47 Duet3iap_spi_MB6HC.bin
                                        -rwxr-xr-x 1 root root 19908 May 15 16:47 Duet3_SBCiap_MB6HC.bin
                                        -rw-r--r-- 1 root root 1185 May 16 16:21 dwc2settings.json
                                        -rw-r--r-- 1 root root 2521 May 16 16:01 heightmap.csv
                                        -rw-r--r-- 1 root root 630 May 16 16:01 homedelta.g
                                        pi@duet3:~ $

                                        undefined undefined 2 Replies Last reply 16 May 2020, 15:24 Reply Quote 0
                                        • undefined
                                          Carlo @Carlo
                                          last edited by 16 May 2020, 15:24

                                          @Carlo

                                          pi@duet3:~ $ sudo journalctl -u duetcontrolserver -e
                                          May 16 16:17:15 duet3 systemd[1]: duetcontrolserver.service: Succeeded.
                                          May 16 16:17:20 duet3 systemd[1]: duetcontrolserver.service: Service RestartSec=
                                          May 16 16:17:20 duet3 systemd[1]: duetcontrolserver.service: Scheduled restart j
                                          May 16 16:17:20 duet3 systemd[1]: Stopped Duet Control Server.
                                          May 16 16:17:20 duet3 systemd[1]: Started Duet Control Server.
                                          May 16 16:17:20 duet3 DuetControlServer[1282]: Duet Control Server v3.1.0
                                          May 16 16:17:20 duet3 DuetControlServer[1282]: Written by Christian Hammacher fo
                                          May 16 16:17:20 duet3 DuetControlServer[1282]: Licensed under the terms of the G
                                          May 16 16:17:21 duet3 DuetControlServer[1282]: [info] Settings loaded
                                          May 16 16:17:21 duet3 DuetControlServer[1282]: [info] Environment initialized
                                          May 16 16:17:21 duet3 DuetControlServer[1282]: [info] Connection to Duet establi
                                          May 16 16:17:21 duet3 DuetControlServer[1282]: [info] IPC socket created at /var
                                          May 16 16:17:21 duet3 DuetControlServer[1282]: [info] Starting macro file config
                                          May 16 16:17:22 duet3 DuetControlServer[1282]: [info] HTTP is enabled on port 80
                                          May 16 16:17:22 duet3 DuetControlServer[1282]: [info] FTP is disabled
                                          May 16 16:17:22 duet3 DuetControlServer[1282]: [info] TELNET is disabled
                                          May 16 16:17:22 duet3 DuetControlServer[1282]: [warn] M307: Heater 1 appears to
                                          May 16 16:17:22 duet3 DuetControlServer[1282]: [info] Starting macro file config
                                          May 16 16:17:22 duet3 DuetControlServer[1282]: [info] Finished macro file config
                                          May 16 16:17:23 duet3 DuetControlServer[1282]: [warn] M307: Heater 1 appears to
                                          May 16 16:17:23 duet3 DuetControlServer[1282]: [info] Finished macro file config
                                          May 16 16:17:27 duet3 DuetControlServer[1282]: [info] Starting macro file homede
                                          May 16 16:17:28 duet3 DuetControlServer[1282]: [info] Finished macro file homede
                                          lines 81-103/103 (END)

                                          1 Reply Last reply Reply Quote 0
                                          • undefined
                                            chrishamm administrators @Carlo
                                            last edited by 16 May 2020, 15:25

                                            @Carlo Thanks, that's all looking good. I am a bit puzzled why DWC shows the first volume as not mounted. May you share the output of http://duet3/machine/status too? In most browsers, you can switch to raw view somewhere at the top, which makes copy&paste easier.

                                            Please post those outputs only after a freeze has occurred and before a (firmware) reset.

                                            Duet software engineer

                                            undefined 2 Replies Last reply 16 May 2020, 15:31 Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA