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

    Duet 3 6hc and raspberry pi 3 B+ DCS not started

    Scheduled Pinned Locked Moved Solved
    Duet Web Control
    4
    47
    2.3k
    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.
    • Macgyver1307undefined
      Macgyver1307
      last edited by

      any other thought on fixes? I ordered a pi 4 and it will be here Tuesday. Should I try stand-alone mode? thanks

      1 Reply Last reply Reply Quote 0
      • Macgyver1307undefined
        Macgyver1307
        last edited by

        could I have a kernel issue on the PI?

        1 Reply Last reply Reply Quote 0
        • Macgyver1307undefined
          Macgyver1307
          last edited by

          I tried making up Dupont jumpers and replaced the ribbon cable and still the same results as above. I'm thinking a duet 3 bord issue? 802ea531-0774-41cb-a62f-c2fa94706f2c-image.png

          1 Reply Last reply Reply Quote 0
          • chrishammundefined
            chrishamm administrators
            last edited by

            The no header error message indicates that the transfer ready pin works OK but the SPI data transfer did not. If you are not using DuetPi, please make sure that the SPI buffer size is 8KiB:

            pi@duet3:/home/pi# sudo cat /sys/module/spidev/parameters/bufsiz
            8192
            

            If it is still set to 4KiB (4096), create a file in /etc/modprobe.d as explained here.

            Duet software engineer

            1 Reply Last reply Reply Quote 0
            • Macgyver1307undefined
              Macgyver1307
              last edited by

              @chrishamm said in Duet 3 6hc and raspberry pi 3 B+ DCS not started:

              sudo cat /sys/module/spidev/parameters/bufsiz 8192

              i checked and it is set to 8192
              ![0_1590156191075_f7572f46-d5a7-4ae0-b56c-bc339ca49cc2-image.png](Uploading 100%)

              1 Reply Last reply Reply Quote 0
              • Macgyver1307undefined
                Macgyver1307
                last edited by

                591eb181-bf09-4273-b2c8-fa518d9e9476-image.png

                A Former User? 1 Reply Last reply Reply Quote 0
                • chrishammundefined
                  chrishamm administrators
                  last edited by

                  I suggest you follow this post and check what happens: https://forum.duet3d.com/topic/15551/duet3-pi-flashing-diag-led-after-wiring-24v-dcs-is-unavailable/119?_=1590153541635

                  Duet software engineer

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

                    @Macgyver1307 you can probably copy/paste the text from the terminal and save some bandwidth.

                    Presumably you're using the DuetPi image?

                    Lacking another Pi to test, as you already have the du-pont style wires ready you could try to use the SPI1 bus and edit /opt/dsf/conf/config.json. The SPI loopback testing doesn't test the clock signal from the Pi so its possible it could be bust I guess, but its hard to definitively point at one or the other without tools or replacements.

                    ref pinout.xyz's nice pinout:
                    alt text

                    (Or wait for the Pi4 come Tuesday)

                    1 Reply Last reply Reply Quote 0
                    • Macgyver1307undefined
                      Macgyver1307
                      last edited by

                      yes sir! I started with that and did all of the testings from that post before I started this one. I can try the pin process again?

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

                        @Macgyver1307 said in Duet 3 6hc and raspberry pi 3 B+ DCS not started:

                        I can try the pin process again?

                        If you do, copy paste the output so we can catch anything amiss along the way. If using putty just use the mouse to drag and select text, which will automatically be copied to the clipboard ready to paste in the forum. Then highlight the text (in the forum post editor) and use the Code formatting button (5th button from the left after bold, italics etc).

                        1 Reply Last reply Reply Quote 0
                        • Macgyver1307undefined
                          Macgyver1307
                          last edited by

                          ok sounds good ill start the process again and display the outputs. thanks for the help!

                          1 Reply Last reply Reply Quote 0
                          • Macgyver1307undefined
                            Macgyver1307
                            last edited by

                            pi@duet3:~/spidev-test $ RDY=22 CS=24 ; {
                            gpio -1 mode $CS out
                            > gpio -1 mode $CS out
                            > gpio -1 mode $RDY in
                            > gpio -1 write $CS 1 && echo "(Pin RDY/$RDY) `gpio -1 read $RDY` should equal `gpio -1 read $CS` (Pin CS/$CS)"
                            > gpio -1 write $CS 0 && echo "(Pin RDY/$RDY) `gpio -1 read $RDY` should equal `gpio -1 read $CS` (Pin CS/$CS)"
                            > { ~/spidev-test/spidev_test -v -s 8000000 -D /dev/spidev0.0 && echo RX should equal TX. ;} | tail -n3 | cut -b-100 ;}
                            (Pin RDY/22) 1 should equal 1 (Pin CS/24)
                            (Pin RDY/22) 0 should equal 0 (Pin CS/24)
                            TX | FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D
                            RX | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
                            RX should equal TX.
                            
                            * list item
                            
                            A Former User? 1 Reply Last reply Reply Quote 0
                            • Macgyver1307undefined
                              Macgyver1307
                              last edited by

                              well I tried 22 to 28 ad 24 to 28 with the same output. I would post it but the form says its spam.

                              Phaedruxundefined 1 Reply Last reply Reply Quote 1
                              • Phaedruxundefined
                                Phaedrux Moderator @Macgyver1307
                                last edited by

                                @Macgyver1307 said in Duet 3 6hc and raspberry pi 3 B+ DCS not started:

                                I would post it but the form says its spam.

                                3 posts in a row to the same thread in a short amount of time probably flagged you. Please try again.

                                Z-Bot CoreXY Build | Thingiverse Profile

                                1 Reply Last reply Reply Quote 0
                                • Macgyver1307undefined
                                  Macgyver1307
                                  last edited by

                                  I'm going to wait till Tuesday and loaded up a fresh pi -4 and see if I still have issues. thanks, Phaedrux!

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

                                    The first bit looks to confirm your Chip Select, and Ready pins are working but the next bit would suggest a problem with the jumper between MISO and MOSI or a problem with the Pi. Did you place a jumper over (physical) pins 19 & 21 as well as 22-24?

                                    TX | FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D 
                                    RX | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
                                    

                                    This is also in line with the error from DSF.

                                    1 Reply Last reply Reply Quote 0
                                    • Macgyver1307undefined
                                      Macgyver1307
                                      last edited by

                                      here is the output .
                                      db5e9633-53a1-42d1-ac95-99e3b5f9ed32-image.png

                                      1 Reply Last reply Reply Quote 0
                                      • Macgyver1307undefined
                                        Macgyver1307
                                        last edited by

                                        sorry I had to snip it because it gets flagged as spam if I put it in as code. jumpers installed on 19-21 and 22-24 . pi is on my desk with nothing attached.

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

                                          @Macgyver1307 said in Duet 3 6hc and raspberry pi 3 B+ DCS not started:

                                          jumpers installed on 19-21 and 22-24 . pi is on my desk with nothing attached.

                                          you only need to run it once with RDY=22 CS=24; the test for 19 and 21 is defined by the -D /dev/spidev0.0 parameter to the spidev_test command.

                                          So it would look like the SPI bus isn't working on the Pi. You can try to move the jumper (will require a wire) to 35 and 38 (and repeat test with -D /dev/spidev0.1 to see if the other SPI bus is working, which you could then use.

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

                                            Just to be 110% sure; you placed the jumper like shown on the picture right, both at the same time?

                                            @bearer said in Duet3/pi flashing Diag LED after wiring 24V DCS is unavailable:

                                            9ff41e90-9272-4588-bceb-75e5acf19c86-image.png

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