New board but no working WiFi.

  • I got my second Diet 2 Wifi two days ago but on the new card WiFi circuit refuse to start. I have been asked to do some fault findings:
    When plugging in USB cable from adapter I get 3 LEDs
    Red at the USB connector
    Green for 3.3 Volt
    Red for 5V
    As expected.

    I have compared alla jumper settings with my working Duet 2 WiFi module and the are equal but when I power on the new board the WiFi module gives a short blue flash and nothing more. Dead quiet.

    Pronterface works fine. I have flashed the latest (same) firmware again. No change. Flashed DuetWifiServer( 1.21).bin (and yes: I renamed it). Still no progress

    Renamed www- directory and created a "new" www with the latest DuetWebControl (1.22.5)

    This morning I checked all pins of the WiFi module with a DWM
    Left row:
    3.3V = 3.3V
    MOSI = Low
    MISO = data
    SPCK = Hi
    Espen = Low
    EspRst = Hi

    Right row:
    Gnd = Gnd
    NpSco = Hi
    Edr = Hi
    Iq5 = data
    Tx = Hi
    Rx = High but gets data about once/second

    I have swapped the SD-card between the 1st Duet 2 Wifi. Both SD-card works there so my configuration should be fine. NONE of the SD card starts the WiFi unit on my new Duet 2 Wifi card.

    Please help. I get the impression that the bord isn't working.

    Mr Anders Wikström

  • administrators

    What response do you get if you send M552 S0 (e.g. from USB) to put the WiFi module into Idle mode? If necessary, send M552 with no parameters after that.

    If it reports "WiFi module is idle", what response do you get if you try to use M587 to set your access point details?

  • @dc42 said in New board but no working WiFi.:


    [ERROR] Printer is not online.
    WiFi reported error: no known networks found
    WiFi module is idle

    But!!! It does not turn blue or blinking
    The configuration is working! When I put the memory card in my first Duet2 WiFi it does connect to my WiFi and
    If I put the memory card from my first Duet2 WiFi and put it in this one there is NO WiFi

  • administrators

    Try sending the M587 command again. Pronterface reported that it wasn't connected to the printer, so it never sent the command.

  • @dc42 said in New board but no working WiFi.:


    M587: Failed to retrieve network list
    Error retrieving WiFi status message: bad reply format version
    [ERROR] Error retrieving WiFi status message: bad reply format version


    ; Configuration file for Duet WiFi (firmware version 1.21)
    ; executed by the firmware on start-up
    ; generated by RepRapFirmware Configuration Tool v2 on Fri Nov 16 2018 12:33:31 GMT+0100 (centraleuropeisk normaltid)

    ; General preferences
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves

    ; Network
    M550 P"RoboNaviCut CNC" ; Set machine name
    M552 S1 ; Enable network
    M587 S"RoboNaviCut" P"MyWiFiPSW" ; 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

    ; Drives
    M569 P0 S1 ; Drive 0 goes forwards
    M569 P1 S1 ; Drive 1 goes forwards
    M569 P2 S1 ; Drive 2 goes forwards
    M350 X16 Y16 Z16 I1 ; Configure microstepping with interpolation
    M92 X80.00 Y80.00 Z4000.00 ; Set steps per mm
    M566 X900.00 Y900.00 Z12.00 ; Set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00 Z180.00 ; Set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z20.00 ; Set accelerations (mm/s^2)
    M906 X800.00 Y800.00 Z800.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits
    M208 X0 Y0 Z0 S1 ; Set axis minima
    M208 X850 Y850 Z200 S0 ; Set axis maxima

    ; Endstops
    M574 X1 Y1 S3 ; Set endstops controlled by motor load detection

    ; Z-Probe
    M558 P0 H5 F120 T6000 ; Disable Z probe but set dive height, probe speed and travel speed
    M557 X15:835 Y15:195 S20 ; Define mesh grid

    ; Heaters
    M140 H-1 ; Disable heated bed

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

    ; Tools

    ; Automatic saving after power loss is not enabled

    ; Custom settings are not configured

  • Hi.

    I guess your M552 S1 command should be after M587. So it should looks like :

    M552 S0
    M587 S"RoboNaviCut" P"MyWiFiPSW"
    M552 S1

  • administrators

    @anwi said in New board but no working WiFi.:

    Error retrieving WiFi status message: bad reply format version

    That indicates that the versions of DuetWiFiServer and the the Duet main firmware are out of step. If you send M115, what main firmware version does it report?

  • Thank you very, very much!!! WiFi has started and is working now.

    You made my day 🙂

    ok B:2000.0 /0.0
    Printer is now online.
    ok B:2000.0 /0.0

    M552 S0
    SENDING:M552 S0
    WiFi module started
    ok B:2000.0 /0.0

    M587 S"RoboNaviCut" P"CutMyGrass"
    SENDING:M587 S"RoboNaviCut" P"passwd"
    ok B:2000.0 /0.0

    M552 S1
    SENDING:M552 S1
    ok B:2000.0 /0.0
    WiFi module is connected to access point RoboNaviCut, IP address
    ok B:2000.0 /0.0

    FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.02RC5(RTOS) ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2018-11-28b1
    ok B:2000.0 /0.0
    ok B:2000.0 /0.0

Log in to reply