Wifi connection error



  • hello duet I can not connect to WiFi, network not found YAT terminal I use

    M552 S2
    ok<lf>WiFi reported error: invalid access point configuration<lf>Wifi module is idle <lf>M552 S2
    ok<lf>WiFi reported error: invalid access point configuration<lf>Wifi module is idle<lf>RepRapFirmware for Duet WiFi Version 1.20 dated 2017-12-23<lf><lf>Executing config.g…Error: Attempt to emulate unsupported firmware.<lf>Kinematics is CoreXY with axis factors X:1.000 Y:1.000 Z:1.000<lf>Error: Failed to initialise RTD: bad response from sensor<lf>Error: Failed to initialise RTD: bad response from sensor<lf>Error: M587:
    M997 S0:1:2
    M997: File DuetWebControl.bin not found<lf>ok <lf>M997 S0:1:2
    M997: File DuetWebControl.bin not found<lf>ok <lf>M997 S0:1:2
    M997: File DuetWebControl.bin not found<lf>ok <lf>M997 S0:1:2
    M997: File DuetWebControl.bin not found<lf>ok <lf>M997 S0:1:2
    M997: File DuetWebControl.bin not found<lf>ok <lf>M997 S0:1:2
    M997: File DuetWebControl.bin not found<lf>ok <lf>M997 S0:1:2
    M997: File DuetWebControl.bin not found<lf>ok <lf>M997 S0:1:2
    M997: File DuetWebControl.bin not found<lf>ok <lf>M997 S1
    Trying to connect at 230400 baud: success<lf>Erasing 4096 bytes...<lf>Erasing 233472 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>RepRapFirmware for Duet WiFi Version 1.20 dated 2017-12-23<lf><lf>Executing config.g...Error: Attempt to emulate unsupported firmware.<lf>Kinematics is CoreXY with axis factors X:1.000 Y:1.000 Z:1.000<lf>Error: Failed to initialise RTD: bad response from sensor<lf>Error: Failed to initialise RTD: bad response from sensor<lf>Error: M587:
    M552 S1
    ok<lf>WiFi reported error: no known networks found<lf>Wifi module is idle <lf>M587
    No remembered networks<lf>ok <lf>M587
    No remembered networks<lf>ok <lf>M122
    === Diagnostics ===<lf>Used output buffers: 1 of 32 (5 max)<lf>=== Platform ===<lf>RepRapFirmware for Duet WiFi version 1.20 running on Duet WiFi 1.0<lf>Board ID: 08DGM-9568A-F23SD-6J9DL-3SJ6K-K9RHH<lf>Static ram used: 15448<lf>Dynamic ram used: 99256<lf>Recycled dynamic ram: 4080<lf>Stack ram used: 3576 current, 4460 maximum<lf>Never used ram: 7828<lf>Last reset 00:02:39 ago, cause: power up<lf>Last software reset time unknown, reason: User, spinning module GCodes, available RAM 3752 bytes (slot 1)<lf>Software reset code 0x0003 HFSR 0x00000000, CFSR 0x00000000, ICSR 0x00400000, BFAR 0xe000ed38, SP 0xffffffff<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<lf>MCU temperature: min 26.1, current 28.7, max 29.0<lf>Supply voltage: min 1.2, current 1.3, max 1.3, under voltage events: 0, over voltage events: 0<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 no <warning: maximal="" number="" of="" bytes="" per="" line="" exceeded!="" check="" the="" end-of-line="" settings="" or="" increase="" limit="" in="" advanced="" terminal="" settings.="">M587
    No remembered networks<lf>ok <lf>M587
    No remembered networks<lf>ok <lf>M587
    No remembered networks<lf>ok <lf>M587
    No remembered networks<lf>ok <lf>M587
    No remembered networks<lf>ok <lf>M587
    No remembered networks<lf>ok <lf>M587
    No remembered networks<lf>ok <lf>M587
    No remembered networks<lf>ok <lf>M587
    No remembered networks<lf>ok <lf>M587
    No remembered networks<lf>ok <lf>M587
    No remembered networks<lf>ok <lf>M587
    No remembered networks<lf>ok <lf>M587
    No remembered networks<lf>ok <lf>M587
    No remembered networks<lf>ok <lf>M587
    No remembered networks<lf>ok <lf>M587
    No remembered networks<lf>ok <lf>M587
    No remembered networks<lf>ok <lf>M587
    No remembered networks<lf>ok <lf>M587
    No remembered networks<lf>ok <lf>M588 S "7605"
    M588: Bad or missing parameter<lf>ok <lf>M588 S "7605"
    M588: Bad or missing parameter<lf>ok <lf>M588 S "7605"
    M588: Bad or missing parameter<lf>ok <lf>M588 S "7605"
    M588: Bad or missing parameter<lf>ok <lf>M588 S "7605"
    M588: Bad or missing parameter<lf>ok <lf>M588 S "7605"
    M588: Bad or missing parameter<lf>ok <lf>M588 S "7605"
    M588: Bad or missing parameter<lf>ok <lf>M588 S "7605"
    M588: Bad or missing parameter<lf>ok <lf>M588 S "7605"
    M588: Bad or missing parameter<lf>ok <lf>M588 S "7605"
    M588: Bad or missing parameter<lf>ok <lf>M588 S "7605"
    M588: Bad or missing parameter<lf>ok<lf>RepRapFirmware for Duet WiFi Version 1.20 dated 2017-12-23<lf><lf>Executing config.g...Error: Attempt to emulate unsupported firmware.<lf>Kinematics is CoreXY with axis factors X:1.000 Y:1.000 Z:1.000<lf>Error: Failed to initialise RTD: bad response from sensor<lf>Error: Failed to initialise RTD: bad response from sensor<lf>Error: M587:
    M997 S1
    Trying to connect at 230400 baud: success<lf>Erasing 4096 bytes...<lf>Erasing 180224 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>RepRapFirmware for Duet WiFi Version 1.20 dated 2017-12-23<lf><lf>Executing config.g...Error: Attempt to emulate unsupported firmware.<lf>Kinematics is CoreXY with axis factors X:1.000 Y:1.000 Z:1.000<lf>Error: Failed to initialise RTD: bad response from sensor<lf>Error: Failed to initialise RTD: bad response from sensor<lf>Error: M587:
    M587
    M587: Failed to retrieve network list<lf>ok <lf>M587
    M587: Failed to retrieve network list<lf>ok <lf>M115
    FIRMWARE_NAME: RepRapFirmware for Duet WiFi FIRMWARE_VERSION: 1.20 ELECTRONICS: Duet WiFi 1.0 FIRMWARE_DATE: 2017-12-23<lf>ok<lf>RepRapFirmware for Duet WiFi Version 1.20 dated 2017-12-23<lf><lf>Executing config.g...Error: Attempt to emulate unsupported firmware.<lf>Kinematics is CoreXY with axis factors X:1.000 Y:1.000 Z:1.000<lf>Error: Failed to initialise RTD: bad response from sensor<lf>Error: Failed to initialise RTD: bad response from sensor<lf>Error: M587:
    M997 S1
    Trying to connect at 230400 baud: success<lf>Erasing 4096 bytes...<lf>Erasing 180224 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>RepRapFirmware for Duet WiFi Version 1.20 dated 2017-12-23<lf><lf>Executing config.g...Error: Attempt to emulate unsupported firmware.<lf>Kinematics is CoreXY with axis factors X:1.000 Y:1.000 Z:1.000<lf>Error: Failed to initialise RTD: bad response from sensor<lf>Error: Failed to initialise RTD: bad response from sensor<lf>Error: M587:
    M552
    WiFi module is idle<lf>ok <lf>M552 S0
    ok <lf>M552 S0
    ok <lf>M552 S0
    ok <lf>M587 S "7605" P "Magmasoft69"
    M587: Bad or missing parameter<lf>ok <lf>M587 S "7605" P "Magmasoft69"
    M587: Bad or missing parameter<lf>ok <lf><lf>M587 S "7605" P "Magmasoft69"
    M587: Bad or missing parameter<lf>ok <lf>M587 S "7605" P "Magmasoft69"
    M587: Bad or missing parameter<lf>ok<lf>RepRapFirmware for Duet WiFi Version 1.20 dated 2017-12-23<lf><lf>Executing config.g...Error: Attempt to emulate unsupported firmware.<lf>Kinematics is CoreXY with axis factors X:1.000 Y:1.000 Z:1.000<lf>Error: Failed to initialise RTD: bad response from sensor<lf>Error: Failed to initialise RTD: bad response from sensor<lf>Error: M587:
    M552
    WiFi module is idle<lf>ok <lf>M587 S "7605" P "Magmasoft69"
    M587: Bad or missing parameter<lf>ok <lf>; Configuration file for Duet WiFi (firmware version 1.20 or newer)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool on Sun Dec 31 2017 14:08:46 GMT+0300 (Türkiye Standart Saati)

    ; General preferences
    M111 S0 ; Debugging off
    G21 ; Work in millimetres
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves
    M555 P5 ; Set firmware compatibility to look like Repetier
    ; Automatic saving after power loss is not enabled

    M667 S1 ; Select CoreXY mode
    M208 X0 Y0 Z0 S1 ; Set axis minima
    M208 X250 Y250 Z250 S0 ; Set axis maxima

    ; Endstops
    M574 X1 Y2 S1 ; Set active low endstops
    M574 Z1 S2 ; Set endstops controlled by probe
    M558 P1 H5 F120 T6000 ; Set Z probe type to unmodulated and the dive height + speeds
    G31 P500 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
    M557 X15:235 Y15:235 S20 ; Define mesh grid

    ; Drives
    M569 P0 S0 ; Drive 0 goes forwards
    M569 P1 S0 ; Drive 1 goes forwards
    M569 P2 S0 ; Drive 2 goes forwards
    M569 P3 S1 ; Drive 3 goes forwards
    M569 P4 S1 ; Drive 4 goes forwards
    M350 X256 Y256 Z32 E16:16 I0 ; Configure microstepping without interpolation
    M92 X2560 Y2560 Z3200 E96.96185885:96.96185885 ; Set steps per mm
    M566 X900 Y900 Z12 E120:120 ; Set maximum instantaneous speed changes (mm/min)
    M203 X6000 Y6000 Z180 E1200:1200 ; Set maximum speeds (mm/min)
    M201 X500 Y500 Z250 E250:250 ; Set accelerations (mm/s^2)
    M906 X1200 Y1200 Z1200 E2000:2000 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Heaters
    M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
    M143 H0 S120 ; Set temperature limit for heater 0 to 120C
    M305 P1 X200 ; Set thermistor + ADC parameters for heater 1 and remap it to channel 201
    M143 H1 S280 ; Set temperature limit for heater 1 to 280C
    M305 P2 X201 ; Set thermistor + ADC parameters for heater 2 and remap it to channel 202
    M143 H2 S280

    ; Tools
    M563 P0 D0 H1 ; Define tool 0
    G10 P0 X11.5 Y0 Z0 ; Set tool 0 axis offsets
    G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
    M563 P1 D1 H ; Define tool 1
    G10 P1 X11.5 Y0 Z0 ; Set tool 1 axis offsets
    G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C

    ; Network
    M550 Pnt ; Set machine name
    M551 P123456789 ; Set password
    M552 S1 ; Enable network
    M587 S"7605" P"Magmasoft69" ; Configure access point. You can delete this line once connected
    M586 P0 S1 ; Enable HTTP
    M586 P1 S0 ; Disable FTP
    M586 P2 S0 ; Disable Telnet

    ; Fans
    ;M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    ;M106 P1 S1 I0 F500 H T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    ;M106 P2 S1 I0 F500 H T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

    M106 P0 S1 I0 F500 H1 T45 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

    ; Custom settings are not configured</lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></warning:></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf>



  • Try to use pronterface, last time i have acceso a duet wifi i had trouble with YAT.
    Try to send:
    [c]M552 S0[/c]
    then
    [c]M587 S7605 PMagmasoft69[/c]
    and then
    [c]M552 S1[/c]
    i noticed that you always send the S and P parameter with a space between S and " (or P and ").

    M587 S "7605" P "Magmasoft69"
    M587: Bad or missing parameter<lf>ok</lf>

    M588 S "7605"
    M588: Bad or missing parameter<lf>ok</lf>

    if removing the space from the S and P parameters don't resolve the issue try also to add a mac address [c]M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED[/c] in the config.g file

    this is my config.g, i have already add the SSID [c]7605[/c] and password [c]Magmasoft69[/c] for your wifi network and added your settings.
    if you try it, disconnect all motor, thermistor, fan etc… form the duet

    ;**********************************
    ; CONFIG.G FILE FOR Duet WiFi
    ;**********************************
    
    ;**********************************
    ; Communication and general
    ;**********************************
    M111 S0                             		; Debug off
    M550 Pnt			            	; Machine name (P + anything you like)
    M551 P123456789                        		; Machine password (used for FTP connections)
    M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED 		; MAC Address - If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits
    M552 S1           				; Enable WiFi
    M587 S"7605" P"Magmasoft69"  			; Configure access point
    M586 P0 S1					; Enable HTTP
    M586 P1 S0					; Disable FTP
    M586 P2 S0					; Disable Telnet
    M555 P5                             		; Set output to look like Marlin
    ;M575 P1 B57600 S1                  		; Comms parameters for PanelDue
    
    ;**********************************
    ; Machine configuration
    ;**********************************
    
    M667 S1						; set CoreXY mode
    
    M569 P0 S0                			; X Drive 0
    M569 P1 S0                			; Y Drive 1
    M569 P2 S0                			; Z Drive 2
    M569 P3 S1                			; E Drive 3
    M569 P4 S1                			; E1 Drive 4
    
    M574 X1 Y2 S1                         		; Set active low endstops
    M574 Z1 S2                            		; Set endstops controlled by probe
    M350 X256 Y256 Z256 E16:16 I0         		; Set 256x microstepping with no interpolation
    M92 X2560 Y2560 Z3200         			; Set axis steps/mm.
    M92 E96.96185885:96.96185885   			; Set extruder steps/mm. Change this to match your extruder.
    
    M906 X1200 Y1200 Z1200 E2000:2000      		; Set motor currents (mA). Increase if motor is to weak.
    M201 X500 Y500 Z250 E250:250         		; Accelerations (mm/s^2). 
    M203 X6000 Y6000 Z180 E1200:1200       		; Maximum speeds (mm/min)
    M566 X900 Y900 Z12 E120:120             	; Maximum jerk speeds mm/minute
    
    M208 X250 Y250 Z250            			; set axis maxima (adjust to suit your machine)
    M208 X0 Y0 Z0 S1                    		; set axis minima (adjust to make X=0 and Y=0 the edges of the bed)
    
    G21                                 		; Work in millimetres
    G90                                 		; Send absolute coordinates...
    M83                                 		; ...but relative extruder moves
    
    ;**********************************
    ; Z probe
    ;**********************************
    
    M558 P1 H5 F120 T6000                 		; Set Z probe type to unmodulated and the dive height + speeds
    G31 P500 X0 Y0 Z2.5                   		; Set Z probe trigger value, offset and trigger height
    
    ;**********************************
    ; Thermistors and heaters
    ;**********************************
    
    M305 P0 T100000 B4138 C0 R4700        		; Set thermistor + ADC parameters for heater 0
    M143 H0 S120                          		; Set temperature limit for heater 0 to 120C
    M305 P1 X200                          		; Set thermistor + ADC parameters for heater 1 and remap it to channel 201
    M143 H1 S280                          		; Set temperature limit for heater 1 to 280C
    M305 P2 X201                          		; Set thermistor + ADC parameters for heater 2 and remap it to channel 202
    M143 H2 S280     
    
    ;**********************************
    ; Fans
    ;**********************************
    
    M106 P0 S1 I0 F500 H1 T45			; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P1 S1 I0 F500 H1 T45			; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P2 S1 I0 F500 H1 T45			; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on
    
    ;**********************************
    ; Tool definition
    ;**********************************
    
    M563 P0 D0 H1                         		; Define tool 0
    G10 P0 X11.5 Y0 Z0                    		; Set tool 0 axis offsets
    G10 P0 R0 S0                          		; Set initial tool 0 active and standby temperatures to 0C
    M563 P1 D1 H                          		; Define tool 1
    G10 P1 X11.5 Y0 Z0                    		; Set tool 1 axis offsets
    G10 P1 R0 S0                          		; Set initial tool 1 active and standby temperatures to 0C
    
    ;**********************************
    ;EPILOGUE
    ;**********************************
    
    ;M556 S78 X0 Y0 Z0                   		; Axis compensation here
    ;M208 S1 Z-0.2					; set minimum Z
    ;M912 P0 S-9.5					; Calibration CPU temp
    M501						; Load Config-Override.g that is created using M500
    T0                                  		; select first hot end
    
    ;**********************************
    ;END OF CONFIG.G
    ;**********************************
    
    ```i removed the [c]M557 X15:235 Y15:235 S20 ; Define mesh grid[/c] because i think it goes into a macro file
    Hope this help

  • administrators

    You need to not have a space between S and the quoted string as Lakko says. If using YAT, configure it to recognise LF alone as a line terminator.


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.