• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Duet2 Wifi - Update Paneldue and Wifi Connection

Scheduled Pinned Locked Moved
Duet Hardware and wiring
3
18
445
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    mikep91
    last edited by 3 Oct 2023, 08:45

    Hey guys.

    I made a post here yesterday regarding updating my paneldue. I have found this to be extremely difficult due to having old versions on my DUET's.... I think

    I am trying to get my DUET online to be able to upload config files from there, or update firmware even.

    However when I am connecting to the IP. I am getting the error:
    "Your Duet rejected the HTTP request: page not found"

    This seems to be due to my config folder or my WWW folder.

    I tried running M503 to look for my config file and i am getting:
    "; Configuration file for Duet WiFi (firmware version 2.03)<LF>; executed by the firmware on start-up<LF>;<LF>; generated by RepRapFirmware Configuration Tool v3.1.4 on Tue Oct 06 2020 17:35:11 GMT+0200 (Central European Summer Time)<LF><LF>; General preferences<LF>G90 ; send absolute coordinates...<LF>M83 ; ...but relative extruder moves<LF>M550 P"Dual1" ; set printer name<LF><LF>; Network<LF><LF>; Drives<LF>M569 P0 S1 ; physical drive 0 goes forwards<LF>M569 P1 S1 ; physical drive 1 goes forwards<LF>M569 P2 S1 ; physical drive 2 goes forwards<LF>M569 P3 S1 ; physical drive 3 goes forwards<LF>M584 X0 Y1 Z2 E3 ; set drive mapping<LF>M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation<LF>M92 X80.00 Y80.00 Z400.00 E420.00 ; set steps per mm<LF>M566 X900.00 Y900.00 Z12.00 E120.0[Warning: Maximal number of characters per line exceeded! Check the line break settings in Terminal > Settings > Text or increase the limit in Terminal > Settings > Advanced.]
    "

    I am running this firmware :
    FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.0(RTOS) ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2018-06-05b3<LF>ok<LF>

    I have tried creating a completely new config in the configurator tool, this one does not work either.

    What could I be doing wrong?

    config.g WWWfile.PNG

    Uploaded picture of my WWW folder aswell:

    undefined 1 Reply Last reply 3 Oct 2023, 08:59 Reply Quote 0
    • undefined
      jay_s_uk @mikep91
      last edited by 3 Oct 2023, 08:59

      @mikep91 if you want to update your firmware, best use BOSSA to bring it up to 3.4.6 https://docs.duet3d.com/en/User_manual/RepRapFirmware/Updating_firmware#all-other-duet-boards
      much easier than jumping through the hoops required to get there from such an old firmware version.

      Also, get YAT sorted for line endings https://docs.duet3d.com/en/User_manual/Troubleshooting/Terminal_Emulators#setting-line-endings-in-yat so whatever it outputs is readable.

      Also check to make sure the SD card is being read by grabbing the output from M122 and posting it here

      You'll also need to update the wifi firmware on the ESP8266 https://docs.duet3d.com/en/User_manual/RepRapFirmware/Updating_firmware#updating-wifi-firmware

      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

      undefined 1 Reply Last reply 3 Oct 2023, 09:49 Reply Quote 0
      • undefined
        mikep91 @jay_s_uk
        last edited by 3 Oct 2023, 09:49

        @jay_s_uk

        I dont "want" to upgrade the firmware version - only if it is neccasary to get established proper wifi of course.

        I was hoping for some guidance on how to fix the WEB UI as I finally have the connection established. But no proper UI.

        undefined undefined 2 Replies Last reply 3 Oct 2023, 09:58 Reply Quote 0
        • undefined
          jay_s_uk @mikep91
          last edited by 3 Oct 2023, 09:58

          @mikep91 try redownloading the version of DWC that corresponds with RRF 2.0 https://github.com/Duet3D/RepRapFirmware/releases/download/2.0/DuetWebControl-1.21.1.zip and recreating the WWW folder.
          If it still says rejected then we need to see the output of M122

          Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

          undefined 1 Reply Last reply 3 Oct 2023, 12:22 Reply Quote 0
          • undefined
            droftarts administrators @mikep91
            last edited by 3 Oct 2023, 10:11

            @mikep91 RRF 2.0 RTOS was the first release of RRF 2.x. I'd really update to the latest 2.05.1 if you don't want to got to 3.x - this should require very little change to your config.g. It has multiple bug fixes, and WiFi performance and capability is greatly improved. If you don't like it, you can always revert to 2.0 RTOS

            As @jay_s_uk says, you should use the version of DWC that matches your firmware version, ie the version of DWC that is in this release: https://github.com/Duet3D/RepRapFirmware/releases/tag/2.0
            I can't tell if that's the one you are already using.

            When you run M503 (or M122) from a serial console, change the Line Feed settings in YAT to get a sensible and full output. See https://docs.duet3d.com/en/How_to_guides/Getting_connected/Getting_connected_to_your_Duet#yat-settings

            Set YAT to use <LF> as the end of line character. This will improve the readability of the messages coming from the Duet. Click "Text Settings" in the "Terminal Settings" and change "EOL sequence:" to <LF>. Click "OK" to close Text Settings. Click "OK" again to close Terminal Settings.

            Ian

            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

            1 Reply Last reply Reply Quote 0
            • undefined
              mikep91 @jay_s_uk
              last edited by 3 Oct 2023, 12:22

              @jay_s_uk

              You are a star - these files worked and my wifi control is setup! Where did you find these?

              I am getting so confused at looking at the Github with all the different versions - whilst almost not knowing which version I am running myself.

              Are there any way to flash Paneldue through the Duet Wifi Control?

              I am looking for the 1.24 Paneldue as this is working on the other robots.
              https://github.com/Duet3D/PanelDueFirmware/releases/tag/1.25.0

              Would this work just as fine?

              __

              @droftarts
              Thank you for the reply.

              I will look into upgrading towards 3.x as i have a spare duet and i dont want these troubles again 🙂
              I will try to flash new software and make it work with the M308 instead of M305 commands.

              Webinterface.PNG

              undefined 1 Reply Last reply 3 Oct 2023, 12:26 Reply Quote 0
              • undefined
                jay_s_uk @mikep91
                last edited by 3 Oct 2023, 12:26

                @mikep91 they were under the RRF 2 release on github.
                RRF can sometimes be picky about running mismatched firmware/DWC versions depends on how much has changed between the versions used.

                You could upgrade your spare board to the latest version, use a generic config and then use that board to upgrade (or downgrade) the paneldue firmware. I'm unsure whether 1.25 will be compatible with RRF2.0

                I would suggest that you post your config and homing files etc to a new topic and then we can help you convert them to RRF3 and get you upgraded to the latest firmware where everything should play nicely

                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                undefined 1 Reply Last reply 3 Oct 2023, 12:36 Reply Quote 0
                • undefined
                  mikep91 @jay_s_uk
                  last edited by 3 Oct 2023, 12:36

                  @jay_s_uk
                  Ahh damn so i would need a 3x version to be able to update through the SD card on the board. - Makes sense.

                  The current one that is working with my 2,0, is version 1.24 (Documentation says 1.25 works on all models though) "For all versions of RepRapFirmware up to RRF 3.1.1, and all versions of PanelDue, use PanelDue firmware version 1.25.0."

                  But i have no chance to flash the software to the display at the moment. I am getting no connections when plugging the USB to the display directly.

                  I will definetly make a new topic in regards to updating the duet's firmware to RRF 3.
                  What do you mean by homing files? 🐵

                  undefined 1 Reply Last reply 3 Oct 2023, 12:40 Reply Quote 0
                  • undefined
                    jay_s_uk @mikep91
                    last edited by 3 Oct 2023, 12:40

                    @mikep91 i've found USB updating to not be too bad with paneldues. I usually disconnect them and connect to them through a powered hub.

                    and don't worry about homing files as i forgot you don't use the duet for motion control. therefore just your config file will suffice

                    Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                    undefined 1 Reply Last reply 3 Oct 2023, 13:05 Reply Quote 0
                    • undefined
                      mikep91 @jay_s_uk
                      last edited by 3 Oct 2023, 13:05

                      @jay_s_uk

                      I will give it a try.

                      Regards to updating to 3x. will this file be ok for upgrading? Duet2Combinedfirmware

                      f6706862-cd88-49d6-b465-ddbb7f9ab38a-image.png

                      undefined 1 Reply Last reply 3 Oct 2023, 13:06 Reply Quote 0
                      • undefined
                        jay_s_uk @mikep91
                        last edited by 3 Oct 2023, 13:06

                        @mikep91 yep, thats the one if doing it through bossa.
                        if you want to update through the web interface you need to do 2.0 to 2.05.1 to RRF3 to RRF 3.3 to RRF 3.4.6

                        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                        undefined 2 Replies Last reply 3 Oct 2023, 13:17 Reply Quote 0
                        • undefined
                          mikep91 @jay_s_uk
                          last edited by 3 Oct 2023, 13:17

                          @jay_s_uk

                          Cool stuff.

                          I just got this Duet2Combined on the spare duet using Bossa.

                          This duet should now be able to do firmware upgrades on the paneldue when I get it on wifi - or could this be done through the SD card on DUET?

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            mikep91 @jay_s_uk
                            last edited by 3 Oct 2023, 13:26

                            @jay_s_uk

                            I just got the new Duet 3,4 on the wifi using Yat -

                            However when connecting to the HTTP I am getting this error again:

                            Your Duet rejected the HTTP request: page not found
                            Check that the SD card is mounted and has the correct files in its /www folder

                            the www. folder is what i got from the Reprap configuration tool.

                            Do you have a magic link for the web control for 3,4 Combined software?

                            undefined undefined 2 Replies Last reply 3 Oct 2023, 13:27 Reply Quote 0
                            • undefined
                              jay_s_uk @mikep91
                              last edited by 3 Oct 2023, 13:27

                              @mikep91 https://github.com/Duet3D/RepRapFirmware/releases/download/3.4.6/DuetWebControl-SD.zip

                              for update the paneldue, when you get the web interface working, just upload the paneldue file and it'll ask you if you want to update. just click yes

                              Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                mikep91 @mikep91
                                last edited by 3 Oct 2023, 13:28

                                @mikep91

                                This is my current www. folder

                                35ec5abc-7105-433d-971d-4a6ab3466192-image.png

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  mikep91
                                  last edited by 3 Oct 2023, 13:32

                                  For some reason this does not work with my new 3,4 duet....

                                  1996221c-6772-42a2-81f7-cca327f23a64-image.png

                                  Should I have the firmware files in the SYS folder?

                                  undefined 1 Reply Last reply 3 Oct 2023, 13:36 Reply Quote 0
                                  • undefined
                                    mikep91 @mikep91
                                    last edited by 3 Oct 2023, 13:36

                                    @mikep91

                                    I did a m122 diagnostics and i got this long pile:

                                    === Diagnostics ===
                                    RepRapFirmware for Duet 2 WiFi/Ethernet version 3.4.6 (2023-07-21 14:08:28) running on Duet WiFi 1.02 or later
                                    Board ID: 08DGM-917Q9-GLMS8-6J1F6-3SJ6T-TGHW9
                                    Used output buffers: 1 of 26 (2 max)
                                    === RTOS ===
                                    Static ram: 23896
                                    Dynamic ram: 73392 of which 0 recycled
                                    Never used RAM 14792, free system stack 188 words
                                    Tasks: NETWORK(ready,12.3%,350) HEAT(notifyWait,0.0%,388) Move(notifyWait,0.0%,363) MAIN(running,86.5%,620) IDLE(ready,1.1%,30), total 100.0%
                                    Owned mutexes: WiFi(NETWORK) USB(MAIN)
                                    === Platform ===
                                    Last reset 00:01:12 ago, cause: power up
                                    Last software reset details not available
                                    Error status: 0x00
                                    Step timer max interval 0
                                    MCU temperature: min 33.7, current 37.9, max 38.1
                                    Supply voltage: min 0.7, current 1.7, max 1.8, under voltage events: 0, over voltage events: 0, power good: no
                                    Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
                                    Events: 0 queued, 0 completed
                                    Driver 0: ok, SG min n/a
                                    Driver 1: ok, SG min n/a
                                    Driver 2: ok, SG min n/a
                                    Driver 3: ok, SG min n/a
                                    Driver 4: ok, SG min n/a
                                    Driver 5:
                                    Driver 6:
                                    Driver 7:
                                    Driver 8:
                                    Driver 9:
                                    Driver 10:
                                    Driver 11:
                                    Date/time: 1970-01-01 00:00:00
                                    Cache data hit count 3027274418
                                    Slowest loop: 99.60ms; fastest: 0.13ms
                                    I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
                                    === Storage ===
                                    Free file entries: 10
                                    SD card 0 detected, interface speed: 20.0MBytes/sec
                                    SD card longest read time 0.7ms, write time 0.0ms, max retries 0
                                    === Move ===
                                    DMs created 83, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000
                                    === MainDDARing ===
                                    Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
                                    === AuxDDARing ===
                                    Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
                                    === Heat ===
                                    Bed heaters -1 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
                                    === GCodes ===
                                    Segments left: 0
                                    Movement lock held by null
                                    HTTP is idle in state(s) 0
                                    Telnet is idle in state(s) 0
                                    File is idle in state(s) 0
                                    USB is ready with "M122" in state(s) 0
                                    Aux is idle in state(s) 0
                                    Trigger is idle in state(s) 0
                                    Queue is idle in state(s) 0
                                    LCD is idle in state(s) 0
                                    Daemon is idle in state(s) 0
                                    Autopause is idle in state(s) 0
                                    Code queue is empty
                                    === Network ===
                                    Slowest loop: 14.02ms; fastest: 0.00ms
                                    Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
                                    HTTP sessions: 0 of 8
                                    = WiFi =
                                    Interface state: active
                                    Module is connected to access point
                                    Failed messages: pending 0, notready 0, noresp 0
                                    WiFi firmware version 1.21
                                    WiFi MAC address 84:f3:eb:dd:cf:42
                                    WiFi Vcc 3.34, reset reason Turned on by main processor
                                    WiFi flash size 4194304, free heap 16712
                                    WiFi IP address 192.168.0.78
                                    WiFi signal strength -73dBm, mode none, reconnections 0, sleep mode modem
                                    Clock register ffffffff
                                    Failed to request ESP stats
                                    Socket states: 0 0 0 0 0 0 0 0
                                    ok

                                    undefined 1 Reply Last reply 3 Oct 2023, 15:09 Reply Quote 0
                                    • undefined
                                      droftarts administrators @mikep91
                                      last edited by 3 Oct 2023, 15:09

                                      @mikep91 For the SD card structure, see https://docs.duet3d.com/en/User_manual/RepRapFirmware/SD_card

                                      You need to run the version of DWC that ships with the firmware. It would be better if you downloaded the zip file of the whole RRF 3.4.6 firmware release In the case of RRF 3.4.6, ie " Duet2and3Firmware-3.4.6.zip" from https://github.com/Duet3D/RepRapFirmware/releases/tag/3.4.6 which has all the files you need.

                                      This includes the correct firmware for your Duet board, the correct version of DWC, the updated WiFi firmware, and the IAP binary file (In-application programmer), which is used to update the firmware when using DWC. See https://docs.duet3d.com/en/User_manual/RepRapFirmware/Updating_firmware#required-files

                                      For a list of things you need to change from 2.x to 3.x, see https://docs.duet3d.com/User_manual/RepRapFirmware/Migration_RRF2_to_RRF3

                                      Ian

                                      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                                      1 Reply Last reply Reply Quote 0
                                      7 out of 18
                                      • First post
                                        7/18
                                        Last post
                                      Unless otherwise noted, all forum content is licensed under CC-BY-SA