I've got a new duet 1.04 board, but it seems like I messed up the firmware upgrades.
Right now, it seems like the SD-Card is no longer working. Or at least it seems to be working only during startup. After I got issues with a 64gb SD card which I formated with one partition at 30gb to FAT32, I replaced it with a brand new 32gb sandisk card today which still shows the same issues.
Here's my output from a M122 command:
m122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 3.3beta3 (2021-04-22 16:27:28) running on Duet WiFi 1.02 or later
Board ID: 0JD2M-958DA-F64T8-6J9DD-3SN6K-K6SR2
Used output buffers: 1 of 24 (1 max)
=== RTOS ===
Static ram: 23156
Dynamic ram: 73784 of which 0 recycled
Never used RAM 17476, free system stack 205 words
Tasks: NETWORK(ready,10.0%,461) HEAT(delaying,0.0%,371) Move(notifyWait,0.1%,214) MAIN(running,87.7%,605) IDLE(ready,2.3%,19), total 100.0%
Owned mutexes: USB(MAIN)
=== Platform ===
Last reset 00:00:09 ago, cause: reset button or watchdog
Last software reset details not available
Error status: 0x00
Aux0 errors 0,0,0
Step timer max interval 0
MCU temperature: min 130.9, current 177.8, max 187.2
Supply voltage: min 0.0, current 0.0, max 0.0, under voltage events: 0, over voltage events: 0, power good: no
Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
Driver 0: position 0, ok, SG min/max not available
Driver 1: position 0, ok, SG min/max not available
Driver 2: position 0, ok, SG min/max not available
Driver 3: position 0, ok, SG min/max not available
Driver 4: position 0, ok, SG min/max not available
Driver 5: position 0
Driver 6: position 0
Driver 7: position 0
Driver 8: position 0
Driver 9: position 0
Driver 10: position 0
Driver 11: position 0
Date/time: 1970-01-01 00:00:00
Cache data hit count 434084813
Slowest loop: 300.01ms; fastest: 0.12ms
I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
=== Storage ===
Free file entries: 10
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest read time 2.1ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 83, maxWait 0ms, bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], 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 -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
Daemon is idle in state(s) 0
Autopause is idle in state(s) 0
Code queue is empty.
=== Network ===
Slowest loop: 1.36ms; fastest: 0.00ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
HTTP sessions: 0 of 8
- WiFi -
Network state is active
WiFi module is idle
Failed messages: pending 0, notready 0, noresp 0
WiFi firmware version 1.21RC2
WiFi MAC address 44:17:93:0f:e3:65
WiFi Vcc 2.35, reset reason Turned on by main processor
WiFi flash size 4194304, free heap 21536
Clock register ffffffff
Socket states: 0 0 0 0 0 0 0 0
ok
And here are M22 and M21
m22
SD card 0 may now be removed
ok
m21
Error: M21: Cannot initialise SD card 0: Card is unusable
ok
Seems like it's working at first, but then not anymore.
Config.g seems to be loaded during startup, at least I can enable FTP and WIFI which works.
However when I connect via ftp (no user and password), I don't get the directory content in my client, and the YAT interface is spammed with WIFI SPI errors.
Using M501-M503 commands also gives me write errors.
I also can't install firmware using M997 command, since I'm always getting file not found errors.
My Panel Due also doesn't turn on anymore. I can only get it to flicker when I have the erase jumper set.
config.g for reference:
; General preferences
;M575 P1 S1 B57600 ; enable support for PanelDue
M550 P"My Printer" ; set printer name
; Network
M552 S0 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S1 ; disable FTP
M586 P2 S1 ; disable Telnet
Does anybody have an idea how I can fix this?