Hi all,
I'm assembling my own 3D printer that runs on a Duet 3 mini 5 and 3HC expansion board. My colleagues have many of the same 3D printers assembled and working, I'm using the same config but I constantly got this kind of error:
Error: Failed to write to file, error code 1. Card may be full.
And then I lost access to all files in the SD card.
Error: Homing file xxxx.g not found. (xxxx could be anything from homex, homey, homez, homeall, and it occurs randomly at any homing procedure)
And all files are not accessible until I power cycle the printer.
I thought it was the problem with the SD card as some of the other posts said but after trying two more functional SD cards the same error occurs again and again. The M122 diagnostics suggest the SD card was detected.
Now I'm suspicious if it is the problem with the Duet 3 board.
Here is my M122 diagnostics
m122
=== Diagnostics ===
RepRapFirmware for Duet 3 Mini 5+ version 3.3 (2021-06-15 21:46:11) running on Duet 3 Mini5plus Ethernet (standalone mode)
Board ID: 617SL-K296U-D65J0-40KMQ-M113Z-ZG1RV
Used output buffers: 3 of 40 (14 max)
=== RTOS ===
Static ram: 102724
Dynamic ram: 100576 of which 212 recycled
Never used RAM 37336, free system stack 146 words
Tasks: NETWORK(ready,28.1%,260) ETHERNET(notifyWait,0.2%,568) HEAT(delaying,0.0%,415) Move(notifyWait,0.1%,283) CanReceiv(notifyWait,0.0%,822) CanSender(notifyWait,0.0%,357) CanClock(delaying,0.0%,340) TMC(notifyWait,0.7%,106) MAIN(running,70.2%,416) IDLE(ready,0.1%,29) AIN(delaying,0.8%,264), total 100.0%
Owned mutexes:
=== Platform ===
Last reset 00:22:13 ago, cause: power up
Last software reset at 2022-02-28 16:46, reason: User, GCodes spinning, available RAM 37512, slot 2
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x00
MCU revision 3, ADC conversions started 1333867, completed 1333867, timed out 0, errs 0
Step timer max interval 1488
MCU temperature: min 32.0, current 42.8, max 42.9
Supply voltage: min 24.2, current 24.3, max 24.4, under voltage events: 0, over voltage events: 0, power good: yes
Heap OK, handles allocated/used 99/0, heap memory allocated/used/recyclable 2048/16/16, gc cycles 0
Driver 0: position 56000, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 11, reads 4635, writes 11, timeouts 0, DMA errors 0
Driver 1: position 4000, standstill, SG min/max 0/4, read errors 0, write errors 0, ifcnt 17, reads 4629, writes 17, timeouts 0, DMA errors 0
Driver 2: position 0, standstill, SG min/max 0/440, read errors 0, write errors 0, ifcnt 15, reads 4630, writes 15, timeouts 0, DMA errors 0
Driver 3: position 0, standstill, SG min/max 0/504, read errors 0, write errors 0, ifcnt 14, reads 4631, writes 14, timeouts 0, DMA errors 0
Driver 4: position 0, standstill, SG min/max 0/502, read errors 0, write errors 0, ifcnt 14, reads 4632, writes 14, timeouts 0, DMA errors 0
Driver 5: position 0, assumed not present
Driver 6: position 0, assumed not present
Date/time: 2022-03-02 15:40:02
Cache data hit count 2446283506
Slowest loop: 1609.95ms; fastest: 0.10ms
=== Storage ===
Free file entries: 10
SD card 0 detected, interface speed: 22.5MBytes/sec
SD card longest read time 102.0ms, write time 3.8ms, max retries 0
=== Move ===
DMs created 83, maxWait 30184ms, bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 16, completed moves 16, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 1], CDDA state -1
=== AuxDDARing ===
Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== Heat ===
Bed heaters = -1 -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.
=== CAN ===
Messages queued 6710, received 29, lost 0, longest wait 874ms for reply type 6042, peak Tx sync delay 39876, free buffers 17 (min 14), ts 6670/6664/0
Tx timeouts 0,0,5,0,0,0 last cancelled message type 30 dest 127
=== Network ===
Slowest loop: 6.81ms; fastest: 0.03ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
HTTP sessions: 1 of 8
- Ethernet -
State: active
Error counts: 0 0 0 0 0
Socket states: 2 2 2 2 2 0 0 0