Warning: motor phase may be disconnected



  • Let me describe the whole story. A Duet 2 Wifi with defective motor driver 1 has appeared in my hands. The driver was really hot even when the printer was idling. There was no reaction when I tried to command it too. I remapped the Y driver to physical driver 4 by M584 X0 Y4 Z2 E3 command to be sure that it works before physical removal of this driver.
    Now the driver is desoldered and short-to-ground error on driver 1 appeared. I added M569 P1 R-1 gcode to the config.g file to suppress that error messages and tried G28. Since that time I am receiving warning about motor phases of all 3 motion motors and the motors are not moving at all. I haven't changed wiring of the motors since initial crimping but I've double check phases order and it looks correct.

    config.g

    ; Configuration file for Duet WiFi (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.3 on Thu Jul 02 2020 00:17:06 GMT+0200 (Central European Summer Time)
    
    ; General preferences
    G90                                                    ; send absolute coordinates...
    M83                                                    ; ...but relative extruder moves
    M550 P"Kossel" 										   ; set printer name
    M665 R120 L264 B115 H250 							   ; 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 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 R-1                                            ; physical drive 1 is always disabled and is not monitored
    M569 P2 S1                                             ; physical drive 2 goes forwards
    M569 P3 S1                                             ; physical drive 3 goes forwards
    M569 P4 S1  										   ; physical drive 4 goes forwards
    M584 X0 Y4 Z2 E3                                       ; set driver 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 X2000 Y2000 Z2000 E800 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 active-high endstop for high end on X via pin xstop
    M574 Y2 S1 P"ystop"                                    ; configure active-high endstop for high end on Y via pin ystop
    M574 Z2 S1 P"zstop"                                    ; configure active-high endstop for high end on Z via pin zstop
    
    ; Z-Probe
    M558 P0 H5 F120 T6000                                  ; disable Z probe but set dive height, probe speed and travel speed
    M557 R115 S20                                          ; define mesh grid
    
    ; Heaters
    M308 S0 P"bedtemp" Y"thermistor" R4700 T100000 B3950   ; configure sensor 0 as thermistor on pin bedtemp e.g. B4092   
    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 S110                                           ; set temperature limit for heater 0 to 110C
    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
    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 T50                                      ; set fan 1 value. Thermostatic control is turned on
    
    ; Tools
    M563 P0 S"Extruder" 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
    T0                                                     ; select first tool
    
    
    

    m115

    FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.1.1 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2020-05-19b2
    

    M122

    === Diagnostics ===
    RepRapFirmware for Duet 2 WiFi/Ethernet version 3.1.1 running on Duet WiFi 1.02 or later
    Board ID: 08DJM-956GL-M43T0-6J1F6-3S46Q-TV5UR
    Used output buffers: 3 of 24 (11 max)
    === RTOS ===
    Static ram: 27980
    Dynamic ram: 93108 of which 64 recycled
    Exception stack ram used: 472
    Never used ram: 9448
    Tasks: NETWORK(ready,364) HEAT(blocked,1224) MAIN(running,1880) IDLE(ready,80)
    Owned mutexes: WiFi(NETWORK)
    === Platform ===
    Last reset 00:42:18 ago, cause: software
    Last software reset at 2020-07-12 15:08, reason: User, spinning module GCodes, available RAM 9448 bytes (slot 3)
    Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0xffffffff Task MAIN
    Error status: 0
    MCU temperature: min 26.4, current 28.4, max 28.9
    Supply voltage: min 23.8, current 23.9, max 24.0, under voltage events: 0, over voltage events: 0, power good: yes
    Driver 0: standstill, SG min/max not available
    Driver 1: temperature-shutdown! short-to-ground standstill, SG min/max not available
    Driver 2: standstill, SG min/max not available
    Driver 3: standstill, SG min/max not available
    Driver 4: standstill, SG min/max not available
    Date/time: 2020-07-12 15:50:57
    Cache data hit count 2576932335
    Slowest loop: 29.63ms; fastest: 0.31ms
    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: 20.0MBytes/sec
    SD card longest read time 2.3ms, write time 6.6ms, max retries 0
    === Move ===
    Hiccups: 0(0), FreeDm: 169, MinFreeDm: 166, MaxWait: 55780ms
    Bed compensation in use: none, comp offset 0.000
    === MainDDARing ===
    Scheduled moves: 3, completed moves: 3, 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, chamberHeaters = -1 -1 -1 -1
    Heater 1 is on, I-accum = 0.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
    Daemon is idle in state(s) 0
    Autopause is idle in state(s) 0
    Code queue is empty.
    === Network ===
    Slowest loop: 86.83ms; fastest: 0.00ms
    Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
    HTTP sessions: 1 of 8
    - WiFi -
    Network state is active
    WiFi module is connected to access point 
    Failed messages: pending 0, notready 0, noresp 0
    WiFi firmware version 1.23
    WiFi MAC address 8c:aa:b5:d5:66:5d
    WiFi Vcc 3.43, reset reason Unknown
    WiFi flash size 4194304, free heap 23168
    WiFi IP address 192.168.1.184
    WiFi signal strength -61dBm, reconnections 0, sleep mode modem
    Socket states: 0 0 0 0 0 0 0 0
    

    I am running out of ideas what can be wrong but it should be working at least based on threads:



  • @jafido said in Warning: motor phase may be disconnected:

    Now the driver is desoldered and short-to-ground error on driver 1 appeared. I added M569 P1 R-1 gcode to the config.g file to suppress that error messages and tried G28. Since that time I am receiving warning about motor phases of all 3 motion motors

    all 3, not all 4?

    if you have a solder bridge on the pads of the removed driver it could affect the SPI bus causing all drivers to (seemingly) report errors



  • Actually I believe that I've asked by G28 command just 3 drivers to do something and the 4th one is idling. Extruder driver doesn't perform any task within homing so I expect that this is a normal behaviour.

    Including motor params marked by red color.

    motor.png

    Warning: motor phase A may be disconnected reported by driver(s) 0 2 4
    Warning: motor phase B may be disconnected reported by driver(s) 0 2 4
    

    Frankly speaking there is no visible shorten pad anywhere on the board. That was my first guess when I've seen the issue.



  • @jafido said in Warning: motor phase may be disconnected:

    just 3 drivers to do something and the 4th one is idling

    i thought a spi issue would give the same error on all even if not idle, but I can't test it atm.

    but if you turn on the hotend and extrude a tiny amount before trying homing you can see wheater or not it all drivers or all but E0


Log in to reply