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

    Cannot get from DWC 2 to 3. BOSSA is not working (MAC) computer

    Scheduled Pinned Locked Moved Solved
    Firmware installation
    3
    8
    379
    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.
    • NOVAprintundefined
      NOVAprint
      last edited by

      I have been trying to install the DWC correctly for a while now. I was able to get DWC to appear, but I was on DWC 3.1.1 somehow I uploaded a newer version of DWC and the whole thing crashed.

      I tried to copy the correct file structure, but the structure was different between 2 and 3 so I am at a bit of a loss. I Will share my incorrect file structure given the OS current conditions shared by an m115

      m115
      FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.0 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2020-01-03b3
      ok
      For further background here is the result of am M997
      Shutting down USB interface to update main firmware. Try reconnecting after 30 seconds.
      RepRapFirmware for Duet 2 WiFi/Ethernet version 3.4.3
      Executing config.g… HTTP is enabled on port 80
      FTP is disabled
      TELNET is disabled

      I was able to get the DWC to appear under these conditions but I was not able to upgrade the board OS with M997 S:1

      Error: M997: In-application programming binary “0:/firmware/Duet2_SDiap32_WiFiEth.bin” not found
      ok

      Error: M997: In-application programming binary “0:/firmware/Duet2_SDiap32_WiFiEth.bin” not found
      ok
      a7c7ffb9-5665-4a89-bb41-d24052c6dff7-Duet2CombinedFirmware.bin

      Here are my sd contents

      Duet2CombinedFirmware.bin
      Duet2CombinedIAP.bin
      DuetWebControl-SD-2.04.zip
      DuetWiFiServer.bin

      Also my thermistors are not reporting any temps
      M305 P0 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 0
      M143 H0 S120 ; set temperature limit for heater 0 to 120C
      M305 P1 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 1
      M143 H1 S280 ; set temperature limit for heater 1 to 280C

      I have about five 3d printers with similar firmware challenges. If I can get help wit this one I will likely be able to change everything over. I do not have BOSSA or SamBA as options, already tried. Using the booting through the SD card.

      droftartsundefined 1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        So the Duet has firmware 3.0 on it? I would suggest that the easiest way to get up to date without Bossa and USB flashing would be to get DWC up and running on firmware 3.0 and then using the web interface to update.

        Don't erase the firmware on the board! Without bossa/samba you won't be able to recover. Though there is working versions of bossa for mac if it comes to that. Or you could use a Pi.

        M997 isn't going t work unless you also have the required IAP files for that version.

        To get DWC up and running your SD card will need a folder named www. Inside that folder you'll need to extract the DWC zip file version that will work with firmware 3.0.

        This one should do it: https://github.com/Duet3D/DuetWebControl/releases/download/2.1.7/DuetWebControl-SD.zip

        So extract that file into the www folder.

        Then you will need to use a USB connection and terminal software to setup the network. Instructions for that here: https://docs.duet3d.com/en/How_to_guides/Getting_connected/Getting_connected_to_your_Duet

        Once you have access to the web interface in your browser you can update the firmware the rest of the way by uploading a single zip file for each version.

        I would start with the 3.0 file again just to make sure all the other required files are present. Then move on to the latest.

        https://github.com/Duet3D/RepRapFirmware/releases/download/3.0/Duet2and3Firmware-3.0.zip

        https://github.com/Duet3D/RepRapFirmware/releases/download/3.4.3/Duet2and3Firmware-3.4.3.zip

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator
          last edited by

          Perhaps I'm mistaken and you've made the firmware upgrade to 3.4.3. If that is the case, then the DWC file you would want is this one: https://github.com/Duet3D/DuetWebControl/releases/download/v3.4.3/DuetWebControl-SD.zip

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • droftartsundefined
            droftarts administrators @NOVAprint
            last edited by droftarts

            @novaprint Generally, you need to run the same version of DWC that ships with the firmware. This is particularly important with more recent versions of the firmware. It looks like the board has been updated to the latest; it says it is now on 'RepRapFirmware for Duet 2 WiFi/Ethernet version 3.4.3'. So you shouldn't need to run M997 S1 again.

            Most likely, you need to update the SD card with the 3.4.3 version of DWC. Do this by:

            1. Go to https://github.com/Duet3D/RepRapFirmware/releases/tag/3.4.3
            2. Download "DuetWebControl-SD.zip"
            3. Extract this zip file. It should extract into a folder named "DuetWebControl-SD"
            4. Rename this folder "www"
            5. Copy the folder to the SD card, replacing any existing "www" folder
            6. Reset the Duet. You should then be able to connect to DWC, assuming that the WiFi is connecting to your network and getting an IP address.

            Your SD card may not have quite the right structure. See https://docs.duet3d.com/en/User_manual/RepRapFirmware/SD_card to get it right. A '/firmware' folder was introduced with RRF 3.3. It looks like the firmware files you have are old, probably for RRF 2.x. You may also need to update the WiFi server firmware. However, for all of the above, once you can connect to DWC, upload the "Duet2and3Firmware-3.4.3.zip" from the Github repo (don't unzip it first), and it should put all the required files in the right places.

            Finally, your thermistors. You are using RRF 2.x commands. You probably need to update your config.g and other files to RRF 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

            NOVAprintundefined 1 Reply Last reply Reply Quote 0
            • NOVAprintundefined
              NOVAprint
              last edited by NOVAprint

              droftarts

              I thought that I read in the DWC repository that if I used the online config tool, I would get the update gcode identifiers. Looks like you are saying that is not the case. To clarify, I downloaded a json file, used the configuration tool and I still cannot get info from the temp sensors. It looks like I have to do that manually? Do I need to compose from scratch to get the changes of Gcode from duet 2 to 3?

              from the link we have both seen. No caveats about using existing json, however it looks like this may be a reality.

              Important! These instructions relate to RRF3.0 and to some extent to later versions of RRF3 however they are not kept up to date. Please refer to the Gcode Dictionary and use the RepRapFirmware configuration tool to migrate from RRF2 to RRF3.

              1 Reply Last reply Reply Quote 0
              • NOVAprintundefined
                NOVAprint @droftarts
                last edited by

                @droftarts It looks like this solved my problem thanks

                droftartsundefined 1 Reply Last reply Reply Quote 0
                • droftartsundefined
                  droftarts administrators @NOVAprint
                  last edited by

                  @NOVAprint Yes, you can use the config tool to update a configuration from RRF 2 to 3, so long as you have an existing RRF v2 config.json file. You can open it in the config tool on the first page. Then, on the 'General' page, under 'General settings', change the 'Firmware version' to the version you now want to use, and the config tool should update most settings. I've just tested this, and it still works. You will need to check it through (BLTouch settings didn't work automatically for me), but most setting should be brought in.

                  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
                  • NOVAprintundefined
                    NOVAprint
                    last edited by

                    I have gotten up and running now. But the Thermistor is reporting incorrect values. I will search and start anew thread.

                    1 Reply Last reply Reply Quote 1
                    • dc42undefined dc42 marked this topic as a question
                    • dc42undefined dc42 has marked this topic as solved
                    • First post
                      Last post
                    Unless otherwise noted, all forum content is licensed under CC-BY-SA