12864 LCD + Duet and SBC constant reboot - 3.2beta3



  • Enabling a 12864 LCD screen (fysetc mini) results in a constant reboot of the system whe a duet 3 mini 5+ is attached to an SBC.
    The LCD is being enabled using M918 P2.
    I am unable to obtain an output from M122


  • administrators

    This is an issue I have seen reported in earlier releases. I tried briefly to reproduce it but failed. So:

    1. Does it still reboot if you delete the menu files from the SD card?

    2. Please do the following:

    • Run it so that it reboots. After that, do not do anything that causes a software reset.
    • Power the Duet down and remove the SD card.
    • Either connect via USB, power up and get a M122 report; or move the SD card to a PC, remove the M918 command from config.g, replace the SD card in the Duet, power up the Duet again, and run M122.

    Please post the M122 report here.



  • heres an M122 I managed to capture between reboots.

    m122
    === Diagnostics ===
    RepRapFirmware for Duet 3 Mini 5+ prototype v0.2 version 3.2-beta3 running on Duet 3 Mini5plus_v02 WiFi (SBC mode)
    Board ID: 8ULVP-1D6P9-F65J0-401FQ-2A03Z-RJW1V
    Used output buffers: 1 of 40 (10 max)
    === RTOS ===
    Static ram: 86072
    Dynamic ram: 112216 of which 16 recycled
    Never used RAM 62816, free system stack 200 words
    Tasks: Linux(ready,169) HEAT(blocked,369) TMC(blocked,69) MAIN(running,542) IDLE(ready,19) AIN(blocked,272)
    Owned mutexes: HTTP(MAIN)
    === Platform ===
    Last reset 00:00:00 ago, cause: software
    Last software reset at 2020-11-07 19:42, reason: HardFault bfarValid precise, Display spinning, available RAM 58724, slot 0
    Software reset code 0x406f HFSR 0x40000000 CFSR 0x00008200 ICSR 0x00000803 BFAR 0xc5a8b258 SP 0x20007a60 Task MAIN
    Stack: c5a8b25a c5a8b258 00000000 00000000 ffffffff 0006ec57 0007d7ae 210f0000 2001d48c 20007a9c 00000001 0007193b 2001d488 00046215 20007ad8 00072521 20007b2c 20007ac4 20007b6c 20007b6b 000911bc 00080acc 00000000 00074b8f 20001780 00000000 c5a8b25a
    Error status: 0x00
    Supply voltage: min 0.0, current 12.6, max 12.6, under voltage events: 0, over voltage events: 0, power good: yes
    Driver 0: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 232, reads 28, writes 11, timeouts 0, DMA errors 0
    Driver 1: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 232, reads 28, writes 11, timeouts 0, DMA errors 0
    Driver 2: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 232, reads 27, writes 11, timeouts 0, DMA errors 0
    Driver 3: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 231, reads 27, writes 11, timeouts 0, DMA errors 0
    Driver 4: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 233, reads 28, writes 11, timeouts 0, DMA errors 0
    Driver 5: position 0, assumed not present
    Driver 6: position 0, assumed not present
    Driver 7: position 0, assumed not present
    Date/time: 2020-11-07 19:42:50
    Slowest loop: 0.60ms; fastest: 0.00ms
    === Storage ===
    Free file entries: 10
    SD card 0 not detected, interface speed: 11.2MBytes/sec
    SD card longest read time 0.0ms, write time 0.0ms, max retries 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, 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, chamberHeaters = -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 0, running macro
    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.
    === SBC interface ===
    State: 0, failed transfers: 0
    Last transfer: 11ms ago
    RX/TX seq numbers: 523/14
    SPI underruns 0, overruns 0
    Number of disconnects: 0, IAP RAM available 0x0fdd0
    Buffer RX/TX: 0/0-0
    === Duet Control Server ===
    Duet Control Server v3.2.0-beta3
    Trigger:
    Buffered code: M106 P1 S1 H1 T45 ; Set fan 1 value. Thermostatic control is turned on
    Buffered code: M563 P0 D0 H1 F0 ; define tool 0
    Buffered code: G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
    Buffered code: G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C
    ==> 216 bytes
    Executing macro config.g, started by system
    Pending code: M918 P2 ; enable ST7567-based 12864 display
    Pending code: M150 X2 R255 U255 B255 S3 ; set all 3 LEDs to white
    Pending code: M501 ; load saved parameters from non-volatile memory
    Pending code: T0 ; select first tool
    Pending code: M207 S5.0 R0.02 F2400 Z0.5
    Pending code: M950 P0 Q500 C"out0"
    > Next stack level
    Code buffer space: 3880
    Configured SPI speed: 8000000 Hz
    Full transfers per second: 13.48
    

    It reboots whether there is a menu system or not.


  • administrators

    Thanks, that will help me to track the problem down.


Log in to reply