Zero upload capability
-
My guess is that the WiFi module isn't getting a strong enough signal. When you send the M122 command, what WiFi signal strength does it report?
Have you tried setting your router to a different WiFi channel?
Sending files over USB is possible, but slower than sending them over WiFi when the signal strength is sufficient.
-
@dc42 Tried to edit a gcode file stored on the mc and this was the result.
Prior to any of the recent updating that you suggested it would just delete the file. It still deleted the file but it also appears to have corrupted dwc. I say that because unless i pull the card and reinstall dwc it wont work. Also, not sure if this is normal but the installation of dwc only unpacks the js folders zip which also happens to be one of the ones it errors when trying to update as a package through wifi.
-
Looks like it failed to load the CSS file. If you refresh the browser tab, it may display OK. But I think your WiFi signal strength probably needs to be improved, see my previous response. There is a page about WiFi connectivity in the Troubleshooting section of the wiki.
-
@dc42
It sits less than a meter away from its own dedicated Gbit router and i can use dwc its only uploads that tend to piss it off.1:57:37 AMM122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 2.03RC5 running on Duet WiFi 1.02 or later
Board ID: 08DJM-9178L-L4MSJ-6J9DL-3SD6Q-TV2GN
Used output buffers: 3 of 24 (15 max)
=== RTOS ===
Static ram: 25680
Dynamic ram: 94096 of which 0 recycled
Exception stack ram used: 452
Never used ram: 10844
Tasks: NETWORK(ready,524) HEAT(blocked,1236) MAIN(running,3780) IDLE(ready,160)
Owned mutexes:
=== Platform ===
Last reset 02:39:03 ago, cause: power up
Last software reset at 2019-06-09 23:14, reason: User, spinning module GCodes, available RAM 10908 bytes (slot 3)
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: 10.4ms, max retries 0
MCU temperature: min 30.4, current 31.1, max 36.0
Supply voltage: min 2.0, current 2.0, max 24.2, under voltage events: 1, over voltage events: 0, power good: no
Driver 0: standstill, SG min/max 0/176
Driver 1: standstill, SG min/max 0/213
Driver 2: standstill, SG min/max 0/1023
Driver 3: standstill, SG min/max not available
Driver 4: standstill, SG min/max not available
Date/time: 2019-06-10 01:57:36
Cache data hit count 4294967295
Slowest loop: 142.71ms; fastest: 0.06ms
I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
=== Move ===
Hiccups: 0, FreeDm: 169, MinFreeDm: 165, MaxWait: 2923213ms
Bed compensation in use: none, comp offset 0.000
=== DDARing ===
Scheduled moves: 29, completed moves: 29, 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 idle 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: 200.40ms; fastest: 0.08ms
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 2
WiFi firmware version 1.23
WiFi MAC address ec:fa:bc:25:b3:67
WiFi Vcc 3.34, reset reason Turned on by main processor
WiFi flash size 4194304, free heap 24360
WiFi IP address 192.168.0.153
WiFi signal strength -41dBm, reconnections 0, sleep mode modem
Socket states: 0 0 0 0 0 0 0 0
- WiFi -
-
-41dBm is a very good signal strength. I still think it's still worth trying a different WiFi channel. You could also try reducing the router power just in case the signal is too strong - I don't think I've seen a reported signal strength as high as that before.
If that doesn't help, perhaps the WiFi module is faulty. If you want to swap the Duet, I will approve a replacement under warranty, assuming it's a genuine UK-manufactured Duet.
-
@dc42 Ok sure, ill have a look at that wiki but would it behave in this manner because it isnt getting a strong signal? deleting...corrupting and such? The wifi antenna is pointing directly at the router with no obstructions less than 3 feet away.
This is a shot of the www directory after it corrupted dwc for attempting to edit gcode. noticed that js directory is empty.
-
Uploading a file will delete any previous file with the same name. If the upload fails then you should never get a corrupted file because the partially-uploaded file will be deleted.
-
@dc42 Well its never successfully uploaded anything that ive wanted it too so i havent seen that. That installation of dwc in the www dir was manual pc to card and M997 S2 once back in the boards card slot. I really dont get the impression there is a hardware issue because everything works hardware wise. It connects to its network, prints, tunes, responds to code, communicates to any terminal ive tried. It just gets pissed when i ask it to upload.
-
If it responds to a terminal, for example YAT then that would demonstrate upload capability correct? lol Im a machinist not a network engineer so apologies if that is a silly question.
-
@formfab said in Zero upload capability:
@dc42 Well its never successfully uploaded anything that ive wanted it too so i havent seen that. That installation of dwc in the www dir was manual pc to card and M997 S2 once back in the boards card slot. I really dont get the impression there is a hardware issue because everything works hardware wise. It connects to its network, prints, tunes, responds to code, communicates to any terminal ive tried. It just gets pissed when i ask it to upload.
As you have already tried several different SD cards, I suspect either a hardware issue with the WiFi module, or an incompatibility between the ESP12S WiFi module and your router.