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

    Question about Sammy-C21 board

    Scheduled Pinned Locked Moved
    Firmware developers
    8
    34
    1.6k
    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.
    • T3P3Tonyundefined
      T3P3Tony administrators @omtek
      last edited by

      @omtek said in Question about Sammy-C21 board:

      Duet3Expansion 3.5-dev
      CANlib 3.5-dev
      RRFLibraries 3.5-dev
      CoreN2G 3.5-dev
      FreeRTOS 3.5-dev
      Qfplib-M0-full 3.5-dev

      If you are starting a new project i would base it off the 3.6-dev

      www.duet3d.com

      fcwiltundefined 1 Reply Last reply Reply Quote 2
      • fcwiltundefined
        fcwilt @T3P3Tony
        last edited by

        @T3P3Tony

        Thanks for the info.

        I am running firmware 3.4.6 on my two Mini 5+ boards.

        Will the 3.6 you mentioned work with the boards despite them being at 3.4.6?

        Frederick

        Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

        T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
        • T3P3Tonyundefined
          T3P3Tony administrators @fcwilt
          last edited by

          @fcwilt all the firmware builds need to be the same version. If you don't want to update to 3.6beta yet then you will need to build the version that's the same as you want to run on the mainboard.

          www.duet3d.com

          fcwiltundefined 1 Reply Last reply Reply Quote 1
          • fcwiltundefined
            fcwilt @T3P3Tony
            last edited by

            @T3P3Tony

            I thought that might be the case.

            Thanks.

            Frederick

            Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

            DIY-O-Sphereundefined 1 Reply Last reply Reply Quote 0
            • DIY-O-Sphereundefined
              DIY-O-Sphere @fcwilt
              last edited by

              @fcwilt
              To me it sounds like you have to buy a cow to get a liter of milk.

              (UTC+1)

              fcwiltundefined 1 Reply Last reply Reply Quote 0
              • fcwiltundefined
                fcwilt @DIY-O-Sphere
                last edited by

                @DIY-O-Sphere said in Question about Sammy-C21 board:

                @fcwilt
                To me it sounds like you have to buy a cow to get a liter of milk.

                ??? I have no idea what that means ???

                Frederick

                Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                DIY-O-Sphereundefined 1 Reply Last reply Reply Quote 0
                • DIY-O-Sphereundefined
                  DIY-O-Sphere @fcwilt
                  last edited by DIY-O-Sphere

                  @fcwilt
                  It means that the effort is quite high.
                  It's a poor performance that the latest firmware is no longer provided.
                  Until now I thought the Sammy-C21 is a cool option, but not any more....

                  (UTC+1)

                  sebkritikelundefined T3P3Tonyundefined 2 Replies Last reply Reply Quote 0
                  • sebkritikelundefined
                    sebkritikel @DIY-O-Sphere
                    last edited by sebkritikel

                    @DIY-O-Sphere said in Question about Sammy-C21 board:

                    @fcwilt
                    It means that the effort is quite high.
                    It's a poor performance that the latest firmware is no longer provided.
                    Until now I thought the Sammy-C21 is a cool option, but not any more....

                    You must be mistaken, the latest compiled firmware for the Sammy-C21 is 100% up to date with 3.6.0 Beta 3 here: https://github.com/Duet3D/RepRapFirmware/releases , and you can see the 3.6-dev branch here: https://github.com/Duet3D/Duet3Expansion/tree/3.6-dev

                    I've recently worked on a Sammy-C21 project and the firmware is up to date and available.

                    Large(ish?) IDEX - 6HC, 1HCL
                    Stratasys Dimension 1200es to 6HC Conversion

                    DIY-O-Sphereundefined 1 Reply Last reply Reply Quote 0
                    • T3P3Tonyundefined
                      T3P3Tony administrators @DIY-O-Sphere
                      last edited by

                      @DIY-O-Sphere the dev work would be if the example firmware for the sammyc21 did not provide the required IO for example, not to bring it up to the latest version

                      www.duet3d.com

                      1 Reply Last reply Reply Quote 0
                      • DIY-O-Sphereundefined
                        DIY-O-Sphere @sebkritikel
                        last edited by

                        @sebkritikel
                        Thanks for the clarification. And for the correct reference.
                        If you go to the sammy-c21 documentation. The dev branch is linked and as far as I can see it ends with 3.4.2.
                        Maybe i'm too stupid to use github.

                        (UTC+1)

                        T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                        • T3P3Tonyundefined
                          T3P3Tony administrators @DIY-O-Sphere
                          last edited by

                          @DIY-O-Sphere please can you post the page you mean I will update the docs

                          www.duet3d.com

                          DIY-O-Sphereundefined 1 Reply Last reply Reply Quote 0
                          • DIY-O-Sphereundefined
                            DIY-O-Sphere @T3P3Tony
                            last edited by

                            @T3P3Tony
                            https://docs.duet3d.com/en/Duet3D_hardware/Duet_3_family/Using_the_Sammy-C21_development_board_with_Duet_3#duet3d-firmware-source-code-for-sammyc21
                            Sorry I have overseen that the section is for the source code.

                            But still can't get it to see the right release.
                            Shouldn't it show 3.5.4 and switch when you select a different version in the branch pulldown?
                            Or is it just because the zip file for the version is missing?

                            fe8bcd9c-722e-4796-89bc-7cf066a0ce3e-grafik.png

                            I would suggest putting the section Loading firmware at the end. And i think it needs a bit of a rework

                            I am still confused as to why the firmware has to be adapted. The table shows many ports that can be used as input.
                            The original request was here
                            As far as i can see, standard io's can do the job.
                            What am I missing here?

                            (UTC+1)

                            sebkritikelundefined T3P3Tonyundefined 2 Replies Last reply Reply Quote 0
                            • sebkritikelundefined
                              sebkritikel @DIY-O-Sphere
                              last edited by

                              @DIY-O-Sphere said in Question about Sammy-C21 board:

                              As far as i can see, standard io's can do the job.
                              What am I missing here?

                              Can at least answer this! As an example, some folks have modified the source to allow the Sammy-C21 to drive 2x external drivers. The 'example' source (or standard release) is set up to only drive a single external driver. For the 2x external driver version, this has been used by some as part of the ERCF multi-filament system, as seen here: https://forum.duet3d.com/topic/27573/canned-ercf-board-v1-0-beta2/24

                              Large(ish?) IDEX - 6HC, 1HCL
                              Stratasys Dimension 1200es to 6HC Conversion

                              1 Reply Last reply Reply Quote 1
                              • T3P3Tonyundefined
                                T3P3Tony administrators @DIY-O-Sphere
                                last edited by T3P3Tony

                                @DIY-O-Sphere the releases are now released as part of the main RepRapFirmware repository. E.g.:

                                https://github.com/Duet3D/RepRapFirmware/releases/download/3.6.0-beta.3/Duet3Firmware_SAMMYC21.bin

                                You can select the source branch in GitHub for the expansion project, here is 3.5-dev:

                                https://github.com/Duet3D/Duet3Expansion/tree/3.6-dev

                                You are correct that the default firmware has lots of IO enabled so if that's enough for @fcwilt then they won't need to modify it. If however they need more, they can.

                                www.duet3d.com

                                DIY-O-Sphereundefined fcwiltundefined 2 Replies Last reply Reply Quote 1
                                • DIY-O-Sphereundefined
                                  DIY-O-Sphere @T3P3Tony
                                  last edited by

                                  @T3P3Tony said in Question about Sammy-C21 board:

                                  T3P3Tony
                                  administrators
                                  8 Feb 2025, 20:51

                                  @DIY-O-Sphere the releases are now released as part of the main RepRapFirmware repository. E.g.:

                                  With the hint of @sebkritikel I got that.....would be nice to add that to the documentation....

                                  @T3P3Tony said in Question about Sammy-C21 board:

                                  You are correct that the default firmware has lots of IO enabled so if that's enough for @fcwilt then they won't need to modify it

                                  Hallelujah....

                                  (UTC+1)

                                  1 Reply Last reply Reply Quote 0
                                  • fcwiltundefined
                                    fcwilt @T3P3Tony
                                    last edited by

                                    @T3P3Tony

                                    Hi,

                                    As part of my quest to figure out how to use the Eclipse IDE to create custom Sammy code I keep encountering things that lead to questions.

                                    In the github sections for Duet3BootLoader and Duet3Expansion there are a couple of lines for which I need guidance.

                                    This is the first line: Modify your PATH environment variable to include the 'bin' folder of the GNU ARM Eclipse istallation.

                                    I added this :

                                    C:\Program Files\GNU ARM Eclipse\Build Tools\2.6-201507152002\bin

                                    Is that correct?

                                    This was already present:

                                    C:\Program Files (x86)\GNU Arm Embedded Toolchain\10 2021.10\bin

                                    Is it also correct?

                                    This is the second line: Run "which rm" and "which make" to make sure that rm and make will be fetched from that folder.

                                    On my computer running Windows 11 "which" is not recognized.

                                    What is it supposed to do? Where is it supposed to be found?

                                    Thanks.

                                    Frederick

                                    Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                                    T3P3Tonyundefined gloomyandyundefined dc42undefined 3 Replies Last reply Reply Quote 0
                                    • T3P3Tonyundefined T3P3Tony moved this topic from Duet Hardware and wiring
                                    • T3P3Tonyundefined
                                      T3P3Tony administrators @fcwilt
                                      last edited by

                                      @fcwilt moved to firmware dev category. This is outside of my knowledge!

                                      www.duet3d.com

                                      1 Reply Last reply Reply Quote 1
                                      • gloomyandyundefined
                                        gloomyandy @fcwilt
                                        last edited by

                                        @fcwilt Before you go too far down the rathole of building firmware and bootloaders, are you sure you actually need to build either of them? From other comments in this thread (and your previous one), it would seem that the standard build for the Sammy-C21 board may do all that you need. If you only want a set of firmware that allows the Sammy to do whatever it is you need, then please provide details of the functions you require and hopefully we can help work out if you need to modify/build the firmware or not.

                                        Of course if you want to build the firmware/bootloader "just because" then ignore this message and carry on (good luck!).

                                        fcwiltundefined 1 Reply Last reply Reply Quote 1
                                        • fcwiltundefined
                                          fcwilt @gloomyandy
                                          last edited by

                                          @gloomyandy

                                          I think the standard firmware will work fine.

                                          I would just like to understand how to do it. I did embedded process controller programs years ago, but back then the development environment consisted of an text editor and a compiler. The Eclipse IDE seems to have many more moving parts.

                                          Frederick

                                          Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                                          1 Reply Last reply Reply Quote 1
                                          • dc42undefined
                                            dc42 administrators @fcwilt
                                            last edited by dc42

                                            @fcwilt said in Question about Sammy-C21 board:

                                            On my computer running Windows 11 "which" is not recognized.

                                            Try "where rm" and "where make" instead.

                                            BTW I no longer suggest using Gnu Arm Eclipse. Use MSYS2 instead. See https://github.com/Duet3D/RepRapFirmware/wiki/Building-RepRapFirmware.

                                            Duet WiFi hardware designer and firmware engineer
                                            Please do not ask me for Duet support via PM or email, use the forum
                                            http://www.escher3d.com, https://miscsolutions.wordpress.com

                                            fcwiltundefined 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA