Duet2 Wifi connection dropping
-
@Phaedrux said in Duet2 Wifi Firmware confusion:
M115
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.03 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2019-06-13b2
-
Please try M122 again.
-
I am right now on printing a temp Tower.
I type M122, and connection lost!
And i can´t connect printer back to Web console -
are there any cables overlapping with the ethernet cable?
-
Can you send M122 over USB then when your print is finished.
I'd like to see what firmware version the wifi server is running an what kind of signal strength you're getting.
Since you're running 2.03 your board will need a firmware update, but first we need to know if your wifi connection is workable or if we need to do it manually.
-
No, because it´s wifi
-
M122
SENDING:M122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 2.03 running on Duet WiFi 1.02 or later
Board ID: 0JD0M-9P61A-J8PSJ-6JTDA-3SD6J-1BRQT
Used output buffers: 3 of 24 (8 max)
=== RTOS ===
Static ram: 25680
Dynamic ram: 93680 of which 0 recycled
Exception stack ram used: 396
Never used ram: 11316
Tasks: NETWORK(ready,652) HEAT(blocked,1236) MAIN(running,3756) IDLE(ready,160)
Owned mutexes:
=== Platform ===
Last reset 00:00:30 ago, cause: software
Last software reset at 2020-12-02 18:38, reason: User, spinning module GCodes, available RAM 11284 bytes (slot 2)
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
Error status: 0
[ERROR] Error status: 0Free file entries: 10
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest block write time: 0.0ms, max retries 0
MCU temperature: min 28.4, current 29.0, max 29.2
Supply voltage: min 24.2, current 24.3, max 24.5, under voltage events: 0, over voltage events: 0, power good: yes
Driver 0: standstill, SG min/max 0/158
Driver 1: standstill, SG min/max 0/82
Driver 2: standstill, SG min/max not available
Driver 3: standstill, SG min/max not available
Driver 4: standstill, SG min/max not available
Date/time: 2020-12-02 18:39:24
Cache data hit count 105715423
Slowest loop: 6.79ms; fastest: 0.07ms
I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
=== Move ===
Hiccups: 0, FreeDm: 169, MinFreeDm: 167, MaxWait: 679ms
Bed compensation in use: none, comp offset 0.000
=== DDARing ===
Scheduled moves: 7, completed moves: 7, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
=== Heat ===
Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
=== GCodes ===
Segments left: 0
Stack records: 2 allocated, 0 in use
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
serial is ready with "M122" in state(s) 0
aux is idle in state(s) 0
daemon is idle in state(s) 0
queue is idle in state(s) 0
autopause is idle in state(s) 0
Code queue is empty.
=== Network ===
Slowest loop: 15.52ms; fastest: 0.00ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
HTTP sessions: 1 of 8- WiFi -
Network state is running
WiFi module is connected to access point
Failed messages: pending 0, notready 0, noresp 0
WiFi firmware version 1.23
WiFi MAC address 48:3f:da:78:53:61
WiFi Vcc 3.32, reset reason Turned on by main processor
WiFi flash size 4194304, free heap 25864
WiFi IP address 192.168.1.148
WiFi signal strength -53dBm, reconnections 0, sleep mode modem
Socket states: 0 0 0 0 0 0 0 0
ok T0:186.2 /0.0 B:57.8 /0.0
- WiFi -
-
@Phaedrux
do you find the result? -
Thanks.
Let's start by manually updating the firmware and DWC files.
You'll need to remove the SD card from the Duet and put it in your PC.
First make a backup copy of the SD card contents.
Then replace the contents of the /www folder with the contents of this zip file: https://github.com/Duet3D/RepRapFirmware/releases/download/2.05.1/DuetWebControl-SD-2.0.7.zip
Then download this zip file: https://github.com/Duet3D/RepRapFirmware/releases/download/2.05.1/Duet2Firmware-2.05.1.zip
extract it, and copy the .bin files in to the /sys folder.
Duet2CombinedFirmware.bin
DuetWifiServer.bin
iap4e.bin
iap4s.binThen put the SD card back in the Duet and connect via USB and use pronterface to send the command
M997 S0:1
When it reboots, send M122 again to confirm that RRF 2.05.1 and wifi server 1.23 are installed.
Then try to access the web interface again.
-
@Phaedrux said in Duet2 Wifi Firmware confusion:
Yeah this works well !
Please check if this is good :
SENDING:M122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 2.05.1 running on Duet WiFi 1.02 or later
Board ID: 0JD0M-9P61A-J8PSJ-6JTDA-3SD6J-1BRQT
Used output buffers: 3 of 24 (12 max)
=== RTOS ===
Static ram: 25712
Dynamic ram: 93140 of which 0 recycled
Exception stack ram used: 272
Never used ram: 11948
Tasks: NETWORK(ready,1280) HEAT(blocked,1232) MAIN(running,3728) IDLE(ready,160)
Owned mutexes:
=== Platform ===
Last reset 00:00:29 ago, cause: power up
Last software reset at 2020-12-02 18:38, reason: User, spinning module GCodes, available RAM 11284 bytes (slot 2)
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
Error status: 0
[ERROR] Error status: 0Free file entries: 10
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest block write time: 0.0ms, max retries 0
MCU temperature: min 32.5, current 32.7, max 33.0
Supply voltage: min 24.1, current 24.3, max 24.6, under voltage events: 0, over voltage events: 0, power good: yes
Driver 0: standstill, SG min/max not available
Driver 1: standstill, SG min/max not available
Driver 2: standstill, SG min/max not available
Driver 3: standstill, SG min/max not available
Driver 4: standstill, SG min/max not available
Date/time: 1970-01-01 00:00:00
Cache data hit count 75021852
Slowest loop: 6.39ms; fastest: 0.07ms
I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
=== Move ===
Hiccups: 0, FreeDm: 160, MinFreeDm: 160, MaxWait: 0ms
Bed compensation in use: none, comp offset 0.000
=== DDARing ===
Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
=== Heat ===
Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
=== GCodes ===
Segments left: 0
Stack records: 1 allocated, 0 in use
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
serial is ready with "M122" in state(s) 0
aux is idle in state(s) 0
daemon is idle in state(s) 0
queue is idle in state(s) 0
autopause is idle in state(s) 0
Code queue is empty.
=== Network ===
Slowest loop: 201.15ms; fastest: 0.08ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
HTTP sessions: 0 of 8- WiFi -
Network state is running
WiFi module is connected to access point
Failed messages: pending 0, notready 0, noresp 1
WiFi firmware version 1.23
WiFi MAC address 48:3f:da:78:53:61
WiFi Vcc 3.32, reset reason Turned on by main processor
WiFi flash size 4194304, free heap 26024
WiFi IP address 192.168.1.148
WiFi signal strength -54dBm, reconnections 0, sleep mode modem
- WiFi -
-
it works approx 5 min .
Then i got the message :
-
In this moment it is impossible to have access to Web console.
Only when i switch printer off and on it is connected immediately
-
Is there anyone who can help me ?
-
My guess is that your problems might be that you haven't setup a static ip address for your printer, or that your printer is located somewhere with to low signal strength.
Have you read up on setting up static ip for your printer (on the duet wiki), and want to give it a try?
-
Or power wire of psu or bed are near the wifi module, could you check if it's the case ?
-
Hi
Thank you for your reply.Of course the Duet Board get a static IP from my Fritzbox 7590.
And the Powe wire is not in the near of the Wifi antena.
So i am frustrated . -
Any idea´s?
-
Let me look into that error message you're getting from DWC now.
When you lose connection, does the blue LED on the module go out?
-
Hi
No , the blue Wifi LED on the Duet Board stay on ! -