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

    Question about Sammy-C21 board

    Scheduled Pinned Locked Moved
    Firmware developers
    8
    34
    1.2k
    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 @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 small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. 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 small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. 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
                        • fcwiltundefined
                          fcwilt @dc42
                          last edited by

                          @dc42 said in Question about Sammy-C21 board:

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

                          That works.

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

                          Good to know.

                          Perhaps the documentation should be updated?

                          Frederick

                          Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

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

                            @fcwilt the documentation already says to use MSYS2. Where in it did you find a reference to Gnu ARM Eclipse?

                            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
                            • fcwiltundefined
                              fcwilt @dc42
                              last edited by fcwilt

                              @dc42 said in Question about Sammy-C21 board:

                              @fcwilt the documentation already says to use MSYS2. Where in it did you find a reference to Gnu ARM Eclipse?

                              When reading about the Sammy hardware here...

                              https://docs.duet3d.com/Duet3D_hardware/Duet_3_family/Using_the_Sammy-C21_development_board_with_Duet_3

                              ... there are links near the bottom to github.

                              Follow these links and there is mention of things needing to be done.

                              This is just one of the links:

                              github.com/Duet3D/Duet3Expansion

                              The link you provided is much more comprehensive.

                              Thanks much.

                              Frederick

                              Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

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

                                @fcwilt I've updated the Github repo readme to point at the wiki, which has the correct instructions and a link to the main RRF build instructions. https://github.com/Duet3D/Duet3Expansion/wiki/Building-Duet3Expansion

                                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

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

                                  @droftarts

                                  Excellent. Thanks.

                                  Frederick

                                  Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

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