Please help: Duet Wifi stuck on Wifi Idle, No Networks, etc
-
Repost from SeeMeCNC forum where they suggested I post here instead:
Went to print this morning after some 3 days of downtime in which my Artemis was turned off, but today it's just constantly repeating that there are no networks and wifi is idle.
M552 S-1 stops the module OK, M552 S0 starts it ok. M587 alone yields no known networks even though it's been running fine on my network for months and I just turned it off a few days ago to save power.
The factory reset command M588 yields a failure, and I can't remember which command but might be the M587, sometimes says 'bad reply format version'.
Needless to say, the normal M552/M587 combo with ssid and password doesn't do anything but toss it back into the wifi error wifi idle message, which repeats every second endlessly unless I stop the module.
Emergency reset and even off/on doesn't change the situation either.
Hope you guys can help. Thanks. NOTE: I don't know anything about the assembly and electronics portion of the program here - I don't build my machines, I just use them.
-
@ddxdesign I suggest you reinstall the wifi firmware. If it's already on the SD card in the correct directory, you can send M996 S1 from PanelDue or USB to do that.
-
@dc42 Thank you for the suggestion; I'll try it. Is there a way to check from the panel itself whether the firmware is in there?
-
@dc42 Update: I did try it and it says "Warning: M996 command is not supported."
Beyond trying to fix it right now, I have to ask: How does something like this go from working every day for months to, after a 3 day period of being powered off, suddenly just deciding not to work anymore?
-
@ddxdesign it should be M997 S1
-
@jay_s_uk Aha, ok, that did work to redo the firmware it looks like. now to try all the setup stuff again.
-
-
@ddxdesign where's it getting stuck at now?
Can you get an output of M122? -
@jay_s_uk M588 still not working "Failed to reset to factory" - M587 not working "Failed to add network" - M122 shows, lets see.... aside from the version IDs and things it says:
Use output buffers 1 of 20 (12 max) === RTOS === Static ram 25524 Dynamic ram 98864 of which 0 recycled Exception stack ram used 432 Ne (it just cuts off there)
-
@ddxdesign what are you using to connect via USB? YAT?
Can you set it up using the instructions here? https://duet3d.dozuki.com/Guide/1.)+Getting+Connected+to+your+Duet/7#s7
If you have issues with getting it going, can you confirm the firmware version using M115? -
@jay_s_uk No USB, it's all through the panel due. SeeMe says they do not recommend connecting to this machine through USB - to do everything from the panel. Running 2.02 FW (12/24/18). That's odd because I got the machine brand new 8 mos ago, but then again maybe their machines use older FW on purpose (assuming there have been new FWs in the ensuing time)
-
@ddxdesign said in Please help: Duet Wifi stuck on Wifi Idle, No Networks, etc:
SeeMe says they do not recommend connecting to this machine through USB
and this is why : https://duet3d.dozuki.com/Wiki/USB_ground_loops
if you disconnect your printer from mains, you can connect the USB cable to use YAT (the duet board will be powered by the USB connection)
-
@ddxdesign there's no issues with connecting to the board through USB. Would definitely make it easier to get an output from things.
The paneldue is good but can make general troubleshooting difficult.
As @SIam pointed out, ground loops are the main issue but if you use a laptop powered from the battery (not on charge) you are perfectly fine. -
@siam Hmm; where my printer is, I would have to use my laptop on battery to get to anyways, so maybe this isn't a concern?
-
@ddxdesign definitely not a concern.
Would make the troubleshooting easier -
@jay_s_uk OK let me see if I can remember how to use Yat...
-
@jay_s_uk Alrighty, from YAT the full M122 output is:
=== Diagnostics ===<LF>RepRapFirmware for Duet 2 WiFi/Ethernet version 2.02(RTOS) running on Duet WiFi 1.02 or later<LF>Board ID: 08DLM-996RU-N85S4-7JKF4-3SN6P-TU97R<LF>Used output buffers: 1 of 20 (13 max)<LF>=== RTOS ===<LF>Static ram: 25524<LF>Dynamic ram: 98864 of which 0 recycled<LF>Exception stack ram used: 432<LF>Never used ram: 6252<LF>Tasks: NETWORK(ready,544) HEAT(blocked,1232) MAIN(running,3636) IDLE(ready,200)<LF>Owned mutexes:<LF>=== Platform ===<LF>Last reset 69:35:24 ago, cause: power up<LF>Last software reset at 2021-08-22 09:46, reason: User, spinning module GCodes, available RAM 6212 bytes (slot 3)<LF>Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d<LF>Error status: 8<LF>Free file entries: 10<LF>SD card 0 detected, interface speed: 20.0MBytes/sec<LF>SD card longest block write time: 0.0ms, max retries 0<LF>MCU temperature: min 40.4, current 40.6, max 41.6<LF>Supply voltage: min 13.0, current 13.1, max 13.1, under voltage events: 0, over voltage events: 0, p[Warning: Maximal number of bytes per line exceeded! Check the EOL (end-of-line) settings or increase the limit in the advanced terminal settings.]
-
I did just discover some new-firmware instructions from seemecnc; I will have to allocate a big chunk of time to trying this I think. EDIT: Sigh, have to go buy an SD-to-USB thing.
-
@ddxdesign you need to increase the end of line settings to get the full output.
If you have a look at that link I posted a few pages up, it tells you all the settings you need to change in YAT -
@jay_s_uk Well, did that, but now when I paste in the true full output, I can't post it - forum gives me a Flagged As Spam error...