WiFi Unreliable
-
@dessiverse it needs to be in a folder called firmware with 3.3 rather than in the sys folder
-
@jay_s_uk just got it installed. Doesn't appear to be improved though.
-
Here's an updated
M122
Send: M122 Recv: === Diagnostics === Recv: RepRapFirmware for Duet 3 Mini 5+ version 3.3beta3 (2021-04-22 13:48:16) running on Duet 3 Mini5plus WiFi (standalone mode) Recv: Board ID: 7HDQX-V296U-D65J0-40KM8-MK03Z-R91J2 Recv: Used output buffers: 1 of 40 (11 max) Recv: === RTOS === Recv: Static ram: 101772 Recv: Dynamic ram: 106336 of which 12 recycled Recv: Never used RAM 35584, free system stack 157 words Recv: Tasks: NETWORK(ready,19.8%,150) HEAT(delaying,0.0%,318) Move(notifyWait,0.1%,188) CanReceiv(notifyWait,0.0%,943) CanSender(notifyWait,0.0%,371) CanClock(notifyWait,0.0%,341) TMC(notifyWait,0.7%,115) MAIN(running,78.2%,426) IDLE(ready,0.4%,19) AIN(delaying,0.8%,273), total 100.0% Recv: Owned mutexes: USB(MAIN) Recv: === Platform === Recv: Last reset 00:02:18 ago, cause: power up Recv: Last software reset at 2021-04-28 12:14, reason: HardFault bfarValid precise, GCodes spinning, available RAM 35584, slot 2 Recv: Software reset code 0x0063 HFSR 0x40000000 CFSR 0x00008200 ICSR 0x00000803 BFAR 0x00000044 SP 0x200036a8 Task MAIN Freestk 771 ok Recv: Stack: 00000000 2000374c 00000571 00000000 00000000 0007be25 000836d8 610f0200 2001d580 00000000 00000000 00088e39 00000000 00000000 00000000 ffffffff 369dc3a0 2001d580 20002a40 2001d37c 20003730 200037d8 200037d6 00088f33 00000001 200202e8 200180d8 Recv: Error status: 0x00 Recv: Aux0 errors 0,0,0 Recv: Aux1 errors 0,0,0 Recv: MCU revision 3, ADC conversions started 138334, completed 138334, timed out 0, errs 0 Recv: Step timer max interval 1490 Recv: MCU temperature: min 23.8, current 29.7, max 29.7 Recv: Supply voltage: min 23.9, current 24.0, max 24.0, under voltage events: 0, over voltage events: 0, power good: yes Recv: Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0 Recv: Driver 0: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 10, reads 7247, writes 10, timeouts 0, DMA errors 0 Recv: Driver 1: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 10, reads 7247, writes 10, timeouts 0, DMA errors 0 Recv: Driver 2: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 9, reads 7247, writes 9, timeouts 0, DMA errors 0 Recv: Driver 3: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 9, reads 7247, writes 9, timeouts 0, DMA errors 0 Recv: Driver 4: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 9, reads 7248, writes 9, timeouts 0, DMA errors 0 Recv: Driver 5: position 0, assumed not present Recv: Driver 6: position 0, assumed not present Recv: Date/time: 2021-04-28 13:32:52 Recv: Cache data hit count 320404896 Recv: Slowest loop: 1051.41ms; fastest: 0.12ms Recv: === Storage === Recv: Free file entries: 9 Recv: SD card 0 detected, interface speed: 22.5MBytes/sec Recv: SD card longest read time 3.9ms, write time 0.0ms, max retries 0 Recv: === Move === Recv: DMs created 83, maxWait 0ms, bed compensation in use: none, comp offset 0.000 Recv: === MainDDARing === Recv: Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 Recv: === AuxDDARing === Recv: Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 Recv: === Heat === Recv: Bed heaters = 0 -1, chamberHeaters = -1 -1 Recv: === GCodes === Recv: Segments left: 0 Recv: Movement lock held by null Recv: HTTP is idle in state(s) 0 Recv: Telnet is idle in state(s) 0 Recv: File is idle in state(s) 0 Recv: USB is ready with "M122" in state(s) 0 Recv: Aux is idle in state(s) 0 Recv: Trigger is idle in state(s) 0 Recv: Queue is idle in state(s) 0 Recv: LCD is idle in state(s) 0 Recv: SBC is idle in state(s) 0 Recv: Daemon is idle in state(s) 0 Recv: Aux2 is idle in state(s) 0 Recv: Autopause is idle in state(s) 0 Recv: Code queue is empty. Recv: === CAN === Recv: Messages queued 1244, send timeouts 1241, received 0, lost 0, longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 17 (min 16) Recv: Last cancelled message type 4514 dest 127 Recv: === Network === Recv: Slowest loop: 1993.74ms; fastest: 0.00ms Recv: Responder states: HTTP(0) HTTP(2) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions Recv: HTTP sessions: 1 of 8 Recv: - WiFi - Recv: Network state is active Recv: WiFi module is connected to access point Recv: Failed messages: pending 0, notready 0, noresp 0 Recv: WiFi firmware version 1.26 Recv: WiFi MAC address f0:08:d1:02:ec:f2 Recv: WiFi Vcc 3.33, reset reason Power up Recv: WiFi flash size 2097152, free heap 14336 Recv: WiFi IP address 10.0.0.201 Recv: WiFi signal strength -37dBm, mode 802.11n, reconnections 0, sleep mode modem Recv: Clock register 00002002 Recv: Socket states: 0 2 0 0 0 0 0 0 Recv: ok
-
@dessiverse this looks good so far now the Wi-Fi has a software version and now test if this problem persists
-
@SIam, I'm trying to upload a gcode to test the speed and it seems like it keeps slowing down. So the same issue I was having previously. I'd like to note I don't have this issue in SBC mode.
EDIT: It now slowed down to 1.8 KIB/s. Here is the current
M122
:Send: M122 Recv: === Diagnostics === Recv: RepRapFirmware for Duet 3 Mini 5+ version 3.3beta3 (2021-04-22 13:48:16) running on Duet 3 Mini5plus WiFi (standalone mode) Recv: Board ID: 7HDQX-V296U-D65J0-40KM8-MK03Z-R91J2 Recv: Used output buffers: 2 of 40 (17 max) Recv: === RTOS === Recv: Static ram: 101772 Recv: Dynamic ram: 106336 of which 12 recycled Recv: Never used RAM 35584, free system stack 146 words Recv: Tasks: NETWORK(ready,15.8%,150) HEAT(delaying,0.0%,318) Move(notifyWait,0.1%,188) CanReceiv(notifyWait,0.0%,943) CanSender(notifyWait,0.0%,371) CanClock(delaying,0.0%,341) TMC(notifyWait,0.7%,115) MAIN(running,82.6%,372) IDLE(ready,0.0%,19) AIN(delaying,0.8%,273), total 100.0% Recv: Owned mutexes: WiFi(NETWORK) USB(MAIN) Recv: === Platform === Recv: Last reset 00:08:20 ago, cause: power up Recv: Last software reset at 2021-04-28 12:14, reason: HardFault bfarValid precise, GCodes spinning, available RAM 35584, slot 2 Recv: Software reset code 0x0063 HFSR 0x40000000 CFSR 0x00008200 ICSR 0x00000803 BFAR 0x00000044 SP 0x200036a8 Task MAIN Freestk 771 ok Recv: Stack: 00000000 2000374c 00000571 00000000 00000000 0007be25 000836d8 610f0200 2001d580 00000000 00000000 00088e39 00000000 00000000 00000000 ffffffff 369dc3a0 2001d580 20002a40 2001d37c 20003730 200037d8 200037d6 00088f33 00000001 200202e8 200180d8 Recv: Error status: 0x00 Recv: Aux0 errors 0,0,0 Recv: Aux1 errors 0,0,0 Recv: MCU revision 3, ADC conversions started 501054, completed 501052, timed out 0, errs 0 Recv: Step timer max interval 1489 Recv: MCU temperature: min 29.7, current 32.8, max 32.8 Recv: Supply voltage: min 23.9, current 24.0, max 24.0, under voltage events: 0, over voltage events: 0, power good: yes Recv: Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0 Recv: Driver 0: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 10, reads 19090, writes 0, timeouts 0, DMA errors 0 Recv: Driver 1: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 10, reads 19090, writes 0, timeouts 0, DMA errors 0 Recv: Driver 2: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 9, reads 19091, writes 0, timeouts 0, DMA errors 0 Recv: Driver 3: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 9, reads 19090, writes 0, timeouts 0, DMA errors 0 Recv: Driver 4: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 9, reads 19090, writes 0, timeouts 0, DMA errors 0 Recv: Driver 5: position 0, assumed not present Recv: Driver 6: position 0, assumed not present Recv: Date/time: 2021-04-28 13:38:55 Recv: Cache data hit count 1012800891 Recv: Slowest loop: 12.17ms; fastest: 0.12ms Recv: === Storage === Recv: Free file entries: 9 Recv: SD card 0 detected, interface speed: 22.5MBytes/sec Recv: SD card longest read time 4.2ms, write time 3.9ms, max retries 0 Recv: === Move === Recv: DMs created 83, maxWait 0ms, bed compensation in use: none, comp offset 0.000 Recv: === MainDDARing === Recv: Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 Recv: === AuxDDARing === Recv: Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 Recv: === Heat === Recv: Bed heaters = 0 -1, chamberHeaters = -1 -1 Recv: === GCodes === Recv: Segments left: 0 Recv: Movement lock held by null Recv: HTTP is idle in state(s) 0 Recv: Telnet is idle in state(s) 0 Recv: File is idle in state(s) 0 Recv: USB is ready with "M122" in state(s) 0 Recv: Aux is idle in state(s) 0 Recv: Trigger is idle in state(s) 0 Recv: Queue is idle in state(s) 0 Recv: LCD is idle in state(s) 0 Recv: SBC is idle in state(s) 0 Recv: Daemon is idle in state(s) 0 Recv: Aux2 is idle in state(s) 0 Recv: Autopause is idle in state(s) 0 Recv: Code queue is empty. Recv: === CAN === Recv: Messages queued 3265, send timeouts 3265, received 0, lost 0, longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 17 (min 17) Recv: Last cancelled message type 30 dest 127 Recv: === Network === Recv: Slowest loop: 200.02ms; fastest: 0.06ms Recv: Responder states: HTTP(3) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions Recv: HTTP sessions: 1 of 8 Recv: - WiFi - Recv: Network state is active Recv: WiFi module is connected to access point Recv: Failed messages: pending 0, notready 0, noresp 1 Recv: WiFi firmware version 1.26 Recv: WiFi MAC address f0:08:d1:02:ec:f2 Recv: WiFi Vcc 3.33, reset reason Power up Recv: WiFi flash size 2097152, free heap 20640 Recv: WiFi IP address 10.0.0.201 Recv: WiFi signal strength -36dBm, mode 802.11n, reconnections 0, sleep mode modem Recv: Clock register 00002002 Recv: Socket states: 0 2 0 0 0 0 0 0 Recv: ok Send: M105 Recv: ok T:20.1 /0.0 T0:20.1 /0.0 B:22.5 /0.0
-
@dessiverse what sd card are you using? Brand and model?
-
@jay_s_uk san disk edge, 8gb
-
@jay_s_uk I just tried using my SanDisk Extreme Pro to see if it was an issue with that and it doesn't seem to be the case. I use that micro sd with my high fps camera so read and writes are never an issue.
-
@dessiverse the 8gb one appears to only be a class 4. A class 10 may be better. I suggest trying another as card if you have one.
-
@dessiverse what speeds were you seeing with the extreme?
-
@jay_s_uk
same as before, and dropping since i took that screenshot. it's now down to 6 KIB/s. -
@dessiverse can you grab an M122 output while its uploading with the slower speed?
-
Send: M122 Recv: === Diagnostics === Recv: RepRapFirmware for Duet 3 Mini 5+ version 3.3beta3 (2021-04-22 13:48:16) running on Duet 3 Mini5plus WiFi (standalone mode) Recv: Board ID: 7HDQX-V296U-D65J0-40KM8-MK03Z-R91J2 Recv: Used output buffers: 1 of 40 (17 max) Recv: === RTOS === Recv: Static ram: 101772 Recv: Dynamic ram: 106336 of which 12 recycled Recv: Never used RAM 35584, free system stack 154 words Recv: Tasks: NETWORK(ready,14.8%,221) HEAT(delaying,0.0%,318) Move(notifyWait,0.1%,188) CanReceiv(notifyWait,0.0%,943) CanSender(notifyWait,0.0%,371) CanClock(delaying,0.0%,341) TMC(notifyWait,0.7%,115) MAIN(running,83.6%,374) IDLE(ready,0.0%,19) AIN(delaying,0.8%,273), total 100.0% Recv: Owned mutexes: WiFi(NETWORK) USB(MAIN) Recv: === Platform === Recv: Last reset 00:04:46 ago, cause: power up Recv: Last software reset at 2021-04-28 12:14, reason: HardFault bfarValid precise, GCodes spinning, available RAM 35584, slot 2 Recv: Software reset code 0x0063 HFSR 0x40000000 CFSR 0x00008200 ICSR 0x00000803 BFAR 0x00000044 SP 0x200036a8 Task MAIN Freestk 771 ok Recv: Stack: 00000000 2000374c 00000571 00000000 00000000 0007be25 000836d8 610f0200 2001d580 00000000 00000000 00088e39 00000000 00000000 00000000 ffffffff 369dc3a0 2001d580 20002a40 2001d37c 20003730 200037d8 200037d6 00088f33 00000001 200202e8 200180d8 Recv: Error status: 0x00 Recv: Aux0 errors 0,0,0 Recv: Aux1 errors 0,0,0 Recv: MCU revision 3, ADC conversions started 286329, completed 286328, timed out 0, errs 0 Recv: Step timer max interval 752 Recv: MCU temperature: min 26.6, current 30.6, max 30.6 Recv: Supply voltage: min 23.9, current 24.0, max 24.0, under voltage events: 0, over voltage events: 0, power good: yes Recv: Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0 Recv: Driver 0: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 10, reads 10585, writes 0, timeouts 0, DMA errors 0 Recv: Driver 1: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 10, reads 10585, writes 0, timeouts 0, DMA errors 0 Recv: Driver 2: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 9, reads 10585, writes 0, timeouts 0, DMA errors 0 Recv: Driver 3: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 9, reads 10585, writes 0, timeouts 0, DMA errors 0 Recv: Driver 4: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 9, reads 10585, writes 0, timeouts 0, DMA errors 0 Recv: Driver 5: position 0, assumed not present Recv: Driver 6: position 0, assumed not present Recv: Date/time: 2021-04-28 14:54:39 Recv: Cache data hit count 551034519 Recv: Slowest loop: 4.92ms; fastest: 0.12ms Recv: === Storage === Recv: Free file entries: 10 Recv: SD card 0 detected, interface speed: 22.5MBytes/sec Recv: SD card longest read time 0.7ms, write time 0.0ms, max retries 0 Recv: === Move === Recv: DMs created 83, maxWait 0ms, bed compensation in use: none, comp offset 0.000 Recv: === MainDDARing === Recv: Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 Recv: === AuxDDARing === Recv: Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 Recv: === Heat === Recv: Bed heaters = 0 -1, chamberHeaters = -1 -1 Recv: Heater 1 is on, I-accum = 0.0 Recv: === GCodes === Recv: Segments left: 0 Recv: Movement lock held by null Recv: HTTP is idle in state(s) 0 Recv: Telnet is idle in state(s) 0 Recv: File is idle in state(s) 0 Recv: USB is ready with "M122" in state(s) 0 Recv: Aux is idle in state(s) 0 Recv: Trigger is idle in state(s) 0 Recv: Queue is idle in state(s) 0 Recv: LCD is idle in state(s) 0 Recv: SBC is idle in state(s) 0 Recv: Daemon is idle in state(s) 0 Recv: Aux2 is idle in state(s) 0 Recv: Autopause is idle in state(s) 0 Recv: Code queue is empty. Recv: === CAN === Recv: Messages queued 1810, send timeouts 1810, received 0, lost 0, longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 17 (min 17) Recv: Last cancelled message type 4514 dest 127 Recv: === Network === Recv: Slowest loop: 200.87ms; fastest: 0.00ms Recv: Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions Recv: HTTP sessions: 1 of 8 Recv: - WiFi - Recv: Network state is active Recv: WiFi module is connected to access point Recv: Failed messages: pending 0, notready 0, noresp 1 Recv: WiFi firmware version 1.26 Recv: WiFi MAC address f0:08:d1:02:ec:f2 Recv: WiFi Vcc 3.33, reset reason Power up Recv: WiFi flash size 2097152, free heap 20976 Recv: WiFi IP address 10.0.0.201 Recv: WiFi signal strength -37dBm, mode 802.11n, reconnections 0, sleep mode modem Recv: Clock register 00002002 Recv: Socket states: 0 0 0 0 0 0 0 0 Recv: ok
-
Maybe one for one of the duet team to comment on?
@Phaedrux -
@jay_s_uk I'm not sure. I am kind of running out of patience with this though if I'm being honest. I was running it in SBC mode for a while because of the speeds, but, I can't use Octoprint with that so I can't use a camera ¯_(ツ)_/¯
-
@dessiverse you know you can run things like motion with the SBC setup for camera usage.
We have some info here https://teamgloomy.github.io/camera.html -
@jay_s_uk I wouldn’t be able to run monitoring software like spaghetti detective though. So I wanted to try to get just the duet working so I can plug my pi into it for octopi. But, I still would need to access the duet panel now and then if I wanna edit any of the files.
-
@dessiverse there are also some features of the firmware that are only available when printing from the sd card (i.e. not streamed from octoprint).
You can see them here https://duet3d.dozuki.com/Wiki/Firmware_Overview?revisionid=HEAD#Section_Printing_over_USB_connection_Octoprint_Cura_Simplify3D_Etc -
@jay_s_uk I'm aware of those. I normally print on the SD Card over Octoprint anyway, but I can't communicate with the sdcard using Octoprint with this board. Which is back to why I need WiFi working so I can upload to the SD card via the duet dashboard.
-
SBC mode is no longer working. I assume that's due to the beta firmware that was installed. Can someone please help with this? My printer is now entirely unusable.