SBC freezes during print (even simulation) with 3.2beta3.2



  • After resolving my undervoltage issues and having the printer run idle for >24h, I tried simulating a print. During the simulation or at it's end, the machine stopped responding on the network. I can still connect via pronterface, and everything that doesn't need to access the SBC works. The virtual SD card is not accessible, and the SBC does not react to network requests (both HTTP and SSH are dead).

    Here is an M122, M20, M114, M105, and simple move on the X axis:

    Connecting...
    Printer is now online.
    >>> M122
    SENDING:M122
    === Diagnostics ===
    RepRapFirmware for Duet 3 MB6HC version 3.2-beta3.2 running on Duet 3 MB6HC v0.6 or 1.0 (SBC mode)
    Board ID: 08DGM-9T66A-G63SJ-6J1D6-3SD6R-9U0BA
    Used output buffers: 1 of 40 (17 max)
    === RTOS ===
    Static ram: 122236
    Dynamic ram: 138824 of which 56 recycled
    Never used RAM 131076, free system stack 126 words
    Tasks: Linux(blocked,71) HEAT(blocked,277) CanReceiv(blocked,869) CanSender(blocked,352) CanClock(blocked,352) TMC(blocked,18) MAIN(running,671) IDLE(ready,19)
    Owned mutexes: USB(MAIN)
    === Platform ===
    Last reset 20:42:07 ago, cause: power up
    Last software reset at 2020-11-15 12:51, reason: User, GCodes spinning, available RAM 131212, slot 0
    Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0044a000 BFAR 0x00000000 SP 0xffffffff Task Linu
    Error status: 0x00
    [ERROR] Error status: 0x00
    
    MCU temperature: min 31.0, current 33.2, max 33.4
    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.2, current 12.2, max 12.3, under voltage events: 0
    Driver 0: position 11200, standstill, reads 45951, writes 0 timeouts 0, SG min/max not available
    Driver 1: position 30400, standstill, reads 45951, writes 0 timeouts 0, SG min/max not available
    Driver 2: position 9600, standstill, reads 45951, writes 0 timeouts 0, SG min/max not available
    Driver 3: position 0, standstill, reads 45951, writes 0 timeouts 0, SG min/max not available
    Driver 4: position 0, standstill, reads 45950, writes 0 timeouts 0, SG min/max not available
    Driver 5: position 0, standstill, reads 45951, writes 0 timeouts 0, SG min/max not available
    Date/time: 2020-11-17 10:02:59
    Slowest loop: 117.40ms; fastest: 0.09ms
    === 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: 375, MaxWait: 60208367ms
    Bed compensation in use: none, comp offset 0.000
    === MainDDARing ===
    Scheduled moves 110707, completed moves 110707, StepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
    === AuxDDARing ===
    Scheduled moves 0, completed moves 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 idle in state(s) 0
    Telnet is idle in state(s) 0
    File* is idle in state(s) 0
    USB is ready with "M122" 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.
    === CAN ===
    Messages sent 161542, send timeouts 161542, longest wait 4ms for type 6024, free CAN buffers 47
    === SBC interface ===
    State: 0, failed transfers: 0
    Last transfer: 2243310ms ago
    RX/TX seq numbers: 0/39658
    SPI underruns 0, overruns 0
    Number of disconnects: 2, IAP RAM available 0x20a04
    Buffer RX/TX: 0/0-0
    >>> M111
    SENDING:M111
    Debugging enabled for modules:
    Debugging disabled for modules: Platform(0) Network(1) Webserver(2) GCodes(3) Move(4) Heat(5) DDA(6) Roland(7) Scanner(8) PrintMonitor(9) Storage(10) PortControl(11) DuetExpansion(12) FilamentSensors(13) WiFi(14) Display(15) LinuxInterface(16) CAN(17)
    >>> M111 P16 S1
    SENDING:M111 P16 S1
    Debugging enabled for modules: LinuxInterface(16)
    Debugging disabled for modules: Platform(0) Network(1) Webserver(2) GCodes(3) Move(4) Heat(5) DDA(6) Roland(7) Scanner(8) PrintMonitor(9) Storage(10) PortControl(11) DuetExpansion(12) FilamentSensors(13) WiFi(14) Display(15) CAN(17)
    >>> M20
    SENDING:M20
    Begin file list
    NONE
    End file list
    >>> M115
    SENDING:M115
    FIRMWARE_NAME: RepRapFirmware for Duet 3 MB6HC FIRMWARE_VERSION: 3.2-beta3.2 ELECTRONICS: Duet 3 MB6HC v0.6 or 1.0 FIRMWARE_DATE: 2020-11-12
    >>> M114
    SENDING:M114
    X:130.000 Y:-60.000 Z:6.000 E:0.000 E0:0.0 Count 11200 30400 9600 Machine 130.000 -60.000 6.000 Bed comp 0.000
    >>> M105
    SENDING:M105
    ok T:24.4 /0.0 T0:24.4 /0.0 B:20.8 /0.0
    >>> M552
    SENDING:M552
    Error: M552: Network-related commands are not supported when using an attached Single Board Computer
    [ERROR] Error: M552: Network-related commands are not supported when using an attached Single Board Computer
    
    >>> M98 P"config.g"
    SENDING:M98 P"CONFIG.G"
    Warning: Macro file CONFIG.G not found
    >>> G0 X-20
    SENDING:G0 X-20
    

    Should I be setting debugging for the LinuxInterface and try again?


Log in to reply