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

      Hi,

      In response to another post of mine the Sammy-C21 was suggested as a possible solution.

      I've been reading up a bit about that device and ran across this link in the Duet documentation:

      You can find our sample firmware in this project on Github

      Well, I clicked the link and it went to this page but I have little idea what I am looking at. Where is this sample project? Thanks much.

      Sammy-C21 Sample Project Page.jpg

      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 dc42

        @fcwilt you load that project and the ones it depends on into Eclipse, then you build the SAMMYC21 configuration of it.

        de1157c3-0007-4ef6-8b92-01d4a5429c4e-image.png

        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

          Thanks for the reply.

          I downloaded the Eclipse installer and ran it. It presented a number of different IDE options.

          Which do I choose?

          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

          omtekundefined 1 Reply Last reply Reply Quote 0
          • omtekundefined
            omtek @fcwilt
            last edited by

            @fcwilt I'm using a Sammy-C21 on a CannedERCF and created a build environment for compiling firmware so I'll try to remember the steps:

            Towards the bottom of the Duet3Expansion repository are the links to three packages you need to download (gcc cross compiler, the Eclipse IDE, and the GNU Arm Eclipse bundle)

            Install them.

            When installing Eclipse you want Eclipse for C/C++.

            I created a folder on my drive, then cloned the following repositories:

            • 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

            and added that folder as a workspace.

            The FreeRTOS repository also has instructions for adding a PATH variable to the project in Eclipse necessary to compile for the Sammy-C21.

            After that you make the necessary changes to your code, set the build target in eclipse to SAMMY-C21, cross your fingers, and hope for the best!

            fcwiltundefined T3P3Tonyundefined 3 Replies Last reply Reply Quote 1
            • fcwiltundefined
              fcwilt @omtek
              last edited by

              @omtek

              Thank you VERY much.

              I will download the items mentioned and see what kind of trouble I can get into.

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

                @omtek

                Back again.

                I already have questions:

                You posted then cloned the following repositories

                How is that done?

                You posted and added that folder as a workspace.

                How is that done?

                Thanks again.

                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

                omtekundefined 1 Reply Last reply Reply Quote 0
                • omtekundefined
                  omtek @fcwilt
                  last edited by omtek

                  @fcwilt

                  For cloning the repositories, I use git from the command prompt. I believe you can also use Github Desktop if you're more comfortable with a GUI, though I've never used it personally. You need to install git or Github Desktop for your OS if you haven't already.

                  For each repository, there is a 32145175-d8bf-45d0-9682-c4c978beaad7-image.png button. If you click it'll have the particular URL for cloning the repository using the command line, or a button for opening in Github Desktop.

                  So for example, to clone the 3.5-dev branch of Duet3Expansion, I open my terminal inside the workspace folder I created and type:

                  git clone --branch 3.5-dev https://github.com/Duet3D/Duet3Expansion.git

                  Do that for each of the repositories above, changing the URL for each, and placing them all into the same folder.

                  In the end, it should look something like this:

                  e114b181-6cf6-421b-8975-0d37c376262b-image.png

                  After that, open Eclipse. It should ask you to select a directory as a workspace. Point it to the folder with your cloned repositories.

                  Then to the File menu, and select Open Projects from File System....

                  Set the Import Source is your workspace folder and it should show your folders.
                  9a91afb4-9cc7-4c48-b0d9-29a91878d5d7-image.png

                  Click finish and you should see everything in Eclipse

                  d84b74b6-61f9-48da-b0ad-bda24d718b34-image.png

                  Hope this helps!

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

                    @omtek

                    Seems simple enough.

                    Now to go and make a mess of it.

                    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

                    sebkritikelundefined 1 Reply Last reply Reply Quote 0
                    • sebkritikelundefined
                      sebkritikel @fcwilt
                      last edited by

                      @fcwilt FYI, depending on your needs, the compiled 'standard' Sammy firmware is located in the RRF releases page - you might not need to compile your own version!

                      https://github.com/Duet3D/RepRapFirmware/releases

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

                      1 Reply Last reply Reply Quote 1
                      • 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 small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. 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 small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. 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 small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. 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
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA