• 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
    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
          • undefined
            smoki3 @wilriker
            last edited by smoki3 7 Mar 2020, 21:41 3 Jul 2020, 21:41

            @wilriker I tried a buck converter and a USB power supply - results in the same behavior.
            As soon I disconnect the power from the duet and just plug in a USB cable it works with out any issues.

            Lowering the speed doesn't help. Tried it down to 1MHz.

            Actually I also use Dupont connectors with a cable length about 8cm.

            1 Reply Last reply Reply Quote 0
            • undefined
              smoki3
              last edited by 4 Jul 2020, 07:26

              I now tried to lower the speed down toi 100kHz. But this also doesn't help.

              Its really as I said, as soon I plug in VIN to the Duet the SPI Bus is broken

              1 Reply Last reply Reply Quote 0
              • undefined
                smoki3
                last edited by 4 Jul 2020, 07:54

                Is there a reason why on my duet2 ethernet capacity C99 is not equipped? Is a capacity in the 5V buck converter.

                I looked at the schematic normally there should be a 250uF capacity. Could this be a reason?

                undefined 1 Reply Last reply 4 Jul 2020, 09:50 Reply Quote 0
                • ?
                  A Former User
                  last edited by 4 Jul 2020, 08:51

                  which revision is the board?

                  undefined 1 Reply Last reply 4 Jul 2020, 10:29 Reply Quote 0
                  • undefined
                    wilriker @smoki3
                    last edited by wilriker 7 Apr 2020, 09:50 4 Jul 2020, 09:50

                    @smoki3 On my 1.03 board C99 is populated. My meter refused to measure the capacitance but it's certainly higher than "none". 😁

                    @T3P3Tony might answer this question better if that would pose a problem (I'm primarily a software guy 😂 ).

                    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

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      smoki3 @A Former User
                      last edited by 4 Jul 2020, 10:29

                      @bearer Its a 1.04c

                      ? 2 Replies Last reply 4 Jul 2020, 10:33 Reply Quote 0
                      • ?
                        A Former User @smoki3
                        last edited by A Former User 7 Jun 2020, 15:48 4 Jul 2020, 10:33

                        @smoki3 said in Duet 2 Ethernet and SBC:

                        1.04c

                        iirc its normal then, it was fitted to 1.04, 1.04a and 1.04b but not 1.04c.

                        also given the cpu and wifi runs off 3.3v with its own smoothing cap i'm not sure it matters, but I can try it next week if I manage to throw together a printed part with pogo pins for the wifi (edit: printed part is modelled for P50 + R50 pins, may need to drill out holes)

                        1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User @smoki3
                          last edited by 6 Jul 2020, 09:49

                          @smoki3 seems I've missplaced or run out of pogo pins, and with logistis being what it is I doubt I'll test it any time soon.

                          maybe you could try soldering a regular radial through hole capacitor to the pads and see if it helps? (or see if Tony has anything to add)

                          undefined 1 Reply Last reply 6 Jul 2020, 09:58 Reply Quote 0
                          • undefined
                            smoki3 @A Former User
                            last edited by 6 Jul 2020, 09:58

                            @bearer I don't have capacitor by hand

                            undefined 1 Reply Last reply 6 Jul 2020, 10:45 Reply Quote 0
                            • undefined
                              wilriker @smoki3
                              last edited by 6 Jul 2020, 10:45

                              @smoki3 First of all I can confirm that with external PSU I see the same behavior. I need to check the cause of that next.

                              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

                              ? 1 Reply Last reply 6 Jul 2020, 10:48 Reply Quote 0
                              • ?
                                A Former User @wilriker
                                last edited by 6 Jul 2020, 10:48

                                @wilriker said in Duet 2 Ethernet and SBC:

                                with external PSU

                                as in external 5v?

                                undefined 1 Reply Last reply 6 Jul 2020, 10:48 Reply Quote 0
                                • undefined
                                  wilriker @A Former User
                                  last edited by 6 Jul 2020, 10:48

                                  @bearer As in external 24V going to VIN of the board.

                                  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

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    wilriker
                                    last edited by wilriker 7 Jun 2020, 10:53 6 Jul 2020, 10:52

                                    So what I can see is that it does not have anything to do with the internal 5V regulator. If I connect the Duet via USB to the RPi and remove the jumper for internal 5V, i.e. I_5V_EN (completely or put it on E_5V_EN - does not matter) the same problem occurs. So VIN is somehow messing with SPI as soon as it get's to fast transfers as it seems. Still checking.

                                    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 6 Jul 2020, 11:38 Reply Quote 1
                                    • ?
                                      A Former User
                                      last edited by 6 Jul 2020, 11:05

                                      Hm, will try to repeat test with 24v and get the scope out, was under the impression I had used Vin but could be organic bitrot..

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        smoki3 @wilriker
                                        last edited by 6 Jul 2020, 11:38

                                        @wilriker I also tried to disable the internal 5V converter by removing the the jumper. But I also does not help

                                        1 Reply Last reply Reply Quote 1
                                        • undefined
                                          smoki3
                                          last edited by 7 Jul 2020, 07:14

                                          Is the ethernet module also working over SPI?

                                          undefined 1 Reply Last reply 7 Jul 2020, 07:54 Reply Quote 0
                                          91 out of 302
                                          • First post
                                            91/302
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA