Deleting config.g file
-
I am getting a little fusterated My duet mini 5+ keeps deleting the config.g file. I have fought to get the system running and before I get a chance to finish setting it up and backing it up it deletes the file. It also fails to connect to the wifi.
-
Hi,
I have two Duet 3 Mini 5 running v3.2 firmware.
I have had no such problems.
If you can post your config.g file here using the </> tags.
A few questions:
- has it ever worked
- is the WiFi antenna attached
- how far away is the nearest router/access point
Thanks.
Frederick
-
Can you try setting up a fresh SD card?
How are you editing it?
A few more details please?
Results of M122 would be a start.
-
Using sd card that came with unit it doesn't matter if I edit it in web-server my preferred way or in notepad+ on my pc. Mini will delete at random. Tried my own sdcard and issues still occur. Upon reboot Panel Due will stick with connecting and pc will not connect via wifi. Upon shutting down power and viewing sdcard on pc config.g file will just be missing.
Wifi works randomly but when connects stays connected. issue occurs when reseting power or on stop button or system reset after config update. Antenna is attached and mounted to mounting plate behind duet 3 mini. the nearest wifi connection is in the next room via 1 wall and 2 meters away.
; Configuration file for Duet 3 Mini 5+ (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.2.2 on Sun Jan 24 2021 21:50:34 GMT-0700 (Mountain Standard Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"badass printer" ; set printer name; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; Drives
M569 P0.1 S0 ; physical drive 0.1 goes backwards
M569 P0.2 S1 ; physical drive 0.2 goes forwards
M569 P0.0 S0 ; physical drive 0.0 goes forwards
M569 P0.3 S1 ; physical drive 0.3 goes backwards
M569 P0.4 S1 ; physical drive 0.4 goes backwards
M584 X0.1 Y0.2 Z0.0 E0.3:0.4 ; set drive mapping
M350 X256 Y256 Z256 E16:16 I0 ; configure microstepping without interpolation
M92 X2048.00 Y2048.00 Z13120.00 E412.1:412.1 ; set steps per mm
M566 X1200.00 Y1200.00 Z24.00 E300.00:300.00 ; set maximum instantaneous speed changes (mm/min)
M203 X9000.00 Y9000.00 Z180.00 E6000.00:6000.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z100.00 E5000.00:5000.00 ; set accelerations (mm/s^2)
M906 X950 Y950 Z950 E500:500 I50 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X-20 Y-40 Z0 S1 ; set axis minima
M208 X330 Y330 Z450 S0 ; set axis maxima; Endstops
M574 X1 S1 P"io6.in" ; configure active-high endstop for low end on X via pin !io6.in
M574 Y1 S1 P"io5.in" ; configure active-high endstop for low end on Y via pin !io5.in; Z-Probe
M950 S0 C"io1.out" ; create servo pin 0 for BLTouch
M558 P9 C"^io1.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
G31 P500 X150 Y150 Z2.5 ; set Z probe trigger value, offset and trigger height
M557 X30:300 Y50:300 S40 ; define mesh grid; Heaters
M308 S0 P"temp0" Y"thermistor" T100000 B4092 ; 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 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S150 ; set temperature limit for heater 0 to 150C
M308 S1 P"temp1" Y"thermistor" T100000 B4092 ; 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 S275 ; set temperature limit for heater 1 to 275C; Fans
M950 F0 C"out3" Q500 ; create fan 0 on pin out3 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"out5" Q500 ; create fan 1 on pin out5 and set its frequency
M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
M950 F2 C"out6" Q500 ; create fan 2 on pin out6 and set its frequency
M106 P2 S1 H1:0 T45 ; set fan 2 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
M563 P1 D1 H1 F0 ; define tool 1
G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets
G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C; Custom settings
M575 P1 S1 B57600; Miscellaneous
M575 P1 S1 B57600 ; enable support for PanelDue
M501 ; load saved parameters from non-volatile memory
M911 S21 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss -
Results of M122?
-
M122
=== Diagnostics ===
RepRapFirmware for Duet 3 Mini 5+ version 3.2-beta3.2+1 running on Duet 3 Mini5plus WiFi (standalone mode)
Board ID: UWSLD-U296U-D65J0-40KMS-1H03Z-7UQUB
Used output buffers: 3 of 40 (14 max)
=== RTOS ===
Static ram: 97472
Dynamic ram: 133508 of which 356 recycled
Never used RAM 29784, free system stack 118 words
Tasks: NETWORK(ready,186) HEAT(blocked,316) CanReceiv(blocked,967) CanSender(blocked,357) CanClock(blocked,360) TMC(blocked,65) MAIN(running,444) IDLE(ready,20) AIN(blocked,258)
Owned mutexes:
=== Platform ===
Last reset 00:14:37 ago, cause: software
Last software reset at 2021-01-27 18:32, reason: User, GCodes spinning, available RAM 29784, slot 2
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0xffffffff Task MAIN
Error status: 0x00
Supply voltage: min 0.0, current 24.5, max 24.5, under voltage events: 0, over voltage events: 0, power good: yes
Driver 0: position 204800, standstill, SG min/max 0/6, read errors 0, write errors 1, ifcnt 66, reads 59851, writes 16, timeouts 0, DMA errors 0
Driver 1: position -122880, standstill, SG min/max 0/500, read errors 0, write errors 1, ifcnt 64, reads 59853, writes 14, timeouts 0, DMA errors 0
Driver 2: position -32800, standstill, SG min/max 0/498, read errors 0, write errors 1, ifcnt 64, reads 59853, writes 14, timeouts 0, DMA errors 0
Driver 3: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 49, reads 59857, writes 9, timeouts 0, DMA errors 0
Driver 4: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 49, reads 59858, writes 9, timeouts 0, DMA errors 0
Driver 5: position 0, assumed not present
Driver 6: position 0, assumed not present
Date/time: 2021-01-27 18:46:54
Slowest loop: 11.46ms; fastest: 0.12ms
=== Storage ===
Free file entries: 10
SD card 0 detected, interface speed: 22.5MBytes/sec
SD card longest read time 3.7ms, write time 2.1ms, max retries 0
=== Move ===
Hiccups: 0(0), FreeDm: 169, MinFreeDm: 166, MaxWait: 200409ms
Bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 19, completed moves 19, StepErrors 0, LaErrors 0, Underruns [0, 0, 4], 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 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.
=== Network ===
Slowest loop: 25.46ms; fastest: 0.00ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
HTTP sessions: 1 of 8- WiFi -
Network state is active
WiFi module is connected to access point
Failed messages: pending 0, notready 0, noresp 0
WiFi firmware version 1.25
WiFi MAC address f4:cf:a2:6f:bd:71
WiFi Vcc 3.34, reset reason Power up
WiFi flash size 2097152, free heap 26416
WiFi IP address 192.168.1.55
WiFi signal strength -57dBm, mode 802.11n, reconnections 0, sleep mode modem
Clock register 00002002
Socket states: 0 0 0 0 0 0 0 0
=== CAN ===
Messages sent 0, send timeouts 0, longest wait 0ms for type 0, free CAN buffers 15
- WiFi -
-
@idaho-creator said in Deleting config.g file:
RepRapFirmware for Duet 3 Mini 5+ version 3.2-beta3.2+1 running on Duet 3 Mini5plus WiFi (standalone mode)
Let's start with getting your firmware up to date.
Please start by downloading this zip file.
Connect to DWC and go to the system tab and upload the zip file as is.That should get you on firmware and DWC 3.2. Check after a reboot with M115.
https://github.com/Duet3D/RepRapFirmware/releases/download/3.2/Duet2and3Firmware-3.2.zip
let me know how that goes.
-
Updated I will let you know no issues so far
-
Just had to power off printer and printer would not reconnect to wifi after 2 power resets
-
Did 3.2 apply correctly? Check with M115?