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

    Sammy-C21 CAN errors

    Scheduled Pinned Locked Moved Solved
    Tuning and tweaking
    4
    24
    773
    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.
    • JoergS5undefined
      JoergS5 @R3D
      last edited by

      @R3D ok, then it would be ok.

      1 Reply Last reply Reply Quote 0
      • A Former User?
        A Former User @JoergS5
        last edited by

        @JoergS5 said in Sammy-C21 CAN errors:

        https://forum.duet3d.com/topic/16448/can-fd-generic-io/14

        i think that is not relevant when building the SAMMYC21 configuration as dc42 has taken care if it all for us.

        1 Reply Last reply Reply Quote 0
        • R3Dundefined
          R3D
          last edited by

          I also loaded the firmware binary through the ICE as well, possibly overwriting the bootloader and thus removing the clock multiplier fix?

          If I am following this correctly that is.

          Thanks,

          A Former User? 1 Reply Last reply Reply Quote 0
          • A Former User?
            A Former User @R3D
            last edited by A Former User

            @R3D said in Sammy-C21 CAN errors:

            I also loaded the firmware binary through the ICE as well,

            use the SAMMYC21-Debug build config in that case
            (edit ref: https://duet3d.dozuki.com/Wiki/Using_the_Sammy-C21_development_board_with_Duet_3#Section_Debugging_your_own_firmware)

            1 Reply Last reply Reply Quote 0
            • R3Dundefined
              R3D
              last edited by

              I did, in my previous comments I did specify this.

              Thanks,

              JoergS5undefined 1 Reply Last reply Reply Quote 0
              • JoergS5undefined
                JoergS5 @R3D
                last edited by JoergS5

                @R3D maybe you can debug sammy and check can communication. The sammy has a SWD connector (but the pins must be soldered).

                1 Reply Last reply Reply Quote 0
                • R3Dundefined
                  R3D
                  last edited by

                  So i have the ICE in the SAMMY with both powered on, I have it connected in atmel studio 7 in the device programming tab, but I am having trouble locating any information regarding the CAN bus.

                  Any suggestions?

                  Thanks,

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

                    It's been over a month since I tested the SammyC21 firmware build. I've just built and loaded the debug build through ICE and I am getting the same issue - no CAN connection. I'll fix this today if i don't run out of time.

                    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

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

                      Currently, the release build works (loaded over CAN by the bootloader), but the debug build loaded via the ICE doesn't.

                      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

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

                        I've just fixed the SammyC21 debug build and committed the fix to github. The main change was in the .cproject file, and I had to do a clean and then a build to get the change included in the binary.

                        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

                        1 Reply Last reply Reply Quote 0
                        • R3Dundefined
                          R3D
                          last edited by

                          Works, Thanks a million @dc42, now on to calibration.

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