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

Duet 2 Ethernet and SBC

Scheduled Pinned Locked Moved
Beta Firmware
29
302
32.6k
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.
  • undefined
    wilriker @smoki3
    last edited by 29 Jun 2020, 13:10

    @smoki3 said in Duet 2 Ethernet and SBC:

    If I try to flash the firmware over DWC I also get checksum error

    If everything is working as expected you should not get any checksum errors at all. If you get them more than once something is still wrong.
    Have you made sure that both the Duet 2 and the Raspberry Pi share a common ground connection?

    Manuel
    Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
    with probably always latest firmware/DWC (incl. betas or self-compiled)
    My Tool Collection

    undefined 1 Reply Last reply 29 Jun 2020, 15:04 Reply Quote 0
    • undefined
      smoki3 @A Former User
      last edited by 29 Jun 2020, 15:02

      @bearer said in Duet 2 Ethernet and SBC:

      8000000

      This doesn't help

      1 Reply Last reply Reply Quote 0
      • undefined
        smoki3 @wilriker
        last edited by 29 Jun 2020, 15:04

        @wilriker said in Duet 2 Ethernet and SBC:

        @smoki3 said in Duet 2 Ethernet and SBC:

        If I try to flash the firmware over DWC I also get checksum error

        If everything is working as expected you should not get any checksum errors at all. If you get them more than once something is still wrong.
        Have you made sure that both the Duet 2 and the Raspberry Pi share a common ground connection?

        Yes both are connected directly to ground

        1 Reply Last reply Reply Quote 0
        • undefined
          smoki3
          last edited by smoki3 29 Jun 2020, 16:00

          I tried now different cables, direct wiring without PCB and 470ohm resistors.

          But always the same issue.

          Also tried now without resistors, same issue

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User @T3P3Tony
            last edited by A Former User 7 Jan 2020, 15:02 30 Jun 2020, 22:58

            @T3P3Tony said in Duet 2 Ethernet and SBC:

            We are considering a small hardware board to provide the physical interfacing and signal buffering.

            if the series resistance is deemed all that is needed, then a few crimps and a printed part goes a long way:
            IMG_20200701_003825487_BURST000_COVER_TOP.jpg IMG_20200630_123735333.jpg
            Btw, is there a part# for the nylon stand offs? gonna try a pogo-pin version for the Wifi

            1 Reply Last reply Reply Quote 2
            • undefined
              gtj0
              last edited by 3 Jul 2020, 13:25

              Jeez. I take some time off and this happens. 🙂

              1 Reply Last reply Reply Quote 0
              • undefined
                smoki3
                last edited by 3 Jul 2020, 17:56

                @wilriker
                Today I am back from holidays. I tried to investigate a bit more but it does not help. I disassembled the Duet 2 Ethernet from my printer so I have no other cables in the near of the board. I also made a new cable out of a shielded ethernet cable to avoid any EMC troubles. But still the same. If I try to flash the firmware for example I get many checksum errors.

                @bearer
                are you now able to flash the firmware over DWC? I always get checksum error.

                ? 1 Reply Last reply 3 Jul 2020, 17:57 Reply Quote 0
                • ?
                  A Former User @smoki3
                  last edited by A Former User 7 Mar 2020, 18:00 3 Jul 2020, 17:57

                  @smoki3 said in Duet 2 Ethernet and SBC:

                  are you now able to flash the firmware over DWC?

                  with both the Wifi and Ethernet (Duets) yes

                  undefined 1 Reply Last reply 3 Jul 2020, 18:02 Reply Quote 0
                  • undefined
                    smoki3 @A Former User
                    last edited by smoki3 7 Mar 2020, 18:03 3 Jul 2020, 18:02

                    @bearer so I mean with the SBC connected

                    Which raspberry do you use?

                    1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User
                      last edited by A Former User 7 Mar 2020, 18:04 3 Jul 2020, 18:03

                      yes yes, update wifi and ethernet boards with RRF3.2 over SPI from the SBC, Once I shortened the wires and had my novice crimp the resistors instead of trying to solder its all good at 8Mhz.

                      edit: one 4B 4GB, 3B+ and some 2B tested.

                      undefined 1 Reply Last reply 3 Jul 2020, 18:05 Reply Quote 0
                      • undefined
                        smoki3 @A Former User
                        last edited by 3 Jul 2020, 18:05

                        @bearer How short are your cables?

                        1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User
                          last edited by 3 Jul 2020, 18:08

                          I'd say the first was about 40cm with questionable soldering, No Bueno... after revisiting it with crimps I'd say 20cm/26AWG(maybe it was 28?) and 15cm/30AWG loose wires, not in a ribbon. 470R resistor crimped in somewhere along the MISO, MOSI and SCK lines.

                          undefined 1 Reply Last reply 3 Jul 2020, 18:11 Reply Quote 0
                          • undefined
                            smoki3 @A Former User
                            last edited by 3 Jul 2020, 18:11

                            @bearer

                            wired.... I don't understand why it is not working for me. My cables are less than 10cm, tried different resistors from 100 Ohm up to 500 Ohm. I soldered but this should normally better than just crimping. Also tried loose wires.

                            1 Reply Last reply Reply Quote 0
                            • ?
                              A Former User
                              last edited by 3 Jul 2020, 18:18

                              It would surprise me if it was a signal integrity issue if it works for other operations than flashing, but at this point I'd get the scope out and take a look.

                              undefined 1 Reply Last reply 3 Jul 2020, 18:45 Reply Quote 0
                              • undefined
                                smoki3 @A Former User
                                last edited by 3 Jul 2020, 18:45

                                @bearer no other things also doesnt work. Get checksum errors while homing for example

                                1 Reply Last reply Reply Quote 0
                                • ?
                                  A Former User
                                  last edited by 3 Jul 2020, 18:47

                                  Oh, I read the previous posts as if homing worked.

                                  Can you run simple commands like M115 and M122?

                                  undefined 1 Reply Last reply 3 Jul 2020, 19:05 Reply Quote 0
                                  • undefined
                                    smoki3 @A Former User
                                    last edited by 3 Jul 2020, 19:05

                                    @bearer

                                    So now I came a step closer. I disconnected the Duet2 from the VIN (24V Meanwell Power Supply) and power it over the USB Port from the raspberry pi. Now I can flash the firmware without any checksum issue.

                                    @wilriker does this help?

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      dc42 administrators
                                      last edited by 3 Jul 2020, 19:54

                                      What SPI speed have you configured in DSF?

                                      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

                                      undefined 1 Reply Last reply 3 Jul 2020, 21:03 Reply Quote 0
                                      • undefined
                                        smoki3 @dc42
                                        last edited by 3 Jul 2020, 21:03

                                        @dc42 the standard config 8 MHz

                                        undefined 1 Reply Last reply 3 Jul 2020, 21:28 Reply Quote 0
                                        • undefined
                                          wilriker @smoki3
                                          last edited by wilriker 7 Mar 2020, 21:29 3 Jul 2020, 21:28

                                          @smoki3 Please try lowering it incrementally by dividing by two, i.e. try 4MHz, then 2MHz and so on until you either get to somewhere around 100kHz or find a working speed

                                          I will try to reproduce your setup next week. Just to be sure: did you power the RPi from a buck-converter off of the Duet or did you power it separately?
                                          Also if you only tried one of these options so far please try the other.

                                          I also use loose wires of around 150mm length with Dupont crimps on the ends and several JST connector pairs in between to insert/remove resistors.

                                          Manuel
                                          Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                                          with probably always latest firmware/DWC (incl. betas or self-compiled)
                                          My Tool Collection

                                          undefined 1 Reply Last reply 3 Jul 2020, 21:41 Reply Quote 0
                                          75 out of 302
                                          • First post
                                            75/302
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA