Duet 2 Wifi uploading issues
-
Hi, I've just recently completed a full printer refurbishment and upgrade to a Duet 2 wifi board.
Everything is working well apart from uploading files or firmware via the DWC.
Board: Duet 2 WiFi (2WiFi)
Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.6 (2023-07-21)
Duet WiFi Server Version: 1.27Very occasionally a small gcode file will upload successfully however most of the time it just disconnects immediately and fails. The same thing happens with firmware and the zip files, it uploads maybe 70% of the files and then disconnects/ fails.
I have already tried all the fixes I could find on the forums namely:
reinstalling wifi server
new duet 2 binary provided by dc42
disabling 5ghz on the access point
installed larger 32gb SD card
Reoriented the printer to strengthen the wifi signalBut none seem to solve the issue.
Generally speaking the DWC otherwise connects fine and no issues controlling the printer with it or viewing the config files.
Here is my M122:
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 3.4.6 (2023-07-21 14:08:28) running on Duet WiFi 1.02 or later
Board ID: 0JD0M-9P6B2-NJ4S4-6JKF2-3SD6P-KU1QL
Used output buffers: 1 of 26 (12 max)
=== RTOS ===
Static ram: 23896
Dynamic ram: 75612 of which 12 recycled
Never used RAM 12320, free system stack 110 words
Tasks: NETWORK(ready,12.6%,211) HEAT(notifyWait,0.0%,333) Move(notifyWait,0.2%,296) MAIN(running,87.1%,456) IDLE(ready,0.1%,30), total 100.0%
Owned mutexes:
=== Platform ===
Last reset 00:27:27 ago, cause: watchdog
Last software reset at 2024-03-18 13:45, reason: User, GCodes spinning, available RAM 12488, slot 2
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x00
Step timer max interval 0
MCU temperature: min 20.0, current 21.2, max 21.6
Supply voltage: min 23.8, current 24.1, max 24.6, 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: ok, SG min 0
Driver 1: ok, SG min 0
Driver 2: standstill, SG min 0
Driver 3: ok, SG min 0
Driver 4: ok, SG min 0
Driver 5:
Driver 6:
Driver 7:
Driver 8:
Driver 9:
Driver 10:
Driver 11:
Date/time: 2024-03-18 15:31:23
Cache data hit count 4294967295
Slowest loop: 57.95ms; fastest: 0.16ms
I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
=== Storage ===
Free file entries: 9
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest read time 0.8ms, write time 56.1ms, max retries 0
=== Move ===
DMs created 83, segments created 10, maxWait 1484005ms, bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 1872, completed 1835, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state 3
=== 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
Heater 0 is on, I-accum = 0.2
Heater 1 is on, I-accum = 0.6
=== GCodes ===
Segments left: 1
Movement lock held by null
HTTP is idle in state(s) 0
Telnet is idle in state(s) 0
File is doing "G1 X190.514 Y201.134 E0.01111" 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
Daemon is idle in state(s) 0
Autopause is idle in state(s) 0
Code queue is empty
=== Filament sensors ===
Extruder 0: pos 132.54, errs: frame 0 parity 0 ovrun 0 pol 0 ovdue 0
=== Network ===
Slowest loop: 57.75ms; fastest: 0.00ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
HTTP sessions: 1 of 8
= WiFi =
Interface state: active
Module is connected to access point
Failed messages: pending 0, notready 0, noresp 0
WiFi firmware version 1.27
WiFi MAC address a4:e5:7c:03:db:6c
WiFi Vcc 3.44, reset reason Power up
WiFi flash size 2097152, free heap 22960
WiFi IP address 192.168.0.53
WiFi signal strength -50dBm, mode 802.11n, reconnections 0, sleep mode modem
Clock register 00002002
Socket states: 0 0 0 0 0 0 0 0Thank you for your help.
-
Please try configuring your Duet in Access point mode where the Duet creates a network SSID that you connect your device to.
https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m589-configure-access-point-parameters
This will help isolate whether the problem is with the Duet side or your routers side.