Wifi not connecting after firmware install. Duet2 Wifi
-
I can no longer connect to my Duet2Wifi. Here is exactly the process.
- Connect using USB and YAT. Check firmware version. Firmware version was old so upgraded to 3.3.1 using the erase pins following fallback procedure #3.
- Connected successfully to printer and had everything setup correctly apart from z-probe issues. Could not get Z probe connected to 3.3.1 even using probe type 5 connected to the z probe in and identifying this in firmware.
- Decided to remove firmware and install 2.05.1 using the same fallback procedure #3.
- Again through YAT setup wifi. During YAT session, the wifi status was connected and the blue light was on.
- Trying to connect through ip address and web browser and had the message "Your Duet rejected the HTTP request: page not found"
Troubleshooting:
- put SD into PC. Only saw partial files on SD card.
- Formatted SD card and tried fallback procedure #3 again
- Same message when trying to connect "Your Duet rejected the HTTP request: page not found"
- Tried new SD card with the same procedure with the dame message "Your Duet rejected the HTTP request: page not found"
If someone can help identify the issue. I am a mechanical engineer and might be able to fix the issue myself in the office with help of our electronics engineer - but an idea of what the issue could be and what to look for would be great.
Thanks
Hayden
-
Just to add to troubleshooting. After going through this process on the formatted SD and new SD card, both were placed into the PC and there were no files on either card. The board was not writing to the SD.
-
@haydenkrause Have you put files on the SD card? The firmware does not create these; you need to set up the card. See https://duet3d.dozuki.com/Wiki/SD_Card#Section_Creating_the_file_structure
Ian
-
did you update the wifi server as well?
the bossa flash does not flash the wifi firmware. -
@droftarts - aha - very useful link i will go through this and make all the checks... thanks!
-
@haydenkrause If you can connect over USB, send M122 and post the response.
Ian
-
@droftarts said in Wifi not connecting after firmware install. Duet2 Wifi:
M122
M122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 2.05.1 running on Duet WiFi 1.02 or later
Board ID: 08DJM-9178L-L2MSD-6J9FD-3S46J-9SFAP
Used output buffers: 1 of 24 (2 max)
=== RTOS ===
Static ram: 25712
Dynamic ram: 92540 of which 460 recycled
Exception stack ram used: 260
Never used ram: 12100
Tasks: NETWORK(ready,812) HEAT(blocked,1232) MAIN(running,3824) IDLE(ready,160)
Owned mutexes:
=== Platform ===
Last reset 00:01:39 ago, cause: power up
Last software reset at 2020-10-25 11:28, reason: User, spinning module GCodes, available RAM 9316 bytes (slot 1)
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
Error status: 0
Free 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 18.4, current 23.7, max 23.9
Supply voltage: min 0.6, current 1.7, max 1.8, under voltage events: 0, over voltage events: 0, power good: no
Driver 0: ok, SG min/max not available
Driver 1: ok, SG min/max not available
Driver 2: ok, SG min/max not available
Driver 3: ok, SG min/max not available
Driver 4: ok, SG min/max not available
Date/time: 1970-01-01 00:00:00
Cache data hit count 365048372
Slowest loop: 5.52ms; fastest: 0.05ms
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: 83.12ms; fastest: 0.00ms
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 0
WiFi firmware version 1.23
WiFi MAC address dc:4f:22:6e:e5:d2
WiFi Vcc 3.39, reset reason Turned on by main processor
WiFi flash size 4194304, free heap 23952
WiFi IP address 192.168.1.60
WiFi signal strength -53dBm, reconnections 0, sleep mode modem
Socket states: 0 0 0 0 0 0 0 0
ok
- WiFi -
-
My SD Card is in place. Above says its not detecting one...
-
My SD Card is in place. Above says its not detecting one...
@haydenkrause said in Wifi not connecting after firmware install. Duet2 Wifi:
SD card 0 detected, interface speed: 20.0MBytes/sec
this mean one card has been detected in slot 0
-
ah ok - miss read that
thank for ur help btw!
-
Ok. So tried all the above in formatting FAT32 etc, putting the following files on the SD card...
sys (from configuration tool)
gcode (empty folder)
macros (empty folder)I am seeing my wifi LED on. But i cant connect using the IP address
-
you are missing the www folder with the duet web control
-
do i need to set that myself?
Following the "New Method" i dont have to add this...
-
@haydenkrause said in Wifi not connecting after firmware install. Duet2 Wifi:
Following the "New Method" i dont have to add this...
that is still required. without this there is no web interface
-
ok - think i may have found it... ill try this thx
-
Shoot! cracked it..
The link i used was here:
https://duet3d.dozuki.com/Wiki/Firmware_Overview
scroll to "SD Card Structure" explains in full - lovely....
Thanks for ur help dude!
-
In future, when updating the firmware use the main zip file from the release. This contains any required files including the web interface files and everything will get updated all in one go.
For instance, now that you're on 2.05.1 you can upload the zip file for 3.0 and then 3.1.1 to get fully up to date.
Upload the zip file as is, don't extract it, to the system tab in DWC. To get to 3.1.1 you need to update to 3.0 first to get all the required files for RRF3.
https://github.com/Duet3D/RepRapFirmware/releases/download/3.0/Duet2and3Firmware-3.0.zip
https://github.com/Duet3D/RepRapFirmware/releases/download/3.1.1/Duet2and3Firmware-3.1.1.zip
You would also need to update your config files to work with RRF3.
-
Thanks Phaedrux, i will do. I am sticking with 2.05 for now because I managed to get my 3 pin switch type z probe working. I tried everything on RR3 and i just couldn't get it working. It was connected to the zprobein using sensor type5 as stated in the online instructions (as type 4 not supported). Config was pointed to zprobe in using C".......". I am following a few posts on here with people having the same issues currently unsolved - if they can solve them i will update.
thanks for the time to help!
-
@haydenkrause said in Wifi not connecting after firmware install. Duet2 Wifi:
I am following a few posts on here with people having the same issues currently unsolved
Which would those be? link?
You could post your RRF3 config.g as well in case it's just a simple syntax error. What probe are you using specifically?