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

    Duet mini5+ forgets config after power off >30secs

    Scheduled Pinned Locked Moved Solved
    Firmware installation
    4
    9
    351
    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.
    • Simon 4undefined
      Simon 4
      last edited by

      I have the problem that the board with paneldue 7i forgets my settings when I turn it off for lonnger, short on/off works mostly.
      what I did:

      -generate the firmware with online tool
      -connect duet mini 5+ with usb cable to pc
      -starting terminal programm YAT--> connect-->OK
      -type m552-->ethernet is disabled
      -type m552 S1--->Ethernet is enabled, configured IP address: 0.0.0.0, actual IP address: 0.0.0.0 have to wait some time until dhcp gives me a ip--> getting connected with web browser
      -click system --> then click upload system files --> choosing my downloaded zip file generated with online tool--> system unpacks the the files
      -system asks for installing --> click yes --> system installs and panel due changes the look.

      at this point I am able to do motor movement, pid tuning hotend and buld plate...
      but if i turn off the system for more than 30-60 seconds the system starts up likefor the first time an I have to do the whole prcess again.

      I noticed that the file config.g is missing in the beginning in the web control, after update process I have one.

      The firmware update from 3.4 to 3.45 is still the actual one, this seems to be remembered.

      this is my config.g

      ; Configuration file for Duet 3 Mini 5+ (firmware version 3.3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.3.15 on Mon Feb 06 2023 14:47:19 GMT+0100 (Mitteleuropäische Normalzeit)

      ; General preferences
      M575 P1 S1 B57600 ; enable support for PanelDue
      G90 ; send absolute coordinates...
      M83 ; ...but relative extruder moves
      M550 P"Simplex 2" ; set printer name
      M669 K1 ; select CoreXY mode

      ; Network
      M552 S1 ; enable network
      M586 P0 S1 ; enable HTTP
      M586 P1 S0 ; disable FTP
      M586 P2 S0 ; disable Telnet

      ; Drives
      M569 P0.0 S1 ; physical drive 0.0 goes forwards
      M569 P0.1 S1 ; physical drive 0.1 goes forwards
      M569 P0.2 S1 ; physical drive 0.2 goes forwards
      M569 P0.3 S1 ; physical drive 0.3 goes forwards
      M584 X0.0 Y0.1 Z0.2 E0.3 ; set drive mapping
      M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
      M92 X80.00 Y80.00 Z400.00 E420.00 ; set steps per mm
      M566 X900.00 Y900.00 Z60.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 X0 Y0 Z0 S1 ; set axis minima
      M208 X220 Y190 Z190 S0 ; set axis maxima

      ; Endstops
      M574 X1 S1 P"io6.in" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin io6.in
      M574 Y1 S1 P"io5.in" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin io5.in
      M574 Z2 S1 P"io3.in" ; configure switch-type (e.g. microswitch) endstop for high end on Z via pin io3.in

      ; Z-Probe
      M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
      M557 X15:215 Y15:190 S20 ; define mesh grid

      ; Heaters
      M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
      M950 H0 C"out0" T0 ; create bed heater output on out0 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 S100 ; set temperature limit for heater 0 to 100C
      M308 S1 P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin temp1
      M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
      M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
      M143 H1 S270 ; set temperature limit for heater 1 to 270C

      ; Fans
      M950 F0 C"out3" Q500 ; create fan 0 on pin out3 and set its frequency
      M106 P0 S1 H1 T45 ; set fan 0 value. Thermostatic control is turned on
      M950 F1 C"out4" Q500 ; create fan 1 on pin out4 and set its frequency
      M106 P1 S0 H-1 ; set fan 1 value. Thermostatic control is turned off

      ; 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

      chrishammundefined 1 Reply Last reply Reply Quote 0
      • chrishammundefined
        chrishamm administrators @Simon 4
        last edited by

        @Simon-4 Sounds like an issue with the microSD card. Can you format and/or replace it?

        Duet software engineer

        Simon 4undefined 1 Reply Last reply Reply Quote 0
        • Simon 4undefined
          Simon 4 @chrishamm
          last edited by

          @chrishamm

          I had two boards one with wifi and one ethernet. I tried it with both sd cards, but same behaviour.
          But I will do the format procedure as described in your wiki.

          1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator
            last edited by

            Can you gather an M122 report from it with a known working SD card inserted?

            Z-Bot CoreXY Build | Thingiverse Profile

            MJLewundefined 1 Reply Last reply Reply Quote 0
            • MJLewundefined
              MJLew @Phaedrux
              last edited by

              @Phaedrux Could this be related to the bug that blitzed the config.g file on my machine?

              1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator
                last edited by

                Possibly. Did the config.g file disappear again?

                The M122 report would tell if the SD card is actually being detected properly or not.

                Z-Bot CoreXY Build | Thingiverse Profile

                Simon 4undefined 1 Reply Last reply Reply Quote 0
                • Simon 4undefined
                  Simon 4 @Phaedrux
                  last edited by Simon 4

                  this was displayed with M122

                  M122
                  === Diagnostics ===
                  RepRapFirmware for Duet 3 Mini 5+ version 3.4.5 (2022-11-30 19:41:16) running on Duet 3 Mini5plus Ethernet (standalone mode)
                  Board ID: H1VW7-XT8LU-F65J0-409NG-JM03Z-70AG8
                  Used output buffers: 1 of 40 (19 max)
                  === RTOS ===
                  Static ram: 103652
                  Dynamic ram: 104780 of which 0 recycled
                  Never used RAM 33280, free system stack 192 words
                  Tasks: NETWORK(ready,25.9%,213) ETHERNET(notifyWait,0.1%,560) HEAT(notifyWait,0.0%,358) Move(notifyWait,0.0%,363) CanReceiv(notifyWait,0.0%,942) CanSender(notifyWait,0.0%,336) CanClock(delaying,0.0%,341) TMC(notifyWait,0.6%,115) MAIN(running,72.1%,397) IDLE(ready,0.4%,30) AIN(delaying,0.8%,263), total 100.0%
                  Owned mutexes:
                  === Platform ===
                  Last reset 00:00:36 ago, cause: software
                  Last software reset at 2023-02-13 15:08, reason: User, GCodes spinning, available RAM 33208, slot 0
                  Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
                  Error status: 0x00
                  Aux0 errors 0,0,0
                  MCU revision 3, ADC conversions started 36522, completed 36520, timed out 0, errs 0
                  Step timer max interval 752
                  MCU temperature: min 30.6, current 31.8, max 31.8
                  Supply voltage: min 23.7, current 23.7, max 23.8, under voltage events: 0, over voltage events: 0, power good: yes
                  Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
                  Events: 0 queued, 0 completed
                  Driver 0: standstill, SG min 2, read errors 0, write errors 1, ifcnt 22, reads 1899, writes 9, timeouts 0, DMA errors 0, CC errors 0
                  Driver 1: standstill, SG min 0, read errors 0, write errors 1, ifcnt 22, reads 1898, writes 9, timeouts 0, DMA errors 0, CC errors 0
                  Driver 2: standstill, SG min 0, read errors 0, write errors 1, ifcnt 22, reads 1898, writes 9, timeouts 0, DMA errors 0, CC errors 0
                  Driver 3: standstill, SG min 0, read errors 0, write errors 1, ifcnt 19, reads 1898, writes 9, timeouts 0, DMA errors 0, CC errors 0
                  Driver 4: standstill, SG min 0, read errors 0, write errors 1, ifcnt 19, reads 1899, writes 9, timeouts 0, DMA errors 0, CC errors 0
                  Driver 5: not present
                  Driver 6: not present
                  Date/time: 2023-02-13 15:09:30
                  Cache data hit count 61969902
                  Slowest loop: 10.88ms; fastest: 0.13ms
                  === Storage ===
                  Free file entries: 10
                  SD card 0 detected, interface speed: 22.5MBytes/sec
                  SD card longest read time 3.4ms, write time 0.0ms, max retries 0
                  === Move ===
                  DMs created 83, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000
                  === MainDDARing ===
                  Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
                  === AuxDDARing ===
                  Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
                  === Heat ===
                  Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 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
                  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 queued 328, received 0, lost 0, boc 0
                  Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 18 (min 18), ts 183/0/0
                  Tx timeouts 0,0,182,0,0,144 last cancelled message type 4514 dest 127
                  === Network ===
                  Slowest loop: 20.38ms; fastest: 0.03ms
                  Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
                  HTTP sessions: 1 of 8
                  = Ethernet =
                  State: active
                  Error counts: 0 0 0 0 0 0
                  Socket states: 5 2 2 2 2 0 0 0

                  Simon 4undefined 1 Reply Last reply Reply Quote 0
                  • Simon 4undefined
                    Simon 4 @Simon 4
                    last edited by

                    seems to work with the formated and the "hand crafted" sd file

                    Phaedruxundefined 1 Reply Last reply Reply Quote 0
                    • Phaedruxundefined
                      Phaedrux Moderator @Simon 4
                      last edited by

                      @Simon-4 said in Duet mini5+ forgets config after power off >30secs:

                      seems to work with the formated and the "hand crafted" sd file

                      SD card media can be fickle. Let us know if you encounter any other issues.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 0
                      • Phaedruxundefined Phaedrux marked this topic as a question
                      • Phaedruxundefined Phaedrux has marked this topic as solved
                      • First post
                        Last post
                      Unless otherwise noted, all forum content is licensed under CC-BY-SA