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

    Hard fault on printing

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    2
    4
    140
    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.
    • samosnnundefined
      samosnn
      last edited by samosnn

      Hello everyone

      I just got my duet 2 wifi installed. upgraded firmware to 3.0 stable.

      M115
      
      FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.0 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2020-01-03b3
      

      I'm getting a hard fault anytime i try to print something. The heat bed will try and heat - but for about 10 seconds before the board resets. Each and everytime.

      I was able to successfully PID tune both the hotend and heatbed, and both were able to get up to temperature correctly. The web interface, and everything else seems to be working correctly.

      I've erased the flash and flashed with different versions of firmware using firmware fallback procedure 3 (bossa on Mac). v3.0 was the latest one. I've also flashed the firmware via web interface, no amount of firmware flashing/versions seems to solve this issue.

      The hard faults only happen during attempts to print.

      M122
      === Diagnostics ===
      RepRapFirmware for Duet 2 WiFi/Ethernet version 3.0 running on Duet WiFi 1.02 or later
      Board ID: 08DJM-9178L-L4MSN-6JKF8-3S46N-KS1UP
      Used output buffers: 1 of 24 (13 max)
      === RTOS ===
      Static ram: 30516
      Dynamic ram: 91764 of which 12 recycled
      Exception stack ram used: 264
      Never used ram: 8516
      Tasks: NETWORK(ready,640) HEAT(blocked,1240) MAIN(running,3676) IDLE(ready,156)
      Owned mutexes:
      === Platform ===
      Last reset 00:00:20 ago, cause: software
      Last software reset at 2020-05-03 11:41, reason: Hard fault, spinning module GCodes, available RAM 8180 bytes (slot 1)
      Software reset code 0x0063 HFSR 0x40000000 CFSR 0x00008200 ICSR 0x0041f803 BFAR 0xbb6661c4 SP 0x20005c04 Task 0x4e49414d
      Stack: 0041c16b 00400666 61000000 00000000 0044b2b5 00000000 00000001 00000001 00000001 20007364 0044af57 0044af02 476a6000 00000140 4b00ea60 200000b8 00000014 00000000 004529e3 004528de 01000000 00000001 2000ba98
      Error status: 0
      Free file entries: 10
      SD card 0 detected, interface speed: 20.0MBytes/sec
      SD card longest block write time: 0.0ms, max retries 0
      MCU temperature: min 30.8, current 31.6, max 31.9
      Supply voltage: min 24.1, current 24.2, max 24.4, under voltage events: 0, over voltage events: 0, power good: yes
      Driver 0: standstill, SG min/max not available
      Driver 1: 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-05-03 11:41:48
      Cache data hit count 40388088
      Slowest loop: 3.23ms; fastest: 0.09ms
      I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
      === Move ===
      Hiccups: 0(0), FreeDm: 169, MinFreeDm: 169, MaxWait: 0ms
      Bed compensation in use: none, comp offset 0.000
      === MainDDARing ===
      Scheduled moves: 0, completed moves: 0, 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
      === GCodes ===
      Segments left: 0
      Stack records: 1 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: 15.46ms; 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 84:f3:eb:ea:30:ec
      WiFi Vcc 3.46, reset reason Turned on by main processor
      WiFi flash size 4194304, free heap 25464
      WiFi IP address 192.168.1.135
      WiFi signal strength -76dBm, reconnections 0, sleep mode modem
      Socket states: 0 0 0 0 0 0 0 0
      

      config.g

      ; Configuration file for Duet WiFi (firmware version 3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v2.1.8 on Tue Apr 28 2020 23:02:32 GMT-0600 (Mountain Daylight Time)
      
      ; General preferences
      G90                                                ; send absolute coordinates...
      M83                                                ; ...but relative extruder moves
      M550 P"Duet"                                       ; set printer name
      
      M667 S1                                            ; select CoreXY mode
      
      ; Network
      M587 S"REDACTED" P"REDACTED"
      M551 P"REDACTED"                                   ; set password
      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 backwards
      M569 P2 S0                                         ; 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 X200.00 Y200.00 Z400.00 E415                ; 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 X-11 Y10 Z0 S1                               ; set axis minima
      M208 X300 Y300 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
      M558 P1 C"zprobe.in+zprobe.mod" H5 F120 T6000      ; set Z probe type to unmodulated and the dive height + speeds
      G31 P500 X-2 Y-16.4 Z1.043                         ; Set Z probe trigger value, offset and trigger height
      M557 X30:270 Y30:270 S80                           ; Define mesh grid
      
      ; Heaters
      M308 S0 P"bedtemp" Y"thermistor" T100000 B4138     ; 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"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
      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
      
      ; PID tuning hotend
      M307 H0 A473.6 C164.2 D6.3 V24.1 B0
      
      ; 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
      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
      • samosnnundefined
        samosnn
        last edited by

        Additional info:

        All drivers, endstops, thermistors, and z-probe are working and reporting correct values when testing individually. Board is also hooked up to a PanelDue 4.3.

        The crash happens only when attempting to print my first print using the duet.

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

          Please upgrade to firmware 3.01-RC11 and still if the problem still occurs.

          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
          • samosnnundefined
            samosnn
            last edited by

            @dc42 said in Hard fault on printing:

            occurs

            Upgrading the firmware, wifiserver and dwc allowed me to finally print. I guess I did not properly flash 3.0-RC11 when I was testing. But confirmed it is working now.

            m115
            FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.01-RC11 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2020-04-30b3
            
            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA