Firmware 1.19



  • Hello ,
    must unfortunately use a translator, excuse me for it already in advance!

    I am really super satisfied with the Duet, currently build in the company a 3d printer which also the Duet gets with expansion card.

    On my private Duet Wifi would like to install the current firmware 1.19, unfortunately I'm not there any further, hope here can someone help me!

    I started with firmware 1.17 and then unfortunately installed immediately 1.19.
    That was wrong.
    Think must now write everything from the PC to the card.

    1. Have DuetWebControl-1.19 on the SD card in the folder www. pushed.
    2. DuetWiFiFirmware-1.19.bin, copied into / sys and renamed in exactly
        DuetWiFiFirmware.bin
    3. DuetWiFiServer-1.19.bin, copied into / sys and renamed to exactly
        DuetWiFiServer.bin

    4 A macro file in / macros to set up access to your WiFi network. I call this file SetNetwork, but you can choose any name. This should contain the following commands …..

    How do I create a macro now? With Repetier - Host or Ponterface? Can not connect between Repetier Host and Duet with USB …

    Now have a mix of version 1.17 and 1.19 maybe
    Best I delete everything and write the working data on it?

    Many thanks in advance

    Sorry for the stupid questions 🙂

    Andy


  • administrators

    First get the main firmware working via USB:

    • Use a text editor (e.g. Notepad++) to edit the config.g file on the SD card, putting a semicolon at the start of the M552 line. This stops it trying to enable the WiFi module, removing any startup issues you might encounter due to mismatched firmware versions.

    • Connect via USB, then open Windows Device Manager and expand Ports. If you see a Duet port then you will be able to connect using Pronterface etc. BUT as you were using 1.17 before, you will need to update the device driver to the latest version. The later device driver works with older firmware versions too.

    • You should then be able to connect via Pronterface or YAT.

    • Send M115 to see what firmware version you are running. If it's earlier than 1.19, use fallback procedure #1 at https://duet3d.com/wiki/Updating_main_firmware to update to 1.19.2.

    • Send M552 S0 to turn the WiFi module on but not try to connect. If you get an error message, then you need to update the wifi module firmware, by sending M997 S1 (you have already copied DuetWiFiServer.bin to your SD card).

    • When you have that working, use YAT to enter your WiFi SSID and password. See https://duet3d.com/wiki/Getting_connected_to_the_Duet_WiFi.

    HTH David



  • Thanks David for your quick competent help!

    The semicolon I inserted before M552.
    Where can I find the current device driver?

    Is that right? : https://github.com/dc42/RepRapFirmware/tree/dev/Driver

    In the device manager, I now have a question mark. Can this be installed via the automatic search for new driver? Or where can I find the right driver?

    Have the driver get installed!

    Connecting…
    Printer is now online.

    M115
    SENDING:M115
    FIRMWARE_NAME: RepRapFirmware for Duet WiFi FIRMWARE_VERSION: 1.19 ELECTRONICS: Duet WiFi 1.0 FIRMWARE_DATE: 2017-08-14

    M552 S0
    SENDING:M552 S0
    WiFi module started
    Error: Failed to initialise WiFi module, code -10
    [ERROR] Error: Failed to initialise WiFi module, code -10

    M997 S1
    SENDING:M997 S1
    Trying to connect at 460800 baud:
    failed
    Trying to connect at 230400 baud:
    success
    Erasing 244400 bytes…
    Uploading file...
    5% complete
    10% complete
    15% complete
    20% complete
    25% complete
    30% complete
    35% complete
    40% complete
    45% complete
    50% complete
    55% complete
    60% complete
    65% complete
    70% complete
    75% complete
    80% complete
    85% complete
    90% complete
    95% complete
    Upload successful

    Regards Andy

    P.S: Can upload pictures via external providers only here ?

    what is : The firmware update helper file (iap4e.bin for Generation 2 Duets, and iap.bin for Generation 1 Duets) ???



  • now in the YAT:

    M552 S0
    ok<lf>WiFi module started <lf>M587 S "Fritz!Box 7560 LH" P "10101010101010101"
    Bad parameter in M587 command<lf>ok <lf>M587 S "Fritz!Box7560LH" P "01010101010101001"
    Bad parameter in M587 command<lf>ok <lf>M587
    No remembered networks<lf>ok <lf>M552
    WiFi module is idle<lf>ok <lf>M552
    WiFi module is idle<lf>ok <lf>M587 S "Funkkiste" P "010101010101"
    Bad parameter in M587 command<lf>ok <lf>M587 S"Funkkiste"P"010101010101001"
    ok</lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf></lf>


  • administrators

    Don't put a space between S and the following " character, or between P and the following " character.

    The firmware update helper is the program that is loaded and run to update the main firmware using M997.



  • Now everything seems to have worked out.
    The semicolon I have now removed before 552 by editor.
    But I do not see the Deut-Wifi in the network.



  • In the network I do not see the duet, but now have access to the router or directly over the IP to the board!

    Thanks again and it can be unfortunately, that I have to ask more still more …;)

    Andy



  • Ah, i forget the Makro file thats the Duet Wifi automatical starts….

    How was the command for that?



  • hmm, what is that? Everything a little shifted.

    ; Network
    M550 PTronx X1 ; Set machine name
    Here was space M552 S1 ; Enable network
    ; Access point is configured manually via M587 by the user
    M586 P0 S1 ; Enable HTTP
    M586 P1 S0 ; Disable FTP
    M586 P2 S0 ; Disable Telnet

    Change to :
    ; Network
    M550 PTronx X1 ; Set machine name
    M552 S1 ; Enable network
    ; Access point is configured manually via M587 by the user
    M586 P0 S1 ; Enable HTTP
    M586 P1 S0 ; Disable FTP
    M586 P2 S0 ; Disable Telnet

    maybe that helps…

    No Duet Wifi in Network, only over IP.


  • administrators

    Check that the Duet is connected to the router by running M552 with no parameters.

    If you have not already done so, you need to create a new /www folder on the SD card (delete the old one if it is present) and unzip DuetWebControl.zip into it.


Locked
 

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