Brand new board out of the box from filastruder (external antenna). Immediately run M587 through YAT, etc and was met with above error.
Tried updating firmware with M997 and seems successful:
Trying to connect at 230400 baud: success<LF>Erasing 4096 bytes...<LF>Erasing 212992 bytes...<LF>Uploading file...<LF>5% complete<LF>10% complete<LF>15% complete<LF>20% complete<LF>25% complete<LF>30% complete<LF>35% complete<LF>40% complete<LF>45% complete<LF>50% complete<LF>55% complete<LF>60% complete<LF>65% complete<LF>70% complete<LF>75% complete<LF>80% complete<LF>85% complete<LF>90% complete<LF>95% complete<LF>Upload successful<LF>ok<LF>WiFi module started<LF>WiFi reported error: no known networks found<LF>WiFi module is idle
Re running M587 unsuccessful.
M122+M115 reports:
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.05 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2019-12-13b1<LF>ok<LF>WiFi reported error: Failed while trying to connect to "*****"<LF>WiFi module is idle<LF>
=== Diagnostics ===<LF>RepRapFirmware for Duet 2 WiFi/Ethernet version 2.05 running on Duet WiFi 1.02 or later<LF>Board ID: 08DLM-996RU-N8PS4-7JKDG-3S86P-TBA7N<LF>Used output buffers: 3 of 24 (3 max)<LF>=== RTOS ===<LF>Static ram: 25712<LF>Dynamic ram: 94000 of which 64 recycled<LF>Exception stack ram used: 256<LF>Never used ram: 11040<LF>Tasks: NETWORK(ready,1304) DHTSENSOR(blocked,240) HEAT(blocked,912) MAIN(running,3824) IDLE(ready,160)<LF>Owned mutexes:<LF>=== Platform ===<LF>Last reset 00:00:19 ago, cause: power up<LF>Last software reset details not available<LF>Error status: 0<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 33.8, current 36.8, max 36.9<LF>Supply voltage: min 0.0, current 0.0, max 0.0, under voltage events: 0, over voltage events: 0, power good: no<LF>Driver 0: ok, SG min/max not available<LF>Driver 1: ok, SG min/max not available<LF>Driver 2: ok, SG min/max not available<LF>Driver 3: ok, SG min/max not available<LF>Driver 4: ok, SG min/max not available<LF>Date/time: 1970-01-01 00:00:00<LF>Cache data hit count 28931951<LF>Slowest loop: 1.08ms; fastest: 0.05ms<LF>I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0<LF>=== Move ===<LF>Hiccups: 0, FreeDm: 160, MinFreeDm: 160, MaxWait: 0ms<LF>Bed compensation in use: none, comp offset 0.000<LF>=== DDARing ===<LF>Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0<LF>=== Heat ===<LF>Bed heaters = 0 -1 -1 -1, chamberHeaters = 2 -1<LF>Heater 1 is on, I-accum = 0.0<LF>=== GCodes ===<LF>Segments left: 0<LF>Stack records: 2 allocated, 0 in use<LF>Movement lock held by null<LF>http is idle in state(s) 0<LF>telnet is idle in state(s) 0<LF>file is idle in state(s) 0<LF>serial is ready with "M122" in state(s) 0<LF>aux is idle in state(s) 0<LF>daemon is idle in state(s) 0<LF>queue is idle in state(s) 0<LF>autopause is idle in state(s) 0<LF>Code queue is empty.<LF>=== Network ===<LF>Slowest loop: 1.26ms; fastest: 0.00ms<LF>Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)<LF>HTTP sessions: 0 of 8<LF>- WiFi -<LF>Network state is changing mode<LF>WiFi module is trying to connect<LF>Failed messages: pending 0, notready 0, noresp 0<LF>WiFi firmware version 1.23<LF>WiFi MAC address bc:dd:c2:2d:64:f6<LF>WiFi Vcc 3.47, reset reason Turned on by main processor<LF>WiFi flash size 4194304, free heap 26984<LF>Socket states: 0 0 0 0 0 0 0 0<LF>ok<LF>
Found another thread with very similar symptoms: https://forum.duet3d.com/topic/9807/failed-to-add-ssid-to-remember-list
And followed the procedure within:
dc42 said in Failed to add SSID to remember list:
- Run M115 to check that the 2.03beta3 firmware is installed (or at least version 2.02)
- Then run M997 S1 to install the DuetWiFiFirmware.bin file
- Then run M552 S0 to put the WiFi module in idle mode
- Then run M552 to check that it is in idle mode (not still "being started")
- Then you should be able to use M587 to add the SSID and password.
With slightly different results, now I get a code-7:
ok<LF>WiFi reported error: Failed while trying to connect to ********<LF>WiFi module is idle<LF>Error retrieving WiFi status message: SPI timeout<LF>WiFi module is idle<LF>Failed to change WiFi mode (code -7)<LF>
Little bit lost at this point Any ideas?