Cannot upload files. (Duet 2 Wifi)
-
Hello,
I have Modix Big60 v4 utilizing a Duet 2 wifi board. Files will not transfer over the Wifi. I have run PCAP that are showing retransmission during the transfer that are not apparent in any other network traffic. The AP is about 4 feet from the printer and we seeing -60db connection strength. This has been test via 2.4ghz adn 5ghz. The SD card on the boarding is reading writing fine and has been tested outside of the board. When using hotspot mode there is no issue but its not ideal. During transfer attempts we are seeing speeds are lower than 10kb. Wifi speeds in office are about 50 down 25 up. I will include recent logs as well as firmware information. Any help is appreciated.
Board: Duet 2 WiFi (2WiFi)
Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.5 (2022-11-30)
Duet WiFi Server Version: 1.26M122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 3.4.5 (2022-11-30 19:36:12) running on Duet WiFi 1.02 or later + DueX5v0.11
Board ID: 0JD2M-9F8TA-GJ4TN-6J1F4-3S86S-1QTU7
Used output buffers: 1 of 26 (26 max)
=== RTOS ===
Static ram: 23836
Dynamic ram: 76204 of which 0 recycled
Never used RAM 8536, free system stack 94 words
Tasks: NETWORK(ready,26.9%,211) HEAT(notifyWait,0.0%,308) Move(notifyWait,2.4%,294) DUEX(notifyWait,0.0%,24) MAIN(running,70.6%,440) IDLE(ready,0.1%,30), total 100.0%
Owned mutexes:
=== Platform ===
Last reset 18:17:08 ago, cause: power up
Last software reset at 2024-01-16 14:04, reason: User, GCodes spinning, available RAM 9016, slot 2
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x04
Aux0 errors 0,0,0
Step timer max interval 0
MCU temperature: min 38.0, current 38.8, max 39.5
Supply voltage: min 23.8, current 24.2, max 24.5, under voltage events: 0, over voltage events: 0, power good: yes
Heap OK, handles allocated/used 99/14, heap memory allocated/used/recyclable 2048/208/4, 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 n/a
Driver 3: ok, SG min 0
Driver 4: standstill, SG min n/a
Driver 5: stalled, SG min 0
Driver 6: ok, SG min 0
Driver 7: ok, SG min 0
Driver 8: ok, SG min 0
Driver 9: ok, SG min 0
Driver 10:
Driver 11:
Date/time: 2024-01-19 10:00:44
Cache data hit count 4294967295
Slowest loop: 242.31ms; fastest: 0.20ms
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 7.2ms, write time 116.2ms, max retries 0
=== Move ===
DMs created 83, segments created 27, maxWait 6128ms, bed compensation in use: mesh, comp offset 0.000
=== MainDDARing ===
Scheduled moves 1185544, completed 1185504, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 1], 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 -1 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
Heater 0 is on, I-accum = 0.4
=== 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 X238.542 Y403.603 E5.36318" 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 sensor: ok
=== DueX ===
Read count 0, 0.00 reads/min
=== Network ===
Slowest loop: 365.52ms; fastest: 0.07ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
HTTP sessions: 3 of 8
= WiFi =
Network state is active
WiFi module is connected to access point
Failed messages: pending 0, notready 0, noresp 10
WiFi firmware version 1.26
WiFi MAC address c8:c9:a3:40:86:24
WiFi Vcc 3.38, reset reason Power up
WiFi flash size 2097152, free heap 22472
WiFi IP address 172.30.125.190
WiFi signal strength -50dBm, mode 802.11n, reconnections 0, sleep mode modem
Clock register 00002002
Socket states: 0 0 0 0 0 0 0 0One thing to note Read Count stays at zero throughtout transfer regardless of what the progress bar at the bottom showing a change
-
… we seeing -60db connection strength. This has been test via 2.4ghz adn 5ghz.
The Duet can’t connect via 5 GHz. Your router possibly tries to ”optimise” the connection by switching bands (2.4 GHz <-> 5 GHz). The ”noresp” entry from following line of your M122 report might indicate something like this:
Failed messages: pending 0, notready 0, noresp 10
-
SD card longest read time 7.2ms, write time 116.2ms, max retries 0
I think that is a long write time. Check the SD card isn’t full, see https://docs.duet3d.com/en/User_manual/RepRapFirmware/SD_card#troubleshooting-sd-card-issues
If you are using the supplied SD card, I recommend changing to a large capacity (32GB) A1 or A2 rated card, and an ‘industrial’ version if possible, which generally have higher endurance, reliability, extended temperature range, and longevity.
Ian
-
@infiniteloop Thank you for the reply. I am disabling 5GHz on the specific access point the printer is connected to and testing now.