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

    Status of DUE&RADDS support

    Scheduled Pinned Locked Moved
    General Discussion
    4
    29
    4.7k
    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.
    • mb0undefined
      mb0
      last edited by

      CS0 -> Arduino Pin 10 -> SAM3X PA28/PC29 -> Physical 102
      CS1 -> Arduino Pin 4 -> PA29/PC26 -> Physical 137

      btw. the printer is running now for >4h without any issues (related to the firmware).
      the current setup is RADDS&RAPS128@1/128 0.9 stepper for x/y. z@1/32, extruder@1/16.
      24V. It can't go full speed at this microstepping rate. i noticed some "pauses" when printing
      large rounded corners. it seems that braking after travel movement is quite aggressive, i get
      strange sounds as if the hotend would have bumped into the print.

      edit: after setting the raps to 1/32 for all steppers the bumping is gone. is suspect planner
      errors because out-of-time situations.

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

        @bruce356:

        Hi, I am not a technical person, wondering if I could use the firmware that you are working on here for my dual x carriage Cartesian (Mendel) printer with Due/RADDS. I would probably require a bin file as I know nothing about compiling this type of firmware.
        Thanks and regards - bruce

        RRF 1.16 and later support multiple X carriages in the standard binaries. See https://duet3d.com/wiki/Configuring_multiple_independent_X-carriages_on_a_Cartesian_printer. So if someone produces a stable RADDS build of 1.16 or 1.17, you should be able to use 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
        • dc42undefined
          dc42 administrators
          last edited by

          @mb0:

          CS0 -> Arduino Pin 10 -> SAM3X PA28/PC29 -> Physical 102
          CS1 -> Arduino Pin 4 -> PA29/PC26 -> Physical 137

          btw. the printer is running now for >4h without any issues (related to the firmware).
          the current setup is RADDS&RAPS128@1/128 0.9 stepper for x/y. z@1/32, extruder@1/16.
          24V. It can't go full speed at this microstepping rate. i noticed some "pauses" when printing
          large rounded corners. it seems that braking after travel movement is quite aggressive, i get
          strange sounds as if the hotend would have bumped into the print.

          edit: after setting the raps to 1/32 for all steppers the bumping is gone. is suspect planner
          errors because out-of-time situations.

          What were your steps/mm @ 128x ?

          I have provisionally changed the SD card section in Pins_radds.h to this:

          // SD cards
          const size_t NumSdCards = 2;
          const Pin SdCardDetectPins[NumSdCards] = { 14, 14 };
          const Pin SdWriteProtectPins[NumSdCards] = { NoPin, NoPin };
          const Pin SdSpiCSPins[2] = { 87, 77 };
          
          

          You will also need to change line 73 of asf/conf_sd_mmc ni CoreNG to:

          #define SD_MMC_SPI_MEM_CNT			2			// Number of SPI card slots supported
          
          

          i.e. change 1 to 2.

          I think this should address the internal SD card as card 0 and the external one as card 1. Please can you test this. I have assumed that the CD pin of both sockets are wires in parallel, but if the external card has no CD pin then change the second 14 to No Pin, otherwise the external SD card won's work unless the internal SD card is present.

          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
          • mb0undefined
            mb0
            last edited by

            my steps/mm @ 128x where

            [[language]]
            M92 X905.414787 Y905.414787 Z1280   ; set axis steps/mm
            M92 E152                            ; set extruder 0 steps/mm
            
            
            1 Reply Last reply Reply Quote 0
            • mb0undefined
              mb0
              last edited by

              internal sd card working after adding your suggested changes.

              for updating i had to use bossac again. i'm afraid but the duetiap from dcnewman did not work. i think
              to make the port complete it should be updated to radds as well.

              big thanks for integrating radds into mainline! you should post about the progress at reprap forums
              maybe more people get interested in the radds port then. (it seems that there are quite a few germans using
              radds boards). unfortunately the guy i tried to contact (angelo/max3dprintshop) did not respond.

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

                The duetiap will probably need rebuilding against the new CoreNG. Is there any difference between the dcnewman source to duetiap and the one in my GitHub repo?

                Ideally the SharedSpi interface should be converted to use DMA again, to reduce the CPU load when reading the file being printed from the SD card.

                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
                • mb0undefined
                  mb0
                  last edited by

                  seem to be no source code changes. only SCons and .gitignore related changes.

                  1 Reply Last reply Reply Quote 0
                  • mb0undefined
                    mb0
                    last edited by

                    if i interpret the following right then DMA was explicitly disabled on RADDS in dcnewman's repo:

                    [[c]]
                    # if defined(USE_SAM3X_DMAC) && !defined(__RADDS__)
                    	pmc_enable_periph_clk(ID_DMAC);
                    	dmac_disable(DMAC);
                    	dmac_set_priority_mode(DMAC, DMAC_GCFG_ARB_CFG_FIXED);
                    	dmac_enable(DMAC);
                    # endif
                    
                    
                    1 Reply Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators
                      last edited by

                      I think the DMS nice that Dan was using was somewhere else,

                      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
                      • First post
                        Last post
                      Unless otherwise noted, all forum content is licensed under CC-BY-SA