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

    DUET 2 Wifi, DIAG Led is constantly ON, no respond from terminal

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    46
    2.5k
    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.
    • darkcolmanundefined
      darkcolman @droftarts
      last edited by

      @droftarts Thank you for your reply and sorry for this late reply.
      I've formatted my SD card again and I have put back the "Duet2CombinedFirmware.bin" file on the sd card and put back the sd card on the board.

      But As I said, I can't do anything because I can't have a dialog with the board through Serial Tool and the terminal says that the permission is denied (same thing that the first picture from my first post).

      Also I still have the DIAG led on.

      Maybe I've done something wrong, I don't know from where I should start...

      Thank you

      Jeff

      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @darkcolman
        last edited by

        @darkcolman you need to use the instructions linked to above to do fall back procedure number 2

        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
        • droftartsundefined
          droftarts administrators
          last edited by

          @darkcolman putting the firmware on the SD card does not flash the firmware onto the board. See the link in my previous post for flashing firmware to a board where the firmware has been erased.

          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

          darkcolmanundefined 1 Reply Last reply Reply Quote 1
          • darkcolmanundefined
            darkcolman @droftarts
            last edited by

            @droftarts and @jay_s_uk

            I have followed the fallback procedure #2.
            I'm on Mac, so I've downloaded and run Pronterface but still, it can see the 'usbmodem1201' but can't go further than "connecting...". I can't have any access.

            So I've continued and install Bossa but it's crashing instantly.
            I've done some research and I needed to install home-brew to make it work.
            That what I've done, I've install wget and wxwidgets and it's still not working ... Maybe because I've have an M1 computer .

            Let me know what I've done wrong ...

            Thank you for your help, I really appreciate

            Jeff

            jay_s_ukundefined droftartsundefined 2 Replies Last reply Reply Quote 0
            • jay_s_ukundefined
              jay_s_uk @darkcolman
              last edited by

              @darkcolman i'm not sure bossa has M1 support. i believe @droftarts is a mac user so should be able to help further

              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 1
              • droftartsundefined
                droftarts administrators @darkcolman
                last edited by

                @darkcolman Ah, you are on an M1 Mac. Unfortunately, Bossa (with the user interface) hasn't been compiled for M1 or M2 Macs. Fortunately bossac, the command line version, has been tested and does work. Grab (if you haven't already) the latest release from https://github.com/shumatech/BOSSA/releases/latest which should be bossa-1.9.1.dmg. Open it and you should be presented with:

                beac0223-5d5f-4c4a-a01f-97143622bce5-image.png

                Drag the 'bossac' icon to the 'bin' folder. This installs the bossac command line utility. You can eject the bossa.dmg file after this.

                Open a Terminal window (usually in Application > Utilities > Terminal ). In the Finder, find the folder where the firmware is downloaded. In the Terminal windows, type cd (with a space after) and then drag the folder that contains the firmware onto the terminal window. It should fill in the rest of the 'cd' (change directory) command. Press return. The Terminal window should now be in the directory with the firmware files. Type ls (list directory) to see the files in the folder, check that 'Duet2CombinedFirmware.bin' is there.

                242333e2-1fc6-4f74-9804-0a174cb0d668-image.png

                Plug in your Duet, and check the USB port name by sending ls /dev/tty.*
                f8895d4f-b72d-4fda-a727-8f8c0c8484cb-image.png
                Mine is '/dev/tty.usbmodem14201', but yours is probably 'usbmodem1201'. Now run the bossac command, using your USB port name:
                bossac -e -w -v -b -R -p /dev/cu.usbmodem1201 Duet2CombinedFirmware.bin
                This should erase the flash memory (-e parameter), write the new firmware (-w), verify the firmware (-v), set the boot flag (-b), and reset the Duet (-R). -p sets the port to use.
                f17d38c2-af41-4f80-9890-23e8ab9905d4-image.png

                If it doesn't find the Duet, check you put the port name in correctly, and erase the firmware (put a jumper on the ERASE pins), press the reset button on the Duet, remove the jumper.

                If it doesn't find the firmware .bin file, check you are in the correct directory.

                Hopefully your Duet will be up and running again.

                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

                jay_s_ukundefined 1 Reply Last reply Reply Quote 2
                • jay_s_ukundefined
                  jay_s_uk @droftarts
                  last edited by

                  @droftarts is this added to the instructions? might be worth it under the mac section if not

                  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

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

                    @jay_s_uk It is mentioned, but very briefly. I'll update it with a note for M1 and M2 Macs, and update my post here: https://forum.duet3d.com/post/103234

                    As far as I'm aware, no macOS version of bossa/bossac will flash the Duet 3 mainboard 6HC (and probably not the 6XD as well), including the @MartinNYHC version. @chrishamm has been looking at it, but hasn't worked out why.

                    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 1
                    • darkcolmanundefined
                      darkcolman
                      last edited by

                      @droftarts @jay_s_uk it works ! the duet 2 is back ! Big thanks for that !
                      I can talk with the board through Pronterface ! But I still have some issues ...

                      So I have sent an M115 and the firmware 3.4.1 seems to be in the duet.
                      So I have followed the back procedure number 1.
                      I have sent a M997 S0 and M997 S1 and the app can't find the file on the SD card ...
                      Capture d’écran 2022-07-22 à 15.17.55.png

                      Capture d’écran 2022-07-22 à 15.22.46.png

                      I have tried different types of name of subfile ( all the bin files are in each subfolder ) but the app can't find any bin file ...
                      What have I done wrong again ?

                      Thank you

                      Jeff

                      1 Reply Last reply Reply Quote 0
                      • jay_s_ukundefined
                        jay_s_uk
                        last edited by

                        @darkcolman the DuetWifiServer.bin file needs to be in the firmware folder (no leading /)

                        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

                        darkcolmanundefined 2 Replies Last reply Reply Quote 0
                        • darkcolmanundefined
                          darkcolman @jay_s_uk
                          last edited by

                          @jay_s_uk I have already Done this

                          Capture d’écran 2022-07-22 à 15.37.04.png

                          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                          • darkcolmanundefined
                            darkcolman @jay_s_uk
                            last edited by

                            @jay_s_uk I have also change the name of the sd card "0" after to receive the message from pronterface. Before the SD card named "WORKBEE"

                            1 Reply Last reply Reply Quote 0
                            • jay_s_ukundefined
                              jay_s_uk @darkcolman
                              last edited by

                              @darkcolman you're on 3.4.1 so theres no need to send M997 S0 (as that updates the mainboard firmware, which is already up to date) you just need M997 S1.

                              you also don't need to change the name of the SD card. 0:/ is the name internally used by RRF to identify the sd card slot in the board

                              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

                              darkcolmanundefined 1 Reply Last reply Reply Quote 0
                              • darkcolmanundefined
                                darkcolman @jay_s_uk
                                last edited by

                                @jay_s_uk on the picture, I've done as well the command M997 S1. the file is not found easer. And it's been placed in the good subflle at the beginning with the correct name

                                jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                                • jay_s_ukundefined
                                  jay_s_uk @darkcolman
                                  last edited by

                                  @darkcolman what format is the SD card?

                                  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

                                  darkcolmanundefined 1 Reply Last reply Reply Quote 0
                                  • darkcolmanundefined
                                    darkcolman @jay_s_uk
                                    last edited by

                                    @jay_s_uk FAT 32

                                    jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                                    • jay_s_ukundefined
                                      jay_s_uk @darkcolman
                                      last edited by

                                      @darkcolman post an 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

                                      darkcolmanundefined 1 Reply Last reply Reply Quote 0
                                      • darkcolmanundefined
                                        darkcolman @jay_s_uk
                                        last edited by

                                        @jay_s_uk
                                        Capture d’écran 2022-07-22 à 16.06.00.png Capture d’écran 2022-07-22 à 16.05.55.png

                                        darkcolmanundefined 1 Reply Last reply Reply Quote 0
                                        • darkcolmanundefined
                                          darkcolman @darkcolman
                                          last edited by darkcolman

                                          @jay_s_uk weird, the SD card seems not detected ...
                                          I can say that when it's fully inserted, I can hear a faint click and when I push again, it release the SD card.
                                          and all pins seems okay to me

                                          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                                          • jay_s_ukundefined
                                            jay_s_uk @darkcolman
                                            last edited by

                                            @darkcolman that was my guess that the sd card wasn't being detected. I would reformat the sd card using the sd card formatter and start again https://www.sdcard.org/downloads/formatter/
                                            or try another sd card
                                            if that doesn't work, try M39 and see what it reports

                                            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 1
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA