• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • ?
    A Former User @JoergS5
    last edited by 19 Jul 2020, 23:03

    @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
    • undefined
      R3D
      last edited by 19 Jul 2020, 23:05

      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,

      ? 1 Reply Last reply 19 Jul 2020, 23:09 Reply Quote 0
      • ?
        A Former User @R3D
        last edited by A Former User 19 Jul 2020, 23:09

        @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
        • undefined
          R3D
          last edited by 19 Jul 2020, 23:10

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

          Thanks,

          undefined 1 Reply Last reply 19 Jul 2020, 23:21 Reply Quote 0
          • undefined
            JoergS5 @R3D
            last edited by JoergS5 19 Jul 2020, 23:21

            @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
            • undefined
              R3D
              last edited by 19 Jul 2020, 23:57

              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
              • undefined
                dc42 administrators
                last edited by 20 Jul 2020, 08:21

                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
                • undefined
                  dc42 administrators
                  last edited by 20 Jul 2020, 10:57

                  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
                  • undefined
                    dc42 administrators
                    last edited by 20 Jul 2020, 11:14

                    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
                    • undefined
                      R3D
                      last edited by 21 Jul 2020, 03:53

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

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