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

[3.3-rc1] homing causes controller reset

Scheduled Pinned Locked Moved Solved
Beta Firmware
4
7
400
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
    Serbitar
    last edited by 1 May 2021, 17:16

    Simple test at the moment using 3.3-rc1. Printer was working under 3.3b3.

    Power the controller and SBC up from the mains
    Try to home X by either hitting the home X button in DWC or typing G28 X into the DWC command sender.

    Board powers up but does not move any motors.

    I have this homex.g

    M98 P"/macros/poweron.g"
    M913 X30
    G91
    G1 H1 X-550 F20000 ; coarse home X
    G1 X20 F20000 ; move away from the endstops
    G1 H1 X-20 F1000 ; fine home X
    G90
    M913 X100
    G53 G1 X{-sensors.probes[0].offsets[0]} F20000
    m122
    === Diagnostics ===
    RepRapFirmware for Duet 3 MB6HC version 3.3RC1 (2021-05-01 09:12:50) running on Duet 3 MB6HC v0.6 or 1.0 (SBC mode)
    Board ID: 08DJM-956L2-G43S8-6J9D8-3S86J-9B36F
    Used output buffers: 1 of 40 (10 max)
    === RTOS ===
    Static ram: 150680
    Dynamic ram: 62924 of which 0 recycled
    Never used RAM 140588, free system stack 208 words
    Tasks: SENSORS(delaying,0.0%,80) SBC(ready,5.7%,321) HEAT(delaying,0.0%,337) Move(notifyWait,0.0%,352) CanReceiv(notifyWait,0.0%,945) CanSender(notifyWait,0.0%,373) CanClock(delaying,0.0%,343) TMC(notifyWait,0.0%,105) MAIN(running,93.9%,924) IDLE(ready,0.4%,29), total 100.0%
    Owned mutexes: HTTP(MAIN)
    === Platform ===
    Last reset 00:00:33 ago, cause: software
    Last software reset at 2021-05-01 18:10, reason: MemoryProtectionFault mmarValid daccViol, GCodes spinning, available RAM 140588, slot 2
    Software reset code 0x4163 HFSR 0x00000000 CFSR 0x00000082 ICSR 0x00400804 BFAR 0x00000004 SP 0x2041af48 Task MAIN Freestk 1521 ok
    Stack: 2042b2b4 2042b334 2042b348 00000000 20424c20 00455f33 0044b182 81070000 00499e60 2042b434 00000000 00000000 00000000 20423f20 00000001 00000000 2041b0f0 ffffffed 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    Error status: 0x00
    Aux0 errors 0,0,0
    Aux1 errors 0,0,0
    Step timer max interval 736
    MCU temperature: min 42.9, current 43.0, max 43.3
    Supply voltage: min 0.2, current 0.2, max 0.3, under voltage events: 0, over voltage events: 0, power good: no
    12V rail voltage: min 0.1, current 0.1, max 0.2, under voltage events: 0
    Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
    Driver 0: position 0, ok, reads 0, writes 0 timeouts 0, SG min/max 0/0
    Driver 1: position 0, ok, reads 0, writes 0 timeouts 0, SG min/max 0/0
    Driver 2: position 0, ok, reads 0, writes 0 timeouts 0, SG min/max 0/0
    Driver 3: position 0, ok, reads 0, writes 0 timeouts 0, SG min/max 0/0
    Driver 4: position 0, ok, reads 0, writes 0 timeouts 0, SG min/max 0/0
    Driver 5: position 0, ok, reads 0, writes 0 timeouts 0, SG min/max 0/0
    Date/time: 2021-05-01 18:11:03
    Slowest loop: 1.10ms; fastest: 0.04ms
    === 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 ===
    DMs created 125, maxWait 0ms, bed compensation in use: none, comp offset 0.000
    === MainDDARing ===
    Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
    === AuxDDARing ===
    Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 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
    === GCodes ===
    Segments left: 0
    Movement lock held by null
    HTTP* is doing "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.
    === Filament sensors ===
    Extruder 0 sensor: ok
    === CAN ===
    Messages queued 297, send timeouts 295, received 0, lost 0, longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 49 (min 49)
    Last cancelled message type 30 dest 127
    === SBC interface ===
    State: 1, failed transfers: 0
    Last transfer: 0ms ago
    RX/TX seq numbers: 3484/1190
    SPI underruns 0, overruns 0
    Number of disconnects: 0, IAP RAM available 0x2c90c
    Buffer RX/TX: 0/0-0
    === Duet Control Server ===
    Duet Control Server v3.3-rc1
    Code buffer space: 4096
    Configured SPI speed: 8000000 Hz
    Full transfers per second: 21.10
    Codes per second: 0.70
    Maximum length of RX/TX data transfers: 3444/932

    dcslog.txt

    config.g

    i@hevort:/opt/dsf/sd/sys $ cat config.g
    M550 P"hevort" ; set machine label
    M584 X0.3 Y0.4 Z0.0:0.1:0.2 E0.5 ; Assign drivers to axes
    M669 K1 ; Set system to CoreXY
    M569 P0 S0 D2 ;H0 ; Reverse Z1 motor direction
    M569 P1 S0 D2 ;H0 ; Reverse Z2 motor direction
    M569 P2 S0 D2 ;H0 ; Reverse Z3 motor direction
    M569 P3 S0 D2 ;H0 ; Reverse X motor direction
    M569 P4 S0 D2 ;H0 ; Reverse Y motor direction
    M569 P5 S0 D2 ;H0 ; Extruder motor setup, reverse direction
    M671 X-31:546:257 Y0:0:546 S100 ; Set Z probe points
    M574 X1 S1 P"io1.in" ; Configure X endstop
    M574 Y1 S1 P"io2.in" ; Configure Y endstop
    M574 Z2 S4 ; Use stallguard for Z1 endstop for max Z. Allow each motor to stall independently
    M915 X S3 F0 R1 ; Configure stallguard detection for X
    M915 Y S3 F0 R1 ; Configure stallguard detection for Y
    M915 Z S1 H400 F1 R1 ; Configure stallguard detection for Z
    M915 E S3 F0 R1 ; Configure stallguard detection for E
    M906 X1500 Y1500 Z1500 E1000 I80 ; Motor currents in ma + idle percentage
    M92 X80 Y80 E400 Z800 ; Steps per mm
    M203 Z2500 Y100000 X100000 ; Max feedrate in mm/min
    M201 X1000.0 Y1000.0 Z50.0 E250.0 ; Max acceleration mm/sec^2
    M308 S0 P"temp0" Y"thermistor" A"Bed" T100000 B3950 ; Set up bed thermistor
    M950 H0 C"out0" T0 Q10 ; Set up bed heater output
    M140 P0 H0 ; Configure bed heater
    M307 H0 A110.3 C221.0 D3.9 V24.0 B0 ; Configure bed heating process parameters
    M304 P91.5 I3.111 D250.3 ; Configure bed heating PID parameters
    M308 S1 P"temp1" Y"thermistor" A"Hotend" T100000 ; B3950 ; Set up hotend thermistor
    M950 H1 C"out1" T1 ; Set up hotend heater
    M563 P0 S"Volcano" D0.5 H1 F2; Create new tool for hotend using air pump
    M143 H1 S300 A3 ; Set max heater temp to 300C
    G10 P0 X0 Y0 Z0 R0 S200 ; Set default tool temperatures and offsets
    ;M307 H1 A838.7 C467.3 D8.3 V23.9 B0 ; Hotend pid parameters
    ;M307 H1 R1.612 C384.3 D10.70 S1.00 V24.0 ; PID Parameters Volcano, 220C
    M307 H1 R1.752 C200.1 D8.36 S1.00 V24.0 ; PID Parameters Volcano, 220C + full berd air
    M308 S10 P"spi.cs0" Y"dht22" A"Enclosure Temp" ; Set AM2302/DHT22 pin
    M308 S11 P"S10.1" Y"dhthumidity" A"Enclosure Humidity" ; Set AM2302/DHT22 humidity subsensor
    M950 S2 C"io4.out" ; Bltouch servo pin
    M558 C"^io4.in" H20 F600 T6000 P9 ; Configure z probe, Bltouch
    M280 P2 S160 ; Reset BLTouch
    G31 P500 X12 Y-27 Z2.733 ; set Z probe trigger value, offset and trigger height
    M950 C"out2" F0 ; First fan = Water pump can add tacho input later
    M106 P0 S255 T50 C"Water pump" H1 ; Set Fan0 to be thermostatically controlled against hotend temp > 50C
    M950 C"out4+out4.tach" F1 ; Second fan = radiator fan
    M106 P1 S255 T50 H1 C"Radiator fan"
    M950 C"out3" F2 Q30000 ; Third fan = air pump
    M106 P2 C"Air pump"
    M950 C"out9" F3 Q30000 ; Enclosure LED
    M106 P3 C"Lights" S255
    M950 C"!out5" F4 ; HEVACS inverted PWM
    M106 P4 C"HEVACS"
    M591 D0 P1 C"^io0.in" S1 ; Filament runout sensor
    M208 X-265.7 Y-260 Z0 S1 ; Set axes minima
    M208 X249.3 Y245 Z470 ; Set axes maxima
    M557 X-250:249.3 Y-262.7:232 S25 ; Set probe grid limits
    M572 D0 S0.025 ; Pressure advance
    M207 P0 S0.2 F2400 ; Retraction 0.2mm at 40mm/s

    M98 P"/sys/config.g" returns no output.

    undefined 1 Reply Last reply 1 May 2021, 20:51 Reply Quote 0
    • undefined
      tristanryerparke
      last edited by tristanryerparke 5 Jan 2021, 18:45 1 May 2021, 18:45

      @serbitar said in [3.3-rc1] homing causes controller reset:

      reason: MemoryProtectionFault

      I'm getting the same issue.
      Does yours give this error after the connection is lost when trying to home?

      Lost connection to Duet (Board is not available (no header))
      undefined 1 Reply Last reply 1 May 2021, 20:38 Reply Quote 0
      • undefined
        dc42 administrators @tristanryerparke
        last edited by 1 May 2021, 20:38

        @Serbitar and @tristanryerparke, thanks for the report. I have located the problem and I am preparing a fix.

        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
        • undefined
          dc42 administrators @Serbitar
          last edited by 1 May 2021, 20:51

          @serbitar and @tristanryerparke please try the new 3.3RC1+1 firmware binary at https://www.dropbox.com/sh/dlb58vkmu1u4fkx/AAAelkXSfRKVwI6_yqRnhGHPa?dl=0 and let us know whether it resolves the problem.

          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

          undefined undefined 2 Replies Last reply 1 May 2021, 21:00 Reply Quote 0
          • undefined
            Serbitar @dc42
            last edited by 1 May 2021, 21:00

            @dc42 That's fixed it!

            Thanks for turning the fix around so quickly 🙂

            1 Reply Last reply Reply Quote 0
            • undefined
              tristanryerparke @dc42
              last edited by 1 May 2021, 21:28

              @dc42 You saved the day again david, back up and running no issues so far.
              Thanks,
              T

              1 Reply Last reply Reply Quote 0
              • undefined
                Nuramori
                last edited by 2 May 2021, 07:19

                That fixed it for me as well.

                1 Reply Last reply Reply Quote 0
                2 out of 7
                • First post
                  2/7
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA